[mythtv-commits] Ticket #3303: Mythweb Weather throws error when MSNBC unavailable
MythTV
mythtv at cvs.mythtv.org
Thu Apr 19 21:29:56 UTC 2007
#3303: Mythweb Weather throws error when MSNBC unavailable
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: xris
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythweb | Version: head
Severity: low | Resolution:
-----------------------+----------------------------------------------------
Comment(by anonymous):
The info that mythweb used to get at
"http://www.msnbc.com/m/chnk/d/weather_d_src.asp?acid=" + locale" is now
available at "http://weather.msn.com/local.aspx?wealocations=wc:" +
locale" using the same location codes. I think the weather descriptions
and icons are the same as msnbc was using, because it turning out that
it's not to dificult to write a new parsing routine in the weather.cpp
file(-I LOVE OPEN SCOURCE :)-). I currently have a working
libmythweather.so file that is only missing the extended forecast info and
a little bit of tomorrows forecast. I tested it with a couple of different
location settings and everything seems to work good, even worked with a
Great Britton location, although my one hardcoded peice of info(contry
code variable) shows up when its not supposed to on non USA locations but
doesn't affect the workings. As soon as I have more time I will post a
link to a new libmythweather.so file.
P.S. This will have NO affect on the mythweb weather module as far as I
know. But it looks like some people have already started that fix. :)
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3303#comment:17>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list