[wordpress插件] Download S3 Content下载S3内容

wordpress 插件 文章 2020-04-21 19:41 515 0 全屏看文

AI助手支持GPT4.0

评分
20
描述

This plugin used to download contents from s3 bucket in WordPress site.

此插件用于从WordPress网站中的s3存储桶下载内容。

Using this plugin, we can download contents like doc, docx, xls, xlsx, pdf from S3 bucket.

使用此插件,我们可以从S3存储桶下载doc,docx,xl​​s,xlsx,pdf等内容。

This plugin will save your AWS access, secret key and bucket name informations in your WordPress database.

此插件会将您的AWS访问,密钥和存储桶名称信息保存在WordPress数据库中。

Using AWS SDK, this will get content from S3 and downloads it.

使用AWS开发工具包,它将从S3获取内容并下载。

Example:

示例:

If you have a file (file.pdf) in S3 bucket name “mybucket”

如果您在S3存储桶中有一个名为“ mybucket”的文件(file.pdf)

Create Url in WordPress like following : http://example.com/file.pdf

在WordPress中创建网址,如下所示:http://example.com/file.pdf

This plugin will get content from the following URL : http://mybucket.s3-us-west-2.amazonaws.com/file.pdf

此插件将从以下URL获取内容:http://mybucket.s3-us-west-2.amazonaws.com/file.pdf

安装步骤

    1. Upload s3-content-downloader to the /wp-content/plugins/ directory.
    2. s3-content-downloader 上载到 / wp-content / plugins / 目录。

    3. Activate the plugin through the ‘Plugins’ menu in WordPress.
    4. 通过WordPress中的“插件”菜单激活插件。

    5. Go to “S3 Content Downloader Settings page” to update AWS Access, Secret Key and Bucket Name and click update settings.
    6. 转到“ S3内容下载器设置”页面以更新AWS Access,密钥和存储桶名称,然后单击更新设置。

    7. Go to permalink and select post name option
    8. 转到永久链接并选择帖子名称选项

下载地址
https://downloads.wordpress.org/plugin/download-s3-content.zip
-EOF-

AI助手支持GPT4.0