9 |
|
|
10 |
<div class="header"> |
<div class="header"> |
11 |
<h1>Auto-Discovery Auto-Discovery Specification</h1> |
<h1>Auto-Discovery Auto-Discovery Specification</h1> |
12 |
|
<h2>Working Draft 3 December 2006</h2> |
13 |
|
|
14 |
<dl class="versions-uri"> |
<dl class="versions-uri"> |
15 |
<dt>This Version</dt> |
<dt>This Version</dt> |
57 |
<div id="status" class="section"> |
<div id="status" class="section"> |
58 |
<h2>Status of This Document</h2> |
<h2>Status of This Document</h2> |
59 |
|
|
60 |
<div class="ed issue"><p>Work in progress</p></div> |
<div class="ed issue"><p>Work in progress, and just a joke:-)</p></div> |
61 |
|
|
62 |
</div> |
</div> |
63 |
|
|
64 |
<div id="introduction" class="section"> |
<div id="introduction" class="section"> |
65 |
<h2>Introduction</h2> |
<h2>Introduction</h2> |
66 |
|
|
67 |
<div class="ed issue">...</div> |
<p>Recently, a number of auto-discovery conventions |
68 |
|
are proposed and implemented in various Web browsers |
69 |
|
and so-called <q>Web 2.0</q> services. They provide |
70 |
</div> |
means to extract links to resources (or other useful |
71 |
|
information) from Web documents in somewhat reliable |
72 |
<div class="section"> |
ways. However, the syntax of these techniques |
73 |
<h2>Embeding Auto-Discovery Auto-Discovery Link in HTML Document</h2> |
vary and the implementators have to add specific |
74 |
|
code for each auto-discovery technique.</p> |
75 |
<div class="section informative"> |
|
76 |
<h3>Introduction</h3> |
<p>The <dfn id="DT-autodiscovery-autodiscovery">Auto-Discovery |
77 |
|
Auto-Discovery</dfn> is a mechanism to discover |
78 |
<p>This section is <em>informative</em>.</p> |
auto-discovery element that contains links (or |
79 |
|
other information) for auto-discovery techniques. |
80 |
<div class="example figure block"> |
With the Auto-Discovery Auto-Discovery, user agents |
81 |
<div class="caption">Auto-Discovery Auto-Discovery |
can detect auto-discovery elements without any |
82 |
for TrackBack Auto-Discovery</div> |
particular knowledge to a specific auto-discovery |
83 |
|
technique.</p> |
|
<pre><code class="HTML"> |
|
|
<rdf:RDF |
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|
|
xmlns:dc="http://purl.org/dc/elements/1.1/" |
|
|
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" |
|
|
xml:id="trackback"> |
|
|
<rdf:Description |
|
|
rdf:about="http://www.foo.example/archive.html#foo" |
|
|
dc:identifier="http://www.foo.example/archive.html#foo" |
|
|
dc:title="Foo Bar" |
|
|
trackback:ping="http://www.foo.example/tb.cgi/5" /> |
|
|
</rdf:RDF> |
|
|
<link rel="meta" href="#trackback"> |
|
|
</code></pre> |
|
|
</div> |
|
|
|
|
|
<div class="example figure block"> |
|
|
<div class="caption">Auto-Discovery Auto-Discovery |
|
|
for Atom Auto-Discovery</div> |
|
84 |
|
|
|
<pre><code class="HTML"> |
|
|
<link rel="meta" href="#atom"> |
|
|
<link id="atom" rel="feed" href="feed.atom" type="application/atom+xml"> |
|
|
</code></pre> |
|
85 |
</div> |
</div> |
86 |
|
|
87 |
|
<div class="section" id="terminology"> |
88 |
|
<h2>Terminology</h2> |
89 |
|
|
90 |
|
<p>The key words <q><em class="rfc2119">MUST</em></q>, |
91 |
|
<q><em class="rfc2119">MUST NOT</em></q>, |
92 |
|
<q><em class="rfc2119">SHOULD</em></q>, and |
93 |
|
<q><em class="rfc2119">SHOULD NOT</em></q> in this |
94 |
|
document are to be interpreted as described in RFC 2119 |
95 |
|
<cite class="bibref normative">[<a href="#ref-KEYWORDS">KEYWORDS</a>]</cite>.</p> |
96 |
</div> |
</div> |
97 |
|
|
98 |
<div class="section"> |
<div class="section" id="for-authors"> |
99 |
<h3>Definition</h3> |
<h2>Embeding Auto-Discovery Auto-Discovery Link</h2> |
100 |
|
|
101 |
<p>An <dfn id="DT-autodiscovery-autodiscovery-link">Auto-Discovery |
<p>An <dfn id="DT-autodiscovery-autodiscovery-link">Auto-Discovery |
102 |
Auto-Discovery link</dfn> is a hyperlink to |
Auto-Discovery link</dfn> is a hyperlink to |
103 |
an Auto-Discovery element. |
an auto-discovery element. |
104 |
The <dfn id="DT-referenced-element">referenced element</dfn> |
The <dfn id="DT-referenced-element">referenced element</dfn> |
105 |
is the outermost element for the Auto-Discovery.</p> |
is the outermost element for the auto-discovery.</p> |
106 |
|
|
107 |
<p>The <dfn id="DT-referencing-element">referencing element</dfn> |
<p>The <dfn id="DT-referencing-element">referencing element</dfn> |
108 |
is the element representing an <a |
is the element representing an <a |
109 |
href="#DT-autodiscovery-autodiscovery-link">Auto-Discovery |
href="#DT-autodiscovery-autodiscovery-link">Auto-Discovery |
110 |
Auto-Discovery link</a>.</p> |
Auto-Discovery link</a>.</p> |
111 |
|
|
112 |
|
<!-- |
113 |
<p>The <a href="#DT-referenced-element">referenced element</a> |
<p>The <a href="#DT-referenced-element">referenced element</a> |
114 |
<em class="rfc2119">MUST</em> have an |
<em class="rfc2119">MUST</em> have an |
115 |
<code class="HTMLa">id</code> attribute.</p> |
<code>ID</code> attribute.</p> |
116 |
|
|
117 |
|
<div class="note memo"> |
118 |
|
<p>In HTML, the <code class="HTMLa">id</code> attribute |
119 |
|
is an <code>ID</code> attribute. In XML, the |
120 |
|
<code class="XMLa">xml:id</code> attribute may be used.</p> |
121 |
|
</div> |
122 |
|
--> |
123 |
|
|
124 |
<p>The <a href="#DT-referencing-element">referencing element</a> |
<p>The <a href="#DT-referencing-element">referencing element</a> |
125 |
<em class="rfc2119">MUST</em> be a <code class="HTMLe">link</code> |
<em class="rfc2119">MUST</em> be a <code class="HTMLe">link</code> |
151 |
<p>The <a href="#DT-referencing-element">referencing element</a> |
<p>The <a href="#DT-referencing-element">referencing element</a> |
152 |
<em class="rfc2119">MAY</em> have other attributes.</p> |
<em class="rfc2119">MAY</em> have other attributes.</p> |
153 |
|
|
154 |
|
<p>The <a href="#DT-referencing-element">referencing element</a> |
155 |
|
<em class="rfc2119">MUST</em> be placed where it is allowed. |
156 |
|
In HTML5 <cite class="bibref normative">[<a |
157 |
|
href="#ref-HTML5">HTML5</a>]</cite>, it may be |
158 |
|
a child of the <code class="HTMLe">head</code> element in the document.</p> |
159 |
|
|
160 |
|
<div class="note memo"> |
161 |
|
<p>The <a href="#DT-referencing-element">referencing element</a> |
162 |
|
may appear in non-HTML document. For example, it might |
163 |
|
be used in an <code class="XMLe">rss</code> element |
164 |
|
in an RSS feed document.</p> |
165 |
|
</div> |
166 |
|
|
167 |
|
</div> |
168 |
|
|
169 |
|
</div> |
170 |
|
|
171 |
|
<div class="section" id="for-ua"> |
172 |
|
<h2>Auto-Discovering Auto-Discovery Elements</h2> |
173 |
|
|
174 |
<div class="ed">...</div> |
<div class="ed">...</div> |
175 |
|
|
176 |
</div> |
</div> |
177 |
|
|
178 |
|
<div class="section" id="examples"> |
179 |
|
<h2>Examples</h2> |
180 |
|
|
181 |
|
<p>This section is <em>informative</em>.</p> |
182 |
|
|
183 |
|
<div class="ed issue">...</div> |
184 |
|
|
185 |
|
<div class="example figure block"> |
186 |
|
<div class="caption">Auto-Discovery Auto-Discovery |
187 |
|
for TrackBack Auto-Discovery</div> |
188 |
|
|
189 |
|
<pre><code class="HTML"> |
190 |
|
<rdf:RDF |
191 |
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
192 |
|
xmlns:dc="http://purl.org/dc/elements/1.1/" |
193 |
|
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" |
194 |
|
xml:id="trackback"> |
195 |
|
<rdf:Description |
196 |
|
rdf:about="http://www.foo.example/archive.html#foo" |
197 |
|
dc:identifier="http://www.foo.example/archive.html#foo" |
198 |
|
dc:title="Foo Bar" |
199 |
|
trackback:ping="http://www.foo.example/tb.cgi/5" /> |
200 |
|
</rdf:RDF> |
201 |
|
<link rel="meta" href="#trackback"> |
202 |
|
</code></pre> |
203 |
|
</div> |
204 |
|
|
205 |
|
<div class="example figure block"> |
206 |
|
<div class="caption">Auto-Discovery Auto-Discovery |
207 |
|
for Atom Auto-Discovery</div> |
208 |
|
|
209 |
|
<pre><code class="HTML"> |
210 |
|
<link rel="meta" href="#atom"> |
211 |
|
<link id="atom" rel="feed" href="feed.atom" type="application/atom+xml"> |
212 |
|
</code></pre> |
213 |
</div> |
</div> |
214 |
|
|
|
<div class="ed issue"> |
|
|
<p>In RSS, Atom, or other XML document...</p> |
|
215 |
</div> |
</div> |
216 |
|
|
217 |
<div id="references" class="section reference"> |
<div id="references" class="section reference"> |
225 |
<dd class="ed">WA1</dd> |
<dd class="ed">WA1</dd> |
226 |
<dt id="ref-IRI">IRI</dt> |
<dt id="ref-IRI">IRI</dt> |
227 |
<dd class="ed">RFC 3987</dd> |
<dd class="ed">RFC 3987</dd> |
228 |
|
<dt id="ref-KEYWORDS">KEYWORDS</dt> |
229 |
|
<dd class="ed">RFC 2119</dd> |
230 |
</dl> |
</dl> |
231 |
</div> |
</div> |
232 |
|
|
255 |
Version 1.2, 1 August 2004.</dd> |
Version 1.2, 1 August 2004.</dd> |
256 |
<dt id="ref-WIDGETS">WIDGETS</dt> |
<dt id="ref-WIDGETS">WIDGETS</dt> |
257 |
<dd class="ed">...</dd> |
<dd class="ed">...</dd> |
258 |
|
<dt id="ref-XMLID">XMLID</dt> |
259 |
|
<dd class="ed">xml:id</dd> |
260 |
</dl> |
</dl> |
261 |
</div> |
</div> |
262 |
|
|