
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
Karamba rss viewer. It is based upon cynapses monitor by Andreas schneider and the newsreader from ramone@oxibiose.dyndns.org
So, all the credits go to them, because I only combined it. So that was not really a thing :).
The screenshots shows the newsreader near the liqued weather plugin.
Hope you like my first contribution ever :).
Well after a short holiday I changed some of the code. Learned more about lists and files so I hope you like the change in this new version.
So after some weeks of just working, working, working I found some free time to finalize some changes. Then I accedently removed all my changes :S. But I putted them back in. so here it is. Now you can scroll true the sources. (I hope this feature will raise my rating :P) Hope you like it.
To get a smoother scrolling in the list, update threads are added. So downloading new rss items, heapens in the background. This functionality can be switched off.
As pointed out by Pierre Baux, I forget to mention this theme uses wget to get the rss feeds.
Greetings,
Auke
ps. Comment is still apriciated.
NOTE: This theme depends on wget.
16 years ago
0.9 Fixed some bugs, so now it is compatible with superkaramba 0.35 Also made the ChangeColor option work.
0.8 Added threating support. The loading of the items can be done in the background. Of course this can be switched on and off by the normal configuration menu. The threating code is copied from the Liquid Weather ++ theme. (http://www.kde-look.org/content/show.php?content=6384)
0.7 You can now just switch from newssource by the next and prev button. Also a time out, for downloading rss sources, is introduced. You can change it, in the configuration menu.
0.6 If you add a new rss source and you click cancel, it will not be added :-). (even not a empty item).
0.5 Added some functionality to show a new news source every time you load the theme. (This can be switched off) It is now possible to delete a news source with the menu. Only the menu's that should be checkable are checkable.
0.4 Added the code from jerryarns (jerome.arnaud5 at wanadoo.fr) to dynamicly change the title.
0.3 Added the configuration option to change the news source
0.2 Added linuX-gamers.net
0.1 first release
16 years ago
0.9 Fixed some bugs, so now it is compatible with superkaramba 0.35 Also made the ChangeColor option work.
0.8 Added threating support. The loading of the items can be done in the background. Of course this can be switched on and off by the normal configuration menu. The threating code is copied from the Liquid Weather ++ theme. (http://www.kde-look.org/content/show.php?content=6384)
0.7 You can now just switch from newssource by the next and prev button. Also a time out, for downloading rss sources, is introduced. You can change it, in the configuration menu.
0.6 If you add a new rss source and you click cancel, it will not be added :-). (even not a empty item).
0.5 Added some functionality to show a new news source every time you load the theme. (This can be switched off) It is now possible to delete a news source with the menu. Only the menu's that should be checkable are checkable.
0.4 Added the code from jerryarns (jerome.arnaud5 at wanadoo.fr) to dynamicly change the title.
0.3 Added the configuration option to change the news source
0.2 Added linuX-gamers.net
0.1 first release
abattoir
15 years ago
I get(no entries).Other feeds work.
Gmail works with Akregator. Thanks.
Report
mind-switch
16 years ago
I can start the theme with Superkaramba, bot the box stayes empty.
when i try to add a rss source in the config menu, it checks it, but nothing else happens.
I have edited the url.conf and quoted all but 3 positions, but that did nothing either?
what am i supposed to do?
Report
air2
16 years ago
---
First off all, sorry for my late reaction. But i've been really busy the last few months.
If you have to export the proxy variables in the shell, that superkaramba uses.
Like: http_proxy=http://proxy.xxxx.com:88/
ftp_proxy=http://proxy.xxxx.com:88/
Because it uses wget to transfer the files.
Hope this answers your question.
Greetings,
Auke
Report
mind-switch
16 years ago
no, im not behind a proxy server, just behind a firewall/router, but i don't think this to be the problem, since skrssreader works.
wget is also installed on my system.
Is there any chance to get debug messages?
Report
mind-switch
16 years ago
nope, I am using no proxy.
I am behind a router/inluding firewall though, but i don't believe this to be the prob. the SuperKaramba RSS reader (skrssreader) does work.
Is it at all possible to find any debugging messages?
Report
air2
16 years ago
If you could e-mail them, that could help. But when you mail me, please use the word air_rss in the subject or so, else its just deleted as spam.
Report
mind-switch
16 years ago
I have mailed you my console log.
It seems, i have just the same error as fanny. And also this:
superkaramba: TaskManager::TaskManager()
cynapses news monitor loaded, praise Andreas & ramone@oxibiose.dyndns.org ;-)
Call to initWidget failed
Traceback (most recent call last):
File "/home/ddh/superkaramba/karamba_themes/air_rss/air_news.py", line 150, in initWidget
karamba.setMenuConfigOption(widget, "newRssItem", "0")
TypeError: an integer is required
Call to widgetUpdated failed
Traceback (most recent call last):
File "/home/ddh/superkaramba/karamba_themes/air_rss/air_news.py", line 263, in widgetUpdated
content = HTTPgetFile(url)
File "/home/ddh/superkaramba/karamba_themes/air_rss/air_news.py", line 401, in HTTPgetFile
print url[s]
IndexError: list index out of range
Call to widgetUpdated failed
I hope, this is at all useful to you.
Is it possible, that we've simply downloaded a wrong version?
To what kind of "Range" is the error refering to?
I am no programmer myself, but the line
"TypeError: an integer is required" looks suspicious to me.
My system:
Suse 9.2, KDE 3.3.0
Report
air2
16 years ago
Report
fenny
16 years ago
Call to widgetUpdated failed
Traceback (most recent call last):
File "air_news.py", line 283, in widgetUpdated
karamba.changeText(widget, text_list[i], "")
IndexError: list index out of range
this just repeats and I get the air_rss frame but no data is displayed. Anyone have some ideas?
Debian Sarge with some packages out of unstable.
Report
air2
16 years ago
Report
air2
16 years ago
Report
gibarian
16 years ago
Report
air2
16 years ago
Report
shiner840
16 years ago
Report
air2
16 years ago
Report
shiner840
16 years ago
Report
air2
16 years ago
Report
shiner840
16 years ago
KDE version 3.3.2
Report
doc-kf3ina
16 years ago
I'm sorry for my more than defficient english :-$
Report
air2
16 years ago
If you have to export the proxy variables in the shell, that superkaramba uses.
Like: http_proxy=http://proxy.xxxx.com:88/
ftp_proxy=http://proxy.xxxx.com:88/
Because it uses wget to transfer the files.
Hope this answers your question.
Greetings,
Auke
Report
doc-kf3ina
16 years ago
Report
jerryarns
16 years ago
I made a quick hack (I have never programmed in python before) to change the "RSS Feed" title by the actual feed title.
How can I submit this modif to the author ?
Anyway, I added the following lines in air_rss.py in initWidget:
rss_title = karamba.createText(widget, 75, 20, 250, 50, label[s])
karamba.changeTextColor( widget, rss_title, *hexToRGB( textcolor ))
karamba.changeTextSize( widget, rss_title, 16)
karamba.changeTextFont( widget, rss_title, 'neuropol')
and commented the title line in the .theme file.
Report
air2
16 years ago
Anyway thankx for this line of code. I also added a way, so the title will be updated when you choose a different news source.
Greetings,
Auke
Report
jerryarns
16 years ago
Great job with this applet.
Next step will be to allow opening more than one instance of the applet to have a press review on the desktop. The point is the .rc file that store config of only one feed.
One remark : can you change the format of my email adresse in your 0.4 version description jerome.arnaud5 at wanadoo dot com ? (avoiding spam...)
Thx
Report
air2
16 years ago
Hope you like it.
Of course you can swith it off if you do not like it. :-)
Greetings Auke
Report