Baidu blog Ping Service Manual submission address attachment:Baidu blog Ping service Q &
Http://ping.baidu.com/ping.html
Submit a blog. In the submit box, enter your blog address or RSS address, and click Submit blog.
Http://utility.baidu.com/blogsearch/submit.php
using the ping service, Baidu blogsearch can capture new content on your blog as soon as possible.
1. What is Ping service?
Ping is an update Notification Service Based on the xml_rpc standard protocol. It is used to notify Baidu when the content of a blog is updated.
blogsearch is captured and updated in a timely manner. After Baidu blogsearch successfully receives the ping request, it
crawls and updates it immediately. Using the ping service, Baidu blogsearch can capture new content from your blog
in the first place.
2 How to Use the ping service
you can use the ping service either manually or automatically:
manual Ping: access the http://ping.baidu.com/ping.html page, enter the blog address or
feed address in the input box, and click "Submit blog.
automatic Ping: If your blog Program supports automatic Ping, you only need to configure the ping service address of Baidu
to go to your blog publishing background or client program to implement the automatic notification function. The address of the Baidu Ping service
is http://ping.baidu.com/ping/rpc2.
3 What are the parts of the xml_rpc client request for automatic Ping?
A XML-RPC customer request sent to a blog search Ping service must contain the following elements:
RPC endpoint: http://ping.baidu.com/ping/RPC2
call Method Name: weblogupdates. extendedping
parameter: (transmitted in the same order as listed below)
blog name
blog homepage address
New Article address
blog RSS address
4 Ping example of a request package:
weblogupdates. extendedping XML-RPC Request example:
post/ping/rpc2 HTTP/1.0
User-Agent: Request
HOST: ping.baidu.com
Content-Type: text/XML
Content-Length: 511
Weblogupdates. extendedping
Baidu Space
Http://hi.baidu.com/baidu/
Http://hi.baidu.com/baidu/blog/item/5e8b10d574e971cd50da4b74.
Html
Http://hi.baidu.com/baidu/rss
Example of Ping-service response
Ping-service returns the http_method_not_allowed (405) Error for a non-post Method RequestCode
The http_request_entity_too_large (413) error code is returned for an oversized error package"
The request packet returns the http_unsupported_media_type (415) error code.
In other cases, the http_ OK (200) code is returned. The XML-RPC response http package is an XML file containing
Int values. 0 indicates that the push is successful. Other values indicate that the push fails. Currently, only 0 and 1 are supported.
When the push is successful, the server response package is:
HTTP/1.1 200 OK
Date: Mon, 11 May 2009 11:54:53 GMT
Content-Length: 156
Connection: Close
Content-Type: text/XML
0
When the push fails, the server response package is:
HTTP/1.1 200 OK
Date: Mon, 11 May 2009 11:54:53 GMT
Content-Length: 156
Connection: Close
Content-Type: text/XML
1