• Welcome to TodayPlus Boards v2.
 

Weather Information Extract From Yahoo

Started by uk_skinner, February 03, 2005, 01:00:55 PM

Previous topic - Next topic

thc

@ eemond,

i understand.
Fog= Brouillard

thanks

eemond

thc,

Update your local Forecasttext.txt (122=Brouillard)

Thanks...

Regards,
eemond

eemond

thc,

When you have a moment, could you please translate (search the attached for (NT)) forecasttext.txt file, There are a few missing codes that I added in English.

Thanks...

Regards,
eemond

thc

Quote from: eemondthc,

When you have a moment, could you please translate (search the attached for (NT)) forecasttext.txt file, There are a few missing codes that I added in English.

Thanks...

Regards,
eemond

no problem, eemond. i'll do it tomorrow afternoon (french time), now is midnight and time to going to bed...

thc

hi eemond,

all translations done, except  '121' => 'Unbekannt(NT)',

uk_skinner

Quote from: thchi eemond,

all translations done, except  '121' => 'Unbekannt(NT)',


Is it "unknown" in German?  Inconnu ?

Broesel

Quote from: uk_skinner
Quote from: thchi eemond,

all translations done, except  '121' => 'Unbekannt(NT)',


Is it "unknown" in German?  Inconnu ?

Well, I took a look in the German forecasttext.txt and 121 is an unknown
code; it is present but only with the text "unbekannt" what means
unknown (isn't present in the english .txt too), so we have no text for it now

Regards Broesel

Broesel

Another question to the php-scripting and getting cityx.txt by radar.exe:

If we refresh normally by TodayPlus, another file is written for every
city and rss with the time, when it was updated. When the buffer is
cleared, all files are gone. With the downloading from other servers
we don't get the files (cityx.txt.time). Did anybody try to find out, what
format there is in those files and is it possible to create them via php,
so that we can grab it in the skinfiles ? The problem in the skins is, that
most of them are referring to the update-time and we dont't have the
data, when we are getting the files not from msnbc.com.

Regards Broesel

uk_skinner

Quote from: BroeselAnother question to the php-scripting and getting cityx.txt by radar.exe:

If we refresh normally by TodayPlus, another file is written for every
city and rss with the time, when it was updated. When the buffer is
cleared, all files are gone. With the downloading from other servers
we don't get the files (cityx.txt.time). Did anybody try to find out, what
format there is in those files and is it possible to create them via php,
so that we can grab it in the skinfiles ? The problem in the skins is, that
most of them are referring to the update-time and we dont't have the
data, when we are getting the files not from msnbc.com.

Regards Broesel

Broesel:

 I have been thinking this question too.  I have two options:

1)  Use TpExeDelay to put radar.exe after weather information updating.  In that way, you still download the city.txt from MSNBC and city.txt.time will be updated each time.  The new city.txt generated from PHP will overwrite the MSNBC one.  Con: The updating time will increase.

2)  Skip the TP build-in weather update and use a small exe to generate the city.txt.time (a new one or copy from rss.txt.time) whenever you do a downloading weather information from PHP.  Con: You need another exe.

Broesel

Quote from: uk_skinnerBroesel:

 I have been thinking this question too.  I have two options:

1)  Use TpExeDelay to put radar.exe after weather information updating.  In that way, you still download the city.txt from MSNBC and city.txt.time will be updated each time.  The new city.txt generated from PHP will overwrite the MSNBC one.  Con: The updating time will increase.

2)  Skip the TP build-in weather update and use a small exe to generate the city.txt.time (a new one or copy from rss.txt.time) whenever you do a downloading weather information from PHP.  Con: You need another exe.

Yes, I see that. And it's sure not important, to fix that, only we have
to download the weather data twice. Well, was only a thought ....

Regards Broesel

thc

@ Broesel,

you can also add a new notification event with SKTools or Memaid to launch Radar.exe when Data synchronization finished.

i use tpdelay.exe for manual synchronization and notifification when the pda is on this craddle. both works perfectly!  :wink:

Broesel

Quote from: thc@ Broesel,

you can also add a new notification event with SKTools or Memaid to launch Radar.exe when Data synchronization finished.

i use tpdelay.exe for manual synchronization and notifification when the pda is on this craddle. both works perfectly!  :wink:

Yes, thanks,
I'm using tpdelay.exe too, and was only thinking about do not double
download of weatherdata. But as you said, it works fine :lol:

Regards Broesel

Timmy

Quote from: Broesel
Quote from: thc@ Broesel,

you can also add a new notification event with SKTools or Memaid to launch Radar.exe when Data synchronization finished.

i use tpdelay.exe for manual synchronization and notifification when the pda is on this craddle. both works perfectly!  :wink:

Yes, thanks,
I'm using tpdelay.exe too, and was only thinking about do not double
download of weatherdata. But as you said, it works fine :lol:

Regards Broesel
Broesel,

Since the time I use the exedelay in combination with radar.exe, using the yahoo-rss-feed...
... I turned off the option 'refresh on sync' in todayplus config. In my skin I've made an imagebutton/button to start the delay.exe.

So there's only ONE weathersync when putting my PPC in the craddle. And everything in my skin is working well, giving the right information.

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

Broesel

@eemond: Hi, i was getting a weatherforecast for Berlin / Germany with
some unknown codes:

Sunday 02/13 : Unknown code 157 (day)
Monday 02/14 : Unknown code 0    (day)

Going to yahoo.com shows: Sunday : Snow, Monday: Scattered Snow showers.

How do you get the numbers for the weathertextes for day- and nightforecast? I can't see any nigh-textes on yahoo.com.
So in my opinion code 157 should be snow (Schnee in German), but why do we get an unknown code 0 ?

Maybe you can answer these questions

Regards Broesel

Edit: @uk_skinner: I saw the same codes in the other script too, so maybe 0 means "not available" ?
(Screenshot deleted)

uk_skinner

broesel:

  The weathertext for the night were from MSNBC since yahoo does not provide these information.  I did not find "Scattered Snow Showers" on the forecasttext.  So probably this is a new one.  
  But I can see code 157 and it should be "Snow".  Didn't you see it?