add readme

pull/1/head
sy-records 2020-03-31 09:21:40 +08:00
parent 8f76bdddde
commit 9738e53e5d
4 changed files with 103 additions and 0 deletions

40
README.md Normal file
View File

@ -0,0 +1,40 @@
# OSS Aliyun
使用阿里云对象存储 OSS 作为附件存储空间的 WordPress 插件
[![Latest Version](https://img.shields.io/github/release/sy-records/aliyun-oss-wordpress.svg?style=flat-square)](https://github.com/sy-records/aliyun-oss-wordpress/releases)
[![License](https://img.shields.io/github/license/sy-records/aliyun-oss-wordpress?color=blue)](LICENSE)
[![contact-@Luffy](https://img.shields.io/badge/contact-@Luffy-blue.svg)](https://qq52o.me)
[![contributors](https://img.shields.io/github/contributors/sy-records/aliyun-oss-wordpress?color=blue)](https://github.com/sy-records/aliyun-oss-wordpress/graphs/contributors)
## 插件特色
* [x] 可配置是否上传缩略图和是否保留本地备份
* [x] 本地删除可同步删除阿里云对象存储OSS中的文件
* [x] 支持阿里云对象存储OSS绑定的用户域名
* [x] 支持替换数据库中旧的资源链接地址
* [x] 支持阿里云对象存储OSS完整地域使用
* [x] 支持同步历史附件到阿里云对象存储OSS
## 安装
### 后台安装(推荐使用)
WordPress 后台安装插件页面搜索`OSS Aliyun`,点击安装
### 下载源码
从 Github 下载源码,通过 WordPress 后台上传安装,或者直接将源码上传到 WordPress 插件目录`wp-content/plugins`,然后在后台启用
Github 下载节点:[https://github.com/sy-records/aliyun-oss-wordpress/releases/latest](https://github.com/sy-records/aliyun-oss-wordpress/releases/latest)
## 修改配置
* 方法一:在 WordPress 插件管理页面有设置按钮,进行设置
* 方法二:在 WordPress 后台管理左侧导航栏`设置`下`阿里云OSS设置`,点击进入设置页面
## 插件截图
![设置页面](screenshot-1.png)
![update-wordpress-posts-photos.png](screenshot-2.png)

63
readme.txt Normal file
View File

@ -0,0 +1,63 @@
=== OSS Aliyun ===
Contributors: shenyanzhi
Donate link: https://qq52o.me/sponsor.html
Tags: oss, 阿里云, 对象存储, aliyun
Requires at least: 4.2
Tested up to: 5.3.2
Requires PHP: 5.6.0
Stable tag: 1.0.0
License: Apache 2.0
License URI: http://www.apache.org/licenses/LICENSE-2.0.html
使用阿里云对象存储 OSS 作为附件存储空间。This is a plugin that uses Aliyun Object Storage Service for attachments remote saving.
== Description ==
使用阿里云对象存储 OSS 作为附件存储空间。This is a plugin that uses Aliyun Object Storage Service for attachments remote saving.
* 依赖阿里云OSS服务https://www.aliyun.com/product/oss
## 插件特点
1. 可配置是否上传缩略图和是否保留本地备份
2. 本地删除可同步删除阿里云对象存储OSS中的文件
3. 支持阿里云对象存储OSS绑定的用户域名
4. 支持替换数据库中旧的资源链接地址
5. 支持阿里云对象存储OSS完整地域使用
6. 支持同步历史附件到阿里云对象存储OSS
7. 插件更多详细介绍和安装:[https://github.com/sy-records/aliyun-oss-wordpress](https://github.com/sy-records/aliyun-oss-wordpress)
## 其他插件
腾讯云COS[GitHub](https://github.com/sy-records/wordpress-qcloud-cos)[WordPress Plugins](https://wordpress.org/plugins/sync-qcloud-cos)
华为云OBS[GitHub](https://github.com/sy-records/huaweicloud-obs-wordpress)[WordPress Plugins](https://wordpress.org/plugins/obs-huaweicloud)
七牛云KODO[GitHub](https://github.com/sy-records/qiniu-kodo-wordpress)[WordPress Plugins](https://wordpress.org/plugins/kodo-qiniu)
又拍云USS[GitHub](https://github.com/sy-records/upyun-uss-wordpress)[WordPress Plugins](https://wordpress.org/plugins/uss-upyun)
## 作者博客
[沈唁志](https://qq52o.me "沈唁志")
QQ交流群887595381
== Installation ==
1. Upload the folder `aliyun-oss-wordpress` or `oss-aliyun` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. That's all
== Screenshots ==
1. screenshot-1.png
2. screenshot-2.png
== Frequently Asked Questions ==
= 怎么替换文章中之前的旧资源地址链接 =
这个插件已经加上了替换数据库中之前的旧资源地址链接功能,只需要填好对应的链接即可
== Changelog ==
= 1.0 =
* First version

BIN
screenshot-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 KiB

BIN
screenshot-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB