Accéder au contenu.
Menu Sympa

devel - [Devel] r489 - branches/generic

Objet : devel-adl

Archives de la liste

[Devel] r489 - branches/generic


Chronologique Discussions 
  • From: svn AT agendadulibre.org
  • To: devel AT agendadulibre.org
  • Subject: [Devel] r489 - branches/generic
  • Date: Tue, 9 Nov 2010 20:06:06 +0100 (CET)
  • List-archive: <http://agendadulibre.org/pipermail/devel>
  • List-id: Developpement de l'Agenda du Libre <devel.agendadulibre.org>

Author: ploc
Date: Tue Nov 9 20:06:04 2010
New Revision: 489

Log:
The field <dc:date> is linked to the pubDate, the publication date and time
of the item, not the event start date as it is now. This is why some rss feed
readers were ignoring this date as the publication date cannot be in the
futur.

Modified:
branches/generic/rss.php

Modified: branches/generic/rss.php
==============================================================================
--- branches/generic/rss.php Mon Nov 8 21:29:01 2010 (r488)
+++ branches/generic/rss.php Tue Nov 9 20:06:04 2010 (r489)
@@ -166,7 +166,7 @@
echo " <dc:identifier>" . $event->id . "@" . $mailDomain .
"</dc:identifier>\n";
$evt_timezone = ereg_replace("^\+([0-9][0-9])([0-9][0-9])$", "+\\1:\\2",
date('O', $start_timestamp));
- $evt_date = date('Y-m-d\TH:i', $start_timestamp);
+ $evt_date = str_replace(" ", "T", $event->decision_time);
echo " <dc:date>" . $evt_date . $evt_timezone . "</dc:date>\n";

if ($longitude && $latitude)





Archives gérées par MHonArc 2.6.16.

Haut de le page