Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to set up a ping to weblogs.com 1

Status
Not open for further replies.

gchen

Programmer
Nov 14, 2002
174
US
Gurus,

I have a perl blog and i need to makeit ping to weblogs.com every time i post a new message. it is not a full blown weblog so i will need to add some perl codes to get there.

but i am not sure how the ping thing works... i do have a RSS feed though. is it something similar and i just need to send my rss feed to weblogs.com via some sort of protocol?

can someone help to shed some light?

thanks a lot!

Gary
 
Have a look for Net::ping on CPAN.

I'm not sure I fully understand what you mean by PING though

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Paul,

thanks for the tip....

i have a blog and i want to set up an API to weblogs.com and other blog directories so that every time i have a new posting, it can automatically notify weblogs.com and the like.

here is the requirement by weblogs.com - and i do not understand what exactly how the API or the PING works.

Thanks!

Gary
 
It's a ping, Jim, but not as we know it...

From the link, it's an XML RPC call over HTTP. You could probably do it with LWP. As an experiment, however, before you waste a lot of time on it, cut and paste the sample into a file. Don't delete the blank line between the header and the content, it's required. Edit it so it has appropriate parameters for your blog.

telnet rpc.weblogs.com 80 and paste the contents of your file at the prompt. You should get a response back, and the connection will be closed. Check the response - if it's successful, you blog should be listed after about ten minutes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top