• 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

Broesel

Quote from: uk_skinner
Broesel:

 Problem fixed.
 I need your input about:

1)  How the city name get imported to exe?  Will a configure file with the list of city and RSS number work, such as

QuoteFlensburg
21
Stuttgart
22

Well, I think that sounds good, so we can decide, what citytext goes into
what rss-number.


Quote2)  As you know, a Index file needs to be downloaded first.  Do you want want this done in radar.txt or a part of exe?  I currently set a check point ot check the file time of this file.  It will ask users to update it if it is not create today.

I think, it would be better in one exe, so let that one download everything
we need, if that is possible. I'm already heaving problems with managing
the several radar.txt - instructions  :oops:

Broesel

uk_skinner

Broesel:

 Cool, I will just make them in one folder and you just need to copy the folder in your base folder.  Eveything will be in there.

eemond

Broesel:

I am trying to translate SKY in my Yahoo Weather PHP Script and would ask if you could please share with me your translated (German) forecasttext.txt file.

Thanks...

Regards,
eemond

uk_skinner

Quote from: eemondBroesel:

I am trying to translate SKY in my Yahoo Weather PHP Script and would ask if you could please share with me your translated (German) forecasttext.txt file.

Thanks...

Regards,
eemond

emmond:

 This was the sky.txt I downloaded from German site.  It was used to translate the sky information into German.  Is this that you need?

Broesel

Quote from: eemondBroesel:

I am trying to translate SKY in my Yahoo Weather PHP Script and would ask if you could please share with me your translated (German) forecasttext.txt file.

Thanks...

Regards,
eemond

I think, you want the forecasttext.txt to get the numbers to the cityx.txt ,
right ?

Here is (I think so) tha latest one: (rename zip to txt)

Broesel

eemond

That is what I was looking for.

Thanks...

Regards,
eemond

eemond

New version of the PHP Script has been uploaded to do the translation of SKY in the cityx.txt (this.swConText =) to German thanks to Broesel for the German translation of forecasttext.txt). If anyone else would like me to translate to their language, just send me your language specific forecasttest.txt file.

Thanks...

Regards,
eemond

Broesel

Quote from: eemondNew version of the PHP Script has been uploaded to do the translation of SKY in the cityx.txt (this.swConText =) to German thanks to Broesel for the German translation of forecasttext.txt). If anyone else would like me to translate to their language, just send me your language specific forecasttest.txt file.

Thanks...

Regards,
eemond

Does that mean, the translation is done while getting the info from yahoo ?
Sounds nice :D
If so, how do we get it into the city.txt ?

Edit: Oh, I see, you get it by the city-code :lol:
So I have another wish, can you take the german translation also for
Switzerland (SZXX...) and Austria (AUXX) because they are German speaking countries  too

Thanks Broesel :lol:

eemond

Broesel,

Yes, while getting Yahoo weather.

See UK's 1st post for the "How To".

I' look at SW and AU.

Regards,
eemond

Broesel

Quote from: eemondBroesel,

Yes, while getting Yahoo weather.

See UK's 1st post for the "How To".

I' look at SW and AU.

Regards,
eemond

Yes thanks, sorry, I know, how to get it but first later figured out,
that the text already came translated.

Regards Broesel

Timmy

@Eemond and @Broesel,

There's a new problem with the latest things that are changed. Let me explain:

I have cities of The Netherlands (of course!!), England/Ireland, France and Germany in my weaterforecast weather-regions.

I use uk_skinners sky-translate-exe in combination with the rss-feature of this thread (via radar.exe).

Problem: since the rss-feed is already translating the things, my sky-translate.txt must contain the translations of every country I wish to have in my weather-container....

For me: no translations in the rss-feeds! I prefer to have to have only English in the rss-feeds, and using uk_skinners sky-translate-exe to translate the things in the language of your wishes!!!

OR: does anybody see another solution?!?

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

Broesel

Quote from: Timmy@Eemond and @Broesel,

There's a new problem with the latest things that are changed. Let me explain:

I have cities of The Netherlands (of course!!), England/Ireland, France and Germany in my weaterforecast weather-regions.

I use uk_skinners sky-translate-exe in combination with the rss-feature of this thread (via radar.exe).

Problem: since the rss-feed is already translating the things, my sky-translate.txt must contain the translations of every country I wish to have in my weather-container....

For me: no translations in the rss-feeds! I prefer to have to have only English in the rss-feeds, and using uk_skinners sky-translate-exe to translate the things in the language of your wishes!!!

OR: does anybody see another solution?!?

Thanks!
Timmy

Yes, think that is a problem, maybe eemond can make it possible through
a parameter in the php-script, that allows to use the original english
language, f.ex. something like translation=no and translation=yes.
Don't know, if that is possible, eemond has to answer this question.

Greetings Broesel

eemond


eemond

What about a paramter like Language=GM (or FR...). This would allow you to return SKY in the desired language and not have to change your skin (today,sky,50,66,Sky: ,,l) could remain unchanged.

Comments...

Regards,
eemond

uk_skinner

Ed:

 That will be a great idea.

 I think if we could let PHP scripts to do the translation or even conversion and put it into city.txt.  That will be perfect.

Anything outside of city.txt we can either do the rss or put them into registry key if you need to access the variable do some image or calculation.

:approve: