Page 1 of 5

XoapWeather 1.2

PostPosted: Thu Dec 15, 2005 7:07 am
by Atlas
I've decided to attempt to support the xoapweather plugin. Mainly to expand my knowledge with C# and Xlobby plugins. Thanks to Jonathan for releasing the source code!

First time users can look at this link for features etc. This is the 1.1 link
http://www.xlobby.com/forum/viewtopic.php?t=1894


New update requests and bugs for me to attempt to add/fix need to be posted in this topic.

Here is a list of some things I changed/added.

* When adding a location, the auto detect of the radar image is working again.

* Updated weather.com image on configuration page to their latest version in sdk.

* Bundled weather.com images in addition to original images in case anyone would like to use them.
You will need to rename the dir weathercom_images to images in the xoapweather plugin dir.

* Added Hour By Hour forecast capability. Currently only grabs 12 hours. Can be accessed by
plugin>xoapweather>current>hourly>1>%houroutlook%.
The number range is 1-12.

* Updated default variables to include hourly. To see the new variables you will need to remove your existing variables.xml from the xoapweather plugin directory. If you have any custom variables in your variables.xml file just move it out of the way and add them to the new setup.

* Added a new variable 'dayabbrv' to get 3 letter day. (Mon, Tue, Wed) etc. I believe some others had modified code to accomplish this, but can be done in the variables setup.


Here is a list of things I will be adding
* Change all date/time text into DateTime objects so they can be formated with ddd, MM, etc.
* Add # of hours for hourly forecast to configuration setup
* Add choice of radar or satellite image for default map
* Fix metric not being used in detail forecasts. This actually comes from weather.com incorrectly. Will modify in plugin.


Here is the link to the new zip file
http://prdownloads.sourceforge.net/xoap ... p?download

Let me know of any issues as this is my first attempt with c# and visual studio compiler. :D

PostPosted: Thu Dec 15, 2005 4:34 pm
by Naylia
Yeah!! Very cool to see someone pick this up! :D

PostPosted: Thu Dec 15, 2005 5:35 pm
by hvs69
ditto

PostPosted: Tue Dec 27, 2005 1:13 pm
by JLF
Atlas, Thanks for picking this project up. I love the changes and am really looking forward to the next update. Even my wife is impressed with the new hour by hour data. Thanks again, JLF

PostPosted: Mon Mar 20, 2006 3:55 am
by e268
I just installed the new xlobby2prerelease1 and this xoapweather1.2 does not work in the default skin. If I go to HeavyMetalws skin it will work. Will there be an update soon? TIA.

PostPosted: Mon Mar 20, 2006 5:02 am
by Atlas
The default skin is designed to use the Xweather plugin not Xoapweather. The HeavyMetal skins were designed for Xoapweather plugin. The Xoapweather plugin gets its info from weather.com. I'm not sure where Xweather gets it's info.

Access xoapweather through plugin>xoapweather
Access xweather through plugin>xweather

You would need to modify the default skin if you want to use xoapweather with it. BTW Xweather should come with the xlobby2prerelease1

saving locations in XoapWeather1.2

PostPosted: Wed Apr 12, 2006 3:24 pm
by ParishMills
Hi fellas. I'm a returning newbie here. I'm using the Heavy Metal WS skin and have installed the XoapWeather 1.2 plugin. Well, Xoap's working great except for one small problem. I load up different locations I'm interested in, save them, and then check it out and everything works. As soon as I exit out of the program, I seem to lose all the saved information. I'll open Xlobby back up and there's no locations saved. Any ideas why?

Also, great site!

PostPosted: Wed Apr 12, 2006 3:44 pm
by ParishMills
Please dismiss my last entry. I started going through my plugins folder and noticed that I had one too many files. This all occured while I was I was trying to work with both xweather and xoapweather. Anyway, once I deleted this file, everything is working normally.

PostPosted: Wed Apr 19, 2006 7:43 pm
by stigzler
Sorry, bit of a newb to xlobby and stumbling around a bit, but....

Installed colby skin 2 and xoapweather 1.1. It's workin fine but does this only work for the US? Seems you can configure Xweather for UK as well. Can you do this with xoapweather?

thanks,

PostPosted: Thu Apr 20, 2006 1:10 am
by Atlas
Yes you can configure for UK. Just put the city/town in location field and hit search. Should come back with all choices including UK.

PostPosted: Fri Apr 21, 2006 10:13 pm
by stigzler
thanks atlas. got confused because xweather found my town, but xoap could only find my nearest city - that'll do though, only 20 miles away! Anyways makes no difference:

"Yearly forcast: England - cold and miserable...."

PostPosted: Fri Apr 28, 2006 12:28 pm
by scottw
Maybe I am missing something but is it possible to have multiple radar images displayed for one zip code like in Xweather??

PostPosted: Fri Apr 28, 2006 4:02 pm
by PhilB
Great selection of weather images but the selection of only 1 is why I use xWeather instead.

It would be idea if we could have a catagory-like list that the user can select directly from the XL UI.

xWeather provides 4 images but they are displayed in order and you cannot drop any of the 4 if you dont like one, so it has pros and cons 2.

Thanks,
PB

PostPosted: Fri Apr 28, 2006 7:18 pm
by Marbles_00
PhilB,

It is easy enough to add your own category with weather images. You can add an event to update the images when the weather screen updates as well. I'm currently messing with a skin that has a choice of 11 weather images from http://www.theweathernetwork.com.

Here's my database, use as a template and modify what you want (if you want to use it at all):
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<database>
<sortorder>display</sortorder>
<template>webimages</template>
<paths>
<path>C:\Program Files\xlobby\skins\ZoneSkin\databases</path>
</paths>
 <item>
 <coverart>http://www.weathernetwork.com/weather/maps/images/satrad/sat/Rgoes_Ontario_450T8.jpg</coverart>
 <display>Satellite Image</display>
 <information>
  <display>http://www.weathernetwork.com/weather/maps/images/satrad/sat/Rgoes_Ontario_450T8.jpg</display>
 </information>
 </item>

 <item>
 <parameter>http://www.weathernetwork.com/weather/maps/images/satrad/rad/Crad_GMT_450T8.jpg</parameter>
 <coverart>http://www.weathernetwork.com/weather/maps/images/satrad/rad/Crad_GMT_450T8.jpg</coverart>
 <display>Radar</display>
 <information>
  <display>http://www.weathernetwork.com/weather/maps/images/satrad/rad/Crad_GMT_450T8.jpg</display>
 </information>
 </item>

 <item>
 <parameter>http://www.weathernetwork.com/weather/maps/images/floods/canada_obs.jpg</parameter>
 <coverart>http://www.weathernetwork.com/weather/maps/images/floods/canada_obs.jpg</coverart>
 <display>Current Temperature</display>
 <information>
  <display>http://www.weathernetwork.com/weather/maps/images/floods/canada_obs.jpg</display>
 </information>
 </item>

 <item>
 <parameter>http://www.weathernetwork.com/weather/maps/images/floods/can_pop_p4.jpg</parameter>
 <coverart>http://www.weathernetwork.com/weather/maps/images/floods/can_pop_p4.jpg</coverart>
 <display>Percipitation</display>
 <information>
  <display>http://www.weathernetwork.com/weather/maps/images/floods/can_pop_p4.jpg</display>
 </information>
 </item>

 <item>
 <parameter>http://www.weathernetwork.com/weather/maps/images/floods/can_temp_obs.jpg</parameter>
 <coverart>http://www.weathernetwork.com/weather/maps/images/floods/can_temp_obs.jpg</coverart>
 <display>Temperature Map</display>
 <information>
  <display>http://www.weathernetwork.com/weather/maps/images/floods/can_temp_obs.jpg</display>
 </information>
 </item>

 <item>
 <coverart>http://www.theweathernetwork.com/weather/maps/images/floods/can_humidex_obs.jpg</coverart>
 <display>Humidex</display>
 <information>
  <display>http://www.theweathernetwork.com/weather/maps/images/floods/can_humidex_obs.jpg</display>
 </information>
 </item>

 <item>
 <coverart>http://www.theweathernetwork.com/weather/maps/images/floods/can_eoliens_obs.jpg</coverart>
 <display>Wind Temperature</display>
 <information>
  <display>http://www.theweathernetwork.com/weather/maps/images/floods/can_eoliens_obs.jpg</display>
 </information>
 </item>

 <item>
 <coverart>http://www.theweathernetwork.com/weather/maps/images/floods/currentfronts.rgb.jpg</coverart>
 <display>Weather System Fronts</display>
 <information>
  <display>http://www.theweathernetwork.com/weather/maps/images/floods/currentfronts.rgb.jpg</display>
 </information>
 </item>

 <item>
 <coverart>http://www.theweathernetwork.com/weather/maps/images/floods/can_vent_obs.jpg</coverart>
 <display>Current Wind Speeds</display>
 <information>
  <display>http://www.theweathernetwork.com/weather/maps/images/floods/can_vent_obs.jpg</display>
 </information>
 </item>

 <item>
 <coverart>http://www.theweathernetwork.com/weather/maps/images/floods/Act_Nat_Aft.rgb.jpg</coverart>
 <display>Active Weather Patterns</display>
 <information>
  <display>http://www.theweathernetwork.com/weather/maps/images/floods/Act_Nat_Aft.rgb.jpg</display>
 </information>
 </item>

 <item>
 <coverart>http://www.fourmilab.ch/cgi-bin/uncgi/Earth?img=learth.evif&amp;imgsize=320&amp;dynimg=y&amp;opt=-p&amp;lat=&amp;lon=&amp;alt=&amp;tle=&amp;date=0&amp;utc=&amp;jd=</coverart>
 <display>Earth Rotation</display>
 <information>
  <display>http://www.fourmilab.ch/cgi-bin/uncgi/Earth?img=learth.evif&amp;imgsize=320&amp;dynimg=y&amp;opt=-p&amp;lat=&amp;lon=&amp;alt=&amp;tle=&amp;date=0&amp;utc=&amp;jd=</display>
 </information>
 </item>

</database>


The last one is cool as it shows the earth's rotation. I have the category set up to display 2 columns of 2 (4/page for 3 pages), and selecting on any image will show a blowup of that image. Easy as punch.

Hope this was helpful.

David

PostPosted: Fri Apr 28, 2006 8:30 pm
by PhilB
Marbles:

Can you share the skin page that uses the catagory? I got the database set up but seem to be stuck there. No images display even though the URLs work from your sample. It would help if I could poke at a working skin file. I can provide an FTP if you need that.

Thanks,
PB