<?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/7533" />

	<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>2004-05-25T06:16:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2004-05-25T06:16:42-04:00</updated>

		<published>2004-05-25T06:16:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36586#p36586</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36586#p36586"/>
		<title type="html"><![CDATA[Detecting news (rename, delete, and so on)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36586#p36586"><![CDATA[
yeah, i thought about comparing url's only, but that would cause some problems with pages thaat dont have seperate ID's/pages/whatever for each news entry<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Tue May 25, 2004 6:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-05-24T16:54:54-04:00</updated>

		<published>2004-05-24T16:54:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36580#p36580</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36580#p36580"/>
		<title type="html"><![CDATA[Detecting news (rename, delete, and so on)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36580#p36580"><![CDATA[
Surely the articles have an identifying feature, such as a headline, or article number that you can store in the list as well, and search against headlines/article numbers...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Mon May 24, 2004 4:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2004-05-24T15:45:23-04:00</updated>

		<published>2004-05-24T15:45:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36578#p36578</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36578#p36578"/>
		<title type="html"><![CDATA[Detecting news (rename, delete, and so on)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36578#p36578"><![CDATA[
this would just work for added / deleted news, but not for modified posts.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Mon May 24, 2004 3:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-05-24T14:13:02-04:00</updated>

		<published>2004-05-24T14:13:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36576#p36576</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36576#p36576"/>
		<title type="html"><![CDATA[Detecting news (rename, delete, and so on)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36576#p36576"><![CDATA[
store articles in a backup "list" structure, and lsearch the list for the articles found when you connect to the site again... This way the order of the articles shouldn't matter.... Create a temporary "new" list from the connecting data, and lsearch that list from the other list's elements to find out what articles have been deleted.... Again, order not making a difference.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Mon May 24, 2004 2:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2004-05-24T10:23:00-04:00</updated>

		<published>2004-05-24T10:23:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36567#p36567</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36567#p36567"/>
		<title type="html"><![CDATA[Detecting news (rename, delete, and so on)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36567#p36567"><![CDATA[
I was checking my old newsticker code lately and i found some anoying stuff in there, maybe i miss the logic to do it better.<br><br>basically this is the way it works:<br><br>compare the new news to a backuped version of the news on the prev. check<br>if its different -&gt; <br>* check how much further "down" the first newsline from the old one has moved in the new data -&gt; everything above is now<br>* check if the 2nd old one = the 2nd new one -&gt; first news have been modified<br>* reverse the first check -&gt; news have been deleted<br><br>but somehow i'm not fully satisfied with this way, sometimes news are posted when they only were modified and moved in position.<br><br>can anyone provide me with some additional ways to compare news (or general data) for changes ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Mon May 24, 2004 10:23 am</p><hr />
]]></content>
	</entry>
	</feed>
