Hi there
I have a series of scripts to pull headlines off various sites. To avoid repeating the previous item, each time the bot goes to send a story to the room it checks to see if it was the last story by:
if {($news != $newslast)} {
send to room and set $newslast etc
The problem I'm having with some sites is that if you check them eg every minute, sometimes the freshest story reverts back to the second story for a couple of minutes before coming back again - must be some kind of caching problem on the website.
This kind of thing results:
STORY NEW
STORY 2ND NEWEST
STORY NEW...then it settles out.
Anyway what I'm trying to work out is another check way to avoid sending these previously sent items out again to the room when they've already hit.
Thanks in advance for help!