April 23, 2009

Pingback

Wikipedia:
A Pingback is one of three types of Linkbacks, methods for Web authors to request notification when somebody links to one of their documents. This enables authors to keep track of who is linking to, or referring to their articles.


Pingback is an XML-RPC request sent from Site A to Site B. This functionality usually comes as part of blogging softwares since it's most commonly used there. Almost all open source blogging applications are written in PHP and only a few in CF and none of them have support for pingback. Therefore I decided to write an CF implementation by myself.

Download source code

pingback.cfc - Pingback implementation
tools.cfc - Various tools used by pingback.cfc
xmlrpc.cfc - Translates XML-RPC packets to and from CFML data structures
xmlrpc.cfm - XML-RPC Server
test.cfm - Test template. Start from this file.

Successfully tested on Railo 3.1 and ColdFusion 8 Enterprise Server.
Should not be a problem to integrate it into blogCFC.

Pingback specification:
http://www.hixie.ch/specs/pingback/pingback


No comments: