在实时信息里显示了服务器返回的详细信息。
更新了发送Ping命令的流程,成功率有了较大提高。
全面支持发送中文信息。
界面截图:
下载地址:http://www.tiray.net/page/Tiray-Blog-Ping.aspx
下面是用Fiddler截获的向Google发送Ping命令的数据包:
POST /ping/RPC2 HTTP/1.1
Content-Type: text/xml
User-Agent: Tiray Blog Ping
Host: blogsearch.google.com
Content-Length: 585
Expect: 100-continue
Connection: Keep-Alive
<?xml version="1.0"?>
<methodCall>
<methodName>weblogUpdates.extendedPing</methodName>
<params>
<param>
<value>
<string>Tiray软件博客--关注软件开发技术及资讯</string>
</value>
</param>
<param>
<value>
<string>http://www.tiray.net</string>
</value>
</param>
<param>
<value>
<string>http://www.tiray.net/default.aspx</string>
</value>
</param>
<param>
<value>
<string>http://www.tiray.net/syndication.axd</string>
</value>
</param>
<param>
<value>
<string>软件开发|Software development</string>
</value>
</param>
</params>
</methodCall>
下面是Google返回的数据包:
HTTP/1.1 200 OK
Content-Type: text/xml; charset=ISO-8859-1
Set-Cookie: PREF=ID=7a24373b291a2bb3:TM=1212177647:LM=1212177647:S=N-Y2xUoIqTTHM7RE; expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com
Date: Fri, 30 May 2008 20:00:47 GMT
Server: psfe
Content-Length: 305
<?xml version="1.0"?>
<methodResponse><params>
<param><value><struct>
<member>
<name>flerror</name><value><boolean>0</boolean></value>
</member>
<member>
<name>message</name><value>Thanks for the ping.</value>
</member>
</struct></value></param>
</params></methodResponse>