* Make aggregator save permalinks and author name to pages as metadata.
[ikiwiki.git] / templates / rssitem.tmpl
index 421600591ea50189a2e38a06b4d3a13003df2444..c7e587e1c7d6121f2474019d7f649c50f68b7fe7 100644 (file)
@@ -1,10 +1,15 @@
 <item>
+       <TMPL_IF NAME="AUTHOR">
+       <title><TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE ESCAPE=HTML></title>
+       <dc:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dc:creator>
+       <TMPL_ELSE>
        <title><TMPL_VAR TITLE ESCAPE=HTML></title>
+       </TMPL_IF>
        <guid><TMPL_VAR URL></guid>
-       <link><TMPL_VAR URL></link>
+       <link><TMPL_VAR PERMALINK></link>
        <TMPL_IF NAME="CATEGORIES">
        <TMPL_LOOP NAME="CATEGORIES">
-       <category><TMPL_VAR NAME=CATEGORY></category>
+       <category><TMPL_VAR CATEGORY></category>
        </TMPL_LOOP>
        </TMPL_IF>
        <pubDate><TMPL_VAR PUBDATE></pubDate>