Feeds Importer Filters I would like to import some nodes from csv file using feed_import module in Drupal 7.
The original CSV file has around 500k entries and I have to do some filtering before importing. (the result will be under 40k).

Now, I have seen on drupal.org that feed_import has the possibility of adding some filters, but I cannot find the way to apply them.

Anyways I haven't seen nothing about the lenght of the field or about the type of content (numeric, alphanumeric, letters only), and I have to filter on these criteria.

Can that be made? Or should I try to do the filtering in PHP before using feed_importer?
You can create a new module and implement the hook_feeds_presave() function like the following example:

function hook_feeds_presave(FeedsSource $source, $entity, $item) {
  // create your filter conditions here
  if ($entity-&gt;feeds_item-&gt;entity_type == 'node') {
    // Skip saving this entity.
    $entity-&gt;feeds_item-&gt;skip = TRUE;
  }
}