Feed Import - import multiple XML files with xinclude

Sometimes you have to import two or more xml files in the same way. There are several possibilities: creating a feed configuration for every xml file, creating a PHP function that uses Feed Import API or,
you can take a different approach by using xml xinclude.

Why? Because you'll have to maintain just one feed configuration and you can do this only from UI.
When? Usually when the xml files have the same structure.
How? Pretty simple, using xml XInclude.

Feed Import 3 Tutorials

This page contains tutorials and examples of how to use Feed Import 3.

Feed Import 3 - Create a reader

A reader is a class that fetches content from a resource (xml, csv, sql, ...).

Feed Import 3 - developers

This page contains documentation for developers.

Feed Import Processor Diagram

Following images shows how main parts of processor are working.

FeedImportProcessor::process()


:process()

Pages

Subscribe with RSS Subscribe to RSS - feed import