karss

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
5.0
Description:

karss is an rss aggregator that displays multiple feeds in a single karamba theme, with entries sorted chronologically. It is based on multirss v1.2 by N7DR (http://www.kde-look.org/content/show.php?content=39022)

Differences include:
default dark background
larger font size (12 vs 10)
more entries at one time (25 vs 20)
reports "last updated" as time from last update
config option to use firefox instead of konqueror
rewritten and more managable innards

IMPORTANT INFO:
This theme depends on the PyXML package (for now). If you run it from command-line (superkaramba karss-03.skz), and get the following error:
> AttributeError: 'module' object has no attribute 'DefaultHandler'
Try installing the PyXML package. In kubuntu I believe this is called python-xml, so "sudo apt-get install python-xml". Please let me know if there are any other errors!

The first time you run karss, it will create a file feedlist.xml in a folder in your user's superkaramba directory (usually ~/.superkaramba/karss) The format of the xml file should be fairly self-explanatory. Modify it accordingly to add or remove feeds.

Other features/improvements may be added later on.

Planned features include:
on-click updating
forcing at least one entry from each feed to be present
per-feed colors
gui-based management of feeds

Feedback/comments/screenshots appreciated! :)
Last changelog:

13 years ago

# CHANGELOG
# v 0.1 - Initial release. Almost identical to multirss v1.2
# v 0.2 - Spent some time cleaning up the code and figuring out what it does. Some bits are needlessly repeated.
# Introduced a html tag-stripper to clean up feeds that have html bits in them.
# Using time.time() to keep track of when we should update feeds
# Added option to use Firefox instead of Konqueror
# v 0.21 - Cleaned up the code, streamlining replicated code
# Tried to reduce the use of globals where they are not needed
# Fixed a redraw bug
# Moved feed configuration into a separate feedlist.xml file
# Changed the tag-stripper to reuse feedparser's. It's better.
# Added a karssutils module, containing the html stripper and the feedlist.xml parser (for now)
# v 0.3 - Rewrote the critical bits, making them more object-oriented. We now have a nice object
# to request a sorted list of entries from. Makes life much less messy.
# Separated the working end of the feed reader into the karssreader module.
# Created a simple logo for karss
# v 0.31 - Caused widget to update on clicking "Last Updated"
# Made the tooltip summaries better by including the title

# TODO
# Create an option to force at least one entry per feed.
# Gui-based config
# implement proper error handling in the feedlist.xml parser

TeeAhr1

13 years ago

Very simple, very nice. Anyone know how I can get more than one copy running with different feedlists?

Report

ka9qlq

13 years ago

Sometimes, like if I change news sources, it wont show any headlines. Not a one. for no reason. Here's my feed list
<?xml version="1.0"?>
<feedlist>
<feed>
<name>YO</name>
<URL>http://rss.news.yahoo.com/rss/oddlyenough</URL>
</feed>
<feed>
<name>YTS</name>
<URL>http://rss.news.yahoo.com/rss/topstories</URL>
</feed>
<feed>
<name>YT</name>
<URL>http://rss.news.yahoo.com/rss/tech</URL>
</feed>
<feed>
<name>Linux Weekly News</name>
<URL>http://www.lwn.net/headlines/rss</URL>
</feed>

</feedlist>

It worked before I added changes and when I went back to the above it still wont work. Thanks a gig.

Report

jerome2k

13 years ago

Hi,

I'm using opensuse 10.2 and tried to install karss, but I get the same error message :
AttributeError: 'module' object has no attribute 'DefaultHandler'

I verified that python-xml is installed... so does anybody have an idea ???

thank you in advance

Report

andrerav

12 years ago

Seeing the same error on Kubuntu 8.04. The package python-xml is installed.

Here's the whole shebang:

andreas@nutty:~/download$ superkaramba 52908-karss-031.skz
karss version 0.31 , 11.Mar.2007 initialized
Questions, suggestions: saffsd@gmail.com
sys.path.insert(0, '/home/andreas/download/52908-karss-031.skz')
Call to initWidget failed
Traceback (most recent call last):
File "/home/andreas/download/52908-karss-031.skz/karss.py", line 74, in initWidget
File "/home/andreas/download/52908-karss-031.skz/karssutils.py", line 13, in <module>
AttributeError: 'module' object has no attribute 'DefaultHandler'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/apport_python_hook.py", line 71, in apport_excepthook
pr['PythonArgs'] = '%r' % sys.argv
AttributeError: 'module' object has no attribute 'argv'

Original exception was:
Traceback (most recent call last):
File "/home/andreas/download/52908-karss-031.skz/karss.py", line 74, in initWidget
File "/home/andreas/download/52908-karss-031.skz/karssutils.py", line 13, in <module>
AttributeError: 'module' object has no attribute 'DefaultHandler'

Report

Hammett

13 years ago

Hi! I just wanted to say that I love this widget. It's clean and fast.

The only thing I'd like is to make the background completely transparent. Is this possible??

Thanks in advance

Report

aniceweb

13 years ago

I love it!

Report

fradeve

14 years ago

Why don't make the widg more appreciable from the graphic point of view? I've thought to ROUND CORNERS for the background. In this way it will be more eye-compatible (for example) with the Aero Aio theme for Superkaramba...
Good Work!

Report

C

saffsd

14 years ago

I'm afraid the only way to change the feed right now is to manually edit the karss.py file. I'll try to introduce a menu-based configuration as soon as I finish cleaning up the code I'm adapting, which IMHO isn't in very good conditions.

Report

C

saffsd

14 years ago

In version 0.21 i've placed feed configuration into a feedlist.xml file that is generated the first time the widget is run. Look for it in your home directory, under .superkaramba/karss/feedlist/xml

Report

fradeve

14 years ago

Strange, but i couldn't find that directory... in my .superkaramba/ dir the only files related to karss are
52908-karss-03.rc
52908-karss-02.rc

Report

C

saffsd

14 years ago

I'm using the same... The file is placed in the directory using unzip, so the only reason I can think of that it may not work is permissions-related. Try downloading the latest version, and run it from the command-prompt by typing "superkaramba karss-03.skz". This will let you see all the debug messages. Let me know if there are any errors in there.

Report

fradeve

14 years ago

kbuildsycoca running...
karss version 0.3 , 11.Feb.2007 initialized
Questions, suggestions: saffsd@gmail.com
sys.path.insert(0, '/home/fradeve/52908-karss-03.skz')
Call to initWidget failed
Traceback (most recent call last):
File "/home/fradeve/52908-karss-03.skz/karss.py", line 72, in initWidget
File "/home/fradeve/52908-karss-03.skz/karssutils.py", line 14, in ?
AttributeError: 'module' object has no attribute 'DefaultHandler'

What do you think?

Report

C

saffsd

14 years ago

Aha. I think I've gone and used something that depends on a package that not everyone has installed. I'll see if i can remove that dependency in a later version. For now, you'll need the package python-xml. I'll add a note in the description. Let me know if that fixes it for you.

Report

fradeve

14 years ago

After the installation of python-xml it worked perfectly! It has been created also kaars folder in my home .superkaramba folder. At now, everything works.
Thanks! :-D

Report

fradeve

14 years ago

Sorry, a tip: I'm using KUbuntu Edgy with KDE 3.5.6

Report

fradeve

14 years ago

Good Widg! Is there any way to change the RSS feed? I don't like BBC :(

Report

13 years ago

# CHANGELOG
# v 0.1 - Initial release. Almost identical to multirss v1.2
# v 0.2 - Spent some time cleaning up the code and figuring out what it does. Some bits are needlessly repeated.
# Introduced a html tag-stripper to clean up feeds that have html bits in them.
# Using time.time() to keep track of when we should update feeds
# Added option to use Firefox instead of Konqueror
# v 0.21 - Cleaned up the code, streamlining replicated code
# Tried to reduce the use of globals where they are not needed
# Fixed a redraw bug
# Moved feed configuration into a separate feedlist.xml file
# Changed the tag-stripper to reuse feedparser's. It's better.
# Added a karssutils module, containing the html stripper and the feedlist.xml parser (for now)
# v 0.3 - Rewrote the critical bits, making them more object-oriented. We now have a nice object
# to request a sorted list of entries from. Makes life much less messy.
# Separated the working end of the feed reader into the karssreader module.
# Created a simple logo for karss
# v 0.31 - Caused widget to update on clicking "Last Updated"
# Made the tooltip summaries better by including the title

# TODO
# Create an option to force at least one entry per feed.
# Gui-based config
# implement proper error handling in the feedlist.xml parser

12345678910
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.31
updated Mar 11 2007
added Feb 08 2007
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1