A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me A pic of me
***Dave Does the Blog

The Post

« Previous  •  FRONT PAGE  •  Next »

Wednesday, 3 September 2003, 9:19 AM
Ping, ping, ping went my heart

Last week, Steven Den Beste (temporarily) upgraded his CMS (blogging) software from CityDesk v1 to v2. One of the features the new upgrade touted was the ability to execute a program (or batch file) upon posting a message, which would, in theory, allow for pinging a blog monitoring site such as weblogs.com.

Since I'd love to know when he posts, I offered to assist.

CityDesk is a client-side CMS, so all the files and everything are handled on the local machine's database, then posted on command to a web site -- a different model than the web-hosted sorts of tools such as MT and Blogger and the like. Obviously SDB likes it, though it has aspect that would drive me nuts -- such as a lack of XMLRPC pinging tool. The newest version has aspects that drove SDB nuts, too, so he's rolled back to v1, rendering my discussion with him moot. But I thought I'd post the results here, anyway.

Now, even without XMLRPC tools built-in, it's still possible to manually ping a lot of these sites by going to them and filling out their manual ping form. Even though SDB only posts once or twice a day, that extra step was not in his specs for how he wanted this to work, which was (to sum up):

So, going to the weblogs.com manual ping site , or the blo.gs one, or the blogrolling.com one, was right out.

Doing a little digging, I found that some folks had worked up a way to manually fill in and execute those forms. So, for example, you could have a batch file that executed:

"C:\Program Files\Internet Explorer\iexplore.exe" http://newhome.weblogs.com/pingSiteForm?name='sitename'&url=siteurl

(Or you could just put that address and details into an IE link button. And, presumably, you could do something similar for the other manual ping sites.)

Ah, but that leaves "cruft" in its wake -- IE windows that need to be closed. Not a huge deal, but not what SDB wanted.

I spent a while digging about. Folks with knowledge of SOAP and HTTP-POST and XML-RPC, and, for all I know, everyone with a Linux installation or something like that, could probably whip something up, but I was seriously scratching my head.

Then, finally, after googling "CityDesk weblogs.com," I found this site. There I found a VBS script that can send an XMLRPC ping to weblogs.com, with the site parameters on the command line. Sweet. It would just take a batch file to invoke:

cscript uwdc.vbs "sitename" "siteurl"

And, again, presumably it could be modified to ping the other sites that accept such pings.

As I said, it turned out to be moot. But I thought I'd document what I found here, in case someone else is in the same boat.

Of course, for most people, my recommendation would be to change to Movable Type ...


Filed under :: Blogging
Link · Print · Edit · TR/G


« Previous  •  FRONT PAGE  •  Next »


Pings?

Trackback ping address: http://www.hill-kleerup.org/blog/mt4/080510t.cgi/3504
The Blinne Blog ( 7-Sep-03 4:09 PM): Update script finally done.
In a comment to thispost, I said I would ping him back with my new trackback mechanism. It is now done, so I am doing the promised ping. This works by adding a javascript source insert at the end of my blog. The script checks to see if an update is nee ...
The Blinne Blog ( 7-Sep-03 4:11 PM): Update script finally done.
In a comment to thispost, I said I would ping him back with my new trackback mechanism. It is now done, so I am doing the promised ping. This works by adding a javascript source insert at the end of my blog. The script checks to see if an update is nee ...
The Blinne Blog ( 7-Sep-03 4:12 PM): Update script finally done.
In a comment to thispost, I said I would ping him back with my new trackback mechanism. It is now done, so I am doing the promised ping. This works by adding a javascript source insert at the end of my blog. The script checks to see if an update is nee ...
The Blinne Blog ( 7-Sep-03 4:12 PM): Update script finally done.
In a comment to thispost, I said I would ping him back with my new trackback mechanism. It is now done, so I am doing the promised ping. This works by adding a javascript source insert at the end of my blog. The script checks to see if an update is nee ...
The Blinne Blog ( 7-Sep-03 4:12 PM): Update script finally done.
In a comment to thispost, I said I would ping him back with my new trackback mechanism. It is now done, so I am doing the promised ping. This works by adding a javascript source insert at the end of my blog. The script checks to see if an update is nee ...
The Blinne Blog ( 7-Sep-03 4:14 PM): Update script finally done.
In a comment to thispost, I said I would ping him back with my new trackback mechanism. It is now done, so I am doing the promised ping. This works by adding a javascript source insert at the end of my blog. The script checks to see if an update is nee ...

Comments?

Wednesday, 3 September 2003, 9:49 AM
Quoth Rich ...

Here's some of the projects I am working on:

1. Implementing trackbacks in blogger. This is done. It requires enetation comments and a template changes that puts the rdf in that shows the trackback ping. See http://www.blinne.org/tb.php.txt

2. Impelementation of an update script. This will look at the file being updated, ping weblogs, blo.gs, and blogrolling and any trackbacks that you might have. This php script would be callable like this: http://www.blinne.org?update All you would need is the right template. My goal is that this could be universally used regardless of what CMS software there is. This is still in the planning stages. When I complete this I will ping this message as a test.

Sunday, 7 September 2003, 4:22 PM
Quoth Rich ...

Sorry about the bouncing pings.

Sunday, 7 September 2003, 9:30 PM
Quoth *** Dave ...

Heh. No problem.

Monday, 8 September 2003, 8:19 AM
Quoth Rich ...

The problem is that Blogger's clock is fast. I compare the timestamp of a post against "now" on FRII's servers to determine whether to ping. If the post changes in the five window you get mulriple pings.


Speak!

Note: This comment space is for discussion of the above topic, and not for unsolicited commercial links. I use SpamLookup, optional TypeKey registration, and mandatory TinyTuring text CAPTCHA to filter out comment spam. If you have technical problems with these measures, please . With or without TypeKey, you'll need to specify an e-mail address, which will not be published or otherwise abused.




Remember you next time?

Subscribe to this post (e-mail when updated)?





Creative Commons License
Original material on this weblog is available under a Creative Commons License from
The views expressed by me on this website/weblog are mine alone and do not necessarily reflect the views of
my employer, my church, my party, my candidate, my community, my wife, my friends, or, on occasion, myself.
Views expressed by others are, well, theirs.