Results 1 to 7 of 7
  1. PSB22's Avatar
    Posts
    192 Posts
    Global Posts
    203 Global Posts
       #1  
    I've been searching around for quite a while to find a way of putting a small (scalable) weather map on the today screen, without using one of the today weather plugins that seem to cause so much of a problem with memory hogging. Anyway, here's my solution...

    1) Download a free today plugin called "active today" made by Novosec. It is discontinued (replaced by pocketfacelift which costs $), but can still be had from here...
    http://www.download.com/3001-2178_4-10193784.html It is basically a plugin that will allow you to display an html feed on your today screen. It doesn't take up nearly as much room as other plugins (the .exe installer is only 140kb). I had also considered trying a feed using pocket RSS reader, but the application is arounf 500kb (the .cab file alone is nearly 900kb). This seemed like the smallest way of displaying an html file in the today screen (if anyone knows a smaller one, speak up!).

    2) Go to this website http://mobile.wunderground.com/auto/mobile/ and type in your zip code. On the forecast page that comes up, click the "radar" link at top center. This takes you to a page called "current radar". Click the link below the image entitled "zoom into animated radar image". This takes you to the animated radar page. This is the image you want to edit for your today screen.

    3) Right click on the animated .gif, and select "view image". This should bring the image up in its own window. In the path bar of your browser, there should now be a whole string of parameters. You can play around with these to get the image exactly how you want it... "centerlat" and "centerlon" defines the latitude and longitude to center the map on, "radius" says how big of an area to cover (124 is the default and this includes city names & road map detail. I found 200 is a good number to avoid this clutter), "num" is the number of frames to show (10 is good), "delay" is the delay between frames, 6-8 is good, a higher number is slower, "width" & "height" are self explanatory, I used 200x200. No idea what the other parameters do.

    4) Keep the browser window open. Now open word pad or your favorite html editor and create a new file with the following text:
    <img src=copy and paste info from browser path bar here>
    Save the file with a simple filename such as myweather.txt, then re-name it to myweather.html out on the desktop. Double click and open the html file in your browser to make sure the image looks how you want it, and adjust parameters if necessary.

    5) Sync and copy the .html file you just made onto your device. I put it in the root of the device since that's easy to find.

    6) In the settings of Active Today plugin (which can be accessed thru' Today Screen Settings>Items>pfaceHTML > options, you can now enter the location of your html file. If its in the root like I did, then type "file:///weather.html" in the box at the top.

    That's it, your today screen will now display a weather radar image, as part of an html file. There is an option to display an animated gif on the today screen, but it must be native on the device, not at a URL, so that doesn't work for me. Also I found that just typing in the image location alone in the settings window does not work - the plugin only seems able to parse html, not to deal with an image file as a URL.

    Memory - after a soft reset (Treo 700W, I'm running Scott Seligmans Launcher, .netCF, and a few other things in native memory not on a card), I am left with 13.5MB in use, 11.5 free.

    Known problem - I have no idea how often the html file refreshes, or indeed how to force it to refresh. Any suggestions on this would be great. Also a way in which to use a clear background, so it doesn't overlay the themes image would be nice. Any other suggestions?
  2. FDLuke's Avatar
    Posts
    48 Posts
    Global Posts
    82 Global Posts
    #2  
    Great find! I was wondering if it was possible to get this exact radar on the phone. I will try it out when I get home.
  3. #3  
    This is slick!! Nice find and writeup... I can't wait to try this when I get home!!
    -Proud Treo 750V (UMTS), 700WX (EVDO) and PPC-6700 (EVDO) owner on the go...

    <a href="http://www.flickr.com/photos/oly/sets/72157594244138528/" target="_blank">OLY's GADGET PHOTO BLOG</a
  4. PSB22's Avatar
    Posts
    192 Posts
    Global Posts
    203 Global Posts
       #4  
    OK, figured out a way to refresh it (DOH! my html editing skills are all forgotten from many years back)....

    The following text needs to be inserted in the html file below the image...
    <a href=weather.html>refresh</a>
  5. FDLuke's Avatar
    Posts
    48 Posts
    Global Posts
    82 Global Posts
    #5  
    The following text needs to be inserted in the html file below the image...
    <a href=weather.html>refresh</a>
    How often will it refresh?
  6. #6  
    [QUOTE=PSB22;1102057]

    3) Right click on the animated .gif, and select "view image". This should bring the image up in its own window. In the path bar of your browser, there should now be a whole string of parameters. You can play around with these to get the image exactly how you want it... "centerlat" and "centerlon" defines the latitude and longitude to center the map on, "radius" says how big of an area to cover (124 is the default and this includes city names & road map detail. I found 200 is a good number to avoid this clutter), "num" is the number of frames to show (10 is good), "delay" is the delay between frames, 6-8 is good, a higher number is slower, "width" & "height" are self explanatory, I used 200x200. No idea what the other parameters do.

    QUOTE]

    Great find, but this step does not bring the results as you explain. I get all the way to the portion were I need to right click on the .gif and I do not get an option to "view image".

    Any thoughts?
  7. PSB22's Avatar
    Posts
    192 Posts
    Global Posts
    203 Global Posts
       #7  
    what browser are you using? I was using firefox, which has a "view image" function (i.e. open the image in a window by itself) on the right-click menu. Not sure how to do this in IE6. maybe use the view page source option, then sift through the html to find the IMG SRC tag to paste into the path bar in your browser and play with

Posting Permissions