• Welcome to TodayPlus Boards v2.
 

Problems with tpfans.com - uk_skinner could you take a look ?

Started by Broesel, February 22, 2007, 03:43:45 PM

Previous topic - Next topic

Broesel

Hi,

Uk_skinner, hope you will read this   ....

As reported in the German forum:
http://www.ppc-welt-community.info/community/showthread.php?p=841670#post841670

there is a problem with the scripts like:

Warning: Unknown(/home/tpfansc/public_html/rss/weather.php): failed to open stream: Permission denied in Unknown on line 0

Warning: Unknown(/home/tpfansc/public_html/rss/weather.php): failed to open stream: Permission denied in Unknown on line 0

Warning: (null)() [function.include]: Failed opening '/home/tpfansc/public_html/rss/weather.php' for inclusion
(include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0


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

Regards Broesel

uk_skinner

Ok, I fixed it.  Can you let me know if the problem show up again?

Broesel

Quote from: uk_skinner on February 23, 2007, 01:27:14 AM
Ok, I fixed it.  Can you let me know if the problem show up again?

Yes, you fixed it  :grin: , thanks.
Will let you know, if there are problems ....

Regards Broesel

Broesel

Quote from: Broesel on February 23, 2007, 02:34:07 PM
Will let you know, if there are problems ....

Well, here I am again  :| as reported in the German forum there is a new problem with the de-weatherscript:

http://www.ppc-welt.info/community/showthread.php?p=876526#post876526

If you read this, could you take a look ?  :bow:

Regards Broesel

nas

Hi,

Uk_skinner, hope you will read this.

URL: http://www.tpfans.com/rss/weather.php?Citycode=GMXX0266&Language=GM - there is a problem with the script like...

............................................
function makeWeatherObj() {




         this.swSunrise = "";


         this.swSunset = "";


         this.swDayLength = "";

         this.swCity = "Wrong Citycode";

         this.swSubDiv = "";

         this.swCountry = "";

         this.swRegion = "";

         this.swTemp = "";

         this.swTempCel = Math.round(5/9)*(this.swTemp-32);

         this.swCIcon = "";

         this.swWindS = "";

         this.swWindD = "";

         this.swBaro = "";

         this.swHumid = "";

         this.swReal = "";

         this.swUV = "";

         this.swVis = "";

         this.swLastUp = "";

         this.swConText = "Error!!!";

                        this.swFore = "1|2|3|4|5|02/15/2005|02/16/2005|02/17/2005|02/18/2005|02/19/2005|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|";



         this.swAcid = "GMXX0266";
}
...............................................

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

Regards nas

GJCV

Quote from: nas on August 26, 2007, 09:46:34 AM
Hi,

Uk_skinner, hope you will read this.

URL: http://www.tpfans.com/rss/weather.php?Citycode=GMXX0266&Language=GM - there is a problem with the script like...

(...)

         this.swCity = "Wrong Citycode";


I am also a big fan of the "72.9.224.178/~tpfansc"  URL to make the weather work on TP+.

However I have got a similar problem as NAS with the Dutch weather. However, the US weather works just fine.
Below are the first lines of my radar.txt

SURL=http://72.9.224.178/~tpfansc/rss/weather.php?Citycode=NLXX0028&SFDay=1&Language=EN
STOR=\Program Files\TodayPlus\Buffer\city1.txt
FORM=
SURL=http://72.9.224.178/~tpfansc/rss/weather.php?Citycode=USMD0347&SFDay=1&Language=EN
STOR=\Program Files\TodayPlus\Buffer\city2.txt
FORM=


City1 (supposed to be Arnhem/Dieren, The Netherlands) does not work any more (wrong city code), Rockville (MD, USA) still does.
The problem started last week.
Solutions anyone? Thanks!

GJCV

Morpheus

Same problem with UK cities, UKXX0104 and UKXX0018 which are Nottingham and Birmingham respectively.

Any ideas?

Morpheus
IPAQ H2210, WM2003, SimpleTech 512MB SD Card, Proporta Aluminium Case

uk_skinner

Broesel/Morpheus/nas/GJCV:


   Sorry, to response so late.  I will take a look over weekend.

Edit:  Weather.com uses different html code in USA and non-usa countries.  It will take some time to modify the codes. :wall:

Morpheus

Quote from: uk_skinner on August 31, 2007, 07:15:58 PM
Broesel/Morpheus/nas/GJCV:


   Sorry, to response so late.  I will take a look over weekend.

Edit:  Weather.com uses different html code in USA and non-usa countries.  It will take some time to modify the codes. :wall:

Ok thanks for investigating.

Morpheus

P.S.

I don't know if it helps but Weather.com has a dedicated UK site: http://uk.weather.com/. I believe they also have a French and German site in terms of europe
IPAQ H2210, WM2003, SimpleTech 512MB SD Card, Proporta Aluminium Case

GJCV

UK_skinner,
I don't know if it's helpful but I have noted the following:
The HTML pages look very similar (and so is the structure of the HTML code) if you compare the following US versus NL pages

US
http://www.weather.com/weather/local/USMD0347.htm
is redirected to:
http://www.weather.com/outlook/travel/businesstraveler/local/USMD0347

NL
http://www.weather.com/weather/local/NLXX0028.htm
is redirected to:
http://www.weather.com/outlook/travel/businesstraveler/local/NLXX0028

How does the script actually extract the data from the weather.com? Does it first download the HTML, which then is processed? Or do you access the weather.com server in a different way?
Please let me know if there is a chance I could help somehow.

Regards, GJCV

pgmnv

Hello all,

Does anyone have the problem resolved???
I still can't download the weather!

Cheers

Pedro Vicente

PS: I'm a bit limited in programation, but if there is anything I can do to help, just ask!!
X5oo WM6 ROM 436 WWE (Pool Size 4MB)
Sandisk MicroSD 8G HC Classe 4
Sandisk MicroSD 2G Ultra II
Sandisk MicroSD 1G Ultra II
Sandisk MicroSD 1G

Morpheus

Any news on a solution to this or an alternative plgin which can replace the functionality. I trued SOMPY Weather but it has the same problem.
IPAQ H2210, WM2003, SimpleTech 512MB SD Card, Proporta Aluminium Case

nas

Quote from: Morpheus on December 11, 2007, 10:08:03 PM
Any news on a solution to this or an alternative plgin which can replace the functionality. I trued SOMPY Weather but it has the same problem.

Have a look here http://www.happyjackroad.net/pocketpc/weatherPlus/weather.asp

nas

Morpheus

Quote from: nas on December 12, 2007, 09:21:10 AM
Quote from: Morpheus on December 11, 2007, 10:08:03 PM
Any news on a solution to this or an alternative plgin which can replace the functionality. I trued SOMPY Weather but it has the same problem.

Have a look here http://www.happyjackroad.net/pocketpc/weatherPlus/weather.asp

nas

Thanks, I have temporarily deleted the weather section from my modded HandyPlus basic skin and installed ADB Weather Plus. Its not as pretty as the weather options available in TP but it does provide a forecast.
IPAQ H2210, WM2003, SimpleTech 512MB SD Card, Proporta Aluminium Case

mfigrs

I am fortunate enough to reside in the USA, where TP still works. But I'd really like to have this issue addressed  :pray:. I am not a programmer, but in case any help is needed, I am willing to help.