From: Gavin Carr Date: Tue, 2 Oct 2007 00:44:22 +0000 (+0000) Subject: Add $blog_encoding to rss20. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;ds=sidebyside;h=6470ab891339002a4fb342205e86d626ba97c1aa;p=matthijs%2Fupstream%2Fblosxom-plugins.git Add $blog_encoding to rss20. --- diff --git a/gavinc/rss20 b/gavinc/rss20 index 9ce4d0d..135db9d 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,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