Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Applets | Applets Weather.com
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Applets | Applets

Subjects Author Language Messages Last message
[Locked] Weather.com [Bug #232]
michel Ruiz Français 9 fabounet [Read]
08 November 2011 à 16:11

michel Ruiz, Thursday 03 November 2011 à 00:36


Subscription date : 08 March 2009
Messages : 25
Bonsoir

Weather.com annonce l'arrêt de "weather.com® XML Data Feed" au 15 novembre, pour faire passer par un service payant !
L'applet météo de Fabounet va chercher ses données chez weather.com !
Est-ce via ce même service, et si oui quelle alternative existe-t'il ?

Merci d'avance

fabounet, Thursday 03 November 2011 à 11:12


Subscription date : 30 November 2007
Messages : 17118
arg !
oui c'est bien le service qu'on utilise.
je ne connais pas d'alternative, si quelqu'un en connait une, merci de la proposer !

matttbe, Thursday 03 November 2011 à 12:39


Subscription date : 24 January 2009
Messages : 12573
Il y a yahoo: http://developer.yahoo.com/weather/

PS: attention pour le cas 39: http://developer.yahoo.com/forum/YDN-Documentation/Yahoo-Weather-API-Wrong-Condition-Code/1290534174000-1122fc3d-da6d-34a2-9fb9-d0863e6c5bc6 (idem que le 40)
En gros, ça donne:
météo: 'http://weather.yahooapis.com/forecastjson?u=' + UNIT + '&p=' + ID;
prévision 'http://query.yahooapis.com/v1/public/yql?format=' + FORMAT + '&q=select%20item.forecast%20from%20weather.forecast%20where%20location%3D%22' + ID + '%22%20%20and%20u=' + UNIT;

ppmt, Thursday 03 November 2011 à 15:09


Subscription date : 29 November 2007
Messages : 3520
Google le fait aussi apparement

http://www.google.com/ig/api?weather=lorient,fr

<xml_api_reply version="1"><weather module_id="0" tab_id="0" mobile_row="0" mobile_zipped="1" row="0" section="0"><forecast_information><city data="Lorient, Brittany"/><postal_code data="lorient,fr"/><latitude_e6 data=""/><longitude_e6 data=""/><forecast_date data="2011-11-03"/><current_date_time data="1970-01-01 00:00:00 +0000"/><unit_system data="US"/></forecast_information><current_conditions><condition data="Cloudy"/><temp_f data="59"/><temp_c data="15"/><humidity data="Humidity: 88%"/><icon data="/ig/images/weather/cloudy.gif"/><wind_condition data="Wind: S at 12 mph"/></current_conditions><forecast_conditions><day_of_week data="Thu"/><low data="52"/><high data="64"/><icon data="/ig/images/weather/chance_of_rain.gif"/><condition data="Chance of Rain"/></forecast_conditions><forecast_conditions><day_of_week data="Fri"/><low data="52"/><high data="61"/><icon data="/ig/images/weather/chance_of_storm.gif"/><condition data="Chance of Storm"/></forecast_conditions><forecast_conditions><day_of_week data="Sat"/><low data="52"/><high data="61"/><icon data="/ig/images/weather/chance_of_rain.gif"/><condition data="Chance of Rain"/></forecast_conditions><forecast_conditions><day_of_week data="Sun"/><low data="52"/><high data="57"/><icon data="/ig/images/weather/chance_of_rain.gif"/><condition data="Chance of Rain"/></forecast_conditions></weather></xml_api_reply>

fabounet, Friday 04 November 2011 à 17:01


Subscription date : 30 November 2007
Messages : 17118
ah chouette, merci pour vos réponses
reste à voir s'ils sont compatibles avec nos thèmes (une prévision = 1 numéro entre 1 et 40 je crois, qui donne une image)

on dirait que yahoo oui mais pas google (à voir)

SQP, Friday 04 November 2011 à 19:27


Subscription date : 03 July 2010
Messages : 1081
weboob a des backends yahoo et météo france si tu veux voir une implémentation python je crois

michel Ruiz, Friday 04 November 2011 à 21:42


Subscription date : 08 March 2009
Messages : 25
Bonsoir

Dans les topics sur Conky, les données météo vont être recherchées sur : http://www.wunderground.com/

Pour les données dont vous avez besoin peut-être s'inscrire là :
http://www.wunderground.com/weather/api/

Si ça peut aider

Edit : il existe aussi accuweather : http://www.accuweather.com/default.aspx
Là aussi peut-être : http://weather.noaa.gov/

fabounet, Monday 07 November 2011 à 13:59


Subscription date : 30 November 2007
Messages : 17118
cool, merci

après quand je parlais de compatibilité, c'est que nos thèmes sont constitués de 40 icônes, et le site nous refile un numéro correspondant à l'icône à afficher.
ça serait aussi bien si on pouvait conserver nos thèmes, qui sont assez jolis

PS: on doit même pouvoir écrire l'applet en python je pense, peut-être plus facile à faire dans un premier temps.

matttbe, Tuesday 08 November 2011 à 02:56


Subscription date : 24 January 2009
Messages : 12573
Je crois que si c'est yahoo qui est utilisé, il utilise les mêmes numéros et donc il faudrait juste changer les codes (et p-ê qu'ils sont pareils avec un peu de chances)

fabounet, Tuesday 08 November 2011 à 16:11


Subscription date : 30 November 2007
Messages : 17118
ah ce serait parfait
bon en tout cas j'ajoute une tache déjà

Applets | Applets

Subjects Author Language Messages Last message
[Locked] Weather.com [Bug #232]
michel Ruiz Français 9 fabounet [Read]
08 November 2011 à 16:11


Glx-Dock / Cairo-Dock List of forums Applets | Applets Weather.com Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.