• skip to sidebar
  • skip to search box

trainedmonkey

by Jim Winstead Jr.

here's my php interface to the new weblogs.com:

$ping = file("http://newhome.weblogs.com/pingSiteForm?name=trainedmonkey&url
=//");
there are times when even xml-rpc is vast overkill. (particularly when you don't care about the results of the request.)

» Wednesday, October 24, 2001 @ 4:18pm » 4 comments, add yours
« Tuesday, October 23, 2001 @ 5:23pm • Wednesday, October 24, 2001 @ 8:44pm »

Comments

well i dont get a damn idea of what's goin' on right here, do you mofos?

» ZARG73 (link) » Wednesday, October 24, 2001 @ 5:02pm

Please do not include this in your template, it will ping our server every time the page is viewed by someone. That's not a nice thing to do to our server, and we will block your site if you do it. Thanks.

» Dave Winer (link) » Saturday, October 27, 2001 @ 12:28pm

I don't understand why you think you can ignore the message returned by the weblogs.com server. One of those messages is a warning that you're pinging excessively.

It's also just plain poor practice to ignore error messages.

» Bill Humphries (link) » Saturday, October 27, 2001 @ 3:41pm

whatever. like i said, i don't care about the response, so my one line of code doesn't do anything with it. if weblogs.com decides i'm pinging excessively (which seems staggeringly unlikely, given my relatively tame rate of posting to my weblog), it can just ignore my pings.

i won't feel too guilty about hitting the weblogs.com server a half-dozen times a day when i get hundreds of requests for dead rss feeds a day from radio userland clients.

the deadly embrace that weblogs.com and wannabegirl.org got into could have easily been avoided if weblogs.com updated the time it had last been pinged before fetching the site to see if it had been changed instead of after. (so that when the fetch of the site by weblogs.com caused another ping, that one would have just been dropped for being too frequent.) not that i recommend putting the code in a place that makes it get hit on every page load of the weblog. that's just silly.

» jim (link) » Saturday, October 27, 2001 @ 4:29pm

Add a comment

Sorry, comments on this post are closed.

  • Home
  • About
  • Archive
  • Bookmarks
  • Photos
  • Projects
  • GitHub
  • @jimw@mefi.social

Dedicated to the public domain by Jim Winstead Jr.