X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=gavinc%2Frss20;h=bbfe46e105fca30c0f9a7b219119ec1e0f160c97;hb=b9cb243573f11514d8aada03eaccf1393038515d;hp=9ce4d0d8c9d27cb714e99b47fc20da7f111fa005;hpb=318ee8989d5ec0becee0a5bc6f1d5c8f04a9b2a1;p=matthijs%2Fupstream%2Fblosxom-plugins.git diff --git a/gavinc/rss20 b/gavinc/rss20 index 9ce4d0d..bbfe46e 100644 --- a/gavinc/rss20 +++ b/gavinc/rss20 @@ -1,6 +1,6 @@ # Blosxom Plugin: rss20 # Author(s): Gavin Carr -# Version: 0.001001 +# Version: 0.001002 # Requires: storydate, lastmodified2 # Suggests: absolute # Follows: storydate, lastmodified2 @@ -59,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