Pingback & trackback
Anders Markstedt, Samuel Bengtson, Samuel Sjöberg
Pingback & trackback Anders Markstedt, Samuel Bengtson, Samuel - - PowerPoint PPT Presentation
Pingback & trackback Anders Markstedt, Samuel Bengtson, Samuel Sjberg Background The blogging community The need to refer to others The need to make the referring site visible The emergence of trackback The idea of the
Anders Markstedt, Samuel Bengtson, Samuel Sjöberg
Blog A Blog B www.a news
some news
to A's news
ping to A
explicit link back to the referrer
Demo
๏ The X-pingback header ๏ Link element in the HTML header
HTTP/1.1 200 OK Date: Sun, 1 May 2005 15:05:37 GMT Server: Apache/1.3.26 (Unix) Last-Modified: Sun, 1 May 2005 03:18:26 GMT ETag: "65044-15b9c-3a4ab102" Accept-Ranges: bytes Content-Length: 88988 Connection: close Content-Type: text/html X-Pingback: http://bob.org/xmlrpc
๏ <link rel=”pingback” href=”([^“]+)” ?/?>
to Alice’s post is http://www.alice.net/bob and the URL she links to is http://www.bob.org/year.
<link rel=”pingback” href=”http://www.bob.org/xmlrpc” />
found before the page header ends, pingback is not supported.
software: pingback.ping(‘http://www.alice.net/bob’, ‘http://www.bob.org/year’)
1. Bob’s pingback server receives the XML-RPC call from Alice’s software, with information about which page the link comes from (Alice’s site) and to where the links is directed (Bob’s site). 2. Bob’s server now confirms that the address http://www.bob.org/year is found on Bob’s blog. 3. The server then connects to Alice’s post and confirms that is a post containing a link to his site. This is a security check to avoid false or erroneous pingbacks. 4. Optionally some content from Alice’s post is saved, e.g. the title and an excerpt of the text surrounding the link to Bob’s site. 5. If the site is verified in step 2, the information about the pingback is saved in Bob’s database.
Embedded link description No Yes Autodiscovery Yes Yes * Automatic discovery of links Yes No * Supported when explicitly stated
Blog B Blog A www.b Blog A Blog B www.b
*
Blog A Blog B www.b www.a
The WWW today
Links are unidirectional and there is no easy way of telling which sites are linking your site.
The pingback/trackback approach
Site A reports to site B, that a link has been created. Site B then creates a link back to A, completing the circle
Bidirectional utopia
The ideal situation where a link can be followed from both ends. The link metaphor is actually a misnomer since it indicates a two-way functionality, which does not apply to the WWW today Bidirectional links could for example be used to give an overview of the WWW topology