Geeks With Blogs

Lance's TextBox » About Me » My Resume »Twitter

As I've mentioned a couple times in the past, Upcoming.org already provides a useful set of RSS feeds. On top of this, they also have a great REST API. Here's a list of "cool third-party applications" that use the Upcoming.org api.

Their RSS feeds are useful only if I know the metro code. For Raleigh, NC it is 99. So the full feed URL is http://upcoming.org/syndicate/v2/metro/99. It would be nice if I could easily piece together this URL without knowing anything other than my state and city, ie: http://upcoming.org/syndicate/v2/nc/raleigh/. But I can't. Another alternative would be if I could put the zip code in the URL and get the feed I want. But I can't.

So...I used their API, along with RSSBus, to create a set of dynamic RSS feeds for Upcoming.org events. I can now control the results of an event search by using the querystring in the URL. Now, in my local RSSBus installation, I can just use the following URL to get a list of events in my zip code:

http://localhost:1110/admin/call.rsb/upcomingSearch?location=27502

Of course I can change the value of the location querystring variable to any zip or street/metro/state combination that I like. Thanks to the Upcoming.org API, there are tons of other optional querystring arguments that I can pass along, like radius, state, venue, start and end dates, tags, and sort directives.

This upcomingSearch operation simply takes the querystring args, passes them on to Upcoming's "event.Search" method, parses the results and pushes them out as RSS. I've also implemented feeds for listing Metros, States, and Countries included in the Upcoming.org database. Later I'll put this up for download - until then email me if you want to try it.

Technorati : , ,

Posted on Wednesday, August 23, 2006 3:39 PM Programming , Software | Back to top


Comments on this post: Upcoming.org RSSBus Ops

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Lance Robinson | Powered by: GeeksWithBlogs.net