Weather.com XML download??

Need Fix, Almost ready to finish a new DesktopX Theme that is COOL!

Thursday, May 14, 2009 by Automan | Discussion: DesktopX Tutorials

Hi Folks;

I have a fix that I have done to the XML files that are downloaded from Weather.com XML, for use with DesktopX Weather.

The deal is that as many of you know Weather.com started adding their advertizing to the XML file which in turn changed the file and Weather.com  won't budge from doing this. I have purchased some of their Weather Subscriptions and also have signed up for the free Weather XML. I emailed them complaining with now reply from their support form page???

So I started thinking that if I opened one of the downloaded XML files and took out the Gardening and other Advertizing things then save the file back with the same name. The section looks like this next.

- <lnks type="prmo">
- <link pos="1">
  <l>http://www.weather.com/allergies?par=xoap&site=textlink&cm_ven=XOAP&cm_cat=TextLink&cm_pla=Link1&cm_ite=Allergies</l>
  <t>Local Pollen Reports</t>
  </link>
- <link pos="2">
  <l>http://www.weather.com/flights?par=xoap&site=textlink&cm_ven=XOAP&cm_cat=TextLink&cm_pla=Link2&cm_ite=BusinessTraveler</l>
  <t>Airport Conditions</t>
  </link>
- <link pos="3">
  <l>http://www.weather.com/garden?par=xoap&site=textlink&cm_ven=XOAP&cm_cat=TextLink&cm_pla=Link3&cm_ite=Garden</l>
  <t>Lawn and Garden Weather</t>
  </link>
- <link pos="4">
  <l>http://www.weather.com/traffic?par=xoap&site=textlink&cm_ven=XOAP&cm_cat=TextLink&cm_pla=Link4&cm_ite=Traffic</l>
  <t>Rush Hour Traffic</t>
  </link>
  </lnks>

Presto!!! If a small script was built that would on a schedule that would just open the saved XML file silently, not seen, then strip the listed section out of the XML files, " The Advertizing Section" it's only in one small section on every file that needs to download.

Now i can't make the script myself but I don,t want to have to take the time to learn another program to get the weather. So as an Science Engineer, I came up with this fix.

Now can some one help on this little project? I don't have Visual Basic installed to get the build myself. But I know that using a script a file can be opened and it can also look for a certain section of the file, cut it and then save th file. I could even have a setup section that woulld ask for the files to strip and save, though I think it would better to just place the location of the file and name in the script then open it, then cut the section out and save it with the same name.

Then when Weather.com decides to place anything else in, the script can be edited to encompass the changes.

Let me know if this it possible please and maybe    , just how to build this.

I will be showing this new DesktopX Theme in a day or so, just have to fix a few really cool and easy to use menues.


Thanks for listening folks.
Automan

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01