Hi! I'm new to Drupal. Very new. I just started last week.

I need to filler content to start working with some of the features, and since many of our articles are going to come from RSS feeds, I thought I'd jump right in to that.

My question is how I can import from an RSS feed in Drupal? Let's say I want to use this one: http://www.catholicnews.com/rss/cns-top-story.xml. What are the steps involved in setting this up so that these feeds generate articles based on the content every 30 minutes or so? Oh, and I put a custom data field on my articles for "Category" so I can specify which category these articles are supposed to be.

I couldn't really find a straight answer on Google (at least not that I could understand) so maybe I'm approaching this incorrectly.

Thanks for any help you can offer!
Brendan

Comments

peterjlord’s picture

bdparker’s picture

Thanks! That was helpful and reassured me I was taking the right approach.
I stopped this approach because I couldn't figure out how to access the Feeds menu. I'm still confused. It's not explained, and the videos don't help because it's not in the place they say it is. I tried going directly to the URL and that doesn't work either.

How do I find feeds in my admin menu?

bdparker’s picture

Oookkk... I think I figured it out. This video was quite helpful: https://www.youtube.com/watch?v=bXtMqfkSl74

One thing I'm still struggling with (and maybe I missed this in the settings) is that I want to import these articles with a specific category listed. I created a "category" variable for my articles. Is there a way to set this with feeds? I want all my articles from certain feeds to be entered as certain categories.

Thanks!
Brendan

vm’s picture

bdparker’s picture

Well, I tried messing around with it more, but no success. I think the Feeds Tamper plugin is close to what I need, but it seems I need to make a separate rss or csv document with the values already inside. I can't just import something with assumed values.

An example would be that a lot of RSS feeds have an author credited. I want to import that feed, but use a different string in place of the author name.

Is there anything out there which can do that?

peterjlord’s picture

If you can code a little php it's quite easy to achieve what you want to do.
Good example http://www.mikestiv.com/blog/using-feeds-api
If not feeds tamper is your best bet. I messed with it and ended up using some hooks shown in the link.