inc_sites.php3 1.74 1.75

Update of /home/spip-cvs/spip/ecrire
In directory alan:/tmp/cvs-serv21271/ecrire

Modified Files:
  inc_sites.php3
Log Message:
plus tolérant en syndication (Yves Grenier)

Index: inc_sites.php3

RCS file: /home/spip-cvs/spip/ecrire/inc_sites.php3,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- inc_sites.php3 3 Oct 2004 15:15:23 -0000 1.74
+++ inc_sites.php3 5 Oct 2004 20:48:29 -0000 1.75
@@ -316,6 +316,8 @@

         // Date
         $la_date = "";
+ if (ereg("<date>([^<]*)</date>",$item[$i],$match))
+ $la_date = $match[1];
         if (ereg($syndic_regexp['date1'],$item[$i],$match))
           $la_date = $match[1];
         else if (ereg($syndic_regexp['date2'],$item[$i],$match))