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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
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] Mon, 28 December 2009 23:48 Go to next message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 01:01 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 10: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
add to buddy list
ignore all messages by this user
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 13:05 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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 15: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
add to buddy list
ignore all messages by this user
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 00:08 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
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
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Mon Oct 23 13:08:56 EDT 2017

Total time taken to generate the page: 0.00685 seconds