maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Script][N900] Weather hour by hour (only ITA) (https://talk.maemo.org/showthread.php?t=93957)

marcphemt 2014-10-02 07:46

[Script][N900] Weather hour by hour (only ITA)
 
1 Attachment(s)
Hi to all n900 italian users!!
I wrote a simple script to see detailed weather of your city by 3Bmeteo.. ;)
I use it with Desktop Command Execution Widget..is very very simple, but usefull!! :p

So..download the script:
Code:

cd MyDocs/
Code:

wget --no-check-certificate http://github.com/marcphemt/scrpts/raw/master/meteon900.sh
Code:

chmod +x meteon900.sh
Now type:
Code:

leafpad (or another program to modify the script) meteon900.sh
in the line:
Code:

http://www.3bmeteo.com/meteo/LOCATION/dettagli_orari
change LOCATION with your city (note that letters like à è ò ù MUST be a' e' o' u', and spaces MUST be '+' like albano+laziale).
Now add command to Desktop Command Execution Widget:
Code:

sh /home/user/MyDocs/meteon900.sh
The result is like the image in attachment..
Hope you enjoy this work!!
Cheers :D

PS: if you want the weather for tomorrow add '/1' to the line:
Code:

http://www.3bmeteo.com/meteo/LOCATION/dettagli_orari/1

nokiabot 2014-10-04 18:18

Re: [Script][N900] Weather hour by hour (only ITA)
 
This is awsome but useless for me :(

marcphemt 2014-10-05 08:30

Re: [Script][N900] Weather hour by hour (only ITA)
 
Maybe i ll work for an international weather, based on yahoo!! ;)


All times are GMT. The time now is 07:04.

vBulletin® Version 3.8.8