aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-10-13 22:32:55 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-10-13 22:32:55 +0000
commit27299788e8fdc97c7fc1ad112f4610b1bdbaa3a6 (patch)
tree0ead39555ad5116f3521c7c2fc3edcf15096275a
parent5b7edbf2a43b81e19adfbe6ed915798f55292f3d (diff)
downloadikiwiki-27299788e8fdc97c7fc1ad112f4610b1bdbaa3a6.tar
ikiwiki-27299788e8fdc97c7fc1ad112f4610b1bdbaa3a6.tar.gz
improve comment
-rwxr-xr-xplugins/externaldemo7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/externaldemo b/plugins/externaldemo
index 1321a4bc5..fa93e672d 100755
--- a/plugins/externaldemo
+++ b/plugins/externaldemo
@@ -23,9 +23,10 @@ sub rpc_read {
while (<>) {
$accum.=$_;
- # Kinda hackish approch to parse a single XML RPC out of the
- # accumulated input. Relies on calls always ending with a
- # newline, which ikiwiki's protocol requires be true.
+ # Kinda hackish approach to parse a single XML RPC out of the
+ # accumulated input. Perl's RPC::XML library doesn't
+ # provide a better way to do it. Relies on calls always ending
+ # with a newline, which ikiwiki's protocol requires be true.
if ($accum =~ /^\s*(<\?xml\s.*?<\/(?:methodCall|methodResponse)>)\n(.*)/s) {
$accum=$2; # the rest