on master help sign in
Fix feed templates
commit5ed0e72589798fd4cb42aeee50fa3c5199610530 authorJasper Van der Jeugt <jaspervdj@gmail.com> dateMon 28 Feb 2011, 11:53 (16 years ago) parentc310901
4 files changed+23−23
data/templates/atom-item.xml+5−5 data/templates/atom.xml+7−7 data/templates/rss-item.xml+5−5 data/templates/rss.xml+6−6
data/templates/atom-item.xml+5−5
@@ -1,7 +1,7 @@
11<entry>
2− <title>$title</title>
3− <link href="$root$url" />
4− <id>$root$url</id>
5− <updated>$timestamp</updated>
6− <summary type="html"><![CDATA[$description]]></summary>
2+ <title>$title$</title>
3+ <link href="$root$$url$" />
4+ <id>$root$$url$</id>
5+ <updated>$timestamp$</updated>
6+ <summary type="html"><![CDATA[$description$]]></summary>
77</entry>
data/templates/atom.xml+7−7
@@ -1,12 +1,12 @@
11<?xml version="1.0" encoding="utf-8"?>
22<feed xmlns="http://www.w3.org/2005/Atom">
3− <title>$title</title>
4− <link href="$root$url" rel="self" />
5− <link href="$root" />
6− <id>$root$url</id>
3+ <title>$title$</title>
4+ <link href="$root$$url$" rel="self" />
5+ <link href="$root$" />
6+ <id>$root$$url$</id>
77 <author>
8− <name>$authorName</name>
8+ <name>$authorName$</name>
99 </author>
10− <updated>$timestamp</updated>
11− $body
10+ <updated>$timestamp$</updated>
11+ $body$
1212</feed>
data/templates/rss-item.xml+5−5
@@ -1,7 +1,7 @@
11<item>
2− <title>$title</title>
3− <link>$root$url</link>
4− <description><![CDATA[$description]]></description>
5− <pubDate>$timestamp</pubDate>
6− <guid>$root$url</guid>
2+ <title>$title$</title>
3+ <link>$root$$url$</link>
4+ <description><![CDATA[$description$]]></description>
5+ <pubDate>$timestamp$</pubDate>
6+ <guid>$root$$url$</guid>
77</item>
data/templates/rss.xml+6−6
@@ -1,12 +1,12 @@
11<?xml version="1.0" encoding="utf-8"?>
22<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
33 <channel>
4− <title>$title</title>
5− <link>$root</link>
6− <description><![CDATA[$description]]></description>
7− <atom:link href="$root$url" rel="self"
4+ <title>$title$</title>
5+ <link>$root$</link>
6+ <description><![CDATA[$description$]]></description>
7+ <atom:link href="$root$$url$" rel="self"
88 type="application/rss+xml" />
9− <lastBuildDate>$timestamp</lastBuildDate>
10− $body
9+ <lastBuildDate>$timestamp$</lastBuildDate>
10+ $body$
1111 </channel>
1212</rss>