Wordpress topic header file header. php: http://gmpg.org/xfn/11

Source: Internet
Author: User
Today, when I read the wordpress topic, I found that the topic contains the following code: headprofile & quot; http://gmpg.org/xfn/11"go to http://gmpg.org/xfn/11.pdf. By the way, the Profile attribute is still a little useful, and its main purpose is to describe your network of relationships.

When I read the wordpress topic today, I found that the topic contains the following code:

head profile="http://gmpg.org/xfn/11"

Curious to go to http://gmpg.org/xfn/11. By the way, the Profile attribute is still a little useful, and its main purpose is to describe your network of relationships. For example, when we add a link in the wp background and set the link, a link similar to this will be output:

Nongfu Manor

Rel = "friend" indicates the link. It declares that I have a friend relationship with the host of the link. of course, there are many other relationships besides friends. for details, refer to XFN1.1. Browsers can present web pages according to their own default styles. for example, if you define your friends as "friend" and I want to define them as "pengyou" in pinyin, they cannot be unified, this function becomes meaningless. Therefore, we use the "profile" attribute in the HTML document label to introduce a declaration that the XML Friends Network (XFN) microformat is used in this HTML document, then, describe the relational network according to the method agreed in the XFN microformat, so even if different user proxies access the data, they can correctly read and retrieve the relational data as long as they follow the XFN conventions. Of course, the micro-data here has no practical significance for users who usually read HTML documents through browsers, but for some user proxies, by reading the XFN micro-data and adding other micro-data such as hCard, the relationship between people can be displayed on the Internet. For different data declarations, you must specify the location of the description, and the profile value is the location of the description of the data, you can also simply specify the same agreed rules for different user proxies. For multiple data declarations referenced on a page, you only need to separate them with spaces in the profile values:

head profile="profile1url profile2"head profile="http://gmpg.org/xfn/11"

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.