ffzg/recall_notices.pl: added --interval and --dedup
[koha.git] / misc / cronjobs / sitemap.pl
index bc1bca7..80c01fd 100755 (executable)
@@ -52,13 +52,13 @@ unless ($url) {
 }
 $url =~ s/\/*$//g;
 
-my $sitemaper = Koha::Sitemapper->new(
+my $sitemapper = Koha::Sitemapper->new(
     verbose => $verbose,
     url     => $url,
     dir     => $dir,
     short   => $short,
 );
-$sitemaper->run();
+$sitemapper->run();
 
 
 =head1 USAGE
@@ -72,7 +72,8 @@ $sitemaper->run();
 =head1 SYNOPSIS
 
   sitemap.pl --verbose
-  sitemap.pl --noshort --url /home/koha/mylibrary/www
+  sitemap.pl --noshort --dir /home/koha/mylibrary/www
+  sitemap.pl --url opac.myDNSname.org
 
 =head1 DESCRIPTION