aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-31 00:34:18 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-31 00:34:18 +0000
commite4ccc4f3b09aaaa4f64bdba1d6ffff24e924fd20 (patch)
tree4d52652fd1361095964691d4662c5a76660e6015 /templates
parent908e004b4c5a1970246afd055a34dea4ea146b3e (diff)
downloadikiwiki-e4ccc4f3b09aaaa4f64bdba1d6ffff24e924fd20.tar
ikiwiki-e4ccc4f3b09aaaa4f64bdba1d6ffff24e924fd20.tar.gz
fix title metadata on blogs, reorg needed to do it, simplified tag some
Diffstat (limited to 'templates')
-rw-r--r--templates/rssitem.tmpl12
-rw-r--r--templates/rsspage.tmpl25
2 files changed, 18 insertions, 19 deletions
diff --git a/templates/rssitem.tmpl b/templates/rssitem.tmpl
new file mode 100644
index 000000000..421600591
--- /dev/null
+++ b/templates/rssitem.tmpl
@@ -0,0 +1,12 @@
+<item>
+ <title><TMPL_VAR TITLE ESCAPE=HTML></title>
+ <guid><TMPL_VAR URL></guid>
+ <link><TMPL_VAR URL></link>
+ <TMPL_IF NAME="CATEGORIES">
+ <TMPL_LOOP NAME="CATEGORIES">
+ <category><TMPL_VAR NAME=CATEGORY></category>
+ </TMPL_LOOP>
+ </TMPL_IF>
+ <pubDate><TMPL_VAR PUBDATE></pubDate>
+ <description><![CDATA[<TMPL_VAR CONTENT>]]></description>
+</item>
diff --git a/templates/rsspage.tmpl b/templates/rsspage.tmpl
index 55b1222ac..e7676ebbd 100644
--- a/templates/rsspage.tmpl
+++ b/templates/rsspage.tmpl
@@ -1,22 +1,9 @@
<?xml version="1.0"?>
<rss version="2.0">
- <channel>
- <title><TMPL_VAR TITLE ESCAPE=HTML></title>
- <link><TMPL_VAR PAGEURL></link>
- <description><TMPL_VAR WIKINAME ESCAPE=HTML></description>
- <TMPL_LOOP NAME="ITEMS">
- <item>
- <title><TMPL_VAR ITEMTITLE ESCAPE=HTML></title>
- <guid><TMPL_VAR ITEMURL></guid>
- <link><TMPL_VAR ITEMURL></link>
- <TMPL_IF NAME="CATEGORIES">
- <TMPL_LOOP NAME="CATEGORIES">
- <category><TMPL_VAR NAME=CATEGORY></category>
- </TMPL_LOOP>
- </TMPL_IF>
- <pubDate><TMPL_VAR ITEMPUBDATE></pubDate>
- <description><![CDATA[<TMPL_VAR ITEMCONTENT>]]></description>
- </item>
- </TMPL_LOOP>
- </channel>
+<channel>
+<title><TMPL_VAR TITLE ESCAPE=HTML></title>
+<link><TMPL_VAR PAGEURL></link>
+<description><TMPL_VAR WIKINAME ESCAPE=HTML></description>
+<TMPL_VAR CONTENT>
+</channel>
</rss>