Closed (fixed)
Project:
Memetracker
Version:
6.x-1.1-alphpa5
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2008 at 20:57 UTC
Updated:
19 Jun 2009 at 01:47 UTC
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
Comment #1
kyle_mathews commentedThere'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.
Comment #2
webdev2 commentedthanks, you can close this.
Comment #3
kyle_mathews commentedComment #4
newsio commentedHello,
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
Comment #5
kyle_mathews commentedIt 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?
Comment #6
newsio commentedYes, 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
Comment #7
kyle_mathews commentedNo worries, happy to help.