A better trackback
A discussion on Aquarionics nails why TrackBack isn’t quite there yet (emphasis mine):
Plus, to support Trackback, I must put what amounts to part of an RSS feed in each post so that Movable Type’s Bookmarklet thing can magically know what to do. I don’t object to the idea as much as... well, there has to be a better way of doing this.
In the comments attached to the entry Stuart links to his thoughts on a better way of implementing the same functionality, using an XMLRPC server that can be auto-discovered via a <link> element.
I have been interested to read your methods of recording trackbacks, and thought that maybe there was a simpler way..
I have just made a reusable trackback system in PHP that uses the
$_SERVER[ 'HTTP_REFERER' ]and then parses the referring page in order to record links.In my database the external links then become "children" of the entry. They can then be displayed in a list on the generic "entryViewer" page. I'm also keeping track of how many hits come from each of the external links. Further to this I'm using my javascript/php ranking system for users to rate each external link on interest.
It seems to be working well so far - new external links since my last logon are displayed on the updates page. I obviously have to filter out hits from google, yahoo and the local site etc.
See it in action at: chrisbeach.co.uk
Chris Beach - 14th August 2004 00:09 - #