Amazon.com Widgets

introduction (skip if you already know what ping.fm is)
While I like Twitter and its micro-blogging updates, it’s too slow and goes down too often to include in my sidebar. That’s where Ping.fm comes in. It’s a free service that lets you send status updates, micro-blogs, and even blogs to all sorts of sites like twitter, facebook, myspace, and so on.

Ping.fm has a handy Custom URL setting that lets you send an update to a custom URL. Utilizing this, I’ve a little script that will grab the updates and display them in my side-bar. This way, I can use Ping.fm to update my twitter and facebook pages, and update my sidebar at the same time.

You can do the same by following these simple steps. (One caveat though: I’m not a PHP programmer, so use the app at your own peril).

update (2008-07-14): I updated a few things in WordPing.fm such as single and double quote escaping correctly as well as auto-parsing of links into clickable URLs. The updated files are in the same download link. Just over-write your old files with the new ones and don’t forget to change the ping log to whatever you ended up naming it.

update (2008-07-17): Changed the link to link to a zip file.

  1. Download the scripts I created here: word_ping.zip
  2. Unzip the two files it into whatever directory your blog’s main stuff is on (such as /htdocs/)
  3. The default limit of messages to display is 10, so if you want to change that, you can change it at the top of ping_update.php
  4. Likewise, if you want to change the name of the file the messages get logged to, do so in ping_update.php and get_ping.php.
  5. Where you want your ping messages to display (like your sidebar), type in this:
    <?php include(“get_ping.php”); ?>
  6. Last but not least, go to Ping.fm’s Custom URL area and point that to wherever ping_update.php is. For example: http://www.yoursite.com/yourblog/ping_update.php
  7. I(f you want to play with the CSS of how the ping is displayed, the CSS class I created for it is called ping_fm.)

This is still a very primitive version of what I want to do and I know it’s clunky, but until I can get a developer’s key from ping.fm, this will have to do.

Related Posts with Thumbnails
leave a comment

No Comments

  1. Ian Tearle says:

    Could you check your tgz file, seems to be linking to a page rather than a file. Thats in FF3, maybe i’ll try IE.

    I would like to see how your doing things, trying to integrate Ping with Dreamscape CMS (also known as Expanse CMS).

    Let me know when you have the files available again, perhaps provide a ZIP?

  2. NinjaAdmin says:

    Oops sorry about the borked file link. I’ve re-uploaded it as a zip file. Hope this works for you now.