X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=gavinc%2Frss20;h=135db9de6f800e94b1c0f0a0991f3b32177f8bf8;hb=48a66ed8a47e6f69eb64f7ab933a6e7f2ceae6ef;hp=6a4e417ee6ac547a70b88c4c27fcd0fcba764738;hpb=4db6590d69b35fa9f874627fb70841b78ed51a7b;p=matthijs%2Fupstream%2Fblosxom-plugins.git diff --git a/gavinc/rss20 b/gavinc/rss20 index 6a4e417..135db9d 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,12 +59,12 @@ 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'; - + $url $blog_description $lastmodified2::latest_iso8601 - $blosxom::blog_language + $blog_language mailto:$rss20::author_email $rss20::copyright @@ -98,7 +95,7 @@ HEAD \$body $rss20::trackback_link $rss20::permalink - \$lastmodified2::story_iso8601 + \$storydate::story_iso8601 STORY