[WordPress] 外掛分享: Bunny.net+BunnyAPI

前言介紹

  • 這款 WordPress 外掛「Bunny.net+BunnyAPI」是 2020-03-02 上架。
  • 目前有 40 個安裝啟用數。
  • 上一次更新是 2023-09-14,距離現在已有 598 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 4 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

notetoservices |

外掛標籤

file | upload | bunnyapi | bunnycdn | organize |

內容簡介

使用BunnyAPI外掛可以上傳檔案到Bunny.net檔案存儲區,節省您網站的空間,同時加快所有圖片的速度。

詳細資訊

BunnyAPI (https://bunnyapi.com) by NoteToServices (https://notetoservices.com) 是與Bunny.net (https://bunny.net)合作的專案,旨在將Bunny.net外掛 (https://wordpress.org/plugins/bunnycdn/) 的功能擴展到WordPress領域,作為一個文件存儲和內容交付網路服務。

Bunny.net+BunnyAPI可讓您從網站直接上傳到Bunny.net,並查看或鏈接您的圖片。

此外掛需要在Bunny.net.com註冊帳戶,以及在BunnyAPI.com註冊API密鑰。

技術詳情

Bunny.net是一個CDN服務,以驚人的價格存儲和交付文件。

BunnyAPI (https://bunnyapi.com)是一個連接到Bunny.net (https://bunny.net) 的服務。

BunnyAPI只處理Bunny.net和第三方網絡應用程序之間的API通信,包括WordPress (Bunny.net+BunnyAPI外掛)。

Bunny.net+BunnyAPI外掛添加了將圖像上傳到Bunny.net並直接從Bunny.net存儲區提供的功能,使用默認主機名稱或您的選擇的主機名稱。鏈接結構被更改以指向Bunny.net上的文件。

Bunny.net+BunnyAPI外掛使用WordPress API和Bunny.net API。

緊急通知

如果您的Bunny.net拉取區名稱和存儲區名稱不匹配,這是非常必要的。

正確的做法是拉取區名稱和存儲區名稱都為“bunnystuff”,這樣可以打開外掛通信的通道。
錯誤的做法是拉取區名稱為“bunnyzone”,存儲區名稱為“bunnystuff”,這樣將匹配失敗,外掛無法通信。

因此,您的拉取區和存儲區名稱必須完全相同。

已知問題

如果沒有顯示任何東西,因為您的存儲區名稱和區名稱不匹配,最有可能存在的問題是您選擇了與默認模式不同的數據存儲網絡。BunnyAPI.com目前還沒有自動檢測這一點的功能。
您需要在存儲區的FTP和API訪問中記錄存儲數據中心的位置,例如默認情況下,所有存儲位於storage.bunnycdn.com,但您可能選擇了NY、LA或SG,那麼它將是:ny.storage.bunnycdn.com

要手動更改此設置,您需要通過以下方式更改Storage Hostname:
https://bunnyapi.com/?key=API&action=storagehostname&zone=zone&host=main|ny|la|sg

附加資訊

通過Bunny.net Media,您可以選擇原始URL或[img]短碼。

[img]短碼包含多個內置功能,包括圖像src、對齊、標題、alt、鏈接和目標。src是唯一的必要項。

[img]短碼不需要結束標籤。

[img]短碼中也可以包含引號,但不是必需的。

[img]短碼的使用:

[img src=https://bunnyapi.com/bunnyapi-logo.jpg href=https://bunnyapi.com/bunnyapi-logo.jpg link=yes|no align=left|center|right alt=”Bunny API Logo” title=”BunnyAPI 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://bunnyapi.com/bunnyapi-logo.jpg]

[img]短碼詳細信息:
src = 圖片的URL [必填]
href = 圖片的鏈接

原文外掛簡介

Use the BunnyAPI plugin to upload files to the Bunny.net file storage zone and save space on your website while speeding up all images.
Details
BunnyAPI (https://bunnyapi.com) by NoteToServices (https://notetoservices.com) is a collaboration project with Bunny.net (https://bunny.net) to extend the functionality of the Bunny.net plugin (https://wordpress.org/plugins/bunnycdn/) to WordPress, which serves as a file storage content-delivery network service.
Bunny.net+BunnyAPI allows you to upload to Bunny.net directly from your website and view or link to your images.
This plugin requires registration of an account at Bunny.net.com and registering your API key at BunnyAPI.com.
Technical Details
Bunny.net is a CDN service that stores and delivers files at hyper speeds for an amazing price.
BunnyAPI (https://bunnyapi.com) is a service that connects to Bunny.net (https://bunny.net).
BunnyAPI handles only the API communications between Bunny.net and third-party web applications, including WordPress (Bunny.net+BunnyAPI plugin).
The Bunny.net+BunnyAPI plugin adds functionality for uploading images to Bunny.net and serving them directly from your Bunny.net storage zone with the default hostname or hostname of your choice. The link structure is changed to point to the file on Bunny.net.
The Bunny.net+BunnyAPI plugin uses WordPress API and Bunny.net API.
URGENT NOTICE
It is imperative that your Bunny.net pullzone name and storagezone name match.
CORRECT: a pullzone name and a storagezone name of “bunnystuff” will be matched and open up a channel for the plugin to communicate.
INCORRECT: a pullzone name of “bunnyzone” and a storagezone name of “bunnystuff” will not be matched and therefore the plugin cannot communicate.
Hence, your Pullzone and Storage zone must have an identical name.
Known Issues
If nothing is showing up because your storage zone name and zone name do match, the most likely issue
is that you chose a different data storage network from the default. BunnyAPI.com does not have the capability of auto-detection for this yet.
On BunnyAPI.com, you will need to go to FTP & API Access under your storage zone and take note of where the storage data center is. For example,
by default, all storage is located at storage.bunnycdn.com, however you may have chosen NY, LA, or SG, in which case it would then be:
ny.storage.bunnycdn.com
To change this manully, you need to change the Storage Hostname via:
https://bunnyapi.com/?key=API&action=storagehostname&zone=zone&host=main|ny|la|sg
Additional Info

Through Bunny.net Media, you can select a raw URL or a [img] shortcode.

The [img] shortcode has multiple built-in features including image src, alignment, title, alt, link, and target. src is the only requirement.

The [img] shortcode does not require a closing tag.

The [img] shortcode may include quotes if you prefer, but quotes are not required.

[img] shortcode usage:
[img src=https://bunnyapi.com/bunnyapi-logo.jpg href=https://bunnyapi.com/bunnyapi-logo.jpg link=yes|no align=left|center|right alt=”Bunny API Logo” title=”BunnyAPI 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://bunnyapi.com/bunnyapi-logo.jpg]
[img] 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 BunnyAPI, you agree that your website will need to make external calls to BunnyAPI.com and Bunny.net.com.
If you do not agree to these terms, please uninstall and delete this plugin.
If you find this plugin useful, please give a review.
Bunny.net’s Terms of Service: https://bunny.net/tos
BunnyAPI’s Terms of Service: https://bunnyapi.com/?page=terms
BunnyAPI is a third-party service of Bunny.net and was developed by NoteToServices under permission of Bunny.net.
If you have any issues with the BunnyAPI plugin, please use the BunnyAPI support forums on WordPress, not the Bunny.net forums.
Bunny.net is a product of BunnyWay.
You may not redistribute this plugin or alter the name in any way without permission from NoteToServices or BunnyWay.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Bunny.net+BunnyAPI」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • Theme Editor 》主題編輯器 (Theme Editor) 允許您編輯主題文件、建立資料夾、上傳檔案,以及在主題和外掛中移除任何檔案和資料夾。您可以直接自訂主題和外掛。, 升級至專業...。
  • What The File 》What The File 是一個 WordPress 外掛,在您的工具列中增加了一個選項,顯示目前正在檢視的頁面所使用的文件和模板部分。, 您可以通過單擊文件名直接使用佈景...。
  • Phoenix Media Rename 》通過使用「Phoenix Media Rename」外掛,將您的媒體檔案重新命名,極大地提高您的 SEO。, 在Phoenix Media Rename 官方頁面上提供了完整的使用和設置指南。。
  • Media File Renamer: Rename for better SEO (AI-Powered) 》從儀表板直接重命名和移動檔案,可以逐個或批量進行操作,還可以設置自動重命名檔案的功能,提高 SEO、整理 WordPress、讓生活更美好。如需更多信息,請訪問...。
  • WordPress File Upload 》這個外掛讓你或其他使用者可以從任何頁面、文章或側邊欄輕鬆、安全地上傳檔案到你的網站。, 只需要在任何 WordPress 頁面/文章中加入簡碼 [wordpress_file_up...。
  • Simple File Downloader 》這個外掛將允許管理員在最簡單、無壓力的方式下向任何文章/頁面中添加下載連結。, 無需使用者限制,所有網站訪客都可以從您的網站下載任何文件。, 功能, , 在...。
  • Download Attachments 》Download Attachments 是 WordPress 的新型下載管理工具,它可以簡化界面、提供拖放和 AJAX 驅動的 metabox 來插入和管理您的媒體庫文件,然後通過自動或手動...。
  • WP-DownloadManager 》一般使用, , 您需要重新生成永久鏈接WP-Admin -> 設置 -> 永久鏈接 -> 儲存變更, 為了將一個特定的檔案嵌入文章/頁面中以供下載,請使用[download i...。
  • PDF Block 》這款 WordPress 外掛提供了簡單、不花俏的區塊,讓您可以輕鬆在網站上嵌入 PDF 檔案。完全免費、支援回應式設計,並專為 Gutenberg 編輯器打造。, , 您可以從...。
  • WP Better Attachments 》這款外掛讓你可以在文章編輯器中直接新增/編輯/附加/取消附加/刪除/排序WordPress文章附加的檔案。與WordPress無縫整合,使用預設的WordPress附件類型,完全...。
  • Store file uploads for Contact Form 7 》預設狀態下,Contact Form 7 不會保留通過其聯絡表單發送的數據。, 雖然像 Flamingo 這樣的外掛會保存這些數據,但上傳的文件並不會添加到媒體庫。, 這個外掛...。
  • WordPress File Monitor 》監視您的網站,以查看新加、更改和已刪除的檔案!跟蹤所有網站目錄中的變更,並在電子郵件中收到警報!免費保持安全!, 功能, , 監視檔案系統以查看新增/刪除...。
  • Custom Post Type Attachment 》, 這個外掛程式將允許您上傳檔案到您的文章或頁面或任何其他自訂文章類型中。, 您可以使用短碼或函數來顯示附件。, 只需安裝外掛程式並從 設置-> 自訂文章...。
  • Increase upload file size & Maximum Execution Time limit 》[ ✅ 由 Puvox 提供的安全插件 ] :, , • 為了安全起見,已進行修改以確保無漏洞。, • 高效,不會增加網站的負載或讓網站變慢。, • 不會收集私人數據。, ,...。
  • Delete Post with Attachments 》預設情況下,當您刪除文章或頁面時,該文章所關聯的媒體檔案或附件並不會被刪除。將這些孤立的檔案保留在您的伺服器上只會佔用大量寶貴的網路空間,而沒有任...。

文章
Filter
Apply Filters
Mastodon