Bug 49114 - KNewsticker news download still buggy?
Summary: KNewsticker news download still buggy?
Status: RESOLVED FIXED
Alias: None
Product: knewsticker
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Frerich Raabe
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-14 14:59 UTC by Martin Feuersaenger
Modified: 2003-09-01 14:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Feuersaenger 2002-10-14 14:59:44 UTC
Version:            (using KDE KDE 3.0.2)
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.4 20011002 (Debian prerelease)
OS:          Linux

Even though bug #39140 is marked as closed I still experience some weirdnes with my news sources.

I currently have feshmeat.net, LWN.net, Slashdot, DebianHELP, KDE Dot News, heise.de and tagesschau.de as news sources. They are either rss, or rdf, only some of the sources qualify as valid XML.

When KNewsticker is started all news sources are correctly loaded.

Updating however, is a totaly random behaviour. "Check News" doesn't show any results as well.

The only thing that works is changing the period for fetching new news. If this is changed, all news are updated at once.

So I think that XML interpretation has nothing to do with this bug, it seems to be more related to the updating procedure.

Gr
Comment 1 Frerich Raabe 2003-09-01 14:18:06 UTC
Subject: kdenetwork/knewsticker/common

CVS commit by raabe: 

- Don't break when a newssource gets updated, but the new RSS file is smaller
  than the previous one; the internal buffer got expanded, but never shrinked,
  so after the reset() call the new data was inserted in the first part of the
  buffer, but because it did not shrink there was still garbled markup from
  the previous version, which breaks the XML parser. Patch based on very nice
  problem analysis by Mary Cushion  (mary at eiger dot demon dot co dot uk).
CCMAIL:49114-done@bugs.kde.org,52642-done@bugs.kde.org,63224-done@bugs.kde.org


  M +12 -7     newsengine.cpp   1.97
  M +2 -2      newsengine.h   1.60
  M +20 -6     xmlnewsaccess.cpp   1.33
  M +2 -3      xmlnewsaccess.h   1.18