AmzWish    AWSLink    DynamicEvents    FeedMapper    RSS-to-iCAL    Tracking    TwitterMinder    Blog   Contact
Other Feeds
Upcoming.org dynamic RSS feed

Location:

Example searches:

See the code for search.rst (this is just an RSSBus script).

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.

The only problem is, 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, again, 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://www.textbox1.com/apps/DynamicEvents/search.rst?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. Try it using the textbox and button above.

 

 

 

 


2008, Lance Robinson Powered by RSSBus v2 View RSSBus Source