summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2005-07-03 19:39:41 +0000
committerDaniel Drake <dsd@gentoo.org>2005-07-03 19:39:41 +0000
commit1a56bcc5371239c87a4d94c03fb3b98d0d850800 (patch)
tree2b404d9f7429745b65722218b0e69e1d521bfea8 /templates/rss20.xml.tmpl
downloadplanet-1a56bcc5371239c87a4d94c03fb3b98d0d850800.tar.gz
planet-1a56bcc5371239c87a4d94c03fb3b98d0d850800.tar.bz2
planet-1a56bcc5371239c87a4d94c03fb3b98d0d850800.zip
Planet/universe import
Diffstat (limited to 'templates/rss20.xml.tmpl')
-rw-r--r--templates/rss20.xml.tmpl24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/rss20.xml.tmpl b/templates/rss20.xml.tmpl
new file mode 100644
index 0000000..68fa2e0
--- /dev/null
+++ b/templates/rss20.xml.tmpl
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
+
+<channel>
+ <title><TMPL_VAR name></title>
+ <link><TMPL_VAR link ESCAPE="HTML"></link>
+ <language>en</language>
+ <description><TMPL_VAR name> - <TMPL_VAR link ESCAPE="HTML"></description>
+
+<TMPL_LOOP Items>
+<item>
+ <title><TMPL_VAR channel_name><TMPL_IF title>: <TMPL_VAR title></TMPL_IF></title>
+ <guid><TMPL_VAR id ESCAPE="HTML"></guid>
+ <link><TMPL_VAR link ESCAPE="HTML"></link>
+ <TMPL_IF content>
+ <description><TMPL_VAR content ESCAPE="HTML"></description>
+ </TMPL_IF>
+ <pubDate><TMPL_VAR date_822></pubDate>
+ <dc:creator><TMPL_VAR channel_name> (<TMPL_VAR channel_username>)</dc:creator>
+</item>
+</TMPL_LOOP>
+
+</channel>
+</rss>