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

S3 Spaces Sync

外掛說明

S3 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

  • S3_SPACE_KEY – DigitalOcean Spaces key
  • S3_SPACE_SECRET – DigitalOcean Spaces secret,
  • S3_SPACE_ENDPOINT – DigitalOcean Spaces endpoint,
  • S3_SPACE_CONTAINER – DigitalOcean Spaces container,
  • S3_SPACE_STORAGE_PATH – The path to the file in the storage, will appear as a prefix,
  • S3_SPACE_FILE_ONLY – Keep files only in DigitalOcean Spaces or not, values (true|false),
  • S3_SPACE_FILE_DELETE – Remove files in DigitalOcean Spaces on delete or not, values (true|false),
  • S3_SPACE_FILTER – A Regex filter,
  • S3_SPACE_CDN_URL – A full url to the files, WP Constant,
  • S3_SPACE_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.

螢幕擷圖

  • Configuration screen

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/s3-spaces directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings -> S3 Spaces Sync screen to configure the plugin
  4. Create a DigitalOcean Spaces API key and container

常見問題集

:TODO

使用者評論

2024 年 3 月 5 日
There are code issues not allowing the integration DigitalOcean.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈S3 Spaces Sync〉的開發相關工作。

參與者

將〈S3 Spaces Sync〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release.