Weather Plasmoid

Plasma 4 Extensions

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

2
5.0
Description:

This release implements a couple of feature requests and fixes a few bugs. See the changelog.

OpenSUSE packages added. Thanks buschmann23!!

Special thanks goes out to painkiller101 for some helpful suggestions as well as a killer icon set. Thanks so much for all of your help!! :-)

TODO

-Add forecasting when widget is of a certain size

Short installation instruction:
# tar -xvzf plasma-weather-0.2.tar.gz
# cd weather
# mkdir build
# cd build
# cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
# make
# make install


ATTENTION INTERNATIONAL USERS:

If you want to make this widget work and don't have a zip code, use the following
steps:

1. Go to http://weather.yahoo.com/
2. Type in your city, country and click Go
3. Copy the 8 character location ID from the URL on the next page (ie for Hong Kong, China it is CHXX0049)
4. Paste the location ID into the widgets zip code field
Last changelog:

12 years ago

v0.1
-Initial Release

v0.2

-Added widget configuration dialog
-Users can now configure zip code and temperature format via dialog
-Fixed SVG scaling issue (I think??)
-New icon set by painkiller101 (THANKS!! :-))

v0.3

-made the ~/weather.xml file hidden
-added support for icon themes
-added new icon theme used with permission from Wojciech Grzanka

v0.4

-added refresh configuration options
-fixed missing icon bug (i hope!!)
-fixed version of Wojciech Grzanka's icons are available for download
-modified icon display code

buschmann23

12 years ago

I have build packages for openSUSE, which can be found here:

http://software.opensuse.org/search?baseproject=ALL&p=1&q=kde4-plasmoid-weather

Report

C

rowancompsciguy

12 years ago

Awesome!! I'll post it.

Report

drp77

12 years ago

I cannot get this installed using your instructions.

Short installation instruction:
# tar -xvzf plasma-weather-0.2.tar.gz
# cd weather
# mkdir build
# cd build
# cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
# make
# make install

any chance you could supply i more detailed one?, Really like your plamoid and wanted to try it out, at the moment I cant even get it installed?,

cheers

Report

drp77

12 years ago

got it working and it rocks :)

if anyone else is having problems, then install the following (Qt,KDE,libgmp,QCA2)

Report

C

rowancompsciguy

12 years ago

Sorry, I just woke up and saw your message. Glad you got it to work!! :-)

Report

fdmarco3

12 years ago

Can you please change weather.xml file in home to .weather.xml(hidden file)? It would be very apreciated by me and people like me with a home folderview.

Thanks.

Report

ademmer1977

12 years ago

I double this request! :-)

Report

C

rowancompsciguy

12 years ago

It's in the works. I'm in the middle of working on my thesis so it may be a couple of weeks before I can get to it. But rest assured, I am going to work on it. I want it done too!! :-)

Report

fdmarco3

12 years ago

great plasmoid!!! now we need weather conditions for following days!

Report

logixoul

12 years ago

icons and layout are great!

Report

ademmer1977

12 years ago

How about this free iconset for the weather icons:

http://iconbest.com/?p=6

By far more visually appealing than the current ones. :-)

Report

C

rowancompsciguy

12 years ago

I am hopefully going to have support for icon themes in my next release.

Those are very icons!! Do you know if they are GPL? I couldn't tell because the author didn't have any licensing information on the site. If they are I can pull them into another theme.

Report

jackiebrown

12 years ago

I doubt they are. Per the readme
"If you want to use these icons for yourself (e.g. on your desktop or in your private website) - that's fine! But for any commercial use (e.g. use in your website project for your Client) - you must buy these iconset via PayPal - just contact me: [email protected]"

Report

jackiebrown

12 years ago

Is there a way to report my post?

I wasn't paying attention and didn't mean to post the guys email address

Report

buschmann23

12 years ago

The link to the tarball leads to version 0.1, could you please update this?

Report

C

rowancompsciguy

12 years ago

Sorry about that. I finished up the code late last night and didn't realize that when I uploaded the tarball that it was too big for KDE-Look. :-)

I've moved it to a file sharing site for now so that it can be downloaded. I'm going to move it to my web site when I get a chance.

Thanks for the report!!

Report

ademmer1977

12 years ago

Hi,

I successfully compiled and installed it, but when I add the plasmoid to my desktop, it shows only the empty, default plasmoid background. No options for configuration, nothing.

Any ideas?

Report

C

rowancompsciguy

12 years ago

This may be because I had the wrong tarball posted. Try downloading again and let me know what happens.

Also, there is a dependency of the plasmoid on the wget program. If you do not have wget installed the plasmoid will not work correctly. I am going to try and remove the dependency in my next release but my QT skills are not that great so it may take me a little while.

Let me know if neither of these solutions fix your problem and I'll try and come up with something else.

Report

ademmer1977

12 years ago

It works! You are my personal hero! :-)

Report

mherbert

12 years ago

looks nice so far
Just a hint: for the home path you can use the static function QDir::homePath()
eg. home = QDir::homePath();
And as far as I know there is already a weather-dataengine, perhaps it helps you..
http://websvn.kde.org/trunk/KDE/kdebase/workspace/plasma/dataengines/weather/
hope i could help you

Report

C

rowancompsciguy

12 years ago

Thank you!! This is my first QT program EVER so I'm learning as I go. I'm sure I've made a few mistakes along the way.

I appreciate the information about the weather engine. I have a question though. Is the weather engine designed to retrieve weather data for other plasmoids or is it its own plasmoid?

I've had a really difficult time finding good documentation for plasma. It's probably changing daily so maybe documentation is premature. I've managed to create my plasmoid using some of the basic documentation that is available and also reading LOTS of plasmoid code from other developers.

Thanks for the comment.

Report

mherbert

12 years ago

well every body has to start somewhere;)
The dataengine is only to fetch the data and hand it over to the applets..
It seems there are two weather applets in kde's playground
http://websvn.kde.org/trunk/playground/base/plasma/applets/
called weather and weather_station perhaps you can have a look how they used the weather-dataengine...
The plasma-api is not very well documented yet but that may change...
you can have a look here:
http://api.kde.org/4.x-api/kdebase-workspace-apidocs/libs/plasma/html/classes.html

Report

C

rowancompsciguy

12 years ago

Thank you. That's some of the best plasma documentation I've seen so far. I wish I would have found that earlier ;-).

That's disappointing that there's already a weather widget in the works. I'm wondering whether or not I should continue with my work. Maybe I should try and contribute directly to the new project. What is the best way to get onto a pre-existing KDE project?

Report

jackiebrown

12 years ago

Please keep working it!

Report

floppy

12 years ago

Just write an email to the maintainer - the should be a note at the beginning of every source file and also something in the README :)

Report

12 years ago

v0.1
-Initial Release

v0.2

-Added widget configuration dialog
-Users can now configure zip code and temperature format via dialog
-Fixed SVG scaling issue (I think??)
-New icon set by painkiller101 (THANKS!! :-))

v0.3

-made the ~/weather.xml file hidden
-added support for icon themes
-added new icon theme used with permission from Wojciech Grzanka

v0.4

-added refresh configuration options
-fixed missing icon bug (i hope!!)
-fixed version of Wojciech Grzanka's icons are available for download
-modified icon display code

12345678910
Be the first to comment
MoonBlossom
Jan 30 2011
DaiVied
Dec 19 2009
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.4
updated Jul 10 2008
added Jun 28 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 3