该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.