<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/17638" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2010-03-05T02:13:19-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/17638</id>

		<entry>
		<author><name><![CDATA[NewzNZ]]></name></author>
		<updated>2010-03-05T02:13:19-04:00</updated>

		<published>2010-03-05T02:13:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92381#p92381</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92381#p92381"/>
		<title type="html"><![CDATA[stopping old headlines]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92381#p92381"><![CDATA[
Hi there<br><br>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:<br><br>  if {($news != $newslast)} {<br><br>send to room and set $newslast etc<br><br>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. <br>This kind of thing results:<br><br>STORY NEW<br>STORY 2ND NEWEST<br>STORY NEW...then it settles out.<br><br>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.<br><br>Thanks in advance for help!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10525">NewzNZ</a> — Fri Mar 05, 2010 2:13 am</p><hr />
]]></content>
	</entry>
	</feed>
