Feed Aggregator Setup

This video shows you how to display content from RSS and Atom feeds on your site by using the core aggregator module. Includes instructions on how to display imported feed items in a block.

Bookmark and Share Bookmark or Share Post

Comments

Anonymous's picture

Your Tutorials Rock!

Thanks man! I'm new to Drupal and this RSS tutorial video really helped. I appreciate it.

Anonymous's picture

A few questions

How do I show only excerpts of news from feeds and hyperlinks within the news are not being parsed. I have < a > in the html allowed list, but the links in the content are not links? Any ideas?

learnbythedrop's picture

Feed Excerpts And Links

The built in feed aggregator is a simple one and doesn't allow too much control over the content that it pulls in. So if you want to present only excerpts I think that you might want something more advanced like the Feed API module. Feed API captures the content as nodes so you can use Views to control the display and the items will show up in search results.

I'm not sure about the link issues you're having. Perhaps a link to the place where you're testing it out would help.

Anonymous's picture

I tried Feed API it is too

I tried Feed API it is too complicated to use. I have been able to rectify the links issue. I tried Feed API but there I wasn't able to get it to show the feeds let alone excerpts of them. :P

Anonymous's picture

how to lose the News aggregator title

This is a good resource, thanks for your efforts.
I dont like this title "news aggegator", it's only useful to techies and I'd like to just rename it selected blogs and news, or something.
How can I do that?

learnbythedrop's picture

Aggregator Title

I assume that you're talking about the title at the top of the page at http://learnbythedrop.com/aggregator. Take a look at http://drupal.org/node/24593 and see if that solution helps. Otherwise I haven't been able to find anything more on the topic.

Jason's picture

Exactly what I was looking for...

Thanks for the tutorial. Sometimes the simple things are hardest to figure out in Drupal. I missed the all important step of enabling the module and your tutorial got me on track and answered my questions.

Keep up the good work!

Anonymous's picture

aggregator not showing feeds

I've not been able to update my feeds so they're not showing. For 3 weeks I've not been able to find someone who can give me a clue as to what I'm doing wrong. When I run update, I get this message:
Warning: MySQL server has gone away query: INSERT INTO drup_watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (1, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:687:\"MySQL server has gone away\nquery: INSERT INTO drup_watchdog\n (uid, type, message, variables, severity, link, location, referer, hostname, timestamp)\n VALUES\n (1, 'aggregator', 'The feed from %site seems to be broken, due to an error \\"%error\\" on line %line.', 'a:3:{s:5:\\"%site\\";s:32:\\"Chad and Sudan agree to end feud\\";s:6:\\"%error\\";s:31:\\"not well-formed (invalid token)\\";s:5:\\"%line\\";i:17;}', 4, '', 'http://givepacc.com/?q=admin/content/aggregator/update/2&a in /home/givepacc/public_html/includes/database.mysql.inc on line 128

Any help will be appreciated.

Anonymous's picture

Great video

Extremely helpful. Within the first few minutes of this video, you answered my question. Thanks!

Anonymous's picture

Re: Feed Aggregator Setup

I have been trying to us Aggregator to display Facebook Wall/statuses on my site. Facebook provides an RSS/Atom feed which I was able to establish in a block on my sidebar. However, only links to the albums in Facebook are working. All other posts use my site as the base URL.

It looks like this Drupal usesr is having the same issues:
http://drupal.org/node/775690

Any help would be appreciated!

learnbythedrop's picture

Re: Feed Aggregator Setup

I haven't tried pulling feeds from Facebook but based on the info in the link it seems like the issue is on the Facebook side of things. I would try one of the modules that connects directly to Facebook and see what happens.

Anonymous's picture

Re: Feed Aggregator Setup

Dear Rob!
I totally love your tutorials... Many thanks for these!
I can display feeds on my website but clicking on these, user will leave my website to go to source website... How can I either
1. open a new window while clicking on a feed item ..... (so my website remains there)
or
2. open feed within my website...
Regards

learnbythedrop's picture

Re: Feed Aggregator Setup

Unfortunately the core aggregator is pretty limited in that it doesn't give you options on how to open links. A better importer that offers more options, but is also more complicated is the newer Feeds module. http://drupal.org/project/feeds

If you're committed to importing content I recommend that you work with the Feeds module as you will have many more options for how the content is displayed and organized with that module.

Anonymous's picture

Re: Feed Aggregator Setup

Great Video, but I could not understand how could you get the feed link. Can you explain please. Best

learnbythedrop's picture

Re: Feed Aggregator Setup

I'm not 100% sure what you mean by "get the feed link." If you mean the link that I plug into the Feed Aggregator settings, that just comes from the site that I want to pull in content from. Sometimes it will has and address that ends with "/feed" and sometimes the site will have a link that specifically is identified as an RSS feed.

Post new comment

Important
All comments on this site are moderated to prevent spam. Although we also use the Mollom module we have found that some gets through and that also affects people who have subscribed to email notifications. If you would like your comment to appear immediately please login with Google Friend Connect which supports your Google, Twitter or Yahoo account.
Google Friend Connect (leave a quick comment)
Loading
The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
Mollom CAPTCHA (play audio CAPTCHA)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.