PHP Feedback

I am writing a custom blog engine and would like to have trackbacks similar to Wordpress. I could look at the source of Wordpress, but I would prefer some kind of tutorial, and so far I have not been able to find it. Are there any good tutorials for implementing trackbacks or pingbacks in PHP5?

+5
source share
3 answers

Trackbacks are fine, but they are very susceptible to spam, as there is no confirmation of their origin. You use a simple discovery method to find the trackpack entry point; Locate RDF in the destination site source. Then it is just a RESTful POST request to the destination trackback entry point, transmitting the necessary trackback information. The spec related to Sebastian Hearl should provide you with a lot of information for this.

Pingbacks are a bit more complicated because they require both XMLRPC and links. Therefore, when you can simply use REST calls to send anonymous trackbacks to any site, the sites that you pingback will look at your site to determine if you really link to the ping page.

, Pingback , ping. , , , , .

Pingback , .

, - WordPress Pingback, Habari self- Pingback, .

+3

. .

+4

, , , , , , .

, :

HTTP-Referer (sic), , . ( , ). , .

, . . , , err, .

+1

All Articles