Bug 3339 - RSS stopped working on certain sites with error message
Summary: RSS stopped working on certain sites with error message
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Plugins/RSSyl (show other bugs)
Version: 3.11.1
Hardware: PC Linux
: P3 critical
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2014-11-28 17:05 UTC by luminarior
Modified: 2015-01-03 14:16 UTC (History)
1 user (show)

See Also:


Attachments

Description luminarior 2014-11-28 17:05:36 UTC
1. I upgraded from 3.10.1 to 3.11.1 and my RSS news feeds become work strangely: almost all RSS messages have become marked as unread ones. One of the newsfeeds have stopped working completelly: http://www.vedomosti.ru/newsline/out/rss.xml from http://www.vedomosti.ru/newsline/ site. I tried to delete it and recreate (subscribe new feed), but it still gives me "No valid feed found at
http://www.vedomosti.ru/newsline/out/rss.xml" error. I tried to downgrade to 3.10.1 and upgraded back, but it made things even worse: it's now other RSS newsfeeds have stopped working too and I can't select "Refresh feed" or "Feed properties" on those feeds.
2. I noticed (before downgrade into 3.10.1) that option for limit the number of messages in the newsfeed has disappeared. That's pretty sad too. I don't need to store all news on my SSD. 900 messages max are enough for everyday reading and older messages should be all deleted as it was in previous version of RSSyl plugin.
Comment 1 Andrej Kacian 2014-11-28 17:28:12 UTC
1. This is unfortunate, looks like the unknown encoding handler for Expat parser does not work as expected. I will have a look at it to see if I can make it work.

2. You can either disable "Keep old items" in feed properties to automatically delete items/stories which are no longer in the feed, or you can set up folder processing rules to delete older items.

My favourite processing rule for this is "age_greater 14 & ~unread", which deletes any item older than two weeks, unless it's still marked as unread.
Comment 2 users 2015-01-01 22:40:03 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2015-01-01 23:40:03.051606144 +0100
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=3720167b728bda31571ee4887ce93eb2521c128e
Merge: 6951c46 d051560
Author: Colin Leroy <colin@colino.net>
Date:   Thu Jan 1 23:40:02 2015 +0100

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=d05156031070efe6104695acad93aa879bc0f084
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Thu Jan 1 23:36:36 2015 +0100

    RSSyl: Fix handling of feeds with encodings unknown to expat. Turns out the only thing missing was that HAVE_ICONV macro (from config.h) was not defined in parser.c, so our "unknown encoding" expat handler function did nothing. Fixes bug #3339.
Comment 3 luminarior 2015-01-03 12:16:47 UTC
Vedomosti RSS does work for me now. Thank you for this patch. I will also try to set up folder processing rules to delete older items.
Comment 4 Andrej Kacian 2015-01-03 14:16:41 UTC
(In reply to comment #3)
> I will also try to set up folder processing rules to delete older items.

Or just have the "Keep old items" option unchecked. That way, if a feed item (message, story) gets removed from the website feed, RSSyl will delete it as well.

I'm going to mark this bug as resolved. Thanks for pointing out the issue with vedomosti.ru feed!

Note You need to log in before you can comment on or make changes to this bug.