Drupal Feeds Social module

Get search feeds from Twitter and aggregate them into nodes

Published on June 12, '10
by Serban Ghita
1
Comment
ShareThis

I noticed the Feeds module intitative couple of months ago, and ever since i tried to find a way to make it work with custom feeds like Twitter search feed. Of course there are talks about how to do this, but i wanted a module that does it all for me.

This is how i started a little discussion about grabbing Twitter search feeds and aggregate them into nodes, and after moonray contacted me, we quickly made the module which extends the Feeds and does the following:

  • adds new Feed Importer called Twitter
  • adds Twitter Parser to the list of Feeds parsers
  • adds custom node types: feed_twitter and feed_item_twitter
  • maps the feed fields to the custom node type created feed_item_twitter

Description
Agregate public feeds from popular social networking sites directly into custom created nodes.

Dependecies
Feeds, CCK and optional Views

Readme
Unzip the module in sites/all/modules/. Folder should be feeds_social/.

Go to /admin/build/modules and activate the module.

Next you should see the Import link /import (the link should be in your left sidebar), and you should now see 'Feed (Twitter)' importer, click on it (/node/add/feed-twitter). At this stage you have to add a node which correspond to the feed you need to insert into nodes.

Say the feed is http://search.twitter.com/search.atom?q=drupal then just enter the Title: 'Drupal search feed from Twitter.com' and the URL: http://search.twitter.com/search.atom?q=drupal and hit 'Save'.

You will see a progress bar with the text Importing, then:

Feed (Twitter) Drupal search feed from Twitter.com has been created.
Created 15 Feed item (Twitter) nodes.

 

If you have Views module enable you should be able to see the /feeds_twitter page already customized.

 

 


Download
Latest versions are posted here: http://drupal.org/node/804738 until my application is approved by the Drupal staff.

Update 03 aug 2010: My Drupal CVS account was approved, check out the dedicated project page for Social Parsers for Feeds

Comments

Hanno
Written on: 26 July 2010

Useful module! I added this to the documentation of upcoming Feeds plugin contributions. And hope to be able to test it soon.

Post new comment

This blog is intended to foster polite on-topic discussions. Comments failing these requirements and spam will not get published.