$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 = 'event'; $feeds_importer->config = array( 'name' => 'Event Import', 'description' => 'Events', 'fetcher' => array( 'plugin_key' => 'FeedsFileFetcher', 'config' => array( 'allowed_extensions' => 'txt csv tsv xml opml html htm', 'direct' => 0, 'directory' => 'private://feeds', 'allowed_schemes' => array( 'public' => 'public', 'private' => 'private', ), ), ), 'parser' => array( 'plugin_key' => 'FeedsXPathParserXML', 'config' => array( 'sources' => array( 'xpathparser:0' => 'ID', 'xpathparser:1' => 'EventName', 'xpathparser:2' => 'Remarks', 'xpathparser:3' => 'Event_Description', 'xpathparser:4' => 'BeginDate', 'xpathparser:5' => 'EndDate', 'xpathparser:6' => 'DLC_Approve', 'xpathparser:7' => 'EventAddress', 'xpathparser:8' => 'EventCity', 'xpathparser:9' => 'EventState', 'xpathparser:10' => 'EventZip', 'xpathparser:11' => 'Chapter', 'xpathparser:12' => 'EventLocation', 'xpathparser:13' => 'ContactName', 'xpathparser:14' => 'ContactAddress', 'xpathparser:15' => 'ContactCity', 'xpathparser:16' => 'ContactState', 'xpathparser:17' => 'ContactZip', 'xpathparser:18' => 'ContactPhone', 'xpathparser:19' => 'ContactEmail', 'xpathparser:20' => 'EventCategory', 'xpathparser:21' => 'EventURL', 'xpathparser:22' => 'EventName', 'xpathparser:23' => 'RC_Approve', 'xpathparser:24' => 'SubmittedBy', 'xpathparser:25' => 'SubmitByEmail', 'xpathparser:26' => 'Region', 'xpathparser:27' => 'DLC_Approve', ), 'rawXML' => array( 'xpathparser:0' => 0, 'xpathparser:1' => 0, 'xpathparser:2' => 0, 'xpathparser:3' => 0, 'xpathparser:4' => 0, 'xpathparser:5' => 0, 'xpathparser:6' => 0, 'xpathparser:7' => 0, 'xpathparser:8' => 0, 'xpathparser:9' => 0, 'xpathparser:10' => 0, 'xpathparser:11' => 0, 'xpathparser:12' => 0, 'xpathparser:13' => 0, 'xpathparser:14' => 0, 'xpathparser:15' => 0, 'xpathparser:16' => 0, 'xpathparser:17' => 0, 'xpathparser:18' => 0, 'xpathparser:19' => 0, 'xpathparser:20' => 0, 'xpathparser:21' => 0, 'xpathparser:22' => 0, 'xpathparser:23' => 0, 'xpathparser:24' => 0, 'xpathparser:25' => 0, 'xpathparser:26' => 0, 'xpathparser:27' => 0, ), 'context' => 'row', '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, 'xpathparser:6' => 0, 'xpathparser:7' => 0, 'xpathparser:8' => 0, 'xpathparser:9' => 0, 'xpathparser:10' => 0, 'xpathparser:11' => 0, 'xpathparser:12' => 0, 'xpathparser:13' => 0, 'xpathparser:14' => 0, 'xpathparser:15' => 0, 'xpathparser:16' => 0, 'xpathparser:17' => 0, 'xpathparser:18' => 0, 'xpathparser:19' => 0, 'xpathparser:20' => 0, 'xpathparser:21' => 0, 'xpathparser:22' => 0, 'xpathparser:23' => 0, 'xpathparser:24' => 0, 'xpathparser:25' => 0, 'xpathparser:26' => 0, 'xpathparser:27' => 0, ), ), 'allow_override' => 0, ), ), 'processor' => array( 'plugin_key' => 'FeedsNodeProcessor', 'config' => array( 'expire' => '-1', 'author' => '1', 'mappings' => array( 0 => array( 'source' => 'xpathparser:0', 'target' => 'guid', 'unique' => 1, ), 1 => array( 'source' => 'xpathparser:1', 'target' => 'title', 'unique' => 0, ), 2 => array( 'source' => 'xpathparser:2', 'target' => 'field_event_remarks', 'unique' => FALSE, ), 3 => array( 'source' => 'xpathparser:3', 'target' => 'body', 'unique' => FALSE, ), 4 => array( 'source' => 'xpathparser:4', 'target' => 'field_date:start', 'unique' => FALSE, ), 5 => array( 'source' => 'xpathparser:5', 'target' => 'field_date:end', 'unique' => FALSE, ), 6 => array( 'source' => 'xpathparser:6', 'target' => 'status', 'unique' => FALSE, ), 7 => array( 'source' => 'xpathparser:7', 'target' => 'field_event_location:thoroughfare', 'unique' => FALSE, ), 8 => array( 'source' => 'xpathparser:8', 'target' => 'field_event_location:locality', 'unique' => FALSE, ), 9 => array( 'source' => 'xpathparser:9', 'target' => 'field_event_location:administrative_area', 'unique' => FALSE, ), 10 => array( 'source' => 'xpathparser:10', 'target' => 'field_event_location:postal_code', 'unique' => FALSE, ), 11 => array( 'source' => 'Blank source 1', 'target' => 'field_event_location:country', 'unique' => FALSE, ), 12 => array( 'source' => 'xpathparser:11', 'target' => 'field_host_chapter', 'unique' => FALSE, ), 13 => array( 'source' => 'xpathparser:12', 'target' => 'field_event_location_name', 'unique' => FALSE, ), 14 => array( 'source' => 'xpathparser:13', 'target' => 'field_event_contest_chair_name', 'unique' => FALSE, ), 15 => array( 'source' => 'xpathparser:14', 'target' => 'field_event_contact_full_address:thoroughfare', 'unique' => FALSE, ), 16 => array( 'source' => 'xpathparser:15', 'target' => 'field_event_contact_full_address:locality', 'unique' => FALSE, ), 17 => array( 'source' => 'xpathparser:16', 'target' => 'field_event_contact_full_address:administrative_area', 'unique' => FALSE, ), 18 => array( 'source' => 'xpathparser:17', 'target' => 'field_event_contact_full_address:postal_code', 'unique' => FALSE, ), 19 => array( 'source' => 'xpathparser:18', 'target' => 'field_event_contact_phone', 'unique' => FALSE, ), 20 => array( 'source' => 'xpathparser:19', 'target' => 'field_event_contact_email', 'unique' => FALSE, ), 21 => array( 'source' => 'Blank source 2', 'target' => 'field_event_contact_full_address:country', 'unique' => FALSE, ), 22 => array( 'source' => 'xpathparser:20', 'target' => 'field_event_category', 'unique' => FALSE, ), 23 => array( 'source' => 'xpathparser:21', 'target' => 'field_event_website:url', 'unique' => FALSE, ), 24 => array( 'source' => 'xpathparser:22', 'target' => 'field_event_website:title', 'unique' => FALSE, ), 25 => array( 'source' => 'xpathparser:23', 'target' => 'field_event_approval_rc', 'unique' => FALSE, ), 26 => array( 'source' => 'xpathparser:24', 'target' => 'field_event_submitted_by', 'unique' => FALSE, ), 27 => array( 'source' => 'xpathparser:25', 'target' => 'field_event_submit_email', 'unique' => FALSE, ), 28 => array( 'source' => 'xpathparser:26', 'target' => 'field_event_region:etid', 'unique' => FALSE, ), 29 => array( 'source' => 'xpathparser:27', 'target' => 'field_event_insurance', 'unique' => FALSE, ), ), 'update_existing' => '0', 'input_format' => 'filtered_html', 'authorize' => 1, 'skip_hash_check' => 0, 'bundle' => 'event', ), ), 'content_type' => '', 'update' => 0, 'import_period' => '-1', 'expire_period' => 3600, 'import_on_create' => 1, 'process_in_background' => 0, );