When, in your instructions, you say "Create a content type called "Feed Item", can you give more specifics? I assume I have to use CCK but what field and field name and type do I need in the content type?

Many thanks.

Comments

kyle_mathews’s picture

There's no need for CCK. All you need to do is create a new content type with human name of "Feed Item" and a machine name of "feed_item". You don't need any special fields that CCK would provide. The title and body are sufficient.

"Feed Item" is the content type created by FeedAPI when a RSS Feed has a new item come through.

webdev2’s picture

thanks, you can close this.

kyle_mathews’s picture

Status: Active » Closed (fixed)
newsio’s picture

Hello,

Even though this is closed, I would like to revisit the issue -- I am hung up on point 2 in the INSTALL.txt file, which reads:

2. Feedapi creates nodes from content it downloads from RSS feeds. Create a content type called "Feed Item". Then edit the node type "Feed", which is created by default when installing Feedapi. Under the Default Settings for "feed", change the Node type of feed items to the "Feed Item" node type you just created. Also select the options "Check for duplicates on all feeds" and "Refresh feed on creation."

The way I am reading this is, the node type for "Feed" needs to be changed from "feed" to "feed_item" to match the type of the "Feed Item" content type that I just created.

The issue I am experiencing is that Drupal requires that the name entered into the "type" field must be unique. In other words, I can't change the type to feed_item -- it returns an error.

Any advice on this? Did I read something wrong?

(FYI, I am a beginner with Drupal and have no programming skills. I am actually running this on a laptop using the BitNami Drupal stack, so I unfortunately cannot point you to a site to view.)

Thanks

Ian

kyle_mathews’s picture

It seems you're not looking in the right place. There's two node types here -- "feed" is the node which contains the RSS Feed. So if you wanted to download CNN articles, you'd create a CNN "feed" and past CNN's RSS feed URL there. When FeedAPI downloads articles from CNN, it creates additional nodes for each article it downloads. If you edit the "feed" node type -- one of the options (this is what the memetracker instructions are refering to) is to set the node type that FeedAPI will use to create those article nodes. For memetracker, you'll need to set that node type to "feed item".

Any clearer?

newsio’s picture

Yes, it makes sense now.

Thanks for your patience for putting up with my questions. I really am trying to learn this the hard way (i.e., through trial and error) and there may be a few more coming down the pike!

Ian

kyle_mathews’s picture

No worries, happy to help.