Skip to content
Snippets Groups Projects
Commit 7c2ba867 authored by kairo's avatar kairo
Browse files

make feed comply with Atom 1.0 spec - an author is needed, subtitle is no entry subelement

parent 64b3cccb
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@
<id>http://www.seamonkey-project.org/news-atom</id>
<link rel="self" href="http://www.seamonkey-project.org/news-atom" />
<link href="http://www.seamonkey-project.org/news" />
<author><name>The SeaMonkey Project</name></author>
[%- USE newsxml = file('lib/news.xml') %]
<updated>[% date.format(newsxml.mtime, '%Y-%m-%dT%TZ', gmt => 1) %]</updated>
......@@ -28,4 +29,6 @@
"<updated>${nentry.id}T12:00:00Z</updated>\n";
END;
"<title>$nentry.headline</title>\n";
"<content type=\"$nentry.content.type\" xml:lang=\"en\" xml:base=\"http://www.seamonkey-project.org/\"><![CDATA[";
IF nentry.subline;
......@@ -31,3 +34,3 @@
IF nentry.subline;
"<subtitle>$nentry.subline</subtitle>\n";
"\n<p><strong>$nentry.subline</strong></p>";
END;
......@@ -33,6 +36,5 @@
END;
"<content type=\"$nentry.content.type\" xml:lang=\"en\" xml:base=\"http://www.seamonkey-project.org/\"><![CDATA[$nentry.content.content]]></content>\n";
"$nentry.content.content]]></content>\n";
"</entry>\n";
END;
END;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment