X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/5b78246d11948e93f54ae32dd800e9adaf55a546..4aab5f0a73e9e4643ce8174613bd700cf7c3ab68:/plugins/externaldemo 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