]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/inline.pm
load all plugins when generating setup
[git.ikiwiki.info.git] / IkiWiki / Plugin / inline.pm
index 3ca4fccdf51307be98b635348e6cb21074250298..be9526df8de99de9643dfd82e0a40dda352d20e4 100644 (file)
@@ -28,7 +28,6 @@ sub import { #{{{
        # pings interrupting page builds.
        hook(type => "change", id => "inline", 
                call => \&IkiWiki::pingurl);
-
 } # }}}
 
 sub getopt () { #{{{
@@ -51,28 +50,28 @@ sub getsetup () { #{{{
                rss => {
                        type => "boolean",
                        default => 0,
-                       description => "enable rss feeds by default",
+                       description => "enable rss feeds by default?",
                        safe => 1,
                        rebuild => 1,
                },
                atom => {
                        type => "boolean",
                        default => 0,
-                       description => "enable atom feeds by default",
+                       description => "enable atom feeds by default?",
                        safe => 1,
                        rebuild => 1,
                },
                allowrss => {
                        type => "boolean",
                        default => 0,
-                       description => "allow rss feeds to be used",
+                       description => "allow rss feeds to be used?",
                        safe => 1,
                        rebuild => 1,
                },
                allowatom => {
                        type => "boolean",
                        default => 0,
-                       description => "allow atom feeds to be used",
+                       description => "allow atom feeds to be used?",
                        safe => 1,
                        rebuild => 1,
                },
@@ -80,7 +79,7 @@ sub getsetup () { #{{{
                        type => "string",
                        default => "",
                        example => "http://rpc.technorati.com/rpc/ping",
-                       description => "urls to ping (using XMP-RPC) on feed update",
+                       description => "urls to ping (using XML-RPC) on feed update",
                        safe => 1,
                        rebuild => 0,
                },
@@ -96,6 +95,9 @@ sub checkconfig () { #{{{
        if ($config{atom}) {
                push @{$config{wiki_file_prune_regexps}}, qr/\.atom$/;
        }
+       if (! exists $config{pingurl}) {
+               $config{pingurl}=[];
+       }
 } #}}}
 
 sub format (@) { #{{{