multirss

Karamba & Superkaramba

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
7.2
Description:

Superkaramba theme that supports aggregation of multiple RSS feeds and displays items in order of publication, most recent first.
Last changelog:

13 years ago

V1.2: Added error checking for XML errors in the feeds and to ensure that fields that are used actually exist in the feed items.

nebula83

12 years ago

Heya,
Nice RSS reader! Blends in nicely with the rest of my desktop. The fact that I can actually define my own RSS feeds is great! However when I add the following RSS feed

http://www.nu.nl/deeplink_rss2/index.jsp?r=Algemeen

It does not appear in the RSS screen? I get tracebacks like:

Traceback (most recent call last):
File "/var/lib/python-support/python2.5/apport_python_hook.py", line 44, in apport_excepthook
binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
AttributeError: 'module' object has no attribute 'argv'

Original exception was:
Traceback (most recent call last):
File "multirss.py", line 176, in initWidget
if feed.pubdates[latest_item] != 0:
IndexError: list index out of range

Do you know what's wrong?
Thanks in advance, Nebula

Report

RAdams

13 years ago

Great widget! Is there a way to change the background or font color?

Report

C

N7DR

13 years ago

I uploaded version 1.2 yesterday, and shortly afterwards discovered something interesting and rather odd: on my system, the KDE-look RSS feed triggers the bozo detection -- even though in fact there seems to be nothing wrng with the XML in the feed.

As far as I can tell, it's because *.rdf files are treated as text/plain, which is somehow regarded by the feedparser module as an inappropriate type for RSS feeds.

Anyway, I think I have a fix in place, but I want to leave it running here for a couple of days to make sure that it is stable. With any luck, I'll be able to upload a version 1.3 containing the fix sometimes tomorrow.

Report

Taucher

13 years ago

hmm... no more hard error, when the time-field is missing,

but i giot something like this:

Call to widgetUpdated failed
Traceback (most recent call last):
File "/home/rtauchnitz/.superkaramba/multirss/multirss.py", line 236, in widgetUpdated
for i in xrange(osn.itemcount):
AttributeError: 'list' object has no attribute 'itemcount'

the programm isnt crashing, but i dont know if u know this error, so i report it. :)

Report

C

N7DR

13 years ago

Thanks very much for reporting this. I'll look at it as soon as I get time (maybe I won't have chance for more than a week, though -- I am very busy with work at the moment)

Report

Taucher

13 years ago

Hello,
i like it, but when i add a url like this: http://www.bild.t-online.de/BTO/,templateId=rss091.xml i'm getting this error:

Call to initWidget failed
Traceback (most recent call last):
File "/home/rtauchnitz/.superkaramba/multirss/multirss.py", line 101, in initWidget
osn.append(NewsReader(feedURL[nfeed], nfeed, True, max_read_items))
File "/home/rtauchnitz/.superkaramba/multirss/multirss.py", line 53, in __init__
self.readFeed()
File "/home/rtauchnitz/.superkaramba/multirss/multirss.py", line 60, in readFeed
self.descriptions.append(self.fixText(channelitem.get('description')))
File "/home/rtauchnitz/.superkaramba/multirss/multirss.py", line 74, in fixText
for i in xrange(len(text)):
TypeError: len() of unsized object
Call to widgetUpdated failed
Traceback (most recent call last):
File "/home/rtauchnitz/.superkaramba/multirss/multirss.py", line 202, in widgetUpdated
for i in xrange(osn.itemcount):
AttributeError: 'list' object has no attribute 'itemcount'

Report

C

N7DR

13 years ago

How did you get that traceback? There must be a trick I don't know about that lets you see tracebacks when themes fail.

Report

Taucher

13 years ago

u have to start superkaramba in the console

Report

C

N7DR

13 years ago

OK...

the items in that feed have no description field (and, more importantly, it no pubDate field).

This failure is actually not in code I wrote (don't you hate it when you rely on someone else's code and it breaks? :-) ).

I'll see if I can figure out a way for it fail cleanly -- although the theme still won't actually display anything from this feed, since it has no pubDates, so the theme doesn't knwow how to put the items into time order. But obviously silent failure would be better than the error you're currently getting.

Report

C

N7DR

13 years ago

Someone must have voted this down below 50% -- which is fine, but I'd really like to know why. Didn't the theme do what it said it was going to do? Was there some problem with it?

The only reason I'm asking is because I find this theme extremely useful, and I'm a bit surprised that someone else wanted the functionality enough to download it, but then they were presumably disappointed in what they actally got. So I'd like to at least hear why they didn't like it, in case it's something I can easily fix (or they can fix it themselves if they prefer).

Report

tux86

13 years ago

normally someone votes "bad" because it does not work or it looks ugly...

i'm gonna test it :)

Report

tux86

13 years ago

btw: i voted "good" and that made 4%...it seems like just few people voted! don't give up now! i think this theme will have it's day :)

Report

13 years ago

V1.2: Added error checking for XML errors in the feeds and to ensure that fields that are used actually exist in the feed items.

12345678910
product-maker Count:50 Rating: 6.58
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
1.2
updated May 28 2006
added May 09 2006
downloads today
0
page views today 2