BoomX2 wrote: > As requested, I've spent a fair amount of my spare time investigating > the changes to weather.com and learning about JSON and how to transfer > it into perl data structures. I've had more success than I expected. > (not a programmer) > > I expect most of you will move on to use tcutting's WU API variant of > SDT. However, if there are any of you interested in a "resurrection" of > a weather.com capable SDT I have attached a plugin.pm file with my > initial results extracting and parsing weather.com JSON data into SDT. > Still a lot to do. > > What I have working seems to work as before. The one big caveat is you > need to change your weather.com city code to the complete city > identifier. > i.e. - Olathe KS = 66062:4:US > London UK = UKXX0085:1:UK > > Cheers... Don > > PS - I expect weather.com may be more stable going forward since they > moved to JSON data. They can reformat the webpage all they want and > still use the same JSON data files.*BoomX2*/Don... you have done an amazing > job. Seriously. You SAY you're not a programmer? Nonsense. I assure you, you certainly are one given the code you've written.
Pulling the JSON data the exact same way that weather.com does (as opposed to using their published API, which is what I've been looking at and what *tcutting *got working) is a *very* cool idea. This is great. I can't wait to get home to install your new version and try it out. As somebody already said, no harm at all in having multiple alternatives. I'm looking forward to comparing the results. Bravo, well done, and thank you so very much for your excellent work for the community. I know I certainly appreciate it. Thank you again. This isn't the first time you've come through for the community, and we're all better off for your contributions. ------------------------------------------------------------------------ PeterGV's Profile: http://forums.slimdevices.com/member.php?userid=31531 View this thread: http://forums.slimdevices.com/showthread.php?t=14327 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
