Feeding Drupal in Real-Time

  • 4,544 views
Uploaded on

I gave this talk at the Guardian in London on Tuesday 14th Dec 2010, for the Drupal Drop-In event. …

I gave this talk at the Guardian in London on Tuesday 14th Dec 2010, for the Drupal Drop-In event.

In addition to the slides, I also did two live demonstrations:

1. importing Flickr photos with location data and showing them on a Google map.

2. Importing Gowalla checkins and using pubsubhubbub to show my location update in real-time on a Drupal gmap as i checked in to the Guardian HQ.

More details on my blog:
http://atchai.com/blog/feeding-drupal-real-time-presentation

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • Thanks, I find it takes a lot longer to work out the best structure and what to include / not to include, than it does to create the slides. Always best to make a start early, so you have lots of time to chew it over, iterate lots and get plenty of feedback!
    Are you sure you want to
    Your message goes here
  • This is Nice! How long does it take to create a presentation like this?
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
4,544
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
1
Comments
2
Likes
4

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Feeding Drupal * Now in Real Time
  • 2. Overview• What is Feeds module all about?• How does Feeds module work?• DEMO: Importing Flickr photos• Real-time feeds with PubSubHubbub• Very Exciting Demonstration with Gowalla!
  • 3. What is Feeds Module?• Import and aggregation framework• Creates nodes, users, taxonomy, flat data...• From RSS / Atom / SOAP / CSV / ...• Mapping of input to Drupal elements• It’s easily extensible and supports PubSubHubbub as a subscriber
  • 4. But, what about... Periodic One-off Imports ImportsAggregator Migrate Feed API Node Import User Import
  • 5. How does it work?Fetcher Parser Processor
  • 6. How does Feeds work?Fetcher Parser ProcessorHTTP RSS NODEHTTPS ATOM USER FILE FLICKR TAXONOMY ... ... ...
  • 7. How does it work? Feeds Importer {FetcherHTTPHTTPS FILE ... Parser RSS ATOM FLICKR ... Processor NODE USER TAXONOMY ...
  • 8. Let’s import some stuff Feeds Importer {FetcherHTTPHTTPS FILE ... Parser RSS ATOM FLICKR ... Processor NODE USER TAXONOMY ...
  • 9. DEMO• Importing photos from Flickr into Drupal nodes• Using location data from GeoRSS feed to display them on a Google map• Import set to run on cron every 30 mins.
  • 10. What’s wrong with that? Are we there yet? Are we there yet? Publisher SubscriberYes! Here you are. Are we there yet?
  • 11. Solution?Publisher Subscriber
  • 12. Problem Subscriber Subscriber SubscriberPublisher Subscriber Subscriber Subscriber Subscriber
  • 13. Enter PubSubHubbub • A publish / subscribe protocol • Turns Atom and RSS feeds into real-time streamsPublisher Hub Subscriber
  • 14. What does it look like?
  • 15. Step 1 of 2: Subscribe I want to subscribe to feed X, send updates to me.Publisher Hub Subscriber Are you for real?
  • 16. Step 2 of 2: Publish Hey subscribers, here’s new content forI have new content feed X for feed X Subscriber SubscriberPublisher Hub Subscriber Subscriber
  • 17. Let’s import some more stuff...• Now in real-time with PuSH• Check into Gowalla from mobile phone• See location update on Google map in Drupal
  • 18. What just happened?Publisher Hub Subscriber
  • 19. Step 1 of 2: Subscribe • When we created the Gowalla Feed node, we asked the hub to send us updates. I want to subscribe to John’s Gowalla Feed SuperPublisherGowalla Drupal Site Feedr
  • 20. Step 2 of 2: Publish • No polling • No cron runs • Real-time update SuperPublisherGowalla Drupal Site Feedr
  • 21. Any Questions?
  • 22. ReferencesFeeds Module - http://drupal.org/project/feedsFlickr Parser - http://drupal.org/project/feeds_flickrPubsubhubbub spec - http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-core-0.3.htmlSuperfeedr - http://superfeedr.com/Federated Social Web Google Group - http://groups.google.com/group/federated-social-web
  • 23. Credits• PubSubHubbub diagrams inspired by Alex Barth’s presentation at Drupalcon CPH.• Walled social network image - David Simonds (The Economist)