The following Perl program connects to several update services to let them know that the your site or blog has been updated. The program uses XML-RPC to call the remote weblogUpdates.ping method of each update service with the name and URL of your site or blog as parameters. You can easily extend the list of update services that are used by the program if required so.
Read the rest of Ping your blog via XML-RPC with Perl.
I'll be using this to ping my own website (and probably doing a write up of it on ThinkBlog.org).
People on Digg are downplaying it because WordPress "automatically" does this, but what about if you want to use something other than Ping-O-Matic (another option is Pingoat)? Especially if you have multiple blogs or are administrating a multiple-platform blogging community.
Thanks for the script!
This is a great article. Thanks. I think I will be adding this to my website as soon as I can!
will it also run on windows?
Hi Samantha,
Yes, it will run on Windows, moreover, I have developed it on Windows XP Professional. You can run it once a day, for example, via "Scheduled Tasks" (See Control Panel).
GREAT! This ping script I was waiting for, yes on Digg they all say it is build in Wordpress however this is far better.
Can I link direct to this page perl/ping-blog-via-xml-rpc
Hi John,
Yes, feel free to link to the page directly.
Thanks!
Rock on with your script, all the stuff is ready to add xml-rpc ready sites.
Thanks for the code i will make great use of it.
Can't locate XMLRPC/Lite.pm
what should i do ?
@fabien - XMLRPC::Lite is part of SOAP::Lite. So if you install SOAP::Lite via CPAN you get XMLRPC::Lite as well.
If you're using Active Perl try:
ppm install SOAP-Lite
See also the CPAN FAQ entry How do I install Perl modules?
Good article and site. Congratulations This ping script I was waiting for, yes on Digg they all say it is build in Wordpress however this is far better.
Note that your comment doesn't show up immediately. I review each comment before I add it to this site.
Check the Follow this page option if you want to receive an email each time a comment is posted to this page, including yours. A link to turn this option off will be included with each email.
Internet adresses will be converted automatically. You can use the following notation to specify anchor text for a link: [url=http://example.com/]example text[/url].
Thanks for this but where do I paste your script? And how does ping help my blog