How to automatically ping pingomatic in PHP?

I want to automatically ping pingomatic when I update my blog, as wordpress does. Pingomatic uses XMLRPC, but I do not know how this works. Can someone help me.

+3
source share
1 answer

At first glance it seems pretty simple. The form is a simple HTML form with the = get method, and I do not see any XMLRPC code. I would say that you just fill out the form once, click to submit, and then copy the resulting URL from the address bar in PHP http_get()or fopen(). The results page says, โ€œBookmark this page and then return it to auto-ping again,โ€ so I'm sure a simple GET request is enough and there is no other magic.

+3
source

Source: https://habr.com/ru/post/1731593/


All Articles