$RPC::XML::ENCODING="utf-8";
rpc_call($plugins{$plugin}, "import");
$RPC::XML::ENCODING="utf-8";
rpc_call($plugins{$plugin}, "import");
# the call parameter is a function name to call, since XML RPC
# cannot pass a function reference
my $plugin=shift;
# the call parameter is a function name to call, since XML RPC
# cannot pass a function reference
my $plugin=shift;
IkiWiki::hook(%params, call => sub {
IkiWiki::Plugin::external::rpc_call($plugin, $callback, @_);
});
IkiWiki::hook(%params, call => sub {
IkiWiki::Plugin::external::rpc_call($plugin, $callback, @_);
});
# convert pagespec_match's return object into a XML RPC boolean
my $plugin=shift;
return RPC::XML::boolean->new(0 + IkiWiki::pagespec_march(@_));
# convert pagespec_match's return object into a XML RPC boolean
my $plugin=shift;
return RPC::XML::boolean->new(0 + IkiWiki::pagespec_march(@_));