web commit by NicolasLimare: rssfeed date patch correction
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 11 Aug 2007 22:45:57 +0000 (22:45 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 11 Aug 2007 22:45:57 +0000 (22:45 +0000)
doc/bugs/correct_published_and_updated_time_information_for_the_feeds.mdwn

index d28d492c22b23a5b3fce03d0c51129efce6c8778..645376786e4a4e99b606be5970f09d22a9ad8510 100644 (file)
@@ -83,6 +83,29 @@ Index: IkiWiki/Plugin/inline.pm
        my $template=template($feedtype."page.tmpl", blind_cache => 1);
 </pre>
 
-— NicolasLimare
 
-[[tag patch]]
+
+>> Yes I noticedthe bug today; the correct (tested on feedvalidator) rssitem.tmpl template must start with the following content:
+
+    <item>
+        <TMPL_IF NAME="AUTHOR">                                                    
+        <title><TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE></title>             
+        <dcterms:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dcterms:creator>           
+        <TMPL_ELSE>                                                                
+        <title><TMPL_VAR TITLE></title>                                            
+        </TMPL_IF>                                                                 
+        <dcterms:modified><TMPL_VAR MDATE_3339></dcterms:modified>                 
+        <dcterms:created><TMPL_VAR DATE_3339></dcterms:created>                    
+        ....
+>> and rsspage.tmpl must start with:
+
+    <?xml version="1.0"?>                                                              
+    <rss version="2.0"                                                                 
+         xmlns:dc="http://purl.org/dc/elements/1.1/"                                   
+         xmlns:dcterms="http://purl.org/dc/terms/" >        
+         ....
+
+>> — [[NicolasLimare]]
+
+[[tag patch]]
\ No newline at end of file