]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by NicolasLimare: updated patch
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 7 Aug 2007 06:01:26 +0000 (06:01 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 7 Aug 2007 06:01:26 +0000 (06:01 +0000)
doc/bugs/correct_published_and_updated_time_information_for_the_feeds.mdwn

index bb3b7854cffee83e731dec6da8c4b4bd121d12c1..53f2c2d42e23e05ab0df25b8257e249d472475d3 100644 (file)
@@ -16,6 +16,15 @@ This patch updates :) `inline.pm` and the two relevant templates.
                     );
      
                     if ($itemtemplate->query(name => "enclosure")) {
+    @@ -397,7 +399,7 @@
+                    $content.=$itemtemplate->output;
+                    $itemtemplate->clear_params;
+     
+    -               $lasttime = $pagectime{$p} if $pagectime{$p} > $lasttime;
+    +               $lasttime = $pagemtime{$p} if $pagemtime{$p} > $lasttime;
+            }
+     
+            my $template=template($feedtype."page.tmpl", blind_cache => 1);
     --- atomitem.tmpl.orig  2007-08-07 05:44:43.000000000 +0200
     +++ atomitem.tmpl       2007-08-07 05:46:14.000000000 +0200
     @@ -11,7 +11,8 @@