-
Notifications
You must be signed in to change notification settings - Fork 2
/
html-metadata.txt
326 lines (206 loc) · 9.96 KB
/
html-metadata.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
data/html-metadata.json
~~~~~~~~~~~~~~~~~~~~~~~
The file contains data on metadata in HTML documents.
* Structure
The file contains a JSON object with following name/value pairs:
link_types [object]
Names are link types as used in e.g. |rel| attributes, in
lowercase, and values are their descriptions, as [protocol-object]
with following additional name/value pairs:
as [boolean]
Whether the link type allows the use of the |as| attribute of
the |link| element or not.
atom [link-type-effect?]
Whether the link type is used (in any element that allows the
|link| element) in Atom 1.0 or not.
atom_entry [link-type-effect?]
Whether the link type is used in Atom 1.0 |entry| element or
not.
atom_feed [link-type-effect?]
Whether the link type is used in Atom 1.0 |feed| element or
not.
atom03 [link-type-effect?]
Whether the link type is allowed in Atom 0.3 or not.
body_ok [boolean]
Whether the link type is body-ok
<https://html.spec.whatwg.org/#body-ok> or not.
collection_json [link-type-effect?]
Whether the link relation is used in Collection+JSON or not.
color [boolean]
Whether the link type allows the use of the |color| attribute
of the |link| element or not.
conforming [boolean]
Whether use of the link type is conforming or not.
core [link-type-effect?]
Whether the link relation is used in CoRE link format or not.
hal [link-type-effect?]
Whether the link relation is used in HAL or not.
html_a [link-type-effect?]
The effect of the link created by an HTML |a| or |area|
element using the link type, if known.
html_a_supportable [boolean]
Whether the link type can be one of supported tokens for the
|DOMTokenList| object of the |relList| attribute of an HTML
|a| or |area| element.
html_link [link-type-effect?]
The effect of the link created by an HTML |link| element using
the link type, if known.
html_link_supportable [boolean]
Whether the link type can be one of supported tokens for the
|DOMTokenList| object of the |relList| attribute of an HTML
|link| element.
html_rev [link-type-effect?]
The effect of the link created by an HTML element using the
link type in the |rev| attribute, if known. Note that the
|rev| attribute is obsolete.
http_link [link-type-effect?]
Whether the link relation type is used in HTTP |Link:|
header's |rel| parameter or not.
iana [boolean]
Whether the link relation type is registered with the IANA
Link Relations registry for Web Linking or not.
integrity [boolean]
Whether the link type allows the use of the |integrity|
attribute of the |link| element or not.
maze [link-type-effect?]
Whether the link relation is used in Maze+XML or not.
microformats_wiki_desc_html [string?]
The description cell data for the link type, as shown in the
microformats wiki link type table, if its content is not a
simple string.
microformats_wiki_spec_link_html [string?]
The link to specification cell data for the link type, as
shown in the microformats wiki link type table. This
name/value pair is omitted if it only contains a link to the
specification.
microformats_wiki_spec_link_label [string?]
The label of the link to the specification in the microformats
wiki link type table, if any.
microformats_wiki_status [string?]
The status of the link type, as shown in the microformats wiki
link type table, if any. At the time of writing, the value
can be |proposed|.
microformats_wiki_synonyms_html [string?]
The "Synonyms" cell data for the link type, as shown in
microformats wiki link type table, if any.
opensearch [link-type-effect?]
Whether the link type is used in OpenSearch or not.
rdap [link-type-effect?]
Whether the link relation is used in RDAP or not.
scope [boolean]
Whether the link type allows the use of the |scope| attribute
of the |link| element or not.
sizes [boolean]
Whether the link type allows the use of the |sizes| attribute
of the |link| element or not.
updateviacache [boolean]
Whether the link type allows the use of the |updateviacache|
attribute of the |link| element or not.
webfinger [link-type-effect?]
Whether the link relation is used in WebFinger or not.
workertype [boolean]
Whether the link type allows the use of the |workertype|
attribute of the |link| element or not.
xml2rfc [link-type-effect?]
Whether the link relation is used in XML2RFC's XML documents
or not.
xrd [link-type-effect?]
Whether the link relation is used in XRD or not.
metadata_names [object]
Names are metadata names as used in |meta| element's |name|
attributes, in lowercase, and values are their descriptions, as
[protocol-object] with following additional name/value pairs:
allowed_values [object?]
Names are allowed values for the |content| attribute and
values are true values. This name/value pair is specified
only when the |content| attribute accepts a limited set of
values.
conforming [boolean]
Whether use of the metadata name is conforming or not.
whatwg_wiki_desc_html [string?]
The description cell data for the metadata, as shown in the
WHATWG Wiki MetaExtensions page, if its content is not a
simple string.
whatwg_wiki_spec_link_html [string?]
The link to specification cell data for the metadata, as shown
in the WHATWG Wiki MetaExtensions page. This name/value pair
is omitted if it only contains a link to the specification.
whatwg_wiki_spec_link_label [string?]
The label of the link to the specification in the WHATWG Wiki
MetaExtensions page, if any.
whatwg_wiki_status [string?]
The status of the metadata, as shown in the WHATWG Wiki
MetaExtensions page, if any. At the time of writing, the
value can be one of |proposal|, |incomplete proposal|, or
|unendorsed|.
whatwg_wiki_synonyms_html [string?]
The "Synonyms" cell data for the metadata, as shown in WHATWG
Wiki MetaExtensions page, if any.
* Data type
The data type |link-type-effect| represents the effect of a link
created by the link type. It is one of the following strings:
|hyperlink| Create a hyperlink <https://html.spec.whatwg.org/#hyperlink>.
|external resource| Create an external resource link
<https://html.spec.whatwg.org/#external-resource-link>.
|annotation| A hyperlink annotation
<https://html.spec.whatwg.org/#hyperlink-annotation>.
|1| Specified or used in this context.
|not allowed| Not allowed in this context.
Note that even when the value is not |not allowed|, use of the link
type might be non-conforming because of other factors.
* Sources
HTML Standard <https://html.spec.whatwg.org/>.
HTML Standard Tracker <https://html5.org/r/5924>.
HTML Standard Tracker <https://html5.org/r/5925>.
WHATWG Wiki MetaExtensions
<https://wiki.whatwg.org/wiki/MetaExtensions>.
WHATWG Wiki RelExtensions
<https://wiki.whatwg.org/wiki/RelExtensions>.
Microformats Wiki - existing rel values
<http://microformats.org/wiki/existing-rel-values>.
Content Security Policy
<https://w3c.github.io/webappsec/specs/content-security-policy/>.
The 'theme-color' meta extension
<https://github.com/whatwg/meta-brand-color>.
The Atom API
<http://bitworking.org/projects/atom/draft-gregorio-09.html>.
RFC 4287, The Atom Syndication Format
<https://tools.ietf.org/html/rfc4287>.
RFC 5005, Feed Paging and Archiving
<https://tools.ietf.org/html/rfc5005>.
RFC 6690, Constrained RESTful Environments (CoRE) Link Format
<https://tools.ietf.org/html/rfc6690>.
RFC 7033, WebFinger <https://tools.ietf.org/html/rfc7033>.
RFC 7483, JSON Responses for the Registration Data Access Protocol
(RDAP) <https://tools.ietf.org/html/rfc7483>.
Link Relations
<https://www.iana.org/assignments/link-relations/link-relations.xml>.
Collection+JSON - Document Format
<http://amundsen.com/media-types/collection/format/>.
Maze+XML - Format <http://amundsen.com/media-types/maze/format/>.
Specifications/OpenSearch/1.1/Draft 5 - OpenSearch
<http://www.opensearch.org/Specifications/OpenSearch/1.1/Draft_5>.
The 'XML2RFC' version 3 Vocabulary
<https://tools.ietf.org/html/draft-hoffman-xml2rfc-15>.
Extensible Resource Descriptor (XRD) Version 1.0
<http://docs.oasis-open.org/xri/xrd/v1.0/xrd-1.0.html>.
* License
You are granted a license to use, reproduce, and create derivative
works of the JSON file.
Per CC0 <https://creativecommons.org/publicdomain/zero/1.0/>, to the
extent possible under law, the author of the JSON file and this
document has waived all copyright and related or neighboring rights to
the JSON file and this document.
The JSON file contains data extracted from HTML Standard. "©
Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
Opera Software ASA. You are granted a license to use, reproduce and
create derivative works of this document."
The JSON file contains data from WHATWG Wiki, where "Content is
available under a CC0 Universal Public Domain Declaration, with some
restrictions <https://wiki.whatwg.org/wiki/WHATWG_Wiki:Copyrights>
unless otherwise noted".
The JSON file contains data from a Microformats Wiki page, where "All
text of this page is available under the terms of the Creative Commons
Public Domain License
<http://creativecommons.org/licenses/publicdomain/>. (See Copyrights
<http://microformats.org/wiki/Microformats:Copyrights> for details.)"