I would love the ability for another module to be able to analyze the content being parsed, and reject it. Something similar to https://drupal.org/node/1945732

My use case is as follows: I can request specific feeds of data from partners, but they can't filter on all the criteria I need in order to determine if I want that content on my own site. I'd like the chance to be able to make that decision during parsing, and prevent a node from being created.

Comments

jenlampton’s picture

Status: Active » Needs review
StatusFileSize
new643 bytes

patch for review.

twistor’s picture

StatusFileSize
new2.05 KB

Changed it a bit since the feed source is probably necessary. Also, allows updating items and provides some docs.

Status: Needs review » Needs work

The last submitted patch, 2: feeds_jsonpath_parser-hook-2203711-2.patch, failed testing.

twistor’s picture

Status: Needs work » Needs review
StatusFileSize
new2.87 KB

Seemed so simple.

twistor’s picture

Status: Needs review » Fixed

Well that didn't take too long.

  • twistor committed f6bd004 on 7.x-1.x
    Issue #2203711 by twistor, jenlampton: Additional filtering hook during...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.