Posts in category “Software Development”

Implementing Pingers

If you are interested in pinging one of the many blog pinger/update sites, you might want to consider Ping-O-Matic.  If you ping them them, they will in turn ping several services by default for you:

  • Weblogs.com
  • Blo.gs
  • Technorati
  • MyYahoo! (currently disabled)
  • BlogRolling
  • BlogChatter
  • PubSub
If you use blogging software that allows you to enter a ping URL, it's real easy.  Just add https://rpc.pingomatic.com/ to your configuration.  If you use a lesser known blogging package (*cough* PolarBlog *cough*) you may need to add it yourself or run a separate script to do the pinging for you.  I'm implementing this in PolarBlog with an option to turn it off and on using code similar to the following test code:

//--- Includes
require('XmlRpc_class.php');

define("XMLRPC_DEBUG", 1); //debugging only!!!

$method = 'weblogUpdates.ping';
$blog_name = 'PolarLava';
$blog_url = 'https://www.polarlava.com/blog/';
$site = 'rpc.pingomatic.com';
$location = '/RPC2';

$params = array(XMLRPC_prepare($blog_name),XMLRPC_prepare($blog_url));
list($stat, $result) = XMLRPC_request( $site, $location, $method, $params );
echo "STAT: $stat<br/>";
foreach ($result as $key => $value) {
  echo(" $key => $value " . '<br/>');
}


When run, this will (hopefully) return the following:
  STAT: 1
  flerror =>
  message => Pings being forwarded to 7 services!
Which indicates that this was successful.

Now before you can use this you need to grab Keith Devens' XML-RPC Library and save that in a separate include file.  That's what is really doing the heavy lifting here.

Hopefully this might be of use to you if you've been trying to figure out how to implement a pinger.  Confession time…this entry is basically a reworking of a Simple way to Ping using PHP and XML-RPC.  That's basically where all of the information you are reading here came from.  Thanks, Kris.

PolarBlog V1.1

It's here!  I've released PolarBlog V1.1 this morning, enjoy.  If you have problem please post your questions to the mailing list.

This has been a long time in the making, but I'm glad to have finally gotten over the hump with this release.  This release basically represents the culmination of nearly a year of work.  It all started with a desire to add a commenting system to PWL and resulted in the creation of PolarBlog.

PolarBlog V1.1 Beta

After nearly 9 months of work, I've finally got a working commenting system implemented for PolarBlog.  So as of right now, this blog is now running the new PolarBlog V1.1 as a Beta test.  Click "Comment (X)" to add a comment.  This should allow you to post a comment on any post that has comments enabled.  When you do this it sends an email to the blog owner (me in this case).  If someone replies to your comment, an email will be sent to you letting you know about it.  Comments should appear for entries when the "Permalink" is selected and are indented a few pixels from the entry.  Replies to comments or other replies will also be indented for each message.  Thus it displays as a nested/threaded comment structure.

There are also numerous bug fixes and some other minor enhancements that are in this release.  I don't expect any major bugs at this point, but I still need to rework the installer/updater script as well as update the documentation.  Thus it's probably still at least a couple of weeks off before this will be released publicly.

Thank You Alan

I have to post this really huge THANK YOU notice that goes out to Alan Caruth.  Alan was kind enough to send me a $65 Amazon gift certificate to show his gratitude for my efforts on developing PolarBlog.  When I started on this project it was to fulfill my personal needs to improve upon Personal Weblog.  Once I decided to completely rewrite it and PWL continued to remain idle, I decided I needed to package it up and offer it up to other PWL users.  Alan has been a tremendous help in testing, documentation feedback, and in general, a sounding board for my work.

Thank you Alan!