Forecasts Coming Soon!
Posted 2005 Mar 14Forecasts should be coming soon to the Quicksilver Weather Plugin.
What I really wanted to do was use XSLT to reformat the weather data, but there just wasn’t a feasible implementation. libxslt support exists, but dynamically loading it from a Framework proved extremely difficult (if not impossible). I’d completely given up - hoping that Tiger will have better XML support - until I read that Sherlock has a built-in XQuery engine!
Unfortunately, the data it returns is not toll-free bridged to native Cocoa types, but my requirements aren’t too complex. In fact, I’m really just returning a block of text wrapped in place-holder tags. The biggest hurdle has been learning XQuery! It’s not particularly difficult and studying it (and XSLT) has certainly opened my eyes to better ways of dealing with XML.
All that being said, I’ve got XQuery working and the data formatted, I just need to start integrating it into my plugin. Hopefully, I’ll have something to test soon!
Jake
2007 Sep 06 at 18:18Stupid question – how do I get the weather app to work/ activate/ initialize or start it?