Quantcast
Channel: Issues for Feeds XPath Parser
Viewing all articles
Browse latest Browse all 66

Feeds XPath Parser and Feeds Self Node Processor: automatically save different XPath Parser settings across lots of Nodes

$
0
0

The Problem
The option to "Allow source configuration override" on the Feeds XPath Parser seems to break when using Feeds Self Node Processor and Feeds Spider

Settings
Step 1: Under "Parser > Settings" I set up the XPath XML parser context and queries and select "Allow source configuration override".

Step 2: I create a number of Nodes automatically using Feeds Spider. The Xpath context and queries as per Step 1 are correctly passed to the Node, and then correctly Imported on Cron (or manually selecting Node > Import).

Step 3: I then change the general context and queries in the Xpath Parser (to get ready for the next Feeds Spider import - on the same type of Nodes).

Step 4A: On next Cron run the Xpath context and queries for the Nodes already created (Step 2) are over-written with the "new" general settings created under Step 3.
Step 4B: Also, if I manually go to Node>Edit for the Nodes created under Step 1&2, then the context and queries created under Step 3 (not Step 1) are shown

How to fix?
Insert a couple of lines of code to see if XPath Parser fields have values on a Node, and if they do, then skip calling the current configuration (regardless if the Node has been created manually, or automatically using a Feeds Spider).

Any idea what this code is, or where to put it? I'm willing to pay to get this resolved asap (need it for a live project) - thanks!

I'm not sure if the problem is arising from Feeds Xpath Parser, Feeds Spider, or Feeds Self Node Processor module (or somewhere else?!)


Viewing all articles
Browse latest Browse all 66

Trending Articles