[1] [[リンク関係]] [DFN[[CODE(XML)@en[[[related]]]]]]
([DFN[[CODE(XML URI)@en[[[http://www.iana.org/assignments/relation/related]]]]]])
は、 [CODE(XMLa)@en[[[href]]]] [[属性値]]の [[IRI]] が当該 [CODE(XMLe)@en[[[atom:link]]]]
[[要素]]を含む[[要素]]によって記述された[[資源]]に関連する[[資源]]を識別することを表します
[SRC[[[RFC 4287]] 4.2.7.2.]]。

* 仕様書

- [2] [[RFC 4287]]
-- '''<http://tools.ietf.org/html/rfc4287#section-4.2.7.2>'''

* 例

[3] ある[[検索円陣]]の[[性能]]に関する[[サイト]]の[[フィード]]の [CODE(XMLe)@en[[[atom:feed]]]]
[[要素]]には、その[[検索円陣]]の [[URL]] を用いて
[PRE(XML example code)[
<link rel="related" href="http://search.example.com/"/>
]PRE]
のように記述できます [SRC[[[RFC 4287]] 4.2.7.2.]]。

[4] [CITE@en[RFC 5988 - Web Linking]]
( ([TIME[2012-03-22 09:19:11 +09:00]] 版))
<http://tools.ietf.org/html/rfc5988#page-15>

[FIG(quote)[
[FIGCAPTION[
[5] [CITE[Reverse HTTP Specification | ReverseHttp]]
([TIME[2014-04-23 08:23:06 +09:00]] 版)
<http://reversehttp.net/reverse-http-spec.html>
]FIGCAPTION]

> If a 2xx-series response is sent, the response MUST have the following headers set:
> -Link, with rel="related" and the URL being the Public Application URL.

]FIG]


[FIG(quote)[
[FIGCAPTION[
[6] [CITE[はてなブックマークAtomAPI - Hatena Developer Center]]
([TIME[2016-03-21 10:39:35 +09:00]] 版)
<http://developer.hatena.ne.jp/ja/documents/bookmark/apis/atom>
]FIGCAPTION]

> リクエスト用XML文書に記述することができるパラメータは以下です。
> ブックマークするページのURLをlink要素に(必須)
> rel属性にrelated
> type属性にtext/html
> href属性にブックマークするページのURL

]FIG]


[FIG(quote)[
[FIGCAPTION[
[7] [CITE[はてなブックマークAtomAPI - Hatena Developer Center]]
([TIME[2016-03-21 10:39:56 +09:00]] 版)
<http://developer.hatena.ne.jp/ja/documents/bookmark/apis/atom>
]FIGCAPTION]

> <entry xmlns="http://purl.org/atom/ns#">
>   <title>dummy</title>
>   <link rel="related" type="text/html" href="http://www.example.com/" />
>   <summary type="text/plain">サンプルコメントです</summary>
> </entry>

]FIG]
