Google RELATED LINKS Google Related links beta

Source: Internet
Author: User
Tags add contains http request return domain domain name

Google RELATED LINKS Google Related links is a site on the automatic display of relevant articles in the station, but also recommend relevant search keywords, help webmasters to improve the Site page browsing volume.

Google Related Links uses the TF-IDF technology to analyze the semantics of the article, and then according to the article Semantics of automatic analysis to find the relevant articles in the station, enhance the visitor's browsing experience.

However, Google Related links is not good for SEO because its code is all JavaScript code, it is difficult to play the SEO effect.

Now, I've enabled Google Related Links on the Moonlight blog, and see the top of the sidebar on the left side of the page.

After my test, I found that part of the page under IE prompts "Internet Explorer cannot open Internet site, aborted operation" and caused the Web page could not be opened. After I had feedback on my blog, Google's developers quickly found a solution to the bug by finding a line in the code: Document.body.appendChild (RELATEDLINKS_JS); Replace it with: document.getElementsByTagName ("Head") [0].appendchild (RELATEDLINKS_JS), which can solve the problem.

Currently, only invited users can use RELATED links. If you want to try related links, please email to relatedlinks@google.com and explain your Gmail account number, website and Web browsing volume.

  Google RELATED LINKS working principle:

Webmaster If you want to use Google RELATED links, you need to first login to Google Related links to create a related link, and then copy a section of JS code to their own web page.

When the user browses this webpage, the JS code will launch an HTTP request to the Google server, which contains the title of the webpage.

When a Google server receives a request, it first calculates a set of keywords related to the page (currently based on the page title) as a related search. Then use the best keywords (the first in the relevant search) in the Google search engine to do a site search, the search results as a relevant link. Finally, according to the webmaster configuration information to generate a section of JS code, this new JS code will be on the user's web page to perform and display related links and related search.

  Google RELATED links to the configuration method:

In the configuration page, there are several items that are more difficult to configure, "domain name", "Remove prefix", "Remove suffix".

"Domain Name": This is used to do in-site search from Google search engine to limit the return of the range of results, in fact, Google's site: search function. So this can not only fill in the domain name, but also fill the path, so that all relevant links and related search will be limited to this path. For example, can be "a.com", "a.com/path/" or "a.com/path/post".

Delete prefix and remove suffix: These two items are used to remove the prefix and suffix from the caption, in addition to being displayed to the user, and to delete the prefix and suffix from the header when the keyword is extracted. Perhaps some stationmaster has noticed that the related link displays the title sometimes and the page <title> tag in the title some difference. The main is "-" before whether to include spaces. When we extract the keyword, the title used is returned by the page's JS code, which contains the "-" space before the version. But the title displayed to the user is obtained from the Google search engine, the search engine on the title of some processing (such as delete "-" before the space, the long title truncated), so we get the title is not included "-" before the space. The webmaster needs to add two versions of the deletion prefix and suffix to the list in the configuration. For example, the original title is "about the washing machine some tips-xx column-yy website", then the results of Google search engine return will be "about the washing machine some tips-xx column-yy site", if the webmaster want to remove the suffix on the column and site, you need to add "-XX column-yy site" ( To extract the keyword before removing the suffix) and "-XX column-yy web site" (used to display before the user to remove the suffix) to the deletion suffix.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.