內容簡介
這個外掛將聯繫人從 CSV(逗號分隔值)文件導入到您的 WordPress 數據庫中,並由 SeeEm Contact Manager 使用。它旨在從 CSV 文件導入大量聯繫人,特別是整個 MS Outlook 地址簿。它提供了多種選項,以自定義新條目和條目更新的處理方式。
功能
在本地機器上從 CSV 文件導入新聯繫人
使用 CSV 文件中的信息更新現有聯繫人
包含選項以自定義如何添加新聯繫人和更新現有聯繫人
通過 WordPress 內置機制(與您撰寫文章時規範化輸入相同)處理跟 Word 样式引号和其他非標准字符的問題
CSV 文件中的列可以按任何順序排列,只要它们有正确的標題就可以
使用方法
創建 CSV 文件:在 Outlook 2007 中,點擊“文件” ->“匯入和匯出”,選擇“匯出到文件”,然後點擊“下一步”。 選擇“以逗號分隔的值(Windows)”,然後點擊“下一步”。選擇要導出的聯繫人文件夾,然後點擊“下一步”。選擇一個您可以記住的文件路徑和名稱,然後點擊“下一步”。最後,點擊“映射自定義字段” ->“清除映射” ->“默認映射” ->“確定” ->“完成”。您的 CSV 文件將被創建。
上傳 CSV 文件:在 WordPress 管理頁面上點擊 SeeEm importer 鏈接(在 WordPress 2.6 及以下的 Manage 下,在 WordPress 2.7 及以上的 Tools 下)。選擇導入選項,例如:上傳新聯繫人为“已发布”或“草稿”,根据 CSV 文件中的数据更新现有聯繫人(或不更新),删除在 CSV 文件中未找到的現有聯繫人信息(或不删除)。選擇您要導入的文件,然後點擊“導入”。
使用這個外掛最重要的一点是擁有格式正確的 CSV 文件。在下載的 .ZIP 文件夾中的 Outlook_to_SeeEm_importer ->Example_CSV_Files 下查看正確的格式示例文件。這個外掛工作的关键是在 CSV 文件中擁有正確的標題名稱。
注意事項:
文件中的大多數列都是可選的,唯一必須存在的是“名字”和“姓氏”。
大多數值也是可選的,唯一必需的是“名字”和“姓氏”列标题下的那些信息。
再次提醒,文件中的列順序不重要,但 CSV 標題(文件中列出列名的第一行)必須存在,其標籤必須對應由逗號分隔的值。
致謝
此插件受到 Dennis Kobozev 的CSV Importer 的啟發和建模。
它在修改的基础上使用了CSV Importer中的大部分原始代碼,以及 Kazuyoshi Tlacaelel 的php-csv-parser。
外掛標籤
開發者團隊
原文外掛簡介
This plugin imports contacts from CSV (Comma Separated Value) files into your WordPress database, where SeeEm Contact Manager can use them. It is designed to import a large quantity of contacts, specifically an entire MS Outlook Address Book, from a CSV file. It gives a number of options to customize how new entries and entry updates are handled.
Features
Imports new contacts from CSV files on your local machine
Updates existing contacts with information from the CSV file
Includes options to customize how new contacts are added and existing contacts are updated
Deals with Word-style quotes and other non-standard characters using WordPress’ built-in mechanism (same one that normalizes your input when you write your posts)
Columns in the CSV file can be in any order, provided that they have correct headings
Usage
Create the CSV file: In Outlook 2007, click ‘File’ -> ‘Import and Export’, select ‘Export to a file’, and click ‘Next’. Select ‘Comma Separated Values (Windows)’ and click ‘Next’. Select the contact folder you wish to export and click ‘Next’. Choose a file path and name that you can remember and click ‘Next’. finally, click ‘Map Custom Fields…’ -> ‘Clear Map’ -> ‘Default Map’ -> ‘OK’ -> ‘Finish’. your CSV file will then be created.
Upload a CSV file: Click on the SeeEm importer link on your WordPress admin page (under Manage on WordPress 2.6 and below; under Tools in WordPress 2.7 and above). Choose the import options: upload new contacts as ‘published’ or as ‘drafts’, update existing contacts to reflect data in the CSV file (or not), delete info not found in the CSV file for existing contacts (or not). Choose the file you would like to import and click ‘Import’.
The most important part of using the plugin is having your CSV file in the right format. See the example files under ‘Outlook_to_SeeEm_importer’ -> ‘Example_CSV_Files’ (in the downloaded .ZIP folder) for examples of proper format. The key for this plugin to work is to have the proper header names in the CSV file.
Notes:
Most columns in the file are optional. The only ones that must be present are First Name and Last Name.
Most values are also optional. Again, the only ones necessary are those under First Name and Last Name column headings.
Once again, the order of columns in the file is not important, however the CSV header (the first line in the file that lists column names) must be present and its labels must correspond to the values separated by commas.
Credits
This plugin was inspired by and modeled after CSV Importer by Dennis Kobozev.
It uses much of the original code from CSV Importer in a modified form, as well as php-csv-parser by Kazuyoshi Tlacaelel.
