Closed (fixed)
Project:
Memetracker
Version:
6.x-1.1-alphpa5
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2008 at 22:18 UTC
Updated:
22 Jan 2009 at 22:11 UTC
I've been attempting to set up feedapi, but when I create a content type named Feed Item, I'm not sure if I'm also supposed to create a type of feeditem. I tried that, but then I tried to change the type of "Feed" to feeditem, and got all sorts of errors.
Any chance you could clarify this?
Thanks.
Comments
Comment #1
kyle_mathews commentedIf I understand what you did correctly -- you're problem was trying to change the node type that holds feeds to "feeditem" There are two node types that are needed as they hold two types of content.
"Feed" nodes holds the RSS feeds. If you want FeedAPI to import content from say Techcrunch, you create a "feed" node with Techcrunch's rss feed url.
"feeditem" holds items extracted from within the feed. When FeedAPI parses a feed, it creates nodes to hold those items (blog posts normally) from within the feed.
The default node type to hold the feed items is story. But story is a core content type so normally used for other purposes than holding feed items. It's cleaner and more drupally if you create a new node type to hold the feed items. That's why I say create the feed item node type.
Once you've created the node type feed item -- you need to edit the "feed" content type and tell it to save new feed items as the "feeditem" node type.
That clear things up?
Comment #2
outraegis commentedYep. Works quite well.
Comment #3
kyle_mathews commentedGlad you got it working.
Comment #4
lugha commentedI have followed these instructions, but am having a problem. I created a node/content type called News. However, that never appears in the processor section. The only options I have for the feed item are blog entry, Story, Page and Feed. Why wont my new content type appear?
Comment #5
kyle_mathews commented@lugha
That's weird. I'm not sure why that would happen. Are you logged in as user 1 (the first user account you created)? It might be some weird permission issue. Can you verify for me that you can create a news node?