0
我已經安裝了Drupal 7 feeds模塊並創建了一個導入器。Drupal 7 Feeds Module not working
我可以顯示獨立表單,添加一個文件,但上傳/分析頁面只顯示消息「正在導入...」。它不會執行其他操作,也不會導入選定的內容類型。沒有錯誤顯示。
任何想法?
//進口商在////////////////////////////////////////// ///////////////
$feeds_importer = new stdClass();
$feeds_importer->disabled = FALSE;
$feeds_importer->api_version = 1;
$feeds_importer->id = 'shop_ids';
$feeds_importer->config = array(
'name' => 'Shop IDs',
'description' => 'Import a CSV file which feeds into Shop ID node type',
'fetcher' => array(
'plugin_key' => 'FeedsFileFetcher',
'config' => array(
'allowed_extensions' => 'txt csv tsv xml opml',
'direct' => 0,
'directory' => 'public://feeds',
'allowed_schemes' => array(
'public' => 'public',
'private' => 'private',
),
),
),
'parser' => array(
'plugin_key' => 'FeedsCSVParser',
'config' => array(
'delimiter' => ',',
'no_headers' => 1,
),
),
'processor' => array(
'plugin_key' => 'FeedsNodeProcessor',
'config' => array(
'expire' => '-1',
'author' => 0,
'authorize' => 1,
'mappings' => array(
0 => array(
'source' => '\'0\'',
'target' => 'title',
'unique' => 1,
),
1 => array(
'source' => '\'1\'',
'target' => 'body',
'unique' => FALSE,
),
),
'update_existing' => '1',
'input_format' => 'plain_text',
'skip_hash_check' => 0,
'bundle' => 'shop_ids',
),
),
'content_type' => '',
'update' => 0,
'import_period' => '-1',
'expire_period' => 3600,
'import_on_create' => 1,
'process_in_background' => 0,
);