2014-04-24

Customizable Weather Plasmoid (CWP) 1.11.0
(Plasmoid Binary)
For >=KDE-4.2

This is another weather plasmoid.

It aims to be highly customizable, but a little harder to setup than other weather plasmoids.

Nearly any weather forecast provider can be used, as long as the data is provided as html files (no flash).

The information how to extract the information from these html files is stored inside xml files.

Commands like grep, head, tail, sed, awk, ... will do this job.

For now, xml files for the weather providers

www.weather.com (°F) (city identifier example: USDC0001)

br.weather.com (°C) (city identifier example: BRXX0043)

de.weather.com (°C) (city identifier example: 80331 or UKXX0085)

espanol.weather.com (°C) (city identifier example: Ciudad-de-Mexico-MXDF0132)

fr.weather.com (°C) (city identifier example: Paris-FRXX0076)

in.weather.com (°C) (city identifier example: New-Delhi-INXX0096)

uk.weather.com (°C) (city identifier example: London-UKXX0085)

wetter.com (°C) (city identifier example: DE0006515)

myforecast.com (°C) (city identifier example: 12844)

myforecast.com (°F) (city identifier example: 12844)

www.weather.com.cn (°C) (city identifier example: 101010100)

accuweather.com US (°C) (city identifier example: 85001)

accuweather.com US (°F) (city identifier example: 85001)

accuweather.com world (°C) (city identifier example: AFR|ZA|SF004|JOHANNESBURG)

accuweather.com world (°F) (city identifier example: AFR|ZA|SF004|JOHANNESBURG)

ilmeteo.it (°C) (city identifier example: Roma)

pogodynka.pl (°C) (city identifier example: Warszawa)

www.gismeteo.com (°C) (city identifier example: 4944)

openweathermap.org (°C) (city identifier example: id=2643743 or q=London,UK)

are included, but feel free to write your own ones.

Please note, that some of the xml files might not work properly for all locations.

If they don't, try to update your definition files: either install latest cwp release or/and download latest xml definition

file package from

http://www.kde-look.org/content/show.php/show.php?content=98925

and unpack the xml files into ~/.kde4/share/apps/cwp (the cwp application folder inside your kde directory).

To access extended information about current weather condition, left-click inside the current weather description!

The time, when the provider updated his weather information is shown italic when clicked on update time.

CWP saves current weather data on exit inside $HOME/./share/apps/cwp folder, so after crashes you might want to clean up

this directory, or completely remove it.

Parts of the source code are taken from weather plasmoid 0.4, KDE 4.2, qimageblitz, yaWP.

Thanks to the developers!

If you experience any bugs, please report them here.

Running

plasmoidviewer plasma_applet_cwp

or starting plasma from the console

might give you some debug information.

changelog:
1.11.0

======

- xml: gismeteo.com: fixed

- removed freemeteo.com due to severe site changes, rendering access impossible

1.10.2

======

- xml: gismeteo.com: city name fixed in some cases

1.10.1

======

- xml: wetter.com: Current temperature fixed

- xml: openweathermap.org: north wind symbol fixed (thanks to wettermeister)

- xml: gismeteo.com: city name fixed in some cases

1.10.0

======

- weather information is stored on disk each time updates are downloaded

- xml: weather.com: current weather description fixed

1.9.1

=====

- xml: gismeteo.com: location fixed for some locations

1.9.0

=====

- xml: openweathermap.org: initial support (WARNING: all configurations need to be updated!)

- xml: uk.weather.com: sunrise / sunset fixed

- xml: espanol.weather.com: sunrise / sunset and wind direction fixed

- xml: in.weather.com: sunrise / sunset fixed

1.8.3

=====

- xml: gismeteo.com: fixes

1.8.2

=====

- xml: gismeteo: icon fixes

- xml: www.weather.com.cn: fixes

1.8.1

=====

- xml: wetter.com: fixes (thanks to Evi1M4chine). Weather icons from weather provider should be preferred over system icons!

- xml: [in,espanol,uk].weather.com: UV index fixed

1.8.0

=====

- xml: myforecast.com: update time added

- xml: wetter.com: weather description modified

- xml: gismeteo.com: current weather icon fixed

- xml: accuweather.com (World): possibly wrong temperature fixed

- increased number of possible weather icons

1.7.3

=====

- xml: accuweather.com: fixes for some URLs

1.7.2

=====

- xml: www.weather.com: fixes (thanks to jcasoliva)

- xml: accuweather.com: 5th day fixed

1.7.1

=====

- xml: ilmeteo.it: fixes (thanks to Maurizio A.)

- xml: gismeteo.com: location fixed

- xml: www.weather.com: current weather conditions fixed

- xml: accuweather.com (US): fixed (new location code)

- xml: accuweather.com (World): fixed (new location code)

1.7.0

=====

- icon for calm wind conditions

- xml: all: inserted "calm" wind condition if possible

- xml: www.weather.com: fixed

- xml: ilmeteo.it: changed (thanks to Maurizio A.)

- xml: espanol / in / uk.weather.com fixed

- xml: gismeteo: location fixed

1.6.13

======

- xml: wetter.com: fixed (thanks to Evi1M4chine)

1.6.12

======

- xml: accuweather.com (US): fixed location

- xml: accuweather.com (world): fixed location etc.

1.6.11

======

- xml: accuweather.com (US): feels like temperature and additional information fixed

1.6.10

======

- xml: br.weather.com: fixed

- xml: de.weather.com: fixed

- xml: fr.weather.com: fixed

1.6.9

=====

- xml: www.wetter.com: wind fixed

1.6.8

=====

- xml: www.wetter.com: wind and additional info fixed

1.6.7

=====

- xml: gismeteo.com: location name fixed

1.6.6

=====

- xml: accuweather.com (US): fixed

1.6.5

=====

- xml: gismeteo.com: fixed (thanks to Dreid)

- xml: accuweather.com (US): fixed forecast

- xml: accuweather.com (world): fixed forecast

1.6.4

=====

- xml: ilmeteo.it: fixed apostrophe character in location names

- xml: pogodynka.pl: fixed wrong low temperature in some cases

- xml: accuweather.com (US): fixed location names

- xml: accuweather.com (US): fixed forecast after midnight

1.6.3

=====

- xml: de.weather.com: fixed wind directions

- xml: br.weather.com: fixed wind directions

- xml: espanol.weather.com: fixed wind directions

- xml: ilmeteo.it: fixed wind description

- xml: gismeteo.com: fixed country names

1.6.2

=====

- xml: accuweather.com (US): fixed wrong data at night time

1.6.1

=====

- xml: accuweather.com (US): fixed wrong weather data

1.6.0

=====

- Greek translation (thanks to pkoukousoulas)

- xml: satellite_images: new images

- xml: accuweather.com (World): port to new location code

- xml: www.weather.com: fixed

1.5.14

======

- xml: gismeteo.com: current wind condition fixed

1.5.13

======

- xml: www.wetter.com: current temperature fixed (thanks to Steffen)

- xml: accuweather.com (World): forecast temperature fixed

1.5.12

======

- xml: www.wetter.com: complete rewrite

- xml: www.weather.com: current weather description fixed

1.5.11

======

- xml: gismeteo.com: fixed (thanks to Dreid)

- xml: www.weather.com.cn: fixes

1.5.10

======

- xml: gismeteo.com: negative temperature values fixed

1.5.9

=====

- xml: accuweather.com (World): mostly fixed (thanks to Jota Jota)

- xml: accuweather.com (US): bugs fixed

- xml: gismeteo.com: wind and location bugs fixed

- xml: uk.weather.com: variable wind bug fixed

- xml: in.weather.com: variable wind bug fixed

- xml: espanol.weather.com: variable wind bug fixed

1.5.8

=====

- xml: weather.com: location fixed

- xml: accuweather.com (US): wrong days for forecast fixed

1.5.7

=====

- xml: accuweather.com (US): fixed

1.5.6

=====

- xml: accuweather.com (US): fixed

- xml: pogodynka.pl: fixed

1.5.5

=====

- xml: accuweather.com (US): Forecast icon for 1st day fixed

- xml: weather.com: Fixed

- xml: pogodynka.pl: Fixed

1.5.4

=====

- xml: ilmeteo.it: icon and description fixes

1.5.3

=====

- xml: accuweather.com (US): links and location fixes

1.5.2

=====

- xml: espanol.weather.com: date name fixes

- xml: fr.weather.com: date name fixes

- xml: in.weather.com: date name fixes

- xml: uk.weather.com: date name fixes

- xml: accuweather.com (US): update time fixed

- xml: www.weather.com: current weather icon fixed

1.5.1

=====

- ru.po updated (thanks to Boris Pek)

- new cwp-app directory not used in some cases

- xml: gismeteo.com: add some icon codes

- xml: www.weather.com.cn: fixes

1.5.0

=====

- on request: changed app directory from ~/.cwp to ~/.[kde4]/share/apps/cwp

- xml: gismeteo.com: display N.A. if no update time is available

- xml: gismeteo.com: add some icon codes

1.4.0

=====

- on request: export / import settings from configuration dialog

1.3.4

=====

- xml: accuweather.com (US): fixed temperature not shown in some cases

- xml: ilmeteo.it: fixed icon and forecast information issues

1.3.3

=====

- xml: www.weather.com: update time fixed, weather description fixed

- xml: www.weather.com.cn: current weather description fixed

- xml: www.accuweather.com (US): fixed

1.3.2

=====

- xml: www.gismeteo.com: location fixed (thanks to yurikirin)

- xml: pogodynka.pl: fixed

- xml: wetter.com: fixed rain forecast

- xml: ilmeteo.it: fixed missing weather description

1.3.1

=====

- xml: pogodynka.pl: fixed forecast for 1st day

1.3.0

=====

- display invalid weather data rather than spinning circle

- xml: www.gismeteo.com: links to www.gismeteo.ru now

- xml: accuweather.com (US): fixed

- xml: pogodynka.pl: fixed

- xml: others: small fixes

1.2.3

=====

- xml: www.weather.com: fixed

1.2.2

=====

- tiny spelling fix (thanks to tehnick)

- debug information for icon codes added

- xml: ilmeteo.it: fixes for some locations like Roma

- xml: accuweather.com (US): night icon fixes

1.2.1

=====

- xml: accuweather.com (World): small fixes (thanks to naradla)

- xml: gismeteo.com: location name fixed

- xml: www.weather.com: wind & encoding fixed

- xml: ilmeteo.it: fixes (thanks to lbonco)

- xml: www.weather.com.cn: icon description fixed

- xml: accuweather.com (US): special icons fixed

- xml: gismeteo.com: some missing icons added

1.2.0

=====

- use KDE's scheduler for download jobs (let KDE limit kio_http process number to 30)

- xml: accuweather.com (World): new URL to find location code

1.1.1

=====

- xml: fr.weather.com: fixed wind direction

- xml: espanol.weather.com: fixed wind direction

- xml: www.weather.com: fixed

- xml: accuweather.com (World): fixed (both °C and °F)

1.1.0

=====

- fixed namespace bug in xml files

- fixed panel bug in KDE 4.5

- xml: gismeteo.com: fixed

1.0.5

=====

- xml: freemeteo.com: fixed & added new languages support

1.0.4

=====

- xml: accuweather.com (World): fixed (thanks to Jota Jota)

- xml: accuweather.com (US): fixed

1.0.3

=====

- xml: satellite_images: broken links fixed

- xml: accuweather.com (World): fixed wrong icon code

1.0.2

=====

- xml: accuweather.com (World) fixed (both °C and °F)

1.0.1

=====

- xml: www.gismeteo.com: location fixed

- xml: wetter.com: update time fixed, current weather icon fixed

- xml: weather.com.cn: day names fixed

1.0.0

=====

- update function (xml files in .cwp folder preferred over xml files from install directory)

- weather-windy icon: fixed (newer kde versions don't load scalable icons any more)

- xml: accuweather.com: US celsius and fahrenheit: fixed

- xml: ilmeteo.it: fixed (thanks to Pasquale Ceres)

- xml: www.weather.com: fixed

[read more]

job recommendations:

[more jobs]

Show more