From: Andrew T. (nilspace) <nil...@us...> - 2006-03-31 14:54:16
|
There is definitely a bug in the parse_w3cdtf () of magpierss/rss_utils.inc or associated. I just realized that I have not been reading a bunch of items from my feeds. For whatever reason, the publish_time is getting set to: 0000-00-00 00:00:00 which then makes the feed items not show up in the view. You can see this in the HEAD demo: http://code.highearthorbit.com/fofredux/fofredux_head/view.php?feed=3D42 where no feed items are visible from after March 8. If you view "old to new" you get feed items that were at least cached up until March 17. But you can clearly see on the RSS feed that their have been items since then: http://www.hackaday.com/rss.xml The actual error is: Warning: gmmktime() expects parameter 3 to be long, string given in /home/.parable/highearth/code.highearthorbit.com/public/fofredux/fofredux_h= ead/magpierss/rss_utils.inc on line 35 Which is just a warning, but then the date/time is getting set to the 0000 value from above and then not getting picked up in the fof_get_items query. Also, for anyone interested, HEAD also has an updated search functionality which searches within just the current view and also has search term highlighting. Andrew On 3/23/06, Andrew Turner <ajt...@hi...> wrote: > On 3/23/06, Kevin <ke...@dr...> wrote: > > Andrew Turner wrote: > > > I have the current bugs in RC 0.3: > > > > > > * Warning: gmmktime() expects parameter 3 to be long, string given in > > > magpierss/rss_utils.inc on line 35 > > > - which shows up when any feed is updated. > > > > > > > > Which version of php are you using? I did make changes to that file, > > but it runs clean on my install. (5.0.x) > > PHP 4.4.2 > > > > > > * Warning: Unable to detect unique link for item, please report the > > > bug to the FoFR Project in init.php on line 1598 > > > > > > - which shows up from the feed: > > > http://ourworld.harveyworld.com.au/jobs/default.cfm > > > > > > > > That feed has no URLs to uniquely identify the items. Is it a defect i= f > > we've never supported horribly broken feeds such as that? To fix this= , > > we will have to add a hash column to the items table to uniquely > > identify items. Not something I'd consider slipping in during a releas= e > > cycle. > > > > Good point - I didn't necessarily think this needed to be fixed now, > but was worth looking at. We had discussed "fall-back" uniqueness > tests. > > > > * the "Previous/Next 10" (or however many) links do not abide by the > > > "howmany" and are actually malformed (several params without actual > > > values). > > > > > Can anyone else confirm this bug? > > > > > > > -- > > > Andrew Turner > > > ajt...@hi... 42.4266N x 83.4931W > > > http://highearthorbit.com Northville, Michigan, USA > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking scripting la= nguage > > > that extends applications into web and mobile media. Attend the live = webcast > > > and join the prime developer group breaking into this new coding terr= itory! > > > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=12164= 2 > > > _______________________________________________ > > > Fofredux-devel mailing list > > > Fof...@li... > > > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting lang= uage > > that extends applications into web and mobile media. Attend the live we= bcast > > and join the prime developer group breaking into this new coding territ= ory! > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > > _______________________________________________ > > Fofredux-devel mailing list > > Fof...@li... > > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > > > > > -- > Andrew Turner > ajt...@hi... 42.4266N x 83.4931W > http://highearthorbit.com Northville, Michigan, USA > -- Andrew Turner ajt...@hi... 42.4266N x 83.4931W http://highearthorbit.com Northville, Michigan, USA |
From: Miles B. <mil...@gm...> - 2006-03-31 17:44:25
|
On 3/31/06, Andrew Turner (nilspace) <nil...@us...> wrote= : > Also, for anyone interested, HEAD also has an updated search > functionality which searches within just the current view and also has > search term highlighting. > > Andrew I updated via CVS recently to check out the search addition. I like the highlighting a lot. Thanks for making this change. -Miles |
From: Kevin <ke...@dr...> - 2006-03-31 17:45:33
|
Please add a test case that reporduces the failure. I'll need to stand u= p a php4 environment to debug with. I don't get this behavior on php 5.0.x= . > There is definitely a bug in the parse_w3cdtf () of > magpierss/rss_utils.inc or associated. I just realized that I have not > been reading a bunch of items from my feeds. For whatever reason, the > publish_time is getting set to: > 0000-00-00 00:00:00 > > which then makes the feed items not show up in the view. > > You can see this in the HEAD demo: > http://code.highearthorbit.com/fofredux/fofredux_head/view.php?feed=3D4= 2 > > where no feed items are visible from after March 8. If you view "old > to new" you get feed items that were at least cached up until March > 17. But you can clearly see on the RSS feed that their have been items > since then: > http://www.hackaday.com/rss.xml > > The actual error is: > Warning: gmmktime() expects parameter 3 to be long, string given in > /home/.parable/highearth/code.highearthorbit.com/public/fofredux/fofred= ux_head/magpierss/rss_utils.inc > on line 35 > > Which is just a warning, but then the date/time is getting set to the > 0000 value from above and then not getting picked up in the > fof_get_items query. > > Also, for anyone interested, HEAD also has an updated search > functionality which searches within just the current view and also has > search term highlighting. > > Andrew > > On 3/23/06, Andrew Turner <ajt...@hi...> wrote: >> On 3/23/06, Kevin <ke...@dr...> wrote: >> > Andrew Turner wrote: >> > > I have the current bugs in RC 0.3: >> > > >> > > * Warning: gmmktime() expects parameter 3 to be long, string given >> in >> > > magpierss/rss_utils.inc on line 35 >> > > - which shows up when any feed is updated. >> > > >> > > >> > Which version of php are you using? I did make changes to that fil= e, >> > but it runs clean on my install. (5.0.x) >> >> PHP 4.4.2 >> >> > >> > > * Warning: Unable to detect unique link for item, please report th= e >> > > bug to the FoFR Project in init.php on line 1598 >> > > >> > > - which shows up from the feed: >> > > http://ourworld.harveyworld.com.au/jobs/default.cfm >> > > >> > > >> > That feed has no URLs to uniquely identify the items. Is it a defec= t >> if >> > we've never supported horribly broken feeds such as that? To fix >> this, >> > we will have to add a hash column to the items table to uniquely >> > identify items. Not something I'd consider slipping in during a >> release >> > cycle. >> > >> >> Good point - I didn't necessarily think this needed to be fixed now, >> but was worth looking at. We had discussed "fall-back" uniqueness >> tests. >> >> > > * the "Previous/Next 10" (or however many) links do not abide by t= he >> > > "howmany" and are actually malformed (several params without actua= l >> > > values). >> > > >> >> Can anyone else confirm this bug? >> >> > > >> > > -- >> > > Andrew Turner >> > > ajt...@hi... 42.4266N x 83.4931W >> > > http://highearthorbit.com Northville, Michigan, USA >> > > >> > > >> > > ------------------------------------------------------- >> > > This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> > > that extends applications into web and mobile media. Attend the li= ve >> webcast >> > > and join the prime developer group breaking into this new coding >> territory! >> > > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=12= 1642 >> > > _______________________________________________ >> > > Fofredux-devel mailing list >> > > Fof...@li... >> > > https://lists.sourceforge.net/lists/listinfo/fofredux-devel >> > > >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> > that extends applications into web and mobile media. Attend the live >> webcast >> > and join the prime developer group breaking into this new coding >> territory! >> > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&= dat=3D121642 >> > _______________________________________________ >> > Fofredux-devel mailing list >> > Fof...@li... >> > https://lists.sourceforge.net/lists/listinfo/fofredux-devel >> > >> >> >> -- >> Andrew Turner >> ajt...@hi... 42.4266N x 83.4931W >> http://highearthorbit.com Northville, Michigan, USA >> > > > -- > Andrew Turner > ajt...@hi... 42.4266N x 83.4931W > http://highearthorbit.com Northville, Michigan, USA > --=20 Kevin |
From: Miles B. <mil...@gm...> - 2006-03-31 17:53:35
|
On 3/31/06, Kevin <ke...@dr...> wrote: > > Please add a test case that reporduces the failure. I'll need to stand u= p > a php4 environment to debug with. I don't get this behavior on php 5.0.x= . I just subscribed to this feed using Debian and php4 version 4.3.10-16 and I see 30 new articles. The articles are from March 8th thru today. |
From: Andrew T. (nilspace) <nil...@us...> - 2006-03-31 18:26:18
|
I am doing a clean db testing to see if this error shows up or it was somehow a corrupted db from various upgrades/downgrades/testing/development. Andrew On 3/31/06, Miles Beck <mil...@gm...> wrote: > On 3/31/06, Kevin <ke...@dr...> wrote: > > > > Please add a test case that reporduces the failure. I'll need to stand= up > > a php4 environment to debug with. I don't get this behavior on php 5.0= .x. > > I just subscribed to this feed using Debian and php4 version 4.3.10-16 > and I see 30 new articles. The articles are from March 8th thru today. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmdlnk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Fofredux-devel mailing list > Fof...@li... > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > -- Andrew Turner ajt...@hi... 42.4266N x 83.4931W http://highearthorbit.com Northville, Michigan, USA |
From: Kevin <ke...@dr...> - 2006-03-31 19:16:36
|
> I am doing a clean db testing to see if this error shows up or it was > somehow a corrupted db from various > upgrades/downgrades/testing/development. > I doubt it's a db problem. The db isn't involved until after parse_w3cdt= f() is run on the timestamps in the RSS item. --=20 Kevin |
From: Andrew T. (nilspace) <nil...@us...> - 2006-03-31 19:32:18
|
Yeah, didn't fix the problem. Curiously, Sourceforge's CVS also seems down. Anyone else having the proble= m? Andrew On 3/31/06, Kevin <ke...@dr...> wrote: > > > I am doing a clean db testing to see if this error shows up or it was > > somehow a corrupted db from various > > upgrades/downgrades/testing/development. > > > > I doubt it's a db problem. The db isn't involved until after parse_w3cdt= f() > is run on the timestamps in the RSS item. > > -- > Kevin > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmdlnk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Fofredux-devel mailing list > Fof...@li... > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > -- Andrew Turner ajt...@hi... 42.4266N x 83.4931W http://highearthorbit.com Northville, Michigan, USA |
From: Evan R. <eva...@gm...> - 2006-03-31 19:53:34
|
for me the issue was different based on the type of feed. RSS 2.0 =3D OK RSS 1.0 =3D bad ATOM =3D bad one of the bad ones was showing up as 1970-00-00 and the other as 0000-00-00, but i don't recall which was which. On 3/31/06, Andrew Turner (nilspace) <nil...@us...> wrote= : > > Yeah, didn't fix the problem. > > Curiously, Sourceforge's CVS also seems down. Anyone else having the > problem? > > Andrew > > On 3/31/06, Kevin <ke...@dr...> wrote: > > > > > I am doing a clean db testing to see if this error shows up or it was > > > somehow a corrupted db from various > > > upgrades/downgrades/testing/development. > > > > > > > I doubt it's a db problem. The db isn't involved until after > parse_w3cdtf() > > is run on the timestamps in the RSS item. > > > > -- > > Kevin > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > > that extends applications into web and mobile media. Attend the live > webcast > > and join the prime developer group breaking into this new coding > territory! > > http://sel.as-us.falkag.net/sel?cmdlnk&kid=110944&bid$1720&dat=121642 > > _______________________________________________ > > Fofredux-devel mailing list > > Fof...@li... > > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > > > > > -- > Andrew Turner > ajt...@hi... 42.4266N x 83.4931W > http://highearthorbit.com Northville, Michigan, USA > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Fofredux-devel mailing list > Fof...@li... > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > |