Linkbacks and Website Communication - part 3

Trackback

In the Trackback linkback , the linking site is responsible to inform the linked site about the linking document.

When a new document is added or exising document is updated, the linking site should extracts all the links in the document. For each link it finds in document, the linking site should find the Trackback URL and send notification request to the linked site about the linking document.

The linking site request

The linking site should send standard HTTP POST request to Trackback URL. The request must contains a url field which should be the URL to the linking document. The request can contains some of the following fields:

  • title - The title of the document.
  • excerpt - An excerpt of the document
  • blog_name - The name of the site where the document was published.

The linked site response

If the linked site should response as described spec

The linked site can decide to ignore the request. For example:

  • The request does not contains the url field
  • The linked site decides that it spam request. For example, the document does not link to the document.

The Trackback URL autodiscovery

There are 2 ways the linked site announce about its interest in Trackback notification for a document:

  • Embed the Trackback URL in the header of the document
    Trackback - link tag
     <link href="<document Trackback URL>" rel="trackback">
    
  • Embed the following RDF document in the document
    Trackback - RDF document
     <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xmlns:dc="http://purl.org/dc/elements/1.1/"
        xmlns:trackback="http://madskills.com/public/xml/rss/modul/trackback/">
        <rdf:Description
           rdf:about="<document URL>"
           dc:identifier="<document URL>"
           dc:title=""
           trackback:ping="<document Trackback URL>" />
     </rdf:RDF>
    

    The linking site should download the linked document and extract the Trackback URL from it.