前言介紹
- 這款 WordPress 外掛「DreamAPI」是 2021-01-03 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2021-01-04,距離現在已有 1581 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
upload | dreamapi | organize | dreamhost | dreamobjects |
內容簡介
r>
使用 DreamAPI 外掛,將檔案上傳至 DreamHost DreamObjects 檔案儲存區,以節省網站空間。
詳細資訊
數年前,DreamHost 提出了一個很好的儲存解決方案,稱為 DreamObjects,並發布了一個 WordPress 外掛 DreamSpeedCDN 來搭配使用。但是,過了一年左右,他們停止了該外掛,使 DreamObjects 成為僅僅是一個簡單的儲存解決方案,而不是實際的 CDN,但它具備成為 CDN 的所有功能。
不清楚為什麼 DreamHost 停止了這個外掛,但可能的原因是他們當時沒有足夠的使用 DreamObjects 的用戶,也沒有真正推廣 WordPress 給他們的用戶。現在是 2020 年,DreamHost 托管了近 2 百萬個網站,其中大部分使用 WordPress。考慮到 DreamHost 還提供了 DreamPress,這是一個針對 WordPress 網站的托管解決方案,DreamObjects 被用作儲存和 CDN 很合理。
DreamHost 沒有重新開發他們的 DreamSpeed CDN 外掛,你可以在 Github 上找到一個無法運行的歸檔版本。然而,要让其再次運作需要一些編程知識。在這個 WordPress 論壇帖子中
(DreamSpeed Alternative [https://wordpress.org/support/topic/dreamspeed-cdn-alternative/]),
Ipstenu (Mika Epstein) (@ipstenu) 提出使用 Ilab Media Tools (https://wordpress.org/plugins/ilab-media-tools/) 這個外掛作為暫時的解決方案,因為 DreamObjects 可以兼容 S3,而此外掛可以設定使用 DreamObjects。它一直運作得很好,但有時外掛可能有問題,並且無法強制從媒體庫上傳檔案到 DreamObjects。雖然這個外掛不是特定針對 DreamObjects 設計,但可以在各種不同的平台上使用。
由於存在問題的外掛並不專注於 DreamObjects,且作为 DreamHost 的十年客戶,我使用 DreamObjects,為了確保我能夠輕鬆地連接任何網站到 DreamObjects 而不會遇到任何問題,包括任何 WordPress 網站。我決定開發一個服務,以非官方的外掛方式連接 DreamObjects 並上傳檔案。
這個服務和外掛是在沒有得到 DreamHost 確認的情況下創建的,因為他們從未回复我的支援票證,現在他們已經關閉了該支援票證。我確信有很多 DreamHost 用戶可以使用這樣的外掛,以便他們可以完全利用 DreamHost 和其所有服務。
這個外掛需要在 DreamHost.com 和 DreamAPI.link 註冊帳戶。
備註:任何與此外掛或 DreamAPI.link 服務有關的問題均不與 DreamHost.com 關聯。
技術詳細資訊
DreamAPI (https://dreamapi.link) 是 NoteToServices (https://notetoservices.com) 提供的,是 DreamObjects 擴展到 WordPress 的一個檔案儲存服務,而這個外掛則允許你將它轉換為 CDN。
已知問題
其他資訊
通過 DreamObjects Media,你可以選擇原始 URL 或 [dreamimg] 短碼。
[dreamimg] 短碼具有多個內置功能,包括圖像 src、對齊、標題、alt、連結和目標。其中 src 是唯一必要的參數。
[dreamimg] 短碼不需要結束標籤。
[dreamimg] 短碼可以包含引號,但不是必須的。
[dreamimg] 短碼用法:
原文外掛簡介
Use the DreamAPI plugin to upload files to the DreamHost DreamObjects file storage zone to save space on your website.
Details
Several years ago, DreamHost came up with a great storage solution known as DreamObjects, and then also released a WordPress plugin
called DreamSpeedCDN to go with it. After a year or so, they discontinued the plugin, which made DreamObjects a simple storage
solution instead of an actual CDN, yet it has all the capabilities of being a CDN.
It is uncertain why DreamHost discontinued this plugin, but the possible reasons are that they did not have enough users
using DreamObjects at the time and they were not really pushing WordPress to their users. Fast forward to 2020, and DreamHost
is hosting nearly 2 million websites, a majority of which are using WordPress. Considering that DreamHost also offers DreamPress,
a managed hosting solution specifically for WordPress websites, it only makes sense for DreamObjects to be utilized as a storage and
CDN service.
DreamHost has no plans to revive their DreamSpeed CDN plugin, and you can find a non-working archived version of it on Github. However,
it does require some coding knowlege to get it working again. In this WordPress forum topic
(DreamSpeed Alternative [https://wordpress.org/support/topic/dreamspeed-cdn-alternative/]),
Ipstenu (Mika Epstein) (@ipstenu) came up with a suggestion for a temporary solution by using
Ilab Media Tools (https://wordpress.org/plugins/ilab-media-tools/), as DreamObjects is S3 compatible and this plugin can be setup
to use DreamObjects. It has been working great for a long time, but there are times where the plugin can be spotty,
and there is no way to force a file upload from the Media Library to DreamObjects with this plugin. This plugin is not specific
to DreamObjects and can be used with a variety of different platforms.
As a result of the buggy plugin, that does not solely focus on DreamObjects, and being a decade customer of DreamHost,
who uses DreamObjects, I decided to build a service to ensure that I could easily link any website to DreamObjects without issues,
including any WordPress website, bridging that gap with an unofficial plugin that can easily connect to DreamObjects and upload files.
This service and plugin were created without any confirmation from DreamHost, as they never did respond back to my support ticket,
which they have now closed. I do firmly believe that there are a lot of DreamHost users that could use a plugin like this,
so that they can fully utilize DreamHost and all of its services.
This plugin requires registration of an account at DreamHost.com and DreamAPI.link.
Note: Any issues that arise with this plugin or the DreamAPI.link service are not associated with DreamHost.com.
Technical Details
DreamAPI (https://dreamapi.link) by NoteToServices (https://notetoservices.com) extends the functionality of DreamObjects to
WordPress, which serves as a file storage service, but with this plugin, allows you to turn it into a CDN.
Known Issues
Additional Info
Through DreamObjects Media, you can select a raw URL or a [dreamimg] shortcode.
The [dreamimg] shortcode has multiple built-in features including image src, alignment, title, alt, link, and target. src is the only requirement.
The [dreamimg] shortcode does not require a closing tag.
The [dreamimg] shortcode may include quotes if you prefer, but quotes are not required.
[dreamimg] shortcode usage:
[dreamimg src=https://DreamAPI.link/DreamAPI-logo.jpg href=https://DreamAPI.link/DreamAPI-logo.jpg link=yes|no align=left|center|right alt=”DreamAPI Logo” title=”DreamAPI website” target=_blank|_self|_top|_parent display=inline|block|contents|flex|grid|inline-block|inline-flex|inline-grid|inline-table|list-item|run-in|table|none|initial|inherit data-src=none|https://DreamAPI.link/DreamAPI-logo.jpg]
[dreamimg] shortcode details:
src = url of image [required]
href = link to image or another url
link = link directly to image or not
align = position of image
alt = alternative text for image
title = used for a title in the link
target = how you wish to open the link of the image
display = how you want your image to be displayed
data-src = data-src used for Javascript purposes, leave blank to capture the default src or none to remove data-src
Copyright Info
Copyright (C) 2015-2021 NoteToServices
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Terms
By using this plugin and enabling DreamAPI, you agree that your website will need to make external calls from DreamAPI.link and DreamObjects.
If you do not agree to these terms, please uninstall and delete this plugin.
If you find this plugin useful, please give a review.
DreamHost’s Terms of Service: https://www.dreamhost.com/legal/terms-of-service/
DreamAPI’s Terms of Service: https://DreamAPI.link/?page=terms
DreamAPI is a third-party service of DreamHost and was developed by NoteToServices under permission of DreamHost.
If you have any issues with the DreamAPI plugin, please use the DreamAPI support forums on WordPress, not the DreamHost forums.
You may not redistribute this plugin or alter the name in any way without permission from NoteToServices.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「DreamAPI」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
DreamObjects Backups 》最終更新, 此外掛已不再受支援。我將會提供安全修補,直到2022年12月止,此後,此外掛將被關閉。, DreamHost 自有其雲端 - DreamObjects™ – ,這...。