Title: Message
This isn't necessarily a great heuristic to use since you are coding in certain presumptions about the way the news stories are posted. This is the case for any type of approach based on a "naieve" heuristic. A better way to do this might involve some form of feedback neural net and an engine to parse a story and establish the likelihood of follow-up / connected stories based on content (although if you were going down this route you could circumvent your entire method and establish a story's significance based on content), then use this as a basis for a dynamically adapted poll interval. However, the way news develops and is posted will be in such a random and unpredictable fashion that really you might find it easier to just stick with a single methodical system rather than trying to be tricky with it. At the end of the day, as Ben said, BBC news is a 24 hour operation, and there can't be a huge overhead involved in polling too frequently?
 
Luke
-----Original Message-----
From: Chris Neale [mailto:[EMAIL PROTECTED]
Sent: 28 May 2005 09:39
To: [email protected]
Subject: Re: [backstage] RSS at night.

Hi,
 
One possible approach would be to have your programme alter the time between updates dynamically.
 
For example: you fetch the news at 1am .. and then again at 1:15am and find there's been a new story. This means something is happening, so you reduce the time until the next fetch to 10 minutes. At 1:25am you fetch again, and theres a another update, so you reduce the time by 5 minutes again. At 1:30am you fetch the feed and find no new stories, so you increase to 10 minutes.
 
This way the programme will (might) find it's own level.
 
Actually coding the system wouldn't be terrifically difficult. The approach I'd take would be to write the time of the next fetch to either a database or file, and have a cron job run a script every five minutes. The script would check the time of the next fetch, if it's passed then it would do the fetch and update the time stored for the next check.
 
Chris

Hi,

Another prototype I am working on (yes, another) involves using the rss feeds to work out which news items are the most important by how long they are near the top of the feed.  This obviously means checking the feeds fairly often, but I am not entirely sure how often it should be.  At the moment I am thinking about every half an hour during the day, but the night is another matter.  How often would the news be updated during the night (ie, is it worth updating every half an hour or would it be more useful to check every few hours)?

Thanks,
Duncan

Reply via email to