* リンク型 [CODE(HTML)@en[alternate]] (HTML)

@@ [11] XXX

* リンク関係 [CODE(XML)@en[alternate]] (Atom 1.0)

[10] [[リンク関係]] [DFN[[CODE(XML)@en[[[alternate]]]]]] 
([CODE(URI)@en[[[http://www.iana.org/assignments/relation/alternate]]]]) は、
[CODE(XMLa)@en[[[href]]]] [[属性値]]である [[IRI]] が、
その [CODE(XMLe)@en[[[atom:link]]]] [[要素]]を含む[[要素]]によって記述された[[資源]]の代替となる[[版]]を[[識別]]することを表します
[SRC[[[RFC 4287]] 4.2.7.2.]]。

** 仕様書

-[7] 
[CITE@en[RFC 4287 - The Atom Syndication Format]] 
-- <http://tools.ietf.org/html/rfc4287#section-4.1.1>
-- <http://tools.ietf.org/html/rfc4287#section-4.1.2>
-- '''<http://tools.ietf.org/html/rfc4287#section-4.2.7.2>'''

** 制約

[5] [CODE(XMLe)@en[[[atom:feed]]]] [[要素]]は、
[CODE(XMLa)@en[[[rel]]]] [[属性値]]が [CODE(XML)@en[[[alternate]]]] であって、
[CODE(XMLa)@en[[[type]]]] [[属性]]と [CODE(XMLa)@en[[[hreflang]]]]
[[属性]]の組が同じであるような [CODE(XMLe)@en[[[atom:link]]]]
[[要素]]を複数含んでは[['''なりません''']]。
[SRC@en[[[Atom 1.0]] 4.1.1.]]

;; [6] この「[[属性値]]が」というのが、 [[URL]] として表された長い形式でもよいのか、
正確に「[CODE(XML)@en[[[alternate]]]]」でなければならないのかは不明です。

[8] [CODE(XMLe)@en[[[atom:entry]]]] [[要素]]が [CODE(XMLe)@en[[[atom:content]]]]
[[要素]]を含ま''ない''場合、 [CODE(XMLe)@en[[[atom:entry]]]]
[[要素]]は [CODE(XMLa)@en[[[rel]]]] [[属性]]が
[CODE(XML)@en[[[alternate]]]] の [CODE(XMLe)@en[[[atom:link]]]]
[[要素]]を最低1つは含まなければ[['''なりません''']]
[SRC@en[[[Atom 1.0]] 4.1.2.]]。

[9] [CODE(XMLe)@en[[[atom:entry]]]] [[要素]]は、
[CODE(XMLa)@en[[[rel]]]] [[属性値]]が [CODE(XML)@en[[[alternate]]]] であって、
[CODE(XMLa)@en[[[type]]]] [[属性]]と [CODE(XMLa)@en[[[hreflang]]]]
[[属性]]の組が同じであるような [CODE(XMLe)@en[[[atom:link]]]]
[[要素]]を複数含んでは[['''なりません''']]。
[SRC@en[[[Atom 1.0]] 4.1.2.]]

* [CODE(XMLa)@en[rel]] 属性値 [CODE(XML)@en[alternate]] (Atom 0.3、Atom API 仕様案)

[3] [[Atom 0.3]] の [CODE(XMLe)@en[[[atom:link]]]] [[要素]]の
[CODE(XMLa)@en[[[rel]]]] [[属性]]の値
[DFN[[CODE(XML)@en[[[alternate]]]]]] は、
それを含んでいる[[資源]]の[[代替表現]]を指します
[SRC@en[[[Atom API]] 仕様案]]。

** 仕様書

[4]
-[CITE[The Atom Syndication Format 0.3 (PRE-DRAFT)]] ([TIME[2006-12-22 17:03:44 +09:00]] 版) <http://www.mnot.net/drafts/draft-nottingham-atom-format-02.html#rfc.section.3.4.1>
-[[Atom API]] 仕様案
<http://bitworking.org/projects/atom/draft-gregorio-09.html>


* [CODE(XMLa)@en[alternate]] 擬似属性 ([CODE(XML)@en[xml-stylesheet]] 処理指令)

[13] [CODE(XML)@en[[[xml-stylesheet]]]] [[処理指令]]の
[DFN[[CODE(XMLa)@en[alternate]] [[擬似属性]]]]は、参照されている[[スタイル・シート]]が[[代替スタイル・シート]]であるか否かを表します。

** 仕様書

- [14] [CITE@en[Associating Style Sheets with XML documents 1.0 (Second Edition)]] ([TIME[2010-10-28 23:13:17 +09:00]] 版) <http://www.w3.org/TR/2010/REC-xml-stylesheet-20101028/#PA-alternate>

** 属性値

[15] [[属性値]]は [CODE(XML)@en[[[yes]]]] か [CODE(XML)@en[[[no]]]] のいずれかでなければ[['''なりません''']]
[SRC[>>14]]。

[16] [DFN[[CODE(XML)@en[[[yes]]]]]] は、参照されている[[スタイル・シート]]が[[代替スタイル・シート]]であることを表します
[SRC[>>14]]。

[17] [DFN[[CODE(XML)@en[[[no]]]]]] の意味は仕様上明記されていません。

** 処理モデル

[18] 仕様上[[処理モデル]]は明記されておらず、 [CODE(XML)@en[[[yes]]]] 以外の値に至っては[[意味]]すら不明確です。

** 関連

[19] [CODE(XML)@en[[[yes]]]] である場合には、 [CODE(XMLa)@en[[[title]]]] [[擬似属性]]に[[空]]で''ない''値を指定しなければ[['''なりません''']]
[SRC[>>14]]。

** 歴史

[20] [CODE(XML)@en[[[xml-stylesheet]]]] 仕様の第1版では [[HTML4.0]]
を参照する形で定義されていました。

;; [CITE[Associating Style Sheets with XML documents]] ([TIME[2000-05-03 23:40:39 +09:00]] 版) <http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/#The%20xml-stylesheet%20processing%20instruction>

* 代替スタイルシート

@@ [32] XXX

;; [[代替スタイルシート]]も参照。

* フィードへのリンク

@@ [36] XXX

[11] [CITE@en[HTML5 Revision Tracker]]
([TIME[2010-04-04 17:37:03 +09:00]] 版)
<http://html5.org/tools/web-apps-tracker?from=4963&to=4964>

[12] [CITE[Bug 9051 – feed autodiscovery for main feed on posts]]
([TIME[2010-08-15 13:10:43 +09:00]] 版)
<http://www.w3.org/Bugs/Public/show_bug.cgi?id=9051>

[26] [CITE@en[draft-ietf-atompub-autodiscovery-01 - Atom Feed Autodiscovery]]
( ([TIME[2013-11-25 01:29:28 +09:00]] 版))
<http://tools.ietf.org/html/draft-ietf-atompub-autodiscovery-01>


[61] [CITE@ja[Discover にコンテンツを掲載する | Google 検索セントラル | Google Developers]], [TIME[2021-09-12T14:56:09.000Z]], [TIME[2021-10-13T02:50:47.216Z]] <https://developers.google.com/search/docs/advanced/mobile/google-discover?hl=ja#optimize-your-web-pages-for-the-follow-feature>


* メタ情報へのリンク

[37] [[フィード]]以外の [[RDF/XML]] へのリンクも [CODE(HTML)@en[[[rel=alternate]]]]
が使われることがありました。

;; [38] しかし[[メタ情報]]は「代替」とは言い難いため、
[CODE(HTML)@en[[[rel=meta]]]] がより適切と考えられるようになりました。

[39] [[oEmbed]] はその discovery のための [CODE(HTMLe)@en[[[link]]]]
[[要素]]で [CODE(HTML)@en[[[rel=alternate]]]] を (なぜか) 採用しています [SRC[>>314]]。
代替と言えるものかどうかは甚だ疑問です。

[REFS[
- [314] [CITE[oEmbed]]
( ([TIME[2014-09-02 19:29:01 +09:00]] 版))
<http://oembed.com/#section4>
]REFS]

;; [40] [[Flickr]] はなぜか [CODE(HTML)@en[[[rel]]=[DFN[alternative]]]]
を使っています。 [TIME[2015-11-02T03:49:05.100Z]]
[EG[
[PRE(HTML code)[
<link   rel="alternative" type="application/json+oembed"  href="https://www.flickr.com/services/oembed?url=https://www.flickr.com/photos/12348574@N07/22011912345&amp;format=json" data-dynamic-added-by="bb44774707b5780000000000000000000000000000000" data-dynamic="true" />
<link   rel="alternative" type="text/xml+oembed"  href="https://www.flickr.com/services/oembed?url=https://www.flickr.com/photos/12348574@N07/22011912345&amp;format=xml" data-dynamic-added-by="bb44774707b5780000000000000000000000000000000" data-dynamic="true" />
<link   rel="alternative"  media="only screen and (max-width: 640px)" href="https://m.flickr.com/photos/12348574@N07/22011912345/" data-dynamic-added-by="bb44774707b5780000000000000000000000000000000" data-dynamic="true" />
]PRE]
]EG]

* 異なる媒体の版へのリンク

@@ [33] 印刷版

@@ [34] スマートフォン版


[22] [CITE@en[Building Smartphone-Optimized Websites - Webmasters — Google Developers]]
([TIME[2012-06-07 02:56:13 +09:00]] 版)
<https://developers.google.com/webmasters/smartphone-sites/details>

[25] [CITE@en[App Indexing for Google Search — Google Developers]]
( ([TIME[2013-10-31 15:05:25 +09:00]] 版))
<https://developers.google.com/app-indexing/webmasters/details>

[FIG(quote)[
[FIGCAPTION[
[27] [CITE@ja[Google 検索用 App Indexing   |   Google Developers]]
([TIME[2014-08-14 05:48:11 +09:00]] 版)
<https://developers.google.com/app-indexing/webmasters/server>
]FIGCAPTION]

> ページ http://example.com/gizmos の HTML に、ディープ リンク http://example.com/gizmos を指定する <link> 要素を、次のように追加します:
> <html>
> <head>
>   ...
>   <link rel="alternate" href="android-app://com.example.android/http/example.com/gizmos" />
>   ...

]FIG]

[FIG(quote)[
[FIGCAPTION[
[28] [CITE@ja[Google 検索用 App Indexing   |   Google Developers]]
([TIME[2014-08-14 05:48:11 +09:00]] 版)
<https://developers.google.com/app-indexing/webmasters/server>
]FIGCAPTION]

> <link> 要素をウェブサイトの XML サイトマップに指定して、ページとそのページをアプリで開く方法の関係を示すこともできます。以下に例を示します:
> <?xml version="1.0" encoding="UTF-8" ?>
> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
>  xmlns:xhtml="http://www.w3.org/1999/xhtml">
> <url>
>   <loc>http://example.com/gizmos</loc>
>   <xhtml:link rel="alternate" href="android-app://com.example.android/example/gizmos" />
> </url>
> ...
> </urlset>

]FIG]

** Mobile Link Discovery

[31] [[Mobile Link Discovery]] は、[[リンク関係]] [CODE(HTML)@en[[[alternate]]]] の
[[HTML]] [CODE(HTMLe)@en[[[link]]]] [[要素]]または [[Atom]]
[CODE(XMLe)@en[[[atom:link]]]] [[要素]]を使って[[携帯電話]]対象の
[[Web頁]]に[[リンク]]するものです。

-[1]
[CITE[Six Apart - Docs: Mobile Link Discovery 仕様]] <http://www.sixapart.jp/docs/tech/mobile_link_discovery_ja.html>
([[名無しさん]] [WEAK[2006-12-02 12:14:48 +00:00]])
-
[2]
[CITE[Six Apart - Docs: Mobile Link Discovery spec]] <http://www.sixapart.jp/docs/tech/mobile_link_discovery_en.html>
([[名無しさん]] [WEAK[2006-12-02 12:15:33 +00:00]])

詳しくは [[Mobile Link Discovery]] の項を参照してください。

* 異なる言語の版へのリンク

@@ [35] XXX

[23] [CITE[Official Google Webmaster Central Blog: New markup for multilingual content]]
( ([TIME[2013-01-15 19:42:27 +09:00]] 版))
<http://googlewebmastercentral.blogspot.co.uk/2011/12/new-markup-for-multilingual-content.html>

[24] [CITE[Official Google Webmaster Central Blog: Multilingual and multinational site annotations in Sitemaps]]
( ([TIME[2013-01-15 19:42:27 +09:00]] 版))
<http://googlewebmastercentral.blogspot.jp/2012/05/multilingual-and-multinational-site.html>

[29] [CITE@ja[言語や地域の URL に hreflang を使用する - Search Console ヘルプ]]
([TIME[2015-06-16 23:59:24 +09:00]] 版)
<https://support.google.com/webmasters/answer/189077>

[FIG(quote)[
[FIGCAPTION[
[30] [CITE@ja[言語や地域の URL に hreflang を使用する - Search Console ヘルプ]]
([TIME[2015-06-17 00:00:06 +09:00]] 版)
<https://support.google.com/webmasters/answer/189077>
]FIGCAPTION]

> URL に複数の言語バージョンがある場合、すべての言語のページで、そのページの言語を含むすべての言語バージョンを認識させる必要があります。たとえば、サイトのコンテンツをフランス語、英語、日本語で提供する場合、日本語バージョンのサイトには、フランス語バージョンと英語バージョンの rel="alternate" hreflang="x" リンクに加えて、日本語バージョン自体のリンクを追加する必要があります。同様に、英語バージョンとフランス語バージョンのサイトにも、フランス語バージョン、英語バージョン、日本語バージョンの同じリンクをそれぞれ追加する必要があります。

]FIG]

* メモ

[21] [CITE@en[RFC 5988 - Web Linking]]
( ([TIME[2012-03-22 09:19:11 +09:00]] 版))
<http://tools.ietf.org/html/rfc5988#section-6.2.2>

[312] [[HTTP]] 仕様書は [CODE(HTTP)[[[300]]]] [[応答]]で
[CODE(HTTP)@en[[[Link:]] ... [[rel]]=[[alternate]]]]
を使う可能性に言及していますが、広く実装されるかには疑問も呈しています [SRC[>>313]]。

[REFS[
- [313] [CITE@en[RFC 7231 - Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content]] ([TIME[2014-08-07 05:54:02 +09:00]] 版) <https://tools.ietf.org/html/rfc7231#section-6.4.1>
]REFS]


[FIG(quote)[
[FIGCAPTION[
[41] ([TIME[2016-03-04 01:28:44 +09:00]] 版)
<https://daichkr.hatelabo.jp/antenna/960679194075895898>
]FIGCAPTION]

>       <link rel="alternate" type="application/atom+xml" title="Atom" href="/antenna/960679194075895898/feed"/>

;; [42] しかし[[リンク先]]は [[RSS 2.0]] で、 [[MIME型]]も
[CODE(MIME)@en[application/rss+xml]]。
]FIG]


[FIG(quote)[
[FIGCAPTION[
[43] ([TIME[2016-02-01 01:03:51 +09:00]] 版)
<https://developer.mozilla.org/ja/docs/Web/JavaScript>
]FIGCAPTION]

> 
>   <link rel="alternate" type="application/json" href="/ja/docs/Web/JavaScript$json">

]FIG]


[FIG(quote)[
[FIGCAPTION[
[44] ([TIME[2016-02-17 01:29:33 +09:00]] 版)
<https://ja.wikipedia.org/wiki/%E3%83%A6%E3%83%88%E3%83%AC%E3%83%92%E3%83%88%E5%A4%A7%E5%AD%A6>
]FIGCAPTION]

> 
> <link rel="alternate" href="android-app://org.wikipedia/http/ja.m.wikipedia.org/wiki/%E3%83%A6%E3%83%88%E3%83%AC%E3%83%92%E3%83%88%E5%A4%A7%E5%AD%A6" />
> <link rel="alternate" type="application/x-wiki" title="編集" href="/w/index.php?title=%E3%83%A6%E3%83%88%E3%83%AC%E3%83%92%E3%83%88%E5%A4%A7%E5%AD%A6&amp;action=edit" />

]FIG]


[FIG(quote)[
[FIGCAPTION[
[45] [CITE@en-US[Podlove Alternate Feeds | Podlove]]
([TIME[2016-03-19 17:16:54 +09:00]] 版)
<http://podlove.org/alternate-feeds/>
]FIGCAPTION]

> The following example states feeds delivering different media containers for the same audio content:
>  <link rel="alternate"
>        href="http://mycoolpodcast.com/feed/mp3-low"
>        type="application/atom+xml"
>        title="MP3 audio low-bandwidth"/>
>  <link rel="alternate"
>        href="http://mycoolpodcast.com/feed/mp4"
>        type="application/atom+xml"
>        title="MP4 audio"/>
>  <link rel="alternate"
>        href="http://mycoolpodcast.com/feed/ogg"
>        type="application/atom+xml"
>        title="Ogg Vorbis audio"/>

]FIG]


[FIG(quote)[
[FIGCAPTION[
[46] ([TIME[2016-03-19 17:47:29 +09:00]] 版)
<http://www18.atwiki.jp/pazdra/>
]FIGCAPTION]

> 
> <link rel="alternate" href="http://www18.atwiki.jp/pazdra/rss10_new.xml" type="application/rss+xml" title="パズル&ドラゴンズ非公式wiki 【パズドラ】 新規作成ページRSS" />
> <link rel="alternate" href="http://www18.atwiki.jp/pazdra/rss10.xml" type="application/rss+xml" title="パズル&ドラゴンズ非公式wiki 【パズドラ】 更新ページRSS" />

]FIG]


[FIG(quote)[
[FIGCAPTION[
[47] ([TIME[2016-03-19 18:35:29 +09:00]] 版)
<https://www.youtube.com/>
]FIGCAPTION]

> 
>   <link rel="alternate" href="android-app://com.google.android.youtube/http/www.youtube.com/">
>   <link rel="alternate" href="ios-app://544007664/vnd.youtube/www.youtube.com/">

]FIG]


[FIG(quote)[
[FIGCAPTION[
[48] ([TIME[2016-03-19 18:42:58 +09:00]] 版)
<http://www.pixiv.net/>
]FIGCAPTION]

> 
> <link rel="alternate" media="only screen and (max-width: 640px)" href="http://touch.pixiv.net/index.php" >

]FIG]


[49] [CITE@en[Editorial: synchronize with the DOM Standard · whatwg/html@21c6ec7]]
([TIME[2016-03-20 18:09:09 +09:00]] 版)
<https://github.com/whatwg/html/commit/21c6ec77594eb89b836d4872222f5916910967fd>

[FIG(quote)[
[FIGCAPTION[
[50] ([TIME[2016-03-21 16:54:34 +09:00]] 版)
<http://n-styles.com/>
]FIGCAPTION]

> <link rel="alternate" type="application/rss+xml" title="ROR" href="http://n-styles.com/sitemap.xml" />
> ;; リンク先は [[RSS]]+[[ROR]] ではなく [[Sitemap]]。

]FIG]


[FIG(quote)[
[FIGCAPTION[
[51] ([TIME[2016-03-21 16:55:22 +09:00]] 版)
<http://ameblo.jp/>
]FIGCAPTION]

>   <link rel="alternate" type="application/rss+xml" title="ROR" href="http://ameblo.jp/sitemap_index_000.xml" />
> ;; リンク先は [[RSS]]+[[ROR]] ではなく [[Sitemap]]。

]FIG]


[FIG(quote)[
[FIGCAPTION[
[52] [CITE[ROR - Resources of a Resource]]
([TIME[2012-02-07 05:27:42 +09:00]] 版)
<http://www.rorweb.com/create-ror-file-rdf.htm>
]FIGCAPTION]

> <link rel="alternate" type="application/rdf+xml" 
>  title="ROR" href="http://www.acme.com/folder/feed.xml" />

]FIG]


[FIG(quote)[
[FIGCAPTION[
[53] [CITE[ROR - Resources of a Resource]]
([TIME[2012-02-07 05:27:39 +09:00]] 版)
<http://www.rorweb.com/create-ror-file-rss.htm>
]FIGCAPTION]

> <link rel="alternate" type="application/rss+xml" 
>  title="ROR" href="http://www.acme.com/folder/feed.xml" />
> 

]FIG]


[54] [CITE@en[Expand on feed autodiscovery, and make it only apply to <link>]]
( ([[domenic]]著, [TIME[2016-05-03 23:10:08 +09:00]]))
<https://github.com/whatwg/html/commit/a021607e61e78e7d24e9db857307948ea4379667>

[FIG(quote)[
[FIGCAPTION[
[55] [CITE@ja[街のユニークなスキマ空間を“MaGaRi”(間借り) | MaGaRi]]
( ([[MaGaRi]]著, [TIME[2016-05-31 15:33:33 +09:00]]))
<http://ma-ga-ri.com/>
]FIGCAPTION]

>   <link rel="alternate" type="application/atom+xml" title="adlensjapan RSS" href="" />
>   <link rel="pingback" href="http://ma-ga-ri.com/wp/xmlrpc.php" />
>   <link rel="EditURI" type="application/rsd+xml" title="RSD" href="/xmlrpc.php?rsd" />
>   <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://ma-ga-ri.com/wp/xmlrpc.php?rsd" />
> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://ma-ga-ri.com/wp/wp-includes/wlwmanifest.xml" /> 
> <link rel='index' title='MaGaRi' href='http://ma-ga-ri.com/' />
> <meta name="generator" content="WordPress 3.0.3" />

]FIG]


[FIG(quote)[
[FIGCAPTION[
[56] [CITE@ja-jp[Wantedly(ウォンテッドリー)「はたらく」を面白くするビジネスSNS]]
([TIME[2016-08-01 23:58:05 +09:00]])
<https://www.wantedly.com/>
]FIGCAPTION]

> 
> <link href="https://www.wantedly.com/" hreflang="ja-jp" rel="alternate" /><link href="https://en-jp.wantedly.com/" hreflang="en-jp" rel="alternate" /><link href="https://us.wantedly.com/" hreflang="en-us" rel="alternate" /><link href="https://ca.wantedly.com/" hreflang="en-ca" rel="alternate" /><link href="https://gb.wantedly.com/" hreflang="en-gb" rel="alternate" /><link href="https://de.wantedly.com/" hreflang="en-de" rel="alternate" /><link href="https://tw.wantedly.com/" hreflang="en-tw" rel="alternate" /><link href="https://in.wantedly.com/" hreflang="en-in" rel="alternate" /><link href="https://id.wantedly.com/" hreflang="id-id" rel="alternate" /><link href="https://en-id.wantedly.com/" hreflang="en-id" rel="alternate" /><link href="https://th.wantedly.com/" hreflang="en-th" rel="alternate" /><link href="https://sg.wantedly.com/" hreflang="en-sg" rel="alternate" /><link href="https://my.wantedly.com/" hreflang="en-my" rel="alternate" /><link href="https://hk.wantedly.com/" hreflang="en-hk" rel="alternate" /><link href="https://vn.wantedly.com/" hreflang="en-vn" rel="alternate" /><link href="https://ph.wantedly.com/" hreflang="en-ph" rel="alternate" /><link href="https://au.wantedly.com/" hreflang="en-au" rel="alternate" /><link href="https://kr.wantedly.com/" hreflang="en-kr" rel="alternate" />

]FIG]


[FIG(quote)[
[FIGCAPTION[
[57] [CITE@en[RFC 7992 - HTML Format for RFCs]]
([TIME[2016-12-17 02:51:45 +09:00]])
<https://tools.ietf.org/html/rfc7992#section-6.3.4>
]FIGCAPTION]

>    The <head> element contains a <link> tag, with "rel" attribute of
>    "alternate", "type" attribute of "application/rfc+xml", and "href"
>    attribute pointing to the prepared XML source that was used to
>    generate this document.
>    <link rel="alternate" type="application/rfc+xml" href="source.xml">

]FIG]


[FIG(quote)[
[FIGCAPTION[
[58] [CITE@ja[別々の URL  |  Mobile Friendly Websites  |  Google Developers]]
([TIME[2016-05-16 09:32:39 +09:00]])
<https://developers.google.com/webmasters/mobile-sites/mobile-seo/separate-urls?hl=ja>
]FIGCAPTION]

> パソコン用ページ(http://www.example.com/page-1)には、次のアノテーションを追加します。
> <link rel="alternate" media="only screen and (max-width: 640px)"
>  href="http://m.example.com/page-1">
> モバイル用ページ(http://m.example.com/page-1)に追加する必要があるアノテーションは次のとおりです。
> <link rel="canonical" href="http://www.example.com/page-1">
> モバイル用 URL には、パソコン用ページを指すこの rel="canonical" タグが必要です。

]FIG]


[FIG(quote)[
[FIGCAPTION[
[59] [CITE@ja[別々の URL  |  Mobile Friendly Websites  |  Google Developers]]
([TIME[2016-05-16 09:32:39 +09:00]])
<https://developers.google.com/webmasters/mobile-sites/mobile-seo/separate-urls?hl=ja>
]FIGCAPTION]

> サイトマップに、次のようなパソコン用ページの rel="alternate" アノテーションを含めることができます。
> <?xml version="1.0" encoding="UTF-8"?>
> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
> xmlns:xhtml="http://www.w3.org/1999/xhtml">
> <url>
> <loc>http://www.example.com/page-1/</loc>
> <xhtml:link
> rel="alternate"
> media="only screen and (max-width: 640px)"
> href="http://m.example.com/page-1" />
> </url>
> </urlset>

]FIG]


[60] [CITE[JSON Feed - JSON Feed Version 1]]
([TIME[2020-08-11T17:02:07.000Z]], [TIME[2020-10-07T02:43:40.160Z]])
<https://jsonfeed.org/version/1#discovery>

[62] [CITE@ja[Discover にコンテンツを掲載する | Google 検索セントラル  |  ドキュメント  |  Google Developers]]
([TIME[2022-07-05T05:04:26.000Z]], [TIME[2022-07-06T03:02:31.950Z]])
<https://developers.google.com/search/docs/advanced/mobile/google-discover?hl=ja>