air_rss

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:

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.
Last changelog:

15 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

Does Gmail RSS feed work under this theme?
I get(no entries).Other feeds work.
Gmail works with Akregator. Thanks.

Report

mind-switch

15 years ago

Maybe i have not understood yet, what rss is or how air-rss works.
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

C

air2

15 years ago

Are you using a proxy server? In that case:
---

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

15 years ago

thank you for replying

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

15 years ago

thank you for replying!

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

C

air2

15 years ago

If you start superkaramba from a console, then you will see some messages.
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

15 years ago

Many thanks so far,

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

C

air2

15 years ago

The problem should be solved now

Report

fenny

15 years ago

I get the following error when I open the theme

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

C

air2

15 years ago

This problem should be solved in the lastest release.

Report

C

air2

15 years ago

Hard to figure out, why the list index is out of bounds. Do you have any more information?

Report

gibarian

15 years ago

Same here...nothing happens with my rss reader? What's going on?

Report

C

air2

15 years ago

Are you also using a proxy server?

Report

shiner840

15 years ago

Doesn't work for me either, if I try in invoke any of the menu options, nothing happens, can't change font, colour or anything else, also don't get any news either, even from the default feed.

Report

C

air2

15 years ago

Are you also using a proxy server?

Report

shiner840

15 years ago

No, I'm not using a proxy server, I have a direct dsl connection through a router with static IP address.

Report

C

air2

15 years ago

Which version of superkaramba are you using? Which version of kde?

Report

shiner840

15 years ago

Superkaramba v0.35
KDE version 3.3.2

Report

doc-kf3ina

16 years ago

Hi, I dowloaded the theme and I launched it from the superkaramba app. It seems to work without problems but it doesen't get any news. I'm connetced to internet trough a proxy server. Is that my problem?
I'm sorry for my more than defficient english :-$

Report

C

air2

15 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

doc-kf3ina

15 years ago

thnx a lot :-D

Report

jerryarns

16 years ago

Hello,

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

C

air2

16 years ago

Well, its already implemented. But I can be reached at: aukebruinsma at gmx dot net
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

Yep, I saw that version 0.3 existed only after posting the code I added to version 0.2. So the change RSS feature did not exist.


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

C

air2

16 years ago

Well after a short holiday and some other work I finally implemented your option to load a different news source every time you load the theme.

Hope you like it.

Of course you can swith it off if you do not like it. :-)

Greetings Auke

Report

15 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

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
updated Jan 29 2005
added Jun 29 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0