[WordPress] 外掛分享: YD Webhook to XML-RPC

前言介紹

  • 這款 WordPress 外掛「YD Webhook to XML-RPC」是 2011-04-28 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2011-04-29,距離現在已有 5118 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.9 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

ydubois |

外掛標籤

xmlrpc | webhook | xml-rpc | webservice | Web Service |

內容簡介

在 WordPress 中實現 Webhooks

這個外掛提供了一個簡單的閘道,將 webhook 調用轉換為常規的 XML-RPC 調用。

WordPress 擁有非常全面的 XML-RPC API。這個閘道將自動接受 webhook 調用並將其轉換為 XML-RPC 調用。

它聽取 Webhooks 以觸發 WordPress 中的 XML-RPC 方法。

它提供了一個簡單的短網址 /webhook 以觸發 WordPress 事件。

然後,您可以使用眾所周知和文檔完備的 WordPress 原生 XMLRPC API 來回應 Webhooks,並在插件和自定義函數中實現所需的功能。

傳入的 webhook POST 數據有效負載將原封不動地傳輸到 XML-RPC 方法。它應該是 XML 才能正常工作。

需要 PHP5。

Webhook 語法

如果您使用漂亮的永久鏈接:

http://[your-site]/webhook?method=misc.method

如果您沒有使用永久鏈接,則需要調用完整的長網址:

http://[your-site]/wp-content/plugins/yd-webhook-to-xml-rpc/webhook.php?method=misc.method

將 misc.method 替換為任何 XML-RPC 方法,包括 WordPress 內置的,您自己的,或來自第三方插件的方法。

用途

這個閘道已成功用於聽取 Shopify 的 Webhooks 以觸發 WordPress 事件(例如當購買完成時升級用戶狀態)。

積極支持

在我的YD Webhook to XML-RPC plugin 支持網站上給我留言,以報告錯誤,要求特定的功能或改進,或告訴我您如何使用它。

修訂記錄

0.1.0。2011/04/29 初始測試版釋出

您喜歡它嗎?

在 http://www.yann.com/en/wp-plugins/yd-webhook-to-xml-rpc 給我留言。

並且...請給這個插件評分 ->

原文外掛簡介

Implement incoming Webhooks in WordPress
This plugin implements a simple gateway to transform webhook calls into regular XML-RPC calls.
WordPress has a very comprehensive XML-RPC API. This gateway will automatically accept webhook calls and convert them into XML-RPC.
It listen to Webhooks to trigger XML-RPC methods in WordPress.
It provides a simple short /webhook URL for triggering WordPress events.
From then on you can use the well-known and well-documented native WordPress XMLRPC API to respond to webhooks and implement needed features in your plugins and custom functions.
The incoming webhook POST data payload will be transferred as-is to the XML-RPC method. It should be XML for it to work well.
Needs PHP5.
Webhook syntax
If you are using pretty permalinks:
http://[your-site]/webhook?method=misc.method

If you are not using permalinks, you need to call the long full url:
http://[your-site]/wp-content/plugins/yd-webhook-to-xml-rpc/webhook.php?method=misc.method

replace misc.method with any XML-RPC method, either WordPress built-in, or your own, or from a third-party plugin.
Uses
This gateway has successfully been used to listen to Shopify webhooks to trigger WordPress events (such as upgrade user status when a purchase has been completed).
Active support
Drop me a line on my YD Webhook to XML-RPC plugin support site to report bugs, ask for specific feature or improvement, or just tell me how you’re using it.
Revisions

0.1.0. Initial beta release of 2011/04/29

Did you like it?
Drop me a line on http://www.yann.com/en/wp-plugins/yd-webhook-to-xml-rpc
And… please rate this plugin –>

各版本下載點

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

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


最新版本

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

  • WPSOAP 》WPSOAP 外掛可在 WordPress 網站中建立 SOAP 伺服器,並開放 WordPress 使用者、文章、分類、詞彙、選項等資料透過 SOAP WebService 呈現給最終使用者。, 原...。
  • Ad Rakuten 》這個外掛可以讓你在網站上加入樂天產品。, 連結: 樂天開發者 | 作者的個人檔案 | 作者的網站。
  • WordPress Json importer 》若您需要將 JSON 檔案或 Web Service 的文章匯入 WordPress 中,請使用 WordPress Json Importer 外掛。, 您可以在 GitHub上貢獻開發此外掛程式🙂。
  • WP Simple Web Services 》簡單的WordPress Rest Web Services外掛。只需點幾下,即可將JSON REST Web Services添加到您的WordPress網站中。, 請在Git Hub上回報問題和錯誤。。
  • Warehouse.Space – International order fulfillment partner 》任何地點均提供商業倉庫空間, Warehouse.Space 是一項物流和訂單履行服務,針對在線銷售產品並希望將業務擴展至全球市場的企業。, 當天送貨, 在世界各地的部...。
  • Remote Snippets 》在您的 WordPress 網站上顯示從 JSON API 或 Web 服務中取得的即時數據, 使用此外掛程式,您可以從外部來源中以 JSON 或 CSV 格式獲取數據。, 然後,您可以使...。
  • WPoniOS 》WPoniOS – Rest API 是一個 WordPress 外掛,提供 WordPress CMS 的 REST 接口。, REST 接口返回並接受 JSON 格式的數據。例如:, [ { , "...。

文章
Filter
Apply Filters
Mastodon