X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=gavinc%2Frss20;h=bbfe46e105fca30c0f9a7b219119ec1e0f160c97;hb=b9cb243573f11514d8aada03eaccf1393038515d;hp=6a4e417ee6ac547a70b88c4c27fcd0fcba764738;hpb=4db6590d69b35fa9f874627fb70841b78ed51a7b;p=matthijs%2Fupstream%2Fblosxom-plugins.git diff --git a/gavinc/rss20 b/gavinc/rss20 index 6a4e417..bbfe46e 100644 --- a/gavinc/rss20 +++ b/gavinc/rss20 @@ -1,9 +1,9 @@ # Blosxom Plugin: rss20 # Author(s): Gavin Carr -# Version: 0.001000 -# Requires: lastmodified2 +# Version: 0.001002 +# Requires: storydate, lastmodified2 # Suggests: absolute -# Follows: lastmodified2 +# Follows: storydate, lastmodified2 package rss20; @@ -46,9 +46,6 @@ $copyright = ''; # Generator that produced this feed $generator_url = "http://blosxom.sourceforge.net/?v=$blosxom::version"; -# Debug verbosity -my $debug_level = 0; - # -------------------------------- $error_email ||= $author_email; @@ -62,29 +59,31 @@ sub start { # --- Private subroutines sub _load_templates { - $blosxom::template{$flavour}{'content_type'} = 'text/xml'; + $blosxom::template{$flavour}{'content_type'} = 'text/xml; charset=$blog_encoding'; $blosxom::template{$flavour}{'date'} = "\n"; - $blosxom::template{$flavour}{'head'} = <<'HEAD'; - + $blosxom::template{$flavour}{'head'} = < - $blog_title - $url - $blog_description - $lastmodified2::latest_iso8601 + $blosxom::blog_title + $blosxom::url + $blosxom::blog_description + \$lastmodified2::latest_iso8601 $blosxom::blog_language mailto:$rss20::author_email $rss20::copyright + hourly 1 2000-01-01T12:00+00:00 @@ -98,7 +97,7 @@ HEAD \$body $rss20::trackback_link $rss20::permalink - \$lastmodified2::story_iso8601 + \$storydate::story_iso8601 STORY