Hi Drupalers,

I need to map an XML feed to Drupal Nodes (fields and taxonomy terms) . I can give you the specific mappings and the XML layout of the feed if you need it for the estimate. This is for my Drupal site KeenForGreen.com.

I expect it will work using the following Modules:

FeedAPi and
Feed Element Mapper - to map feed items to CCK fields or Taxonomy terms
FeedAPI Extensible Parser

I believe all that needs to be written is a parser for FeedAPI Extensible Parser. (Drupal 6).

I should then be able to create a feed (based on FeedAPI), plug in the URL of the XML into the feed input field and after saving the feed, the nodes from the feed will be pulled and converted to nodes based on the parser mappings. It should work just like an RSS feed built with the FeedAPI. (Nodes will be created - duplicates feed items will be skipped or upate previous item as configured) I would expect the Parser to be built and tested with the FeedAPI module so that it works as described above.

My acceptance tests are as follows:

1. I will create a Feed (custom content type and based on FeedAPI) and paste in a URL which follows the structure defined by Indeed (which I can send you if you need it)
2. Save the Feed.
3. Refresh the feed items.
4. The Feed Items will be generated with the field mappings as specificed.
5.. Taxonomy will be past down from the Feed to the feed items. (Standard for FeedAPI)
6. I'll refresh the feed to make sure that duplicates are not created.
7. . Verify the CRON updates the feed.
8. It should not impact normal RSS feeds.
9. It should not modify the existing FeedAPI code. (I think it will be a plugin for FeedAPI Extensible Parser if I understand correctly).

Please let me know if you can help with this.

Thanks,

Mark

Comments

arnoldc’s picture

Coincidentally, I also need one and may help to contribute a little bit if someone can crank one up quickly.

Or I may even try to write one up if I have the bandwidth....

bekeen’s picture

It's need to develop new FeedAPI module with extended functionality. Actual Drupal FeedAPI has no specific functions to support a plugin for FeedAPI Extensible Parser. New extended FeedAPI will 100% compatible with Drupal core and other modules. The reason is on the additional specific functions used with a plugin for FeedAPI Extensible Parser and it absolutely ignorable by other modules with the exception of a plugin for FeedAPI Extensible Parser. I'd able to create this system in short time.

summit’s picture

Hi, did you succeed in this please?
greetings, Martijn

shenzhuxi’s picture

summit’s picture

Hi Feed Element Mapper was already described above, no I need mapping of arrays in the feeds (optional rss feeds like category, tags..

problue solutions’s picture

I also need an XML parser and would like to get quotes from developers.