
內容簡介
此外掛將文章的發佈日期、標題、字數、狀態、網址和分類匯出為 CSV 檔案,讓您可瀏覽網誌中已發表的主題與標題。我們開發此外掛的原因是因為我們為部落格產生大量內容,而我們常常需要查找先前已經涉及到的主題。由於我們不希望手動匯出標題,所以我們開發了這個外掛。
這個外掛可以將文章的發佈日期、標題、字數、狀態、網址和分類匯出為可匯入 Excel 的 CSV 檔案。
我們尋找可匯出文章標題的外掛時,發現了「Export All URLs」外掛。然而,這個外掛沒有匯出發佈日期、狀態和字數的功能,因此我們決定創建新外掛包含這些資訊以及可翻譯的能力。
本外掛需要 PHP 版本 5.5 或以上。
本外掛第一版提供英文和西班牙文版本。在 languages 資料夾中,我們包含了翻譯此外掛所需的檔案。如果您希望使用其他語言版本並且擅長翻譯,請透過「聯絡我們」來信告知。
您可以在此處查閱西班牙文版本的外掛說明:
若需進一步了解細節,請發送電子郵件查詢。
翻譯 WordPress 外掛的步驟包括:
1. 在程式碼上套用工具建立 POT 檔案,也就是可本地化文字列表。我們外掛已經在 languages 資料夾中提供了此項功能。
2. 使用文字編輯器或特殊本地化工具為每個文本產生翻譯,進而生成 PO 檔案。POT 與 PO 檔案的唯一不同在於 PO 檔案含有翻譯。
3. 編譯 PO 檔案以建立 MO 檔案,可用於主題或外掛中。
為翻譯外掛您需要特殊的軟體工具,例如跨平台的繁體中文 poEdit 編輯器可用於 Windows、Linux 和 Mac OS X。
您的 PO 和 MO 檔案名稱非常重要,必須與目標語言相符。檔案命名規則如下: language_COUNTRY.po,另外,外掛有自己的命名規則,即將外掛名稱加到檔名上: pluginname-fr_FR.po。換言之,外掛名稱必須是語言代碼加底線,再加國家或地區代碼(大寫)。如果檔案的編碼不是 UTF-8,也必須指定編碼。
例如:
en_US – 美國英語
en_UK – 英國英語
es_ES – 西班牙國語
fr_FR – 法國法語
zh_CN – 簡體中文
可在此處獲得語言代碼列表。
外掛標籤
開發者團隊
原文外掛簡介
This plugin exports posts Date published, Post title, Word Count, Status, URL and Category to a CSV file, allowing to have an overview of the topics and titles published in the blog.
We created this plugin because we generate large amounts of content for blogs and we often need to lookup the topics that were already covered before in a blog. As we don’t want to export the titles by hand we developed this plugin.
What can I do with this plugin?
This plugin exports posts Date published, Post title, Word Count, Status, URL and Category to a CSV file that can be imported into Excel.
What ideas is this plugin based on?
We were searching for a plugin that allowed us to export the post titles and found Export All URLs. Unfortunately the plugin didn’t export the publish date, status and word count, so we decided to create a new plugin with this information and the the ability to translate it.
System requirements
PHP version 5.5 or greater.
Export Post Info to CSV Plugin in your Language!
This first release is avaliable in English and Spanish. In the “languages” folder we have included the necessarry files to translate this plugin.
If you would like the plugin in your language and you’re good at translating, please drop us a line at Contact us.
Further Reading
You can access the description of the plugin in Spanish at: Export Post Info to CSV en español.
Contact
For further information please send us an email.
Translating WordPress Plugins
The steps involved in translating a plugin are:
Run a tool over the code to produce a POT file (Portable Object Template), simply a list of all localizable text. Our plugins allready havae this POT file in the /languages/ folder.
Use a plain text editor or a special localization tool to generate a translation for each piece of text. This produces a PO file (Portable Object). The only difference between a POT and PO file is that the PO file contains translations.
Compile the PO file to produce a MO file (Machine Object), which can then be used in the theme or plugin.
In order to translate a plugin you will need a special software tool like poEdit, which is a cross-platform graphical tool that is available for Windows, Linux, and Mac OS X.
The naming of your PO and MO files is very important and must match the desired locale. The naming convention is: language_COUNTRY.po and plugins have an additional naming convention whereby the plugin name is added to the filename: pluginname-fr_FR.po
That is, the plugin name name must be the language code followed by an underscore, followed by a code for the country (in uppercase). If the encoding of the file is not UTF-8 then the encoding must be specified.
For example:
A list of language codes can be found here, and country codes can be found here. A full list of encoding names can also be found at IANA.
