• WordPress uses the weblog_ping function in the functions.php file to send a ping to an aggregator. The aggregator receives the ping which contains the URL to the blog and its title. It then turns around and issues a pingback or trackback and fetches the permalink to the current post as well as its title.

    Which WordPress function does it invoke to fetch these two parameters?

Viewing 5 replies - 1 through 5 (of 5 total)
  • invoke which two parameters? The permalink and post title? These are passed via HTTP POST when the publish (or edit) button is pressed in the edit screen.

    Thread Starter lennartf

    (@lennartf)

    Thanx! Where can I find a description of the datastructure used? I am picking up the two parms that come via the weblog_ping function, or at least I assume that it comes from there. But I am not seeing the other two parms, i.e. permalink and Post Title.

    Take a look through /wp-admin/post.php. This should show you how pingbacks and trackbacks are triggered.

    weblog_ping uses the data from the options table, which is set under your options tab.

    Thread Starter lennartf

    (@lennartf)

    Right. My confusion stems from the fact that weblog_ping implements the https://www.xmlrpc.com/weblogsCom XML-RPC protocol. I understand how it works, and weblog_ping sends two parms, which I pick up correctly. But it does not send the permalink and post title. So are they sent separately? The reply above seems to say that they are sent separately in an HTTP Post.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Pingback to WordPress’ is closed to new replies.