TodayPlus Boards v2

Programming and MOD Forums => Developer's Corner Discussion => Topic started by: Broesel on June 01, 2005, 09:21:08 AM

Title: Problems with php-script - weatherinfo from de.weather.com
Post by: Broesel on June 01, 2005, 09:21:08 AM
Hey uk_skinner,

some people in the German forum are having problems with the
de_weather_script. Seems to be a problem with the layout or other
urls on the de.weather.com-site, because I'm getting textes with
"error 404" in the city.txt.

Would be nice, if you can take a look .....

http://tpfans.com/rss/weather_test_de.php?Citycode=77723

(with "Postleitzahl" like zipcode in US)

http://tpfans.com/rss/weather_test_de.php?Citycode=GMXX0039

(with citycode)

Regards Broesel
Title: Re: Problems with php-script - weatherinfo from de.weather.c
Post by: uk_skinner on June 01, 2005, 02:47:48 PM
Quote from: BroeselHey uk_skinner,

some people in the German forum are having problems with the
de_weather_script. Seems to be a problem with the layout or other
urls on the de.weather.com-site, because I'm getting textes with
"error 404" in the city.txt.

Would be nice, if you can take a look .....

http://tpfans.com/rss/weather_test_de.php?Citycode=77723

(with "Postleitzahl" like zipcode in US)

http://tpfans.com/rss/weather_test_de.php?Citycode=GMXX0039

(with citycode)

Regards Broesel

I will take a look.  Again, my main computer is not available yet.  Please be patient.

Edit:  That is odd..Is the site down?  I could not access http://de.weather.com/weather/local/GMXX0007   :doh:  :knownot:

Edit:  Ok the site was back but all the keywords were different.  I need some time to re-do the PHP.  Broesel, could you please pass this information to German site.  Thanks.
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: Broesel on June 02, 2005, 03:04:38 AM
Thanks for looking into the script. Wichtel already announced it in the
German forum.

Regards Broesel
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: uk_skinner on June 02, 2005, 09:12:05 AM
Ok, this is wired.  Could someone help me with this?

I have probelm to use Firefox to access http://de.weather.com/weather/local/GMXX0007 :wall: .  However, no problem if I use IE. :knownot:
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: jhollin1138 on June 02, 2005, 11:44:24 AM
Quote from: uk_skinnerI have probelm to use Firefox to access http://de.weather.com/weather/local/GMXX0007 :wall: .  However, no problem if I use IE. :knownot:
I checked the site using FireFox and IE, both seem to be working fine to me.  What error are you getting with FireFox?
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: uk_skinner on June 02, 2005, 02:07:14 PM
Quote from: jhollin1138
I checked the site using FireFox and IE, both seem to be working fine to me.  What error are you getting with FireFox?

Jim:

 Thanks.
 Oddly, it was fine again.
 My main computer was just upgrade from 2000 to xp professional and I am experiencing odd beheavior.  The Firefox did not give me the error, instead, it was the site gave me the error.  Although no proof, I suspected the de.weather.com was doing something at their site.  For some reason, the Firefox broswer was blocked/rejected from time to time.  I will test more..
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: Broesel on June 02, 2005, 03:10:27 PM
Hey uk_skinner, I just tested both links I gave you, and it seems to work
again. Maybe they did do something at the site or had problems.
Can you see the script working too, or did you do something at the
script, that it works ageain ?

Regards Broesel
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: uk_skinner on June 02, 2005, 04:31:53 PM
Quote from: BroeselHey uk_skinner, I just tested both links I gave you, and it seems to work
again. Maybe they did do something at the site or had problems.
Can you see the script working too, or did you do something at the
script, that it works ageain ?

Regards Broesel

There were indeed some difference there.  So, the old script probably will not work either.  

I think I will be monitoring this site for few days and make the new script once it is "stable".  Please pass this information to German site.  Thanks.
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: Broesel on June 02, 2005, 04:42:35 PM
Quote from: uk_skinner

There were indeed some difference there.  So, the old script probably will not work either.  

I think I will be monitoring this site for few days and make the new script once it is "stable".  Please pass this information to German site.  Thanks.

o.k. thanks, wrote that in the German forum, will wait and see .....

Regards Broesel
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: uk_skinner on June 02, 2005, 05:07:58 PM
Quote from: Broesel

o.k. thanks, wrote that in the German forum, will wait and see .....

Regards Broesel

Thanks, broesel.

Could you please check this for me?
If you go to this http://de.weather.com/weather/tenday/GMXX0007?day=3&vert=WeatherCity&pres=Berlin%2C+Deutschland#day
, what do you see?

I saw the forecast text for "Tag"(Day) and "Nacht"(night) are "English" not "German".  I did not recall I saw this before when I wrote the script.  

:think:
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: Broesel on June 03, 2005, 02:04:08 AM
Quote from: uk_skinner

Could you please check this for me?
If you go to this http://de.weather.com/weather/tenday/GMXX0007?day=3&vert=WeatherCity&pres=Berlin%2C+Deutschland#day
, what do you see?

I saw the forecast text for "Tag"(Day) and "Nacht"(night) are "English" not "German".  I did not recall I saw this before when I wrote the script.  

:think:

Yes, I see that too:

Tag  Light Rain Max:  19°C
Wind: aus dem W mit 18 km/h
Niederschl. Wahrsch.: 60 %
Durchschn. Luftfeuchtigkeit: 64 %

Nacht  Light Rain Min:  10°C
Wind: aus dem W mit 13 km/h
Niederschl. Wahrsch.: 60 %
Durchschn. Luftfeuchtigkeit: 73 %

Didn't see that before too ??? Don't know, what's the matter ...

Regards Broesel
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: pikkko on June 06, 2005, 09:41:26 AM
hello,

i ve got also some probs, take a look at my today+ screen
the shown icon for rainprobabilty 60% is a cloudy moon, strange, isn t it?

http://www.ppc-welt.info/community/showpost.php?p=540348&postcount=1169
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: Timmy on June 06, 2005, 10:31:22 AM
Quote from: pikkkohello,

i ve got also some probs, take a look at my today+ screen
the shown icon for rainprobabilty 60% is a cloudy moon, strange, isn t it?

http://www.ppc-welt.info/community/showpost.php?p=540348&postcount=1169
Pikkko,

Are your serie-numbers correct? Last years several picture-numbers have been changed.

Take a look here for the right numbers:
http://forums.jhollin1138.com/viewtopic.php?t=1799

Timmy
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: pikkko on June 06, 2005, 10:36:11 AM
Quote from: Timmy
Are your serie-numbers correct? Last years several picture-numbers have been changed.

the icons and numbers i use are the same than i used last week, and there they worked properly
and i think it might not be the wrong numbers, because it shows exactly the same icon for rainprobabilty 0% and 40% (raining cloud)

EDIT: i now tried three different weathericon-series, they show all the very same, but wrong!!!
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: Timmy on June 06, 2005, 11:42:06 AM
Quote from: pikkko
Quote from: Timmy
Are your serie-numbers correct? Last years several picture-numbers have been changed.

the icons and numbers i use are the same than i used last week, and there they worked properly
and i think it might not be the wrong numbers, because it shows exactly the same icon for rainprobabilty 0% and 40% (raining cloud)

EDIT: i now tried three different weathericon-series, they show all the very same, but wrong!!!

Pikkko, I'm very sorry for you, I don't know what other reasons there are for your not right working text/pictures... I hope some other members can help you out of these problems!

Timmy
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: pikkko on June 06, 2005, 11:47:59 AM
i think (brösel and wichtel from german forum too) the information in the de.weather.com - website, where i get my weatherdatas from,  changed, uk_skinner is working on finding and solving the problem, we´ll see
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: uk_skinner on June 06, 2005, 12:47:11 PM
Quote from: pikkkoi think (brösel and wichtel from german forum too) the information in the de.weather.com - website, where i get my weatherdatas from,  changed, uk_skinner is working on finding and solving the problem, we´ll see

pikkko:

 I would like to apologe that I have not much time work on this issue these days.

One of my mian reason is "English" display on the de.weather.com.  Please see this example:http://de.weather.com/weather/local/GMXX0007
You can see the forecast text for day/night are in "English" not in German.  I did not recall I saw this before and I feel the de.weather site probably will fix it later.  

Please do not use the php for de.weather.com for now until de.weather.com fix it.  You can use the PHP for weather.com and set language for GM.  Broesel is much expert than me.

Edit:  For some reason the link did not direct to the page I wanted to show.  Here is the screenshot.
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: pikkko on June 06, 2005, 01:27:24 PM
Quote from: uk_skinnerPlease do not use the php for de.weather.com for now until de.weather.com fix it.  You can use the PHP for weather.com and set language for GM.  Broesel is much expert than me.

ok thanks a lot, i will do so!!
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: Broesel on June 08, 2005, 04:36:01 PM
Quote from: uk_skinner
Please do not use the php for de.weather.com for now until de.weather.com fix it.  You can use the PHP for weather.com and set language for GM.  Broesel is much expert than me.

Well, I'm still using the weather.com-Source with the translation of the
textes with the sky.txt like I discribed in the (German) Workshop :

http://www.ppc-welt-community.info/community/showthread.php?t=62353

And also uk_skinners program to change the weathertextes and to show the
winddir.

I didn' t have any problems since and If there is a text not translated, I can
change it myself in the sky.txt, so I don't need to wait for a changing in the script.

@pikko: If you want to try and have any questions, you can ask in the
German forum.

Regards Broesel
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: pikkko on June 15, 2005, 12:07:11 PM
@uk_skinner

the german weatherserver de.weather.com is working again, but:
the icons are still completely wrong.
is there a change in the icon-numbers or is it just a temporar problem?
does anybody knows about it?
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: uk_skinner on June 15, 2005, 03:43:56 PM
Quote from: pikkko@uk_skinner

the german weatherserver de.weather.com is working again, but:
the icons are still completely wrong.
is there a change in the icon-numbers or is it just a temporar problem?
does anybody knows about it?

pikkko:

 I still see the "English" in 10-day forecast.  That is the reason that php can not assign the right icon codes.  I will add this "English" to the PHP script.

Edit:  Done, can you try it again?  If you still missing the icon codes, please let me know your citycode.
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: pikkko on June 17, 2005, 04:26:47 PM
it seems the website works correct again! thanks
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: Timmy on August 24, 2005, 04:32:42 AM
@Uk_skinner,

Last weeks I've met several times problems in dowloading my url's. Are there problems with your server? Or are there problems with the url-sites?!?

Timmy
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: Broesel on August 24, 2005, 05:24:10 AM
Quote from: Timmy@Uk_skinner,

Last weeks I've met several times problems in dowloading my url's. Are there problems with your server? Or are there problems with the url-sites?!?

Timmy

Hey Timmy,

I had problems too, but I even could not get on weather.com and sometimes
the "actual weather values" where not filled with data, so I assume,
it was a problem with weather.com

Regards Broesel
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: Timmy on August 24, 2005, 06:12:53 AM
Quote from: Broesel
Quote from: Timmy@Uk_skinner,

Last weeks I've met several times problems in dowloading my url's. Are there problems with your server? Or are there problems with the url-sites?!?

Timmy

Hey Timmy,

I had problems too, but I even could not get on weather.com and sometimes
the "actual weather values" where not filled with data, so I assume,
it was a problem with weather.com

Regards Broesel
@Broesel,

Thanks for your answer!

Question to you: if the download can't be completed, my PPC gets froozen, and I have to give a soft reset. Do you have that same problem, too?!?

Timmy
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: Broesel on August 24, 2005, 06:51:48 AM
Quote from: TimmyQuestion to you: if the download can't be completed, my PPC gets froozen, and I have to give a soft reset. Do you have that same problem, too?!?

No, don't get such problems, only "error" when downloading with the
radar.exe or no data in the city.txt.

Regards Broesel
Title: Problems with php-script - weatherinfo from de.weather.com
Post by: uk_skinner on August 24, 2005, 05:18:34 PM
Quote from: Timmy@Uk_skinner,

Last weeks I've met several times problems in dowloading my url's. Are there problems with your server? Or are there problems with the url-sites?!?

Timmy

Oops, miss this post.  Let me check and will report it later...

Edit:

  It is odd, I did not see any unsual thing.  Timmy, is it ok now or you still have problem?