{"id":222016,"date":"2011-04-29T08:00:00","date_gmt":"2011-04-29T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/yd-webhook-to-xml-rpc\/"},"modified":"2011-04-30T02:10:00","modified_gmt":"2011-04-30T02:10:00","slug":"yd-webhook-to-xml-rpc","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/yd-webhook-to-xml-rpc\/","title":{"rendered":"YD Webhook to XML-RPC"},"content":{"rendered":"<h4>Implement incoming Webhooks in WordPress<\/h4>\n<p>This plugin implements a simple gateway to transform webhook calls into regular XML-RPC calls.<\/p>\n<p>WordPress has a very comprehensive XML-RPC API. This gateway will automatically accept webhook calls and convert them into XML-RPC.<\/p>\n<p>It listen to Webhooks to trigger XML-RPC methods in WordPress.<\/p>\n<p>It provides a simple short \/webhook URL for triggering WordPress events.<\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<p>Needs PHP5.<\/p>\n<h4>Webhook syntax<\/h4>\n<p>If you are using pretty permalinks:<\/p>\n<pre><code>http:\/\/[your-site]\/webhook?method=misc.method\n<\/code><\/pre>\n<p>If you are not using permalinks, you need to call the long full url:<\/p>\n<pre><code>http:\/\/[your-site]\/wp-content\/plugins\/yd-webhook-to-xml-rpc\/webhook.php?method=misc.method\n<\/code><\/pre>\n<p>replace <code>misc.method<\/code> with any XML-RPC method, either WordPress built-in, or your own, or from a third-party plugin.<\/p>\n<h4>Uses<\/h4>\n<p>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).<\/p>\n<h4>Active support<\/h4>\n<p>Drop me a line on my <a href=\"http:\/\/www.yann.com\/en\/wp-plugins\/yd-webhook-to-xml-rpc\" title=\"Yann Dubois' Webhook to XML-RPC plugin\" rel=\"nofollow ugc\">YD Webhook to XML-RPC plugin support site<\/a> to report bugs, ask for specific feature or improvement, or just tell me how you\u2019re using it.<\/p>\n<h3>Revisions<\/h3>\n<ul>\n<li>0.1.0. Initial beta release of 2011\/04\/29<\/li>\n<\/ul>\n<h3>Did you like it?<\/h3>\n<p>Drop me a line on http:\/\/www.yann.com\/en\/wp-plugins\/yd-webhook-to-xml-rpc<\/p>\n<p>And\u2026 <em>please<\/em> rate this plugin \u2013><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Implement incoming Webhooks in WordPress<\/p>\n","protected":false},"author":65,"featured_media":306772,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"YD Webhook to XML-RPC - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Implement incoming Webhooks in WordPress"},"footnotes":""},"categories":[1],"tags":[14285,9953,2115,4557,10644],"class_list":["post-222016","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-web-service","tag-webhook","tag-webservice","tag-xml-rpc","tag-xmlrpc"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/222016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=222016"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/222016\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/306772"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=222016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=222016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=222016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}