FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » XML Aggregation Imports the Same Article Every Time xmlagg.php is Run
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
XML Aggregation Imports the Same Article Every Time xmlagg.php is Run [message #161475] Tue, 29 December 2009 04:48 Go to next message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma: 0
Senior Member
Just what it says. Here is the XML feed I'm using. It is using pipes.yahoo.com to pre-filter the content

Fetching XML data from http://pipes.yahoo.com/pipes/pipe.run?_id=ce52e2596ddc7d0554ba3337464f2bec& amp;_render=rss

Cheers,

James.
Re: XML Aggregation Imports the Same Article Every Time xmlagg.php is Run [message #161476 is a reply to message #161475] Tue, 29 December 2009 06:01 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
I'm unable to reproduce. Have you by any chance reset the tracker? If you do, it will most definitely load duplicates.
Re: XML Aggregation Imports the Same Article Every Time xmlagg.php is Run [message #161479 is a reply to message #161476] Tue, 29 December 2009 15:23 Go to previous messageGo to next message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma: 0
Senior Member
naudefj wrote on Tue, 29 December 2009 01:01
I'm unable to reproduce. Have you by any chance reset the tracker? If you do, it will most definitely load duplicates.


I tried to reset the tracker once thinking maybe the internal setting was a bad default or something. But I don't do it between each sync.

There don't appear to be any error messages and the sync doesn't report any problem.

Did you try to run the sync script multiple times?

Cheers,

James.
Re: XML Aggregation Imports the Same Article Every Time xmlagg.php is Run [message #161480 is a reply to message #161479] Tue, 29 December 2009 18:05 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Yes I did, but it doesn't load duplicates.

Can you add some debugging code or allow me temp access to your server?
Re: XML Aggregation Imports the Same Article Every Time xmlagg.php is Run [message #161481 is a reply to message #161480] Tue, 29 December 2009 20:41 Go to previous messageGo to next message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma: 0
Senior Member
I just sent details to you frank to your gmail account. Let me know if you need anything else.

Cheers,

James.
Re: XML Aggregation Imports the Same Article Every Time xmlagg.php is Run [message #161495 is a reply to message #161481] Thu, 31 December 2009 05:08 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Thanks James. I could simulate the problem locally for a while. However, for some strange reason the pipe is empty again!?!

Anyway, it looks like the article's date is changing with every load:

Fetching XML data from ...
Loading article: aluminium PCB (lefpcb)
Article's post stamp: 1262154673
Tracker stamp: 1262154080

Fetching XML data from ...
Loading article: aluminium PCB (lefpcb)
Article's post stamp: 1262154684
Tracker stamp: 1262154673
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: delete all messages by this user
Next Topic: Post notifications for forum moderators appear to be mailed in the *poster's* language
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 10:25:03 GMT 2024

Total time taken to generate the page: 0.02383 seconds