date processing

View: New views
2 Messages — Rating Filter:   Alert me  

date processing

by JB-32 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Look for "function checkFeed(index, xml)" which is
one pagescroll down for me.

      http://tinyurl.com/yxufdp

Perhaps you can see if there is something wrong with it.
I think there might be something around wrong around the
oldestEntryDate variable.

I would think if the article name already exists they should
compare the just read xml pubDate to the original article date
and if it is newer it should replace the article (meaning it should
remove the original article and put the newer version up as unread).
Otherwise is could use the oldestEntryDate.

The code is a little difficult for me to comprehend but that is my
best guess.  What do you think?

John
_______________________________________________
Newsfox mailing list
Newsfox@...
http://mozdev.org/mailman/listinfo/newsfox

Re: date processing

by R Pruitt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

JB-32 wrote:
...

I would think if the article name already exists they should
compare the just read xml pubDate to the original article date
and if it is newer it should replace the article (meaning it should
remove the original article and put the newer version up as unread).
Otherwise is could use the oldestEntryDate.

...
Newsfox assumes different links belong as different articles even if
the names are the same. To do otherwise would create problems:
as an example, every day Lifehacker has an article titled 'Daily News
Roundup' and a newsfeed reader shouldn't delete the old ones!

Plus, if you don't see the multiple articles, you don't have a chance
to complain to the feed provider about the poor quality control of their feed.