Another small to-do : log trackback pings sent outward

08-September-2005

trackbacks (3) email this
It's turning into a trackback-themed few days :o) - There is a small enhancement to the trackback machinery which would give considerable comfort to confused content creators an aid the aches of admin. the enhancement? Keep a log of the pings that KNotes tries to send outward, and maybe set a property in the entry to make it easy for the author to know whether/when a trackback out was sent. We might also send the author an email on successful trackbacks.

Funny how these little bells and whistles can seem o=unimportant until you start creating content yourself :o)

I've long known that we should do something about logging the pings hat the trackback machinery attempts to send out. A trackback 'ping' is a little request we make to a trackback-aware server's "trackback:ping" url for their content we are linked to. That request includes the data about our own content. The other server can, if so configured, use that data - for instance to display a link back to our content's commentary on theirs.


Extended text for this entry:


KNotes is trackback aware. When you post an entry which includes some links through an external editor API client like ecto, or if you create a KNLink object through the web interfaces, our system attempts to send a ping to the url being linked. The first step is to read-in the page content and look for a snippet of RDF in it. If present, that RDF should tell our system the "trackback:ping" url for that page as well as some info about it. If KNotes finds a "trackback:ping" url, it calls it.

What Knotes does *not* do at the moment is let the KNotes author know about any of that process. It has so far been up to us authors to deduce that a ping was sent by looking for a link back to us on the other site. But this can be frustrating and requires some understanding of the way the web works, and it is completely uninfomative when there is no back-link in the other content. Did our system attempt to scan the page being linked to? Did it connect? Retry ( it will retry if necessary)? Did it find the RDF and a "trackback:ping" url? Did it cll that url? etc...

So - we are looking into 3 new features. The task is complicated by the fact that the trackback machinery runs in a thread (so that you do not have to wait for other servers before getting feedback about your own edits)

  1. log the events into the zope events log. This is simple to achieve.
  2. add/update a property with trackback log info in the KNotes content containing the outgoing link, so that the author can easily query their own pieces of content to find out about the pings being sent
  3. email the author - probably only worth doing in the case of a successful ping

We'll post again when we've made some progress on those. We won't try to be thorough yet - just to do enough to make using KNotes more comfortable for authors who link a lot.


Mike Malloch; 08-September-2005 08:35:08; forum (0) help

Comments please

If you are already registered here, please click the "Login" button to send your username/password with the comment. Click the "Anonymous" button to leave a comment without logging in.

Please tell us who you are

E-Mail Address (Required)
We need a valid email address in order for you to post a comment. You will recieve an email containing a special validation link. The comment will not be published until validated
Name
Please leave your name
Title
Lead-in
Body Text ( HTML tags are allowed )
Validation
Please enter the text from the image above
Preview your comment

3 Trackbacks (links from other content)

Click the title of a trackback to open the link in its own site context -

Linking and trackbacks

When linking to this weblog entry, please use the 'permalink', which is http://www.knownet.com/Members/mmalloch/blog/entries/6014618289

Some weblog systems will ask you for a "trackback link" (most systems will find this special 'hook' automatically, in the code for this page).

The trackback link for this entry is http://www.knownet.com/Members/mmalloch/blog/entries/6014618289/tb