- $blosxom::template{'atom'}{'head'} =<<'HEAD';
-<?xml version="1.0" encoding="utf-8"?>$atomfeed::css_url
-<feed xmlns="http://www.w3.org/2005/Atom" xml:base="http://$atomfeed::id_domain">
- <title type="$atomfeed::blog_title_type">$atomfeed::blog_title</title>
- <subtitle type="$atomfeed::blog_description_type">$atomfeed::blog_description</subtitle>
- <link rel="self" type="application/atom+xml" href="$atomfeed::feed_url"/>
+ my $path_info_full = $blosxom::path_info_full || "$blosxom::path_info/index.atom";
+ $blosxom::template{'atom'}{'head'} =<<HEAD;
+<?xml version="1.0" encoding="utf-8"?>\$atomfeed::css_url
+<feed xmlns="http://www.w3.org/2005/Atom" xml:base="http://\$atomfeed::id_domain"
+HEAD
+
+ if ($blosxom::plugins{geo}) {
+ $blosxom::template{'atom'}{'head'} .=
+ qq( xmlns:georss="http://www.georss.org/georss");
+ }
+
+ $blosxom::template{'atom'}{'head'} .= <<HEAD;
+>
+ <title type="\$atomfeed::blog_title_type">\$atomfeed::blog_title</title>
+ <subtitle type="\$atomfeed::blog_description_type">\$atomfeed::blog_description</subtitle>
+ <link rel="self" type="application/atom+xml" href="$blosxom::url$path_info_full" />