From 149fbcdad0d0f094d5b7aae6f8c31e8c242a38a5 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 7 Aug 2007 04:20:31 +0000 Subject: web commit by NicolasLimare: atom and rss references, and patch --- ...and_updated_time_information_for_the_feeds.mdwn | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 doc/bugs/correct_published_and_updated_time_information_for_the_feeds.mdwn (limited to 'doc') diff --git a/doc/bugs/correct_published_and_updated_time_information_for_the_feeds.mdwn b/doc/bugs/correct_published_and_updated_time_information_for_the_feeds.mdwn new file mode 100644 index 000000000..bb3b7854c --- /dev/null +++ b/doc/bugs/correct_published_and_updated_time_information_for_the_feeds.mdwn @@ -0,0 +1,44 @@ +In [Atom](http://www.ietf.org/rfc/rfc4287.txt), we can provide `published` and `updated` information. +In [RSS](http://cyber.law.harvard.edu/rss/rss.html), there is only `pubDate`, for the +publication date, but an update can be mentioned with the [`dc:modified`](http://www.ietf.org/rfc/rfc2413.txt) +element (whose datetime format is [iso 8601](http://www.w3.org/TR/NOTE-datetime)). +This patch updates :) `inline.pm` and the two relevant templates. + + --- inline.pm.orig 2007-08-07 05:44:26.000000000 +0200 + +++ inline.pm 2007-08-07 05:47:37.000000000 +0200 + @@ -362,7 +362,9 @@ + url => $u, + permalink => $u, + date_822 => date_822($pagectime{$p}), + + mdate_822 => date_822($pagemtime{$p}), + date_3339 => date_3339($pagectime{$p}), + + mdate_3339 => date_3339($pagemtime{$p}), + ); + + if ($itemtemplate->query(name => "enclosure")) { + --- 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 @@ + + + + - + + + + + + + + --- rssitem.tmpl.orig 2007-08-07 05:44:58.000000000 +0200 + +++ rssitem.tmpl 2007-08-07 06:06:36.000000000 +0200 + @@ -5,6 +5,7 @@ + + <TMPL_VAR TITLE> + + + + + + + +— NicolasLimare + +[[tag patch]] -- cgit v1.2.3