# Blosxom Plugin: rss20
# Author(s): Gavin Carr <gavin@openfusion.com.au>
-# Version: 0.001001
+# Version: 0.001002
# Requires: storydate, lastmodified2
# Suggests: absolute
# Follows: storydate, lastmodified2
# --- 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';
-<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="$blog_encoding"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
<link>$url</link>
<description>$blog_description</description>
<dc:date>$lastmodified2::latest_iso8601</dc:date>
- <dc:language>$blosxom::blog_language</dc:language>
+ <dc:language>$blog_language</dc:language>
<dc:creator>mailto:$rss20::author_email</dc:creator>
<dc:rights>$rss20::copyright</dc:rights>
<admin:generatorAgent rdf:resource="$rss20::generator_url" />