Microformat Pingbacks

Posted: 18th Mar 2008, in: Readers, plugins - Older Post - Newer Post

If you’ve been reading this blog, or Reader Appreciation Project for the last few months you may have noticed an ongoing discussion in posts and comments about the usefulness and potential replacements for trackbacks / pingbacks. Put simply I believe that trackbacks and pingbacks are almost useless right now, and I want to change that.

The key problem is that the text that ends up on the page is, honestly, useless. The text is taken out from around the link based on characters with no context or semantics. Most of the time the result looks something like this:

[...]Person X has written a post about thing y, here is a link.[...]

This tells us nothing except that a link exists, and often interrupts the conversation.

To find a solution I decided that it would be necessary to identify the meaning of the link. A, ‘Go look at this’ link has no business being tracked, it is meaningless to every visitor to the page being linked to. There is no reason for the visitor to move in the opposite direction to the link. These then can be ignored.

This leaves posts that not only link, but also comment on the content. These are useful, add to the conversation, and should be tracked.

It seems clear to me that what we are talking about is semantics. We are trying to identify the meaning behind the content, and this is what Microformats were made for.

I think that the hReview Microformat is perfect for marking up offsite comments (posts with pingbacks). What is a comment if not a review? Better yet the format already features a summary class that can be used to quick and simply summarise the points for readers of the original post.

Is this a good idea? I want to test it out and that is what this post is all about.

I have written a rough plugin to parse hReview review pingbacks, based on the hkit Microformat parser, It hasn’t had much testing, and so I am hoping that you will help me by writing a post using the html below, an hReview.

If you are using WordPress it will ping me automatically as there is a link to this post, and the plugin will parse your post looking for an hReview, hopefully including your full summary as the comment text. I hope the html is fairly self explanatory.

<div class="hreview">
<p class="item">Andrew at wp-fun has asked bloggers to help him test out his <a class="fn url" href="http://www.wp-fun.co.uk/2008/03/18/microformat-pingbacks/">Plugin that uses Microformats as part of the pingback process</a>.</p>
<p class="summary">this is where you summarise the content, this will appear in the comments of wp-fun</p>
<div class="description">
<p>This is where you say what you think in full</p>
</div>
</div>

To help things along a little I have removed the normal comment option from this post so it is pings only. I appreciate any help you can provide.

Update: I have found a problem with the implementation that I don’t really understand. It seems that there is a problem with XPath when it uses normalize-space in that it sometimes treats spaces between words as whitepace nodes and deletes them. I need to research this a bit more as this is all contained within HKIT and isn’t something I have ever used, but for the time being it means the odd space may be missing from pingbacked comments.

Update: The problem with the spaces is actually nothing do to with XPath so, thankfully, I don’t need to get into that. The problem was actually caused by a combination of Tidy wrapping content, and removing spaces in the process, and hkit then removing the line breaks.

 

Comments

  1. 1

    Ptah Dunbar (http://ptahdunbar.com) commented at 10:59 pm, 20th 03 2008:

    Wow, interesting concept for using microformats! I’ll try to figure a way out to implement this when I get home, this should serve as an interesting project.

     

Other blogs writing about this

  1. Microformat Pingbacks 18th 03 2008 at 7:44 pm

    I am hoping for a reasonable response, enough tosee whether this works, or is just folly.

     
  2. metablogging.gr » Blog Archive » Microformat Pingbacks: this is an experimental post 18th 03 2008 at 7:59 pm

    This post has no specific content and it existssolely for the purposes of this experiment

     

Leave a Reply

I am currently testing a comment link policy which means commenters do not get a link. There is a poll, and open comments for feedback on the comment policy page.

Please note. I am currently using an experimental antispam technique on this blog. If you run into problems please let me know using the Get in Touch link at the top of the page. Thanks, Andy.

Subscribe without commenting

Feed Icon - Get fed with RSS