"ping" various services when nodes are written
use Wiki::Toolkit::Plugin::Ping; my $ping = Wiki::Toolkit::Plugin::Ping->new( node_to_url => 'http://mywiki/$node', services => { "geourl" => 'http://geourl.org/ping?p=$url' }, agent => "My Wiki ping agent", ); $wiki->register_pugin( plugin => $ping );
A plug-in for Wiki::Toolkit sites, which will \*(L"ping\*(R" various external services when a node is written. A list of the services to ping, and where in their URLs to add the \s-1URL\s0 of the node, are supplied when the plugin is created.
You need to tell it how to turn a node into a \s-1URL\s0 (node_to_url), and what services to ping (services). You can optionally pass a custom user-agent string
The Wiki::Toolkit team (http://www.wiki-toolkit.org/)
Copyright (C) 2003-2004 I. P. Williams (ivorw_openguides [at] xemaps {dot} com). Copyright (C) 2006-2009 the Wiki::Toolkit team (http://www.wiki-toolkit.org/) All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Wiki::Toolkit, Wiki::Toolkit::Plugin, OpenGuides