Feed API Tutorial

snorkers's picture

I've been using Feed API for sometime, but it is incredibly complicated yet versatile. The first time I saw a demo I was briefly enlightened, then thoroughly confused.

In a nutshell, you need 2 dedicated CCK content types: 1 to store all the nodes you suck in (suckee?), and another type to do the mapping (sucker?). The suckee would be something like a 'News' content type; the sucker would be enabled for Feed API, and you set it to map to 'suckee' content types. You then do /node/add/sucker to create an instance, and enter the URL of the feed; refresh your feed; new nodes created. Err that's it.

However, I forgot to mention a great video tutorial on the subject at http://gotdrupal.com/videos/drupal-views-enhanced-with-beauty-tips-module. Although the video is aimed at the Beautytips module (in itself a great module), the first 2/3 talks about setting up a feed with Feed API. As always, the Got Drupal videos do a fantastic job of explaining something that can be a bit too much. Over to you Matt...

Groups:
Login to post comments

Great tip!

Miguel-gdo's picture
Miguel-gdo - Wed, 2009-09-02 05:44

Thanks for sharing the link! I've had this personal project in gestation that uses FeedAPI. But at first, having never done an aggregator-type site, it was hard for me to wrap my brain around all the moving parts. I came across that video & it helped immensely. There's still bumps in the road but it's par for the course when you're learning something new. ;)


Nice!

anonymous07 - Sat, 2009-11-28 18:45

Good video ... reminds me of another good one here: http://www.drupaltherapy.com/feedapi