![]() |
2011-07-01
, 06:27
|
Posts: 270 |
Thanked: 37 times |
Joined on Sep 2010
|
#132
|
![]() |
2011-07-01
, 07:03
|
Posts: 24 |
Thanked: 6 times |
Joined on Nov 2010
@ Rome-Italy
|
#133
|
hello to all ...
Sorry I would have a problem: on xterm (sh / home / user / imagemagick / weather.sh) gives me error, but the weather is updated too ...
QBW edited with the same command xterm, the weather does not update ...
can someone help me please ..
thanks and sorry my english
![]() |
2011-07-05
, 17:32
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#134
|
- I'll try to implement italian forecast but now I have no time so could you give me a new script without the part of forecast? I don't now what I have to delete...so the script is could be smaller.
-about 3G/wifi it seems to be every thing ok. the only "no problem" is that qbw is yellow when updated by 3g :-)
![]() |
2011-07-05
, 17:36
|
Posts: 270 |
Thanked: 37 times |
Joined on Sep 2010
|
#135
|
The parts that do the forecast chopping are small. Why would you want it smaller? You have 32G of space, 200 bytes isn't going to kill you. If it bothers you that much, edit the file yourself. As it is, if it gets the forecast info right, it displays it. If not, it blanks it out so there's nothing there.
Hmm... That's odd. It should only return that if it's not updating the weather because of a timeout. Check the time-stamp in the upper right of the image. That should update each time the script updates the lock screen. The yellow icon is triggered by "exit 2" which should only happen in the code that skips updates.
![]() |
2011-07-06
, 04:59
|
|
Posts: 855 |
Thanked: 612 times |
Joined on Oct 2010
@ Germany
|
#136
|
![]() |
2011-07-06
, 12:46
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#137
|
Woody, thank you a lot for maintaining this idea. That was just my thought and no coding skills whatsoever, you have improved the script and done a lot of work. Thank you again, i appreciate that.
![]() |
2011-07-07
, 20:33
|
|
Posts: 855 |
Thanked: 612 times |
Joined on Oct 2010
@ Germany
|
#138
|
No problem.I loved the idea, and didn't even realize I wanted it until you made the first script. (And frankly, more than half the script is still your original, just a little refined.) I wish I had more time to work on things for my N900.
If you like, feel free to update the top-post with a link to the new script. It should be pretty good for most people. It gets the current weather pretty much everywhere now, and in most countries can get the forecast as well.
![]() |
2011-07-08
, 00:25
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#139
|
![]() |
2011-09-23
, 19:58
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#140
|
The Following User Says Thank You to woody14619 For This Useful Post: | ||
As for the forecast, the page layout for italy is very different. You'd have to find a way to parse the data out from the multi-layered div/table they use in a non-language specific way. Most countries use the default template (like US and most other EU countries). For those this script works. For others, you'll have to figure out how to do that on your own.
The lines that try to get the forecast data are here:
If you want to give it a shot, please feel free to. There are lots of pages on google about sed (google "man sed" for a starter). I'm sure there's more than one Italian user out there!
Good find on the bug with the script drawing low/high still. I fixed it in one of three places before. Attached is the new version with that fixed up.