[WordPress] 外掛分享: DigitalOcean Spaces Sync

前言介紹

  • 這款 WordPress 外掛「DigitalOcean Spaces Sync」是 2017-11-22 上架。
  • 目前有 800 個安裝啟用數。
  • 上一次更新是 2020-02-16,距離現在已有 1904 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
  • 有 13 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

keeross |

外掛標籤

cloud | object | spaces | storage | digitalocean |

內容簡介

DigitalOcean Spaces Sync 外掛可將您的多媒體媒體庫連接至 DigitalOcean Spaces 容器。它將您的網站數據同步到雲端儲存空間,並可選擇替換圖像鏈接。您可以將媒體保留在本地(在您的伺服器上)並在雲端儲存空間創建備份,或者從 DigitalOcean Spaces 裡提供所有媒體內容。

為使用此外掛程式,您必須建立 DigitalOcean Spaces API 金鑰。

現在,您可以定義常量以配置此外掛程式。如果已定義該常量,則它將覆蓋設定頁面上的值。
常量說明:
– DOS_KEY – DigitalOcean Spaces 金鑰
– DOS_SECRET – DigitalOcean Spaces 密鑰
– DOS_ENDPOINT – DigitalOcean Spaces 端點
– DOS_CONTAINER – DigitalOcean Spaces 容器
– DOS_STORAGE_PATH – 儲存空間中的文件路徑,將顯示為前綴。
– DOS_STORAGE_FILE_ONLY – 只在 DigitalOcean Spaces 中進行文件儲存或否,值 true 或 false。
– DOS_STORAGE_FILE_DELETE – 在刪除時從 DigitalOcean Spaces 中刪除文件或否,值 true 或 false。
– DOS_FILTER – 正規表示式過濾程序。
– UPLOAD_URL_PATH – 文件的完整 URL,WP 常量。
– UPLOAD_PATH – 本地文件的路徑,WP 常量。

WordPress 內置圖像編輯器存在已知問題,它無法上傳更改後的圖像。如果您知道如何修補此問題,歡迎提交 Pull Request。

原文外掛簡介

DigitalOcean Spaces Sync plugin connects your Media Library to a container in DigitalOcean Spaces. It syncs data from your website to cloud storage
and replaces links to images (optional). You may keep the media locally (on your server) and make backup copy to cloud storage, or just serve it all
from DigitalOcean Spaces.
In order to use this plugin, you have to create a DigitalOcean Spaces API key.
You may now define constants in order to configure the plugin. If the constant is defined, it overwrites the value from settings page.
Contants description:
– DOS_KEY – DigitalOcean Spaces key
– DOS_SECRET – DigitalOcean Spaces secret,
– DOS_ENDPOINT – DigitalOcean Spaces endpoint,
– DOS_CONTAINER – DigitalOcean Spaces container,
– DOS_STORAGE_PATH – The path to the file in the storage, will appear as a prefix,
– DOS_STORAGE_FILE_ONLY – Keep files only in DigitalOcean Spaces or not, values (true|false),
– DOS_STORAGE_FILE_DELETE – Remove files in DigitalOcean Spaces on delete or not, values (true|false),
– DOS_FILTER – A Regex filter,
– UPLOAD_URL_PATH – A full url to the files, WP Constant,
– UPLOAD_PATH – A path to the local files, WP Constant
There is a known issue with the built in WordPress Image Editor, it will not upload changed images. Know how to fix this, PR welcome.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「DigitalOcean Spaces Sync」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.1 | 1.0.2 | 1.0.3 | 1.0.5 | 1.0.6 | 1.0.7 | 1.0.8 | 1.1.0 | 1.1.1 | 2.0.1 | 2.0.2 | 2.0.3 | 2.0.4 | 2.0.5 | 2.2.0 | 2.2.1 | trunk | 2.0.11 | v2.1.0 | 1.0.7.1 | 1.1.0.1 | 2.0.2.1 |

延伸相關外掛(你可能也想知道)

  • Unfiltered MU 》Unfiltered MU 提供給管理者和編輯者 unfiltered_html 功能。這可避免 WordPress MU/WordPress 3.0 多站點從這些使用者的文章中刪除