GoogleWeather

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
Score 50.0%
Description:

A small Superkaramba theme that loads weather forecast information using the Google API.
You can get the current situation and forecast for today and the next 3 days.
Also the small images are downloaded from Google.

You can change:
- The location name
- The google URL for your country. And note that this automatically changes the localization :)

Still to do:
- Error handling (e.g. location not found...)
- Handle cases when strings are too big and go out of the background
- Translate the time format to the current time, using the timezone
- Add version information and "about".

This is my very first KDE and/or Karamba widget...
It's actually a prototype .

I hope you like it anyway.

Pier Paolo Glave
Last changelog:

10 years ago

Version 0.2 (2009-04-01):
[li]Fixed parsing of XML data, in case the main node ("weather") contains some text element;[/li]
[li]Changed background to pure transparent (it looks nicer, for example with "Silicon" theme).[/li]

Version 0.3 (2009-04-15):
[li]Compliant with the new default google location for the images, that are now under "ig/".[/li]


(2009-04-28): Reverting to version 0.2. Google is now including the "ig" directory in the image path: so we don't need to add it anymore. (It's difficult to keep up with their changes: I'll try to contact someone...)

lyhana8

9 years ago

Hi,
I use your theme to improve mine (cf. http://tinyurl.com/superlight) but since KDE4 on every restart of superkaramba all my panel forgot their positions and cities name.
I tried with your last theme and you've the same issue ? Did you know how to solve it ?

Regards.

Report

C

glavepp

9 years ago

Hi,

I don't seem to have this problem in my environment, with googleweather.

The city names, in my case, are saved by means of karamba.writeConfigEntry(), and therefore go to the config file that is ~/.superkaramba/theme_name.rc.

Could you check if such a file is created?

Regards
Pier

Report

lyhana8

9 years ago

I got this file, but only one and I think that's the problem cause I launch 4 'instances' of google-weather, on 4 different locations so I should have 4 config file.

Report

bluePal

10 years ago

Thank You !

Report

glenstewart

10 years ago

This GoogleWeather variation contains only essential information, so takes less desktop space. The text and icons are also larger for visibility on bigger monitors.

Preview: http://freegroups.net/innovative/glen_stewart/weather.jpg

Download: http://freegroups.net/innovative/glen_stewart/googleweather.skz

Report

widux

10 years ago

Doesn't work on my Debian 4.1.3:


SuperKaramba cannot continue to run this theme.One or more of the required components of the Kross scripting architecture is not installed. Please consult this theme's documentation and install the necessary Kross components.

What's wrong?

Greez

Report

C

glavepp

10 years ago

I had that problem also on my environment, for other widgets using python.
It seems to depend on a missing library: krosspython.so.

On Fedora 9, I could solve it by installing a package named "kdebindings".

I hope this helps for you.
Thanks for the feedback.

Pier

Report

widux

10 years ago

Thanx for the fast reply!I'm on Debian Sid with KDE 4 from experimetnal.
There's just a package named "kdebindings-java". I installed that but it doesn't work! Hmm, what else could be the problem?
Greez

Report

C

glavepp

10 years ago

Hi,

I think that the right package for Debian could be "python-kde4" or "kdebindings".

I don't think java is involved here.

Let me know...

Thanks
Pier

Report

widux

10 years ago

Yep, now it works! Thanx for help and for this Karamba-Widget!
Greez

Report

10 years ago

Version 0.2 (2009-04-01):
[li]Fixed parsing of XML data, in case the main node ("weather") contains some text element;[/li]
[li]Changed background to pure transparent (it looks nicer, for example with "Silicon" theme).[/li]

Version 0.3 (2009-04-15):
[li]Compliant with the new default google location for the images, that are now under "ig/".[/li]


(2009-04-28): Reverting to version 0.2. Google is now including the "ig" directory in the image path: so we don't need to add it anymore. (It's difficult to keep up with their changes: I'll try to contact someone...)

12345678910
product-maker Count: 4 Rating: 5.0
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
0.2
updated Apr 28 2009
added Nov 19 2008
downloads 24h
0
page views 24h 3