|
RSSBus is good for more than just generating RSS feeds or helping you easily create an API for your data or services. Its also useful in easily outputting other formats as well, such as KML (an XML format for Google Earth).
For example, recently Tim posted an example of using XmlTextWriter to generate KML. For most of ius, its not rocket science, but compare his code and the ease of writing it with how it can be done with RSSBus. With RSSBus you can just literally write the XML and plug-in the values you want to change with variables like [icon], etc.
Tim's example takes three querystring variables: lon (a longitude coordinate), lat (a latitude coordinate), and icon (an icon to mark the location in Google Earth). Below is the same example as an RSSBus template. Simply hit the template with your own lat, lon, and icon, and the KML is generated and opened on your machine. If you do not provide a lat, lon, and icon it will default to Bank of America Stadium where the Carolina Panthers win.
You can hit this script live here.
Also check out FeedMapper, which can also generate KML (as well as Virtual Earth and Yahoo maps) for entire feeds.
Technorati : atom, kml, rss, rssbus
|