From: Evan R. <eva...@gm...> - 2006-03-16 23:31:04
|
Hi Guys, my first time jumping in here, so allow me to first say thanks for picking up this great project again. (if you guys are still active...saw that the dev mails were only up til late Feb at sf.net). In the course of doing a complete overhaul of my server this week, it was time to get a fresher feeds reader, and naturally i went with something i knew, as i had been using fof for well over a year now. After installing fofredux, and importing my feeds and their corresponding items (i don't delete anything), i noticed that updates on some of the feed= s were losing their dates. They were in fact defaulting to 01-01-1970, and i= t was all atom (see anything at blogger.com) and RSS1.0 (e.g. slashdot), whic= h is actually the Atom format. RSS 2.0 feeds are fine. Digging through the code, i realized it's not entirely our problem, as we call the magpie parsing function parse_w3cdtf for those two types of feeds, which is not functioning as desired. In fact, these dates are not w3c standard: w3c contains no : in the timezone, whereas Atom time does. The fix for this problem...at least so far on my side...is to simply replac= e this function with the native PHP strtotime() twice in init.php. I've tested on PHP 5.0.5 and 5.1.2 with success. Don't have any php 4.X.Xrunning here. I guess the real fix would be to repair the magpie function...but I'm not sure it's necessary when php provides native support. Hope that might help anyone else out there with a similar problem...and let me know if i've destroyed something in the process. Regards, Evan |