I dont think this can currently be done (please correct me if I'm wrong) but I would love to be able to specify "only create a max of 2 nodes each time feed X is updated" even if there are 5 new items in the feed. IMO it would just pick the most recent 2

Thoughts?

Comments

alex_b’s picture

Status: Active » Closed (won't fix)

Do you want to limit to 2 nodes created per page load or 2 nodes created total per import?

You can set the per page load limit by setting the feeds_node_batch_size in settings.php (e. g. $conf['feeds_node_batch_size'] = 2;).

If you'd like to limit the total number created on an import, extend FeedsNodeProcessor and modify process() accordingly.

Learn how to extend an existing plugin here: http://drupal.org/node/622700#pluginsapi

I'm setting this to won't fix as I'm not planning to add this feature into Feeds directly. Feel free to post more questions though. I want to make sure the Feeds API is providing you what you need for addressing your use case.

vitis’s picture

thanks for the info