From 45459c3a2086aa47f35b90ecc5e658fdc72e7982 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Mon, 8 Mar 2010 21:42:56 +0100 Subject: Added renderAtom, feeds now validate. --- data/templates/atom-item.xml | 7 +++++++ data/templates/atom.xml | 13 +++++++++++++ data/templates/rss-item.xml | 2 ++ data/templates/rss.xml | 5 ++++- 4 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 data/templates/atom-item.xml create mode 100644 data/templates/atom.xml (limited to 'data') diff --git a/data/templates/atom-item.xml b/data/templates/atom-item.xml new file mode 100644 index 0000000..78bdac7 --- /dev/null +++ b/data/templates/atom-item.xml @@ -0,0 +1,7 @@ + + $title + + $absolute/$url + $timestamp + $description + diff --git a/data/templates/atom.xml b/data/templates/atom.xml new file mode 100644 index 0000000..578f54f --- /dev/null +++ b/data/templates/atom.xml @@ -0,0 +1,13 @@ + + + $title + + + + $absolute/$url + + $authorName + + $timestamp + $body + diff --git a/data/templates/rss-item.xml b/data/templates/rss-item.xml index 794a036..fcfc2a5 100644 --- a/data/templates/rss-item.xml +++ b/data/templates/rss-item.xml @@ -3,4 +3,6 @@ $absolute/$url $description $timestamp + + $absolute/$url diff --git a/data/templates/rss.xml b/data/templates/rss.xml index 3a58d08..cbf0b16 100644 --- a/data/templates/rss.xml +++ b/data/templates/rss.xml @@ -1,9 +1,12 @@ - + $title $absolute $description + + $timestamp $body -- cgit v1.2.3