Trackbacks and their related concepts

xiaoxiao2021-03-20  202

Most servers can make readers to add web comments. But more common practice is to let readers add an entrance to its original post. Bloggers is happy to track the time of tracking. In order to understand the content of the entire session so that new readers can understand the content.

The so-called REFERRER is an external site, and the user can reach your website on a hyperlink. Many Web Engines can be automatically tracked when readers navigate to a certain entrance to your web. Most engines will Display a ReferRers list at the bottom of the network so that the reader can return to the referrer site and know what they are saying about the entrance, this is based on a hypothesis, that is, if they link it, it may be written What. Referrer is required to have this hypothesis to establish - Not enough information Description Whether the page is referenced to the information. In fact, the publisher of spam is to use this vulnerability to redirect in order to market sales. reader.

Trackback and pingback The same specification is used to compensate for the above problems. Use Trackback and Pingback, other blogs can automatically send a ping to your network to clearly indicate that they have written a reference to a particular post.

This type of anti-chain allows your web to display all comments in a more obvious way. Most of today's digital software supports all of these technologies. See Trackback Technical Specification and Pingback 1.0.

Simply put, Trackback is a way to advertise each other between websites and websites. It can let A. "" This article may be you interested in ", you have to achieve this action, just send a Trackback ping (reference notice). In this case, a ping is a short message from a web server to another (A Small Message).

Trackback ping is a specification invented by MoveAble Type, and they say that Trackback is "a framework for peer-to-peer communication and notifications between Web Sites". Here is their TrackBack Technical Specification Document:

http://www.movablety.org/docs/mttrackback.html

For example to explain it. For example, I looked at the article I was interested in the blog. I have some views on this article. If I follow the traditional BBS practice, I need to express my comment under this article, but If I do this, my text can only exist on the website of the fish, I can't maintain this comment. Another situation is that I am also writing a similar article in my blog. I hope that the fish head can take a look at my, traditional BBS habits still get a reply from the fish head. , Put my URL passed.

But with trackback ping, our blog no longer needs this.

Blog is a bit important and BBS, Blog is a personal creation, using blog to express your own things, save your own things, even for the comments of others BLOG, you must stay in your own blog forever. With TRACKBAK, I can publish an article in my own blog, and put the URL address of this article ping to the article of the fish head. In this way, all people who read the fish head articles can also look at my article through TRACKBACK.

So, when our blog has a trackback ping function, then you can express our opinions and comments through Trackback Ping. In this way, a number of BLOG websites are connected by related topics. Various comments are connected to each other on both Internet. As a result, TrackBack creates Blog and BBS, Diary completely different cultures, and Blog's world becomes a true unlimited interconnection through Trackback. As a blogger, let us get used to discuss problems and do this: Write the content in your own blog, Trackback ping to others' blog. This concept is that there is never in the forum mode, called Remote Commenting.

How to implement TRACKBACK in Blog?

In the Blog system with the TRACKBACK function, each blog article has two URLs, one is to access the URL used by this article, the other is the TRACKBACK PING URL (reference advertisement address), which is used to accept from other Blog Web Site TRACKBACK PING program. When I published an article, I want to inform the fish, I only need to put the TRACKBACK PING URL of the fish head to my article. When I submit an article, the system will send a ping according to this URL. The article of the fish head. The fish will see a reference notice similar to this under their own article:

Title: Joyhero's article

From: Joyhero's Blog

Summary: Joyhero's article summary ...

address:

HTTP: // Joyhero's article address

This Trackback Ping is blog of the fish head from my blog through the standard HTTP protocol, and my blog sends a post-format HTTP request to the TRACKBACK PING URL of the fish head. This request's Content Type is Application / X-WWW-FORM-URLENCODED, it is probably this look:

POST

HTTP: // TRACKPINGURL of the fish head article

Content-Type: Application / X-WWW-FORM-URLENCODED

Title = Joyhero's article & URL = http://Joyhero's article Address & Excerpt = Joyhero's article Abstract & Blog_name = Joyhero's Blog

In the early version of the TRACKBACK specification, ping is a get mode HTTP request, and now no longer supports GET mode, only POST mode can be used. Parameters include:

? Title - Title of the article

• Excerpt - Abstract of the article. In the Movable Type system, if the extractive information exceeds 255 characters

Will be truncated to 252 characters and add ... three characters

• URL - the permanent connection of the article. Like other permanent connection, this connection should be accurately positioned in the page, and this link will be used because there is doubt

? blog_name - the name of the blog published in the article

Only the URL is necessary in the above parameters. If Title is not provided, the value of the URL will be used as a title.

After my blog issued this TRACKBACK PIN, a simple XML format response will be received. If ping is successful, the format of the response is as follows:

0

The format of the failed response is:

1

The Error Message

转载请注明原文地址:https://www.9cbs.com/read-130338.html

New Post(0)