Posted by sagar ramgade on July 2, 2010 at 10:19am
Hi,
I am using feeds module to import nodes from the xml feed, i want to import some details from one xml and update few details from other xml.
In both xml sources they have a unique id and i had set up that id as the GUID in both the importer.
More info about this at : http://drupal.org/node/828000#comment-3156670
Can anyone help how to achieve this?
Comments
Might preprocessing be what we need?
I found this discussion in the feeds issue queu. Could this be what we need?
Background info: I have a similar use case, a prototype nitf parser where some kind of preprocessing would be a serious win.
An upload directory on the filesystem that is populated by ftp upload with xml files during the day. The xml files contain one single article each and that references another .xml file containing one single image's filename and metadata (and of course a slightly different syntax, sigh). It would be nice to be able to preprocess a complete set of these files in one go without creating a lot of overhead by coding a custom fetcher and and several parsers that create a bunch of one-shot feed enabled node(s) for each article and some expensive views or dirty glue code to display that mess...
I don't see any clean solutions (might be missing something here) and a lot of potential for dirty hacks to make individual use cases work that make my code less suitable/worthless for general use.