From 5b9005a8dd33feba93d0c85a7fdeaa2194af5d1a Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Tue, 28 Feb 2012 23:14:20 +0800 Subject: [PATCH] Drop the version attribute on the generator tag in Atom feeds. Removing the version means that rebuilds are reproducible over time. Both the generator tag and its version attribute are optional: http://tools.ietf.org/html/rfc4287#section-4.2.4 --- IkiWiki/Plugin/inline.pm | 1 - templates/atompage.tmpl | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 159cc5def..bdab5793b 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -677,7 +677,6 @@ sub genfeed ($$$$$@) { guid => $guid, feeddate => date_3339($lasttime), feedurl => $feedurl, - version => $IkiWiki::version, ); run_hooks(pagetemplate => sub { shift->(page => $page, destpage => $page, diff --git a/templates/atompage.tmpl b/templates/atompage.tmpl index e82b59827..3cdd71d1a 100644 --- a/templates/atompage.tmpl +++ b/templates/atompage.tmpl @@ -33,7 +33,7 @@ -ikiwiki +ikiwiki