$feeds_importer = new stdClass(); $feeds_importer->disabled = FALSE; /* Edit this to true to make a default feeds_importer disabled initially */ $feeds_importer->api_version = 1; $feeds_importer->id = 'all_pages_xml_feed_importer_d7'; $feeds_importer->config = array( 'name' => 'D6 XML pages', 'description' => 'Import D6 Pages from XML', 'fetcher' => array( 'plugin_key' => 'FeedsHTTPFetcher', 'config' => array( 'auto_detect_feeds' => 1, 'use_pubsubhubbub' => 0, 'designated_hub' => '', ), ), 'parser' => array( 'plugin_key' => 'FeedsXPathParserXML', 'config' => array( 'sources' => array( 'xpathparser:0' => 'Nid', 'xpathparser:1' => 'Uid', 'xpathparser:2' => 'Title', 'xpathparser:3' => 'Body', 'xpathparser:4' => 'Post-date', 'xpathparser:5' => 'Path', ), 'rawXML' => array( 'xpathparser:0' => 0, 'xpathparser:1' => 0, 'xpathparser:2' => 0, 'xpathparser:3' => 0, 'xpathparser:4' => 0, 'xpathparser:5' => 0, ), 'context' => '//node', 'exp' => array( 'errors' => 0, 'debug' => array( 'context' => 0, 'xpathparser:0' => 0, 'xpathparser:1' => 0, 'xpathparser:2' => 0, 'xpathparser:3' => 0, 'xpathparser:4' => 0, 'xpathparser:5' => 0, ), ), 'allow_override' => 0, ), ), 'processor' => array( 'plugin_key' => 'FeedsNodeProcessor', 'config' => array( 'content_type' => 'page', 'update_existing' => '1', 'expire' => '-1', 'mappings' => array( 0 => array( 'source' => 'xpathparser:0', 'target' => 'nid', 'unique' => 1, ), 1 => array( 'source' => 'xpathparser:1', 'target' => 'uid', 'unique' => FALSE, ), 2 => array( 'source' => 'xpathparser:2', 'target' => 'title', 'unique' => 0, ), 3 => array( 'source' => 'xpathparser:4', 'target' => 'created', 'unique' => FALSE, ), 4 => array( 'source' => 'xpathparser:5', 'target' => 'path_alias', 'unique' => FALSE, ), ), 'input_format' => 'full_html', 'author' => '1', 'skip_hash_check' => FALSE, ), ), 'content_type' => '', 'update' => 0, 'import_period' => '-1', 'expire_period' => 3600, 'import_on_create' => 1, 'process_in_background' => FALSE, );