Nouveau feed
authorCyril Robert <Cyril Robert cyrilrbt@gmail.com>
Fri, 28 May 2010 14:33:13 +0000 (10:33 -0400)
committerCyril Robert <Cyril Robert cyrilrbt@gmail.com>
Fri, 28 May 2010 14:33:13 +0000 (10:33 -0400)
share/roundup/templates/classic/html/issue.index.xml

index 81c32bf..958dfea 100644 (file)
@@ -1,18 +1,20 @@
 <?xml version="1.0" encoding="utf-8"?>
-<feed version="0.3" xmlns="http://purl.org/atom/ns#"
-  xmlns:tal="http://xml.zope.org/namespaces/tal"
-  xmlns:metal="http://xml.zope.org/namespaces/metal">
+
+<feed xmlns="http://www.w3.org/2005/Atom" 
+  xmlns:tal="http://xml.zope.org/namespaces/tal">
+
   <title>Issues - <tal:block tal:replace="config/TRACKER_NAME" /></title>
-  <!--link rel="alternate" type="text/html" tal:content="config/TRACKER_WEB">link</link-->
-  <link rel='hub' tal:href="config/TRACKER_WEB" />
+  <link tal:attributes="href config/TRACKER_WEB" />
+  
   <tal:block tal:omit-tag="" tal:repeat="i request/batch">
     <entry>
       <title tal:content="i/title">title</title>
-      <link rel="alternate" type="text/html" tal:content="string:${config/TRACKER_WEB}issue${i/id}">link</link>
+      <link tal:attributes="href string:${config/TRACKER_WEB}issue${i/id}" />
       <id tal:content="python:config.TRACKER_NAME.replace(' ', '_') + ':issue' + i.id">id</id>
       <summary mode="escaped" type="text/html" tal:content="i/history"></summary>
-      <issued tal:content="i/creation">issued</issued>
-      <modified tal:content="i/activity">modified</modified>
+      <updated tal:content="i/activity">modified</updated>
     </entry>
   </tal:block>
+
 </feed>
+