Hello,

* On Wed, Mar 23, 2005 at 04:23:00PM +0100 Miernik wrote:
> Package: centericq-common
> Version: 4.20.0-2
> Severity: normal
> 
> RSS reader function repeatedly shows old news items as if they where
> new. It doesn't happen every time, but sometimes (for the feeds below
> roughly once one or two days, with the standard 120 minutes check
> frequency). Then you have to tap enter to get through countless old news
> items which you allready saw. 

This problem is known to centericq's author. I once started to write a
patch for it, but stopped working on it as I found out the original
author is not interested.

The problem explanation is easy: centericq shows old RSS news items
whenever the RSS feed applies changes to older articles.

Let's take the following example:

centericq already showed the following items (newest last):

1. #1
2. #2
3. #3
4. #4
5. #5


Now, the new recevied RSS feed looks like this:


1. #3
2. #4
3. #5a (a modified #5, for example, #5 (UPDATE)!)
4. #6
5. #7
6. #8


Now, centericq processes the new items as follows: It takes the newest
one (#8) and adds it into the message list if that one has not been
shown yet, that is, it is not on top of the already added items (which
is #5). ONLY that single one is tested.

Thus, #8 is added. Now, it takes #7, and addes that one, as well as #6.

Now, #5a is investigated. As that one is not on top of the already shown
items, #5a is added, too. This even happens if #5a and #5 only differ by
blanks. Unfortunately, as centericq does not recognize #5a as already
shown, it tests #4. As #4 is not on top of the already shown items, it
is added, too, as well as #3.

A fix is rather easy: centericq would have to check every item if that
one is already in the list of shown items. For this, it would not need
to check against every already shown item, as only the top X (with X
being the number of new items) is of importance.

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis                              http://cbm4win.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to