Title: GP Auto Extract
Author: Greg Ross
Published: <strong>2016 年 1 月 28 日</strong>
Last modified: 2024 年 11 月 7 日

---

搜尋外掛

![](https://ps.w.org/gp-auto-extract/assets/banner-772x250.png?rev=3182669)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/gp-auto-extract/assets/icon-256x256.png?rev=3182669)

# GP Auto Extract

 由 [Greg Ross](https://profiles.wordpress.org/gregross/) 開發

[下載](https://downloads.wordpress.org/plugin/gp-auto-extract.1.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/gp-auto-extract/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/gp-auto-extract/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/gp-auto-extract/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/gp-auto-extract/#developers)

 [技術支援](https://wordpress.org/support/plugin/gp-auto-extract/)

## 外掛說明

這是 [GlotPress 的 WordPress 外掛版本](https://tw.wordpress.org/plugins/glotpress)
的增強外掛，用於新增直接從遠端程式碼存放庫擷取原文內容至 GlotPress 專案的選項。

功能：

 1. Source Type (來源類型) 可為 WordPress、GitHub 及自訂來源。
 2. 私有 GitHub 存放庫可透過 HTTP 基本驗證進行存取。
 3. 支援 GitHub 的 Tag (標籤) 及 Branch (分支)。
 4. 能匯入現有的文字擷取檔案。

要進行設定，請前往 WordPress 後台管理選單中的 [設定]→[GP Auto Extract]，然後會看到
目前 GlotPress 的專案清單，在此可為個別專案進行設定。

 1. Source Type (來源類型)
 2. Setting (設定)
 3. Branch/Tag (分支/標籤，僅適用於 GitHub 存放庫)
 4. 使用 HTTP 基本驗證 (僅適用於 GitHub 存放庫)
 5. Import from existing file (從現有檔案匯入)

各項來源類型均有其相關的設定：

 1. None (無) – 不為專案進行自動擷取。
 2. WordPress.org – 輸入WordPress.org SVN 存放庫代稱以進行自動擷取 (以 GP Auto Extract
    這個外掛來說，代稱為 gp-auto-extract)。
 3. GitHub – 輸入 GitHub 使用者名稱及存放庫名稱以進行擷取 (例如 toolstack/gp-auto-extract)。
 4. Custom (自訂來源) – 輸入指向內含原始碼的 ZIP 壓縮檔完整網址以進行擷取。

各項設定輸入完畢後，按一下畫面右方的 [儲存] 按鈕，之後便能在選定的專案的下方執行[
Extract]，為此專案更新原文。

## 安裝方式

從 WordPress 外掛目錄進行安裝。

## 常見問題集

### 這個外掛是否支援遠端存放庫的 Webhook？

尚未支援。1.0 版可能會支援 Webhook，所以只要遠端檔案產生變更，就會執行擷取。

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈GP Auto Extract〉的開發相關工作。

參與者

 *   [ Greg Ross ](https://profiles.wordpress.org/gregross/)
 *   [ Thiago Benvenuto ](https://profiles.wordpress.org/brazabr/)

[將〈GP Auto Extract〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/gp-auto-extract)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/gp-auto-extract/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/gp-auto-extract/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/gp-auto-extract/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/gp-auto-extract/)。

## 變更記錄

#### 1.1

 * Release Date: November 6, 2024
 * Fixed: Fatal error for subprojects when auto extract triggered from the front
   end.

#### 1.0

 * Release Date: November 5, 2024
 * Fixed: Missing assets for js/css.
 * Fixed: Various PHP8 deprecation warnings.
 * Fixed: Duplicate function definition in another plugin has already include the
   WP file.php code.

#### 0.9

 * Release Date: October 9, 2024
 * Added: Support for WordPress Themes, thanks @pedro-mendonca.
 * Fixed: Warnings/errors due to create_function() being removed in PHP8.
 * Updated: pomo and extract functions from WP and WP I18N libraries respectively.

#### 0.8

 * Release Date: January 16, 2017
 * Info: Welcome new contributor brazabr!
 * Added: Support for HTTP Basic Authentication for GitHub (thanks brazabr).
 * Added: Option to skip POT generation and import an existing file from repository/
   archive (thanks brazabr).
 * Added: Option to override GitHub branch or tag (thanks brazabr).
 * Updated: UI for editing each project setting (thanks brazabr).

#### 0.7

 * Release Date: January 10, 2017
 * Added: Auto Extract option to the projects menu on the front end.
 * Fixed: Various WP_DEBUG warnings.
 * Fixed: Better handling of corrupt zip files.
 * Fixed: Make sure to remove temporary files.
 * Fixed: Source file references would incorrectly include plugin top level directory,
   thanks @brazabr.

#### 0.6

 * Release Date: March 18, 2016
 * Documentation updates.

= 0.5
 * Release Date: January 28, 2016 * Initial release.

## 中繼資料

 *  版本 **1.1**
 *  最後更新 **2 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 4.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.6.5**
 *  語言
 * [English (US)](https://wordpress.org/plugins/gp-auto-extract/)
 * 標籤:
 * [glotpress](https://tw.wordpress.org/plugins/tags/glotpress/)[translation](https://tw.wordpress.org/plugins/tags/translation/)
 *  [進階檢視](https://tw.wordpress.org/plugins/gp-auto-extract/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/gp-auto-extract/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/gp-auto-extract/reviews/)

## 參與者

 *   [ Greg Ross ](https://profiles.wordpress.org/gregross/)
 *   [ Thiago Benvenuto ](https://profiles.wordpress.org/brazabr/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/gp-auto-extract/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://toolstack.com/donate)