How to Automatically Ping Blog Portal Many of you have asked about pinging the Blog Portal programmatically. The following is the code in M$ ASP. In ASP:
Dim objXMLHTTP, sReturn, sPingURL
Set objXMLHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP") sPingURL = "http://www.kamat.org/community/ping.asp?" & _
_ BlogURL=$BlogURL$&Annotation=$BlogTitle$" 'customize the ping depending on your blog software
sPingURL = Replace(sPingURL ,"$BlogURL$", BlogMainURL)
sPingURL = Replace(sPingURL ,"$BlogTitle$", BlogTitle) objXMLHTTP.Open "GET", strURL, false
objXMLHTTP.Send() sReturn= objXMLHTTP.ResponseText
Set objXMLHTTP = Nothing
Perl, PHP and other implementations coming soon. If you do not have the capability to program on your host, you can create a bookmark
in your browser to the following location:
http://www.kamat.org/community/ping.asp?BlogURL=YourBlogURL
and click on it whenever you wish to ping.
Please note that the Pickup Line is not updated
when you choose this method.
Friday Trinkets
(Comments Disabled for Now. Sorry!) | First Written: Friday, August 16, 2002 Last Modified: 1/30/2003 Tags: desiblogs |
|