data.ini

Never edit data.ini unless you know what you do or were instructed to do so !!!

Unfortunately, feeds always present a list of articles and the Feeder has to determine which is "really" new to you. That is what this file is for. data.ini is used as the internal database of the Feeder for keeping track when it ran last and which are the newest articles in each feed.

Example:

[Feed Microsoft Most Recent KB Articles on IE6]
hash_last_article = "ce64fc4081dcd9499c50fcf29318fef1"
date_last_article = "1172512109"
date_last_checked = "1172599851"

date_last_checked is the Unix timestamp of the last run when this feed was checked for new articles. This means that disabled feeds retain the date_last_checked before they got disabled. So, you can temporarily disable a feed and then later catch up. But don't wait too long! (If you wait too long you may simply miss articles because they "scrolled off" the feed, but there won't be a problem catching up any newer articles that are still in the feed list.)

hash_last_article exists only for feeds that don't provide a date (idiots!). In this case the Feeder cannot determine if an article is new by comparing the dates. So, it stores an md5 hash of the title of the last article it fetched instead. That hash is then compared with the article titles in the feed in the order set in feeds.ini. Once it matches the next articles have to be new. If none of the article titles match we have a problem, because the Feeder then will never find any newer articles. So, you can disable such a feed as well, but only as long as it contains at least the last article we fetched!

date_last_article is not used at the moment and may never be but can be helpful for debugging.

Troubleshooting: You should change values here in only if there is a problem with getting new articles!

Removing the data for a feed "resets" that feed. If you remove the whole section for a feed it appears to the Feeder as if it was new, so the Feeder will fetch all articles (again) that are currently available.

Removing the whole section is the preferred method for resetting a "no date" feed. There is no other feasible way to get a "no date" feed going once it stopped.

With date feeds you can go back to specific dates and thus refetch the last or the last x articles again. To determine the timestamp run the feed in testing mode and look for the article dates in the debug output which appear in this order:

Dates: date of this article - date_last_article - date_last_checked

If you want to go back to a certain article then put its timestamp value (first value in the line) in the date_last_checked value for this feed in data.ini. Then all articles of and after this date will be detected as new. If you only want to get all the articles after that article again then increment the value by one.

For a normal, regularly fetched feed the date_last_article in data.ini should be the same as the date of the last article fetched.

 
vaosfeeds/data.ini.txt · Last modified: 18.05.2007 22:57 by kai
 
Recent changes RSS feed Driven by DokuWiki