Re: LSWeather...how in the heck does it work!
Brian Wolven <[email protected]>
| Newsgroups | gmane.comp.windows.shells.litestep |
|---|---|
| Message-ID | <[email protected]> |
Hale, Paul wrote:
> Does anyone know of an old theme that has an example of this module that
> they know works (or worked in the past). OTS version does not matter, I
> just want to see an example.
I imagine it scraped HTML and extracted the desired info. Unfortunately the
format of all the weather sites changes from time to time, so such "hardcoded"
modules all stopped working. Now that weather.com has an apparently stable
format for their XML feed (what my script uses) a weather module could probably
be revised and have some hope of working for a while. You could probably take
the wazup code and make a "pre-configured" version that would just get weather info.
> Personally, I think that Brian's implementation of weather is the best.
> I love using it. But it just isn't ready for newb's. Plus, I think that
> it is causing some stability issues with my theme. I am sure it is
> something with my setup though and not Brian's scripts.
I found that displaying weather in a popup - or rather the regular updating of
that popup - was the cause of most problems. I just use xlabel now and it's very
stable. Andymon himself has made some less than flattering remarks about the
state of the xpopup code recently. ;)
> I would use wazup, but I just can't figure out how to scrub HTML. We
> just need an updated weather module.
You've tried dish soap and a stiff bristled brush? Or how about that pressure
washer I posted a picture of recently? =P
---------------------------------------------------------------------
Can't Unsubscribe? Check http://desktopian.org/listunsub.html
LS List Homepage: http://wuzzle.org/list/litestep.php
Get the LS FAQ: http://lsfaq.shellfront.org