• Welcome to TodayPlus Boards v2.
 

News:

No news is good news.

Main Menu

Recent posts

#91
General / Re: weather update
Last post by Broesel - May 01, 2007, 04:43:28 PM
Quote from: mfigrs on May 01, 2007, 01:15:00 PM
Well, I wonder how is this possible, that (manual) weather update works on my iPaq without the Delay.exe. Frequently TP finishes update way after the radar.exe and I still get weather information without any problems.

Yes, that is possible, but if the second button is linked to the radar.exe it can happen, that the weatherupdate-
process is finished after the radar.exe-download and replaces the cityx.txt with empty ones. If you are doing a
manually refresh with radar.exe it runs fine.

Quote1. With sun/moon times. Even though there are correct times for sunrise and sunset in the city.txt, in the Hammerskin weather page I always see some strange numbers, like "Sunrise: 01:57". I live in the USA, but I sometimes check weather for Poland. When I change the city to Szczecin, Poland, the sun times remain the same. It sounds like a nonsense, but are these times hardcoded in the skin?

For the first you have to enter the coords of the second (and more) city manually in the registry.
(see the screenshot in this thread: http://forums.jhollin1138.com/index.php?topic=1660.msg10931#msg10931)
The sunrise you see, is generated by TodayPlus (with the coords you entered) and is alway shown in your local timezone.
The sunrise from the cityx.txt is not taken for that. If you want to use that time, you need another exe (please do a search in the developers corner).

Quote2. With special characters in the RSS page (I'm Polish). Is there a way to change special character coding and font? Any suggestions on how to do that?

Don't know, if that is possible. But it is not possible in TodayPlus (maybe with another exe, that changes the rss-txt-files)

Regards Broesel
#92
General / Re: weather update
Last post by mfigrs - May 01, 2007, 01:15:00 PM
Well, I wonder how is this possible, that (manual) weather update works on my iPaq without the Delay.exe. Frequently TP finishes update way after the radar.exe and I still get weather information without any problems.  8) I use Hammerskin 1.05.6 QVGA - translated by UK_Skinner to English, and partly to Polish by myself.

However - I have two problems:
1. With sun/moon times. Even though there are correct times for sunrise and sunset in the city.txt, in the Hammerskin weather page I always see some strange numbers, like "Sunrise: 01:57". I live in the USA, but I sometimes check weather for Poland. When I change the city to Szczecin, Poland, the sun times remain the same. It sounds like a nonsense, but are these times hardcoded in the skin?

2. With special characters in the RSS page (I'm Polish). Is there a way to change special character coding and font? Any suggestions on how to do that?
#93
General / Re: weather update
Last post by Broesel - April 29, 2007, 04:07:37 PM
Quote from: GJCV on April 28, 2007, 04:53:25 PM
Solution: Skin needs to be modified

Yes, sorry that I didn't make that clear enough. You need as I said two button-commands. One for the refresh and another one with the same coordinates with the application (linked to tpexedelay.exe):

example:
imagebutton,4,50,Aktualisierungsbutton_main.png,,-1,7,-nohighlight,-1      This button does the refresh (update)
button,4,50,110,13,-1,0,%apps-6-1,-1                                                This button starts Tpexedelay.exe
                                                                                                    (and it is linked with apps-6-1)

What happens ?
If you tap on the button, the normal weather-update starts, at the same time Tpexedelay starts and looks for the update-process (if it's not running, you get the message "process not found") After the update-process is finished, Tpexedelay starts the applications, that are stored in Tpexedelay.txt. So it ist synchronizing the radar.exe after the update-processing and you won't get empty files.

Hope, that makes things clearer.

Regards Broesel
#94
General / Re: weather update
Last post by GJCV - April 28, 2007, 04:53:25 PM

OK, found the answer to my own question  :oops: in http://forums.jhollin1138.com/index.php?topic=1744.0
Solution: Skin needs to be modified
Cheers, GJCV
#95
General / Re: weather update
Last post by GJCV - April 28, 2007, 04:09:14 PM
Quote from: Broesel on April 28, 2007, 01:56:57 PM

That is the problem, that the Tpdelay.exe solves. It looks for the update-process, and when it is finished, it starts the applications, that are stored in TpexeDelay.txt (that file has to be stored in the folder "My Documents").
So what I'm doing is : Click on the update-button --> normal weather and rss is downloading --> cityx.txt remains empty --> after the update-process, tpexedelay starts and launches radar.exe which downloads the weatherdata.


Hi Broesel,
Thanks a lot for chipping in.

Regarding TPexeDelay.exe:
According to UK_skinner's instructions (http://forums.jhollin1138.com/index.php?topic=1744.0 ) the exe can be anywhere, the txt should be in \My Documents\
I have done that, nothing happens (and why would it, it's not linked and not running). If I tap the TPexeDelay.exe to start it manually I get an error message (attached).
In the ZIP provided by UK_skinner there is a second exe (TpExeDelayS.exe). If I try to run that nothing happens.
How do you get it to run automatically after each time TP updates itself?

Thanks
#96
General / Re: weather update
Last post by Broesel - April 28, 2007, 02:05:02 PM
Hey Tonya, long time not seen  :grin:

Quote from: tonyaross on April 24, 2007, 10:49:23 PM
Well, great to see some actions here. If it is the server problem, is it possible at all that some changes can be made to the skin file so that it is linked to a new server?

Sorry, but that is not possible, because the url from msnbc.com is in the program file, not in the skin.
But as I replied before, it is possible to get the weather date via TpexeDelay and radar.exe.

QuoteI wonder where those TP veterans are these days. They could probably make things easier if they decide to chip in.

Well, here I am  :mrgreen: , but as there is not much action here, I'm just looking sometimes here.

Have a good time
regards Broesel
#97
General / Re: weather update
Last post by Broesel - April 28, 2007, 01:56:57 PM
Hello and welcome GJCV,
I'll try to answer some of your questions.

Quote from: GJCV on April 27, 2007, 05:10:49 PM
One thing I have not figured out yet.
Using the PHP link in Radar.txt (which now downloads the weather  :clap: ), how do you get TP to update weather information automatically :?:

Right now I need to manually tap 'Update' in the Hammerskin.

That is the way. You need two button-commands (one for weather-update and one for the application to start)
Maybe Zapme's idea could be a solution for your problem, I did'nt try that, because I allways manually update my weather and rss. You can find the thread here:
http://forums.jhollin1138.com/index.php?topic=1717.0

QuoteWhen left by itself TP/Hammerskin will display empty data after some time because TP is still  trying to download the default weather data instead of using the PHP link.

Yes, that is a problem of TodayPlus, because the url from msnbc.com is built in in the program. But as it only
remains the cityx.txt empty, the skin will not show data.

QuoteWhen I tap 'Update', Radar.exe is launched and the weather updates correctly. But then this again will be replaced by empty data by TP.

That is the problem, that the Tpdelay.exe solves. It looks for the update-process, and when it is finished, it starts the applications, that are stored in TpexeDelay.txt (that file has to be stored in the folder "My Documents").
So what I'm doing is : Click on the update-button --> normal weather and rss is downloading --> cityx.txt remains empty --> after the update-process, tpexedelay starts and launches radar.exe which downloads the weatherdata.

Hope, that helps,

regards Broesel
#98
General / Re: weather update
Last post by Morpheus - April 27, 2007, 06:35:51 PM
Thanks folks I have been a bit busy over the last few days but will try using radar.exe over the weekend.
#99
General / Re: weather update
Last post by GJCV - April 27, 2007, 05:10:49 PM
One thing I have not figured out yet.
Using the PHP link in Radar.txt (which now downloads the weather  :clap: ), how do you get TP to update weather information automatically :?:

Right now I need to manually tap 'Update' in the Hammerskin.
When left by itself TP/Hammerskin will display empty data after some time because TP is still  trying to download the default weather data instead of using the PHP link. When I tap 'Update', Radar.exe is launched and the weather updates correctly. But then this again will be replaced by empty data by TP. Of course I could use TodayPlus Config.exe and remove the weahter links there, but then everything is shown in Fahrenheit instead of centigrade...
TPExeDelay.exe does not seem to be the solution for this (or I have not figured out to use it correctly).
Any help?
Thanks.
#100
General / Re: weather update
Last post by GJCV - April 27, 2007, 03:55:30 PM
Quote from: pgmnv on April 24, 2007, 10:05:52 AM
Quote from: GJCV on April 24, 2007, 07:18:24 AM
Could it be the radar.txt file itself?
It's at http://www.xs4all.nl/~gjcv/GJ_Radar.txt
(I renamed it to prevent confusion).

I think it was the radar.txt, try this one and let me know...

Hi  pgmnv, The file you attached used a different format than the one I was using, which put me on the right track. The problem turned out to be in radar.exe.
I used a different radar.exe, which is why the format of radar.txt was different, and this one could apparently not handle the PHP link.
Changing to the newest radar.exe here on this forum solved the problem.

All of you thanks a lot!  :approve:  :-D
GJCV