-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (3) .- Knowledge Base  . 

Yahoo Weather theme

   1.9  

Karamba

Score 61%
Yahoo Weather theme
zoom


Yahoo Weather theme
zoom


Yahoo Weather theme
zoom


Downloads:  6310
Submitted:  Sep 28 2009
Updated:  Nov 6 2010

Description:

Yahooweather is no longer a modification of "Another Weather Theme 1.0". Only the php code to get the weatherdata is based on this theme. All other stuff are rewritten. This because I wanted the following issues:
- the php code was called for every bit of data. So older versions called the php code 20 times for every update. This is reduced now to 1 call per update.
- The theme had problems finding itself so people had to manually correct the paths in the source.

What is new:
- added a shell script that deals with the paths and calls the php code.
- added python script to make better use of karamba. (I had to learn python for this! e.g. this is actually my first ever written python script)
- cleaned the theme file.
- The theme will create a folder in the system temp (/tmp) called YahooWeather where it will store a data file, the downloaded html and log file if needed.
- At this moment the yahoo url is defined in the shell script. This will change in the future.
/* ------------ */
This is a modification of the \\\"Another Weather Theme 1.0\\\" that can be found here: http://www.kde-look.org/content/show.php/Another+Weather+theme?content=101180

Added: - temperature display
- Five day forecast
- Location

Change the url in the \\\"weather.php\\\" file to match your location.




Changelog:

- Problems with the paths are now solved I hope. (06-11-2010)
- Using less resources from the system.

- Yahoo changed its code again, so small update. (18-07-2010)
- Today (14-12-2009) Yahoo changed the code on it's weather page again. Modified the script so it works again.
- Today (12-11-2009) Yahoo changed the code on it's weather page. I had to modify the script to make it work again.
- Repacked the archive so it can be installed as archive by karamba.
- Changed paths to "themes" folder.




LicenseGPL
other(YahooWeather)
Send to a friend
Subscribe
Other  Artwork  from merciful
Report inappropriate content



goto page:  1  2 

-

 symbol_problem

 
 by astreaapn on: Oct 26 2009
 
Score 50%

replace this

# Echo stuff to calling app
echo $image."\n";
echo $temp."�C\n";
echo $max."�C\n";
echo $min."�C\n";

to

# Echo stuff to calling app
echo $image."\n";
echo $temp."°C\n";
echo $max."°C\n";
echo $min."°C\n";
echo $place."\n";


Reply to this

-

 Re: symbol_problem

 
 by merciful on: Oct 26 2009
 
Score 50%

Hi,

I only see this:

# Echo stuff to calling app
echo $image."\n";
echo $temp."°C\n";
echo $max."°C\n";
echo $min."°C\n";
echo $place."\n";

The question mark symbols from your example, I don't get here. Probably something with font or code page I guess.

Eabe


Reply to this

-

 Re: Re: symbol_problem

 
 by astreaapn on: Oct 27 2009
 
Score 50%

send me a screenshot of that.


Reply to this

-
.

 Re: Re: Re: symbol_problem

 
 by merciful on: Oct 27 2009
 
Score 50%

Just send you a screenshot :-)


Reply to this

-

 Re: Re: symbol_problem

 
 by merciful on: Oct 27 2009
 
Score 50%

Even on the console (Slackware / Nano) it looks all fine. What app are you using?

Eabe


Reply to this

-

 Re: Re: Re: symbol_problem

 
 by merciful on: Oct 27 2009
 
Score 50%

Only if I open the file with KWord, I get the same result as you.

The file is a plain text file. The best way to edit this file is using a text editor like KWrite, Kate, Nano or Vi.

Eabe


Reply to this

-

 Re: Re: Re: Re: symbol_problem

 
 by astreaapn on: Oct 27 2009
 
Score 50%

Thank you for answering.
The problem is fix with the change of symbol posted before.


Reply to this

-

 installation

 
 by kuchumovn on: Nov 22 2009
 
Score 50%

hi,
so how can i install it?
(I'm using Kubuntu 9.04)


Reply to this

-

 Re: installation

 
 by merciful on: Nov 23 2009
 
Score 50%

Hi,

You should be able to install it from within Karamba.

But you can also extract it and place it in this path:
Quote:
~/.kde/share/apps/superkaramba/themes/YahooWeather-1/


Eabe


Reply to this

-

 Re: installation

 
 by Grindcore on: Jul 18 2010
 
Score 50%

Check that you have the following packages installed:

superkaramba
plasma-scriptengine-superkaramba

Afterwards you should be able to install the file (choose Superkaramba in the dialogue).


Reply to this

-

 pogoda.theme also messed up

 
 by nottinhill on: Mar 7 2010
 
Score 50%

As for weather.php and pogoda.pl it has already been noted that they are messed up. A quick looks into pogoda.theme shows that it is also messed up thoroughly. All hardlinks go to wrong YahooWeather-1 Directory and not updated -1.2 directory. Also .kde might not work for .kde4 folders.

I fixed the 3 messed up files (that is 100% of the program!), but it still is not working. Anymore ideas? I use KDE4.3.5. I see only min/max font.


Reply to this

-

 it works

 
 by nottinhill on: Mar 7 2010
 
Score 50%

Above goes if you install manually.

Installing from Karamba Menue works without alteration of files.

I fixed the issue with installing PHP-CLI. For SuSE it might be worth noting that this equals to PHP5. The Yahoo PNG are great, Thank you for the app!


Reply to this

-

 no information displayed

 
 by denisp on: Oct 29 2010
 
Score 50%

All I've got on my desktop is :

Max:
Min:

any idea about what's happening ?
Thanks


Denis
Reply to this

-

 Re: no information displayed

 
 by MoonBlossom on: Oct 31 2010
 
Score 50%
MoonBlossomMoonBlossom
-
Brenda W 12

United States of America, Long Beach
Last visit Oct 26 2014
1 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Try installing php5-cli or php-cli


Reply to this

-

 Re: no information displayed

 
 by merciful on: Oct 31 2010
 
Score 50%

Try to execute the file "weather.php". It should produce a output similar to this:

eabe@eabeacer:~/.kde/share/apps/superkaramba/YahooWeather$ php ./weather.php
weatherpics/20n.png
8 C
12 C
6 C
Leeuwarden
Tonight:
6 / 12
weatherpics/29s.png
Tomorrow:
7 / 11
weatherpics/9s.png
Mon:
7 / 12
weatherpics/30s.png
Tue:
8 / 12
weatherpics/11s.png
Wed:
9 / 12
weatherpics/24s.png


If it does not, check your php installation. If it does, check the paths and correct them if needed.

Php should be at php5. I'm using this one:
PHP 5.2.13 (cli) (built: Mar 28 2010 20:43:45)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

This comes with Slackware 13.1


Reply to this

-

 Re: Re: no information displayed

 
 by denisp on: Oct 31 2010
 
Score 50%

Hi Merciful,

thanks for your answer.
I installed php5-cli.
checked php which is a symlink to /usr/bin/php5.

php ./weather.php gives me :

weatherpics/28d.png
11�C
15�C
8�C
Redon
Today:
8 / 15
weatherpics/11s.png
Tomorrow:
10 / 16
weatherpics/30s.png
Tue:
11 / 17
weatherpics/28s.png
Wed:
11 / 17
weatherpics/30s.png
Thu:
10 / 16
weatherpics/28s.png

but still no display except :
max:
min:

Regards,



PS : this is on a debian squeeze system


Denis
Reply to this

-

 Re: no information displayed

 
 by merciful on: Oct 31 2010
 
Score 50%

In the files YahooWeather.pl & YahooWeather.theme check if the paths correspod to your actual path. Correct the paths in these files if needed!


Reply to this

-

 Re: Re: no information displayed

 
 by denisp on: Oct 31 2010
 
Score 50%

I checked the pathes : indeed there were two problems :
- I'm using trinity that is continuing kde 3 branch, so the config directory is ~/.trinity, not ~/.kde
- the directory where the theme files are located is
.../superkaramba/themes/YahooWeather-1/YahooWeather-1.3

and not
.../superkaramba/themes/YahooWeather-1

So I did the changes, but it still does not work. But I wonder if there is not another problem : the files are called pogoda.pl and pogoda.theme, not YahooWeather.pl and YahooWeather.theme as you said.

Regards,


Denis
Reply to this

-

 Re: no information displayed

 
 by merciful on: Oct 31 2010
 
Score 50%

in the .pl and .theme file change the paths to ~/.trinity/share/apps/superkaramba/themes/YahooWeather-1/YahooWeather-1.3/

or if this is not the correct path, to the real path.

Filenames doesn't matter really. I'm using a modified version that will be available soon.

Eabe


Reply to this

-

 Re: no information displayed

 
 by merciful on: Oct 31 2010
 
Score 50%

You can also try to change paths to the absolute paths e.g. /home/<username>/.kde/share/apps/superkaramba/YahooWeather/

If nothing is displayed and you get info from weather.php, the theme can't find the .pl file or the .pl file can't find the weather.php file.

Eabe


Reply to this

-

 Re: Re: no information displayed

 
 by denisp on: Nov 1 2010
 
Score 50%

OK, now it works, but I had to do 3 things for that :
1) like you said, replace ~ by /home/denis in pogoda.theme
2) add "#!/bin/sh" at top of pogoda.pl (It looks strange since pl should have meant that it was a perl file, but it works)
3) chmod +x pogoda.pl

Thanks for your help


Denis

-

 Re: Re: no information displayed

 
 by denisp on: Nov 1 2010
 
Score 50%

Sorry, I forgot one last problem.
I've got two squares instead of ° for temperatures. Is UTF8 supported ?
Thanks


Denis

-

 Link is dead

 
 by Farsaj on: Jan 2 2012
 
Score 50%

Cannot download


Reply to this

goto page:  1  2 

Add commentBack






-

-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.