html里各种link标签的作用
在打开wordpress页面的html源代码以后,能看到head标签里面有各式各样的link标签,想找到它们的确切作用以及出处,一直没有找到明确的说法,很是郁闷。
下面做个记录先:
CODE:
-
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://feeds.feedburner.com/ooso" />
-
<link rel="alternate" type="text/xml" title="RSS .92" href="http://www.ooso.net/index.php/feed/rss" />
-
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="http://www.ooso.net/index.php/feed/atom" />
这个看来是记录的博客RSS 2.0 / RSS 0.92 URL,在firefox中打开能看到地址栏最后面出现Feed图标,据说搜索引擎也会根据这个标签自动去爬行博客的RSS。但是我没找到这个标签的详细说明,仅仅在wikipedia上找到子言片语。
CODE:
-
<link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
地址栏最前面的小图标...大家好像都认识的说
CODE:
-
<link rel='archives' title='2007年7月' href='http://www.ooso.net/index.php/archives/date/2007/07' />
-
........
-
<link rel='archives' title='2000年1月' href='http://www.ooso.net/index.php/archives/date/2000/01' />
blog的归档url,估计是供Search Engine爬行用的,曾经想把这段东东删掉...嘿嘿。
CODE:
-
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.ooso.net/xmlrpc.php?rsd" />
供livewriter之类的离线编辑器使用的?
CODE:
-
<link rel="stylesheet" href="http://www.ooso.net/wp-content/plugins/ig_syntax_hilite/css/syntax_hilite_css.css" type="text/css" media="all" />
样式表,不用说了。
以上标记俺目前都只是凭揣测来解释它的作用,如有路过的达人给出具体含义,感激不尽。
UPDATE
作者: Volcano 发表于July 2, 2007 at 8:03 am
天真 于 2007-07-03 @ 17:33:47 留言 :
路过。不过不是达人。。。。
偶爱偶妻 于 2007-07-04 @ 16:59:17 留言 :
路过,也是不知道!
volcano 于 2007-07-04 @ 19:34:33 留言 :
看来这个是个谜了?
lating 于 2007-07-09 @ 16:30:20 留言 :
你可以看看这个网站,感觉比较全面:http://www.dreamdu.com/xhtml/attribute_rel/
volcano 于 2007-07-11 @ 18:52:37 留言 :
多谢楼上的,终于找到了出处
xLight 于 2007-07-14 @ 08:47:26 留言 :
好像不是很全
比如opera就支持
link rel=”home”
link rel=”index”
link rel=”search” href=
link rel=”about” href=
link rel=”author” href=
link rel=”copyright” href=
volcano 于 2007-07-14 @ 08:50:35 留言 :
link rel=”search” href=
这种firefox也支持,用来定义firefox的快捷搜索。
rong179 于 2008-07-13 @ 15:28:16 留言 :
恩,我和你理解的差不多,不过好像rel一些是自己定义的,根本差不到。
<link rel=”pingback”
<link rel=”wlwmanifest” type=”application/wlwmanifest+xml”
这两个是指什么呢?