Personal Publishing

How to do Trackbacks like

This is for a very narrow niche audience, but if you are one of the two or three people who have expressed an interest in how embeds Trackback links at the end of each entry then here’s how you do it. Only a limited amount of computer magic is undertaken. Basically on both the main index template for the site and the individual template for each entry (and any other archiving templates you want to use), I insert this code directly after my <$MTEntryBody$> tag:

<ul style=”list-style: none;”>
<li> &rarr; <$MTPingBlogName$>: <a href=”<$MTPingURL$>” title=”Trackback from <$MTPingBlogName$>”><$MTPingTitle$></a></li>

Don’t forget, in order for autodiscovery to work when someone else does pings your site you have to make sure that you’ve included the <$MTEntryTrackbackData$> tag in your template. I don’t know if there’s a restriction on where it can be placed. I just stick it directly after my <MTEntries> tag.

Remember: Most of the archive templates will not automatically rebuild every time you get a trackback ping, but they will if they get a comment – so either leave the your comments on or run a rebuild every few days just to make sure that everything’s kept up to date.