This is the presentation I gave at Barcamp Brighton 3 on 6th September 2008. It gives an overview of an approach I have taken to insert timezones into my watchlist REST feed generated by Upcoming. The pipe described here is version 1 which adds a new node into the REST response. Whilst not ideal this is the current solution.
4. What do we have?
Start date, end date, start time, end time
problem: their floating times
longitude/latitude
Bad, not actually used
Country code
Good, but what about multi-timezone countries
City
OK, but it was entered as free text
4
7. Converting to a Timezone
http://www.geonames.org
Good set of web service methods
Documentation helpful
Various response formats
7
8. Process
Extract City and Country from
Upcoming Feed
SEARCH for city and country code
on GeoNames
Extract Longitude and Latitude from
GeoNames response
RETRIEVE timezone from
GeoNames
Inject into Upcoming feed
8