$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 = 'testusers'; $feeds_importer->config = array( 'name' => 'testusers', 'description' => '', 'fetcher' => array( 'plugin_key' => 'FeedsFileFetcher', 'config' => array( 'allowed_extensions' => 'txt csv tsv xml opml', 'direct' => FALSE, ), ), 'parser' => array( 'plugin_key' => 'FeedsCSVParser', 'config' => array( 'delimiter' => ',', 'no_headers' => 0, ), ), 'processor' => array( 'plugin_key' => 'FeedsUserProcessor', 'config' => array( 'roles' => array( 5 => 0, 9 => 0, 27 => 0, 37 => 0, 19 => 0, 35 => 0, 3 => 0, 38 => 0, 31 => 0, 42 => 0, 15 => 0, ), 'status' => '1', 'defuse_mail' => 0, 'mappings' => array( 0 => array( 'source' => 'username', 'target' => 'name', 'unique' => 1, ), 1 => array( 'source' => 'Email', 'target' => 'mail', 'unique' => 0, ), ), 'update_existing' => 1, 'input_format' => '2', ), ), 'content_type' => '', 'update' => 0, 'import_period' => '-1', 'expire_period' => 3600, 'import_on_create' => 1, 'process_in_background' => 0, );