Trackback

Some time ago, I removed Trackback functionality from Siteframe because of the potential for abuse. That is, with Trackback, it's very easy for a spammer to create false Trackbacks that link to spam websites. After thoughtful deliberation, I've restored this functionality, but have it disabled by default.

Configuration

All Trackback functionalty is controlled by two basic settings:

Inbound Trackback

The template trackback.tpl generates RDF to support Trackback auto-discovery. This lets other websites automatically determine the URL to use for sending Trackbacks to the Siteframe website. This RDF contains a link to tb.php, the script that handles inbound Trackback pings.

Note that, unlike the older implementation, Trackbacks are stored as separate objects (they used to be treated as an anonymous comment).

Outbound Trackback

When outbound Trackback is enabled (both trackback_enable and ping_enable are On), all new Pages are scanned for links (<a href=""> tags). For each link, the remote URL is fetched and scanned for Trackback auto-discovery RDF. If found, then a Trackback ping is sent to the remote site.

Use of outbound Trackback requires the PHP CURL extension.

Displaying Trackbacks

By default, none of the standard template sets support the display of Trackbacks. If you want to display Trackbacks on your site, you can use this example code:

{all class="Trackback" page=$id}
<p>Trackback: {$trackback.tb_title|default:"Trackback"}<br />
{$trackback.tb_excerpt|strip_tags}<br />
Trackback from <a href="{$trackback.tb_url}">{$trackback.tb_blog_name}</a></p>
{/all}

Modify as necessary to suit your installation.