/
634.txt
76 lines (50 loc) · 2.6 KB
/
634.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
[3] [DFN[[CODE(URI)@en[[[widget:]]]] [[URL]]]] は [[Widget]] の中の[[ファイル]]を表す [[URL]]
です。
* 仕様書
- [2] [CITE@en[Widget URIs]] ([TIME[2010-04-15 21:27:19 +09:00]] 版) <http://dev.w3.org/2006/waf/widgets-uri/>
* authority
[9] [[authority]] には [[UUID]] を使う[['''べきである''']]とされています [SRC[>.2 6.2]]。
;;
[6] 当初は、 [[authority]] は不透明な文字列を指定しても良い、将来の版では意味を規定するかもしれない、とされていました
[SRC[>>2]]。
* path
[10] [[path]] は [[Widgets]] の [[ZIP]] ファイル内にある[[ファイル名]]です。
* query
[11] [[query]] を使うこともできますが、 [[dereference]] の際は無視されます [SRC[>.2 6.3]]。
;; [12] [[アプリケーション]]が引数として任意の用途で使うことができるものと思われます。
* 歴史
[1] [CITE[Widgets 1.0: URI Scheme]] ([TIME[2009-06-18 21:40:41 +09:00]] 版) <http://www.w3.org/TR/2009/WD-widgets-uri-20090618/>
** 終了
[REFS[
- [7] [CITE[Widget URI scheme]] ([TIME[2012-03-13 09:42:48 +09:00]] 版) <http://www.w3.org/TR/2012/NOTE-widgets-uri-20120313/>
- [8] [CITE@en[CfC: publish Widget URI spec as a WG Note; deadline March 9]] ([[Arthur Barstow]] 著, [TIME[2012-03-02 22:16:42 +09:00]] 版) <http://lists.w3.org/Archives/Public/public-webapps/2012JanMar/0965.html>
]REFS]
十分な関心を集められなかったとして、 [[WG Note]] として発行されたのを最後に開発終了となりました。
* 例
** UUID を使っている例
[EG[
[14] [SRC[>>2 6.3, 6.4]]
- [CODE(URI)[widget://c13c6f30-ce25-11e0-9572-0800200c9a66/index.html]]
- [CODE(URI)[widget://c13c6f30-ce25-11e0-9572-0800200c9a66/example.gif?hello]]
- [CODE(URI)[widget://c13c6f30-ce25-11e0-9572-0800200c9a66/example.gif?hello=foo&bar=baz]]
- [CODE(URI)[widget://c13c6f30-ce25-11e0-9572-0800200c9a66/example.gif?hello#hi-there]]
]EG]
** UUID を使っていない例
[13] 古い版の仕様書では [[UUID]] を使っていませんでした。
[EG[
[4] [SRC[>>2]]
[PRE(URI example code)[
widget://beefdead/dahuts/sightings/alpes-françaises.svg
]PRE]
]EG]
[EG[
[5] [SRC[>>2]]
[PRE(URI example code)[
widget:///secret-identities/marcoscàceres/batman.foaf
]PRE]
]EG]
* 関連
[15] [CODE(URI)@en[[[app:]]]] [[URL scheme]] は [CODE(URI)@en[[[widget:]]]] の再挑戦ともいえます。
[16] [CITE@en-US[Accessible Rich Internet Applications (WAI-ARIA) 1.0]]
( ([TIME[2014-01-14 16:21:51 +09:00]] 版))
<http://www.w3.org/WAI/PF/aria/complete#def_widget>