Adding timezones into Upcoming feeds

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Adding timezones into Upcoming feeds - Presentation Transcript

    1. Adding timezones into your Upcoming feed Matt Harris 1
    2. Problem Upcoming doesn’t know about timezones Their events are “floating” Different timezone events show as the same timezone in your calendar 2
    3. Solution Add a timezone to the event ... but how? 3
    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
    5. Example Feed { \"venue_state_name\":\"England\", \"venue_country_code\":\"uk\", \"username\":\"adactio\", \"venue_zip\":\"SW1P 3NZ\", \"tags\":\"\", \"status\":\"watch\", \"metro_id\":\"49\", \"end_time\":\"17:00:00\", \"venue_id\":\"69299\", \"venue_state_code\":\"london\", \"end_date\":\"2008-09-16\", \"latitude\":\"\", \"venue_phone\":\"020 7390 1590\", \"personal\":\"0\", \"user_id\":\"81213\", \"id\":\"449191\", \"venue_address\":\"Dean's Yard, \"start_date\":\"2008-09-15\", Westminster\", \"geocoding_ambiguous\":\"\", \"venue_name\":\"Church House ... \", \"venue_city\":\"London\", \"venue_state_id\":\"59\", \"longitude\":\"\", \"venue_country_id\":\"6\", \"venue_country_name\":\"United Kingdom\", \"venue_url\":\"http:\\/\\/url\\/\", \"name\":\"@media Ajax\", \"title\":\"\" \"start_time\":\"09:00:00\", }, \"geocoding_precision\":\"\", \"description\":\"After a hugely successful, ....\", 5
    6. Finding the timezone Couple of providers with APIs Geonames Google Yahoo Location Extractor 6
    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
    9. Considerations Time of response - caching? Frequency of change, how do we keep this up to date? 9
    10. Step up Yahoo Pipes 10
    11. Further Info http://www.themattharris.com http://pipes.yahoo.com/themattharris/ upcomingusergetwatchlist Thanks also to Kent Brewster,Yahoo Inc for Pipes help 11

    + Matt HarrisMatt Harris, 2 years ago

    custom

    512 views, 0 favs, 0 embeds more stats

    This is the presentation I gave at Barcamp Brighton more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 512
      • 512 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 2
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories