Hi, I'm pulling a bunch of different sports feeds in, using feedapi. I'm converting the items to nodes and assigning taxonomy based on the feed, using supplied modules. However, I'm seeing weird things happen when multiple feeds have the same item. It appears that several items are create for each url, some tagged, some not. Ideally, what I'd like is for there to be one feed item, with multiple tags, but I'm not sure the best way to go about this. Also, it just seems like too many items are being created, because it appears what happens is
First feed creates node and tags
subsequent feeds create 2 items, 1 tagged, 1 not.

Comments

jbowman’s picture

Version: 5.x-1.x-dev » 5.x-1.0-beta2

OK.. the existing modules just aren't ideal for this. Reason being, nid is the primary key for the feed note items table. Thus, you can't have to feed node items pointing to the same node.

I've begun work on a new module to replace feedapi_node, which is not going to be much more than an adaptation of it. In the interest of increasing the speed of the feed parsing (I'm planning on pulling LOTS of feeds) I'm going to roll feedapi_inherit functionality directly into the processor, so as to have node_save called only once.

I'm only sharing this so you all can mark the ticket as you see fit, and also so you can determine if maybe you all want to look at using a different primary key in the future.

feedapi so far has been very interesting, and is also turning out to be a great way to introduce myself to drupal coding. Thanks for the hard work.

alex_b’s picture

Hi jbowman,

You would like to assign certain feed item nodes taxonomy from more than one feed node, right? What criteria do you use for associating a feed to a feed item?

Perhaps we are having similar problems here.

When using multiple feeds and keyword feed searches (e. g. on news.google.com or blogsearch.google.com) I am having the problem of duplicate feed items on different feeds. That is, I ve got two or more same feed items on different feeds. The reason for this is that currently, feedapi only checks duplicates within a feed.

Therefore, I plan to do implement cross feed duplicate handling for feedapi_node module :

http://drupal.org/node/193909

This will be an optional feature for feedapi_node - details on the node above.

Would this feature help you?

jbowman’s picture

Sounds exactly like what I'm looking for, and I saw you response in the inherit module issue as well. So, I will sit tight and wait to see the updates you come up with. No reason for me to create another module if the ones you are already working on are going to do the same thing.

alex_b’s picture

Component: Code » Code feedapi (core module)
Status: Active » Closed (fixed)

Closing after extended period of time.