$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 = '88'; $feeds_importer->config = array( 'name' => 'carsmodelsimporter', 'description' => 'carsmodelsimporter', 'fetcher' => array( 'plugin_key' => 'FeedsFileFetcher', 'config' => array( 'allowed_extensions' => 'txt csv tsv xml opml', 'direct' => FALSE, 'directory' => 'public://feeds', 'allowed_schemes' => array( 0 => 'public', ), ), ), 'parser' => array( 'plugin_key' => 'FeedsCSVParser', 'config' => array( 'delimiter' => 'TAB', 'no_headers' => 0, ), ), 'processor' => array( 'plugin_key' => 'FeedsNodeProcessor', 'config' => array( 'expire' => '-1', 'author' => '1', 'authorize' => 0, 'mappings' => array( 0 => array( 'source' => 'modifications', 'target' => 'title', 'unique' => FALSE, ), 1 => array( 'source' => 'btype', 'target' => 'field_btype', 'unique' => FALSE, ), 2 => array( 'source' => 'manufduration', 'target' => 'field_manufduration', 'unique' => FALSE, ), 3 => array( 'source' => 'power', 'target' => 'field_power', 'unique' => FALSE, ), 4 => array( 'source' => 'transmtype', 'target' => 'field_transmtype', 'unique' => FALSE, ), 5 => array( 'source' => 'fueltype', 'target' => 'field_fueltype', 'unique' => FALSE, ), 6 => array( 'source' => 'combined', 'target' => 'field_combined', 'unique' => FALSE, ), 7 => array( 'source' => 'class', 'target' => 'field_class', 'unique' => FALSE, ), 8 => array( 'source' => 'manufacturer', 'target' => 'field_manufacturerc', 'term_search' => '0', 'autocreate' => 1, ), 9 => array( 'source' => 'models', 'target' => 'field_model', 'term_search' => '0', 'autocreate' => 1, ), ), 'update_existing' => '2', 'input_format' => 'full_html', 'skip_hash_check' => 0, 'bundle' => 'car_mods', ), ), 'content_type' => '', 'update' => 0, 'import_period' => '-1', 'expire_period' => 3600, 'import_on_create' => 1, 'process_in_background' => 0, );