logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Wiki::Toolkit::Plugin::Ping - "ping" various services when nodes are written

Author

       The Wiki::Toolkit team (http://www.wiki-toolkit.org/)

Description

       A plug-in for Wiki::Toolkit sites, which will "ping" various external services when a node is written. A
       list of the services to ping, and where in their URLs to add the URL of the node, are supplied when the
       plugin is created.

       You need to tell it how to turn a node into a URL (node_to_url), and what services to ping (services).
       You can optionally pass a custom user-agent string

Name

       Wiki::Toolkit::Plugin::Ping - "ping" various services when nodes are written

See Also

       Wiki::Toolkit, Wiki::Toolkit::Plugin, OpenGuides

perl v5.40.1                                       2025-05-03                   Wiki::Toolkit::Plugin::Ping(3pm)

Synopsis

         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 );

See Also