ikiwiki/plugins
martin f. krafft e3624de63c Allow external plugins to return no value
Instead of using the XML-RPC v2 extension <nil/>, which Perl's
XML::RPC::Parser does not (yet) support (Joey's patch is pending), we
agreed on a sentinel: {'null':''}, that is, a hash with a single key
"null" pointing to the empty string.

The Python proxy automatically converts None appropriately and raises an
exception if a hook function should, by weird coincidence, attempt to
return {'null':''}.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2008-03-21 15:07:10 -04:00
..
.gitignore Provide XML-RPC proxy abstraction for Python plugins 2008-03-15 13:14:50 -04:00
externaldemo improve comment 2007-10-13 22:32:55 +00:00
proxy.py Allow external plugins to return no value 2008-03-21 15:07:10 -04:00
pythondemo Allow external plugins to return no value 2008-03-21 15:07:10 -04:00
rst rename register_hook to just hook, for consistency with the perl 2008-03-15 15:42:52 -04:00