$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 = 'fb_importer'; $feeds_importer->config = array( 'name' => 'FB importer', 'description' => 'Facebook feed importer', 'fetcher' => array( 'plugin_key' => 'FeedsHTTPFetcher', 'config' => array( 'auto_detect_feeds' => 0, 'use_pubsubhubbub' => 0, 'designated_hub' => '', 'request_timeout' => '', 'auto_scheme' => '', 'accept_invalid_cert' => 0, ), ), 'parser' => array( 'plugin_key' => 'FeedsFacebookParser', 'config' => array(), ), 'processor' => array( 'plugin_key' => 'FeedsNodeProcessor', 'config' => array( 'expire' => '-1', 'author' => 0, 'authorize' => 1, 'mappings' => array( 0 => array( 'source' => 'name', 'target' => 'title', 'unique' => FALSE, ), 1 => array( 'source' => 'description', 'target' => 'body', 'unique' => FALSE, ), 2 => array( 'source' => 'post_id', 'target' => 'guid', 'unique' => 1, ), 3 => array( 'source' => 'start_date', 'target' => 'field_date:start', 'unique' => FALSE, ), 4 => array( 'source' => 'end_date', 'target' => 'field_date:end', 'unique' => FALSE, ), 5 => array( 'source' => 'fb_event_link', 'target' => 'field_link:url', 'unique' => FALSE, ), 6 => array( 'source' => 'name', 'target' => 'field_link:title', 'unique' => FALSE, ), 7 => array( 'source' => 'cover', 'target' => 'field_image:uri', 'unique' => FALSE, ), 8 => array( 'source' => 'place_name', 'target' => 'field_place', 'unique' => FALSE, ), 9 => array( 'source' => 'place_street', 'target' => 'field_address:thoroughfare', 'unique' => FALSE, ), 10 => array( 'source' => 'place_city', 'target' => 'field_address:locality', 'unique' => FALSE, ), 11 => array( 'source' => 'place_zip', 'target' => 'field_address:postal_code', 'unique' => FALSE, ), 12 => array( 'source' => 'place_country', 'target' => 'field_address:country', 'unique' => FALSE, ), ), 'update_existing' => '2', 'update_non_existent' => 'skip', 'input_format' => 'plain_text', 'skip_hash_check' => 0, 'bundle' => 'event', ), ), 'content_type' => '', 'update' => 0, 'import_period' => '0', 'expire_period' => 3600, 'import_on_create' => 1, 'process_in_background' => 0, );