/
808.txt
39 lines (31 loc) · 3.28 KB
/
808.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
[1] [[HTMLHelp]] で使っている [[URI]] [[scheme]]。
- [9] 類似の [CODE(URI)[[[hcp:]]]] とは違って、 WinIE そのものの画面でも表示できますが、 >>7 と >>8 の理由により使い物になりません。 (そうする理由も無いですね、べつに。)
- [10] ''HTML Help URL について'' <http://www.microsoft.com/JAPAN/developer/library/htmlhelp/SDK/API/1.21/ov_about_html_help_urls.htm>: この URI scheme が [[W3C]] の標準に準拠しているとか意味の分からないことが書いてあります、
- [11] >>10 にある例: [SAMP(URI)[ms-its:Helpfile.chm::/Topic.htm[>Window name]]]
- [12] >>10 によれば [CODE(URI)[ms-its:]] は [[WinIE4]] 世代から実装されています。 [[WinIE3]] 世代はもっぱら [CODE(URI)[[[mk:]]]] scheme を使っていました。
- [13] なお、 scheme 無しの (本来の) 相対 URI [SAMP(URI)[Filename.chm::/page.htm]] は非推奨らしいです: ''235226 - INFO: HTML Help URL Protocols'' <http://support.microsoft.com/?kbid=235226>
[[#comment]]
* 例
- [2] [SAMP(URI)[ms-its:C:\WINDOWS\Help\glossary.chm::/glossary_per.htm#double_byte_def]]
- [3] [SAMP(URI)[ms-its:C:\WINDOWS\Help\compfldr.chm::/CF_extract.htm]]
[[#comment]]
* 変な URI のようにみえるが、 URI ではない。
- [4] [SAMP(URI)[ms-its:EXEC=,EXPLORER.EXE,%20::{20D04FE0-3AEA-1069-A2D8-08002B30309D}%20CHM=ntshared.chm%20FILE=alt_url_windows_component.htm]]
- [5] [SAMP(URI)[ms-its:C:\WINDOWS\Help\compfldr.chm::/CHM=compfldr.chm META=a_vz_ovrvw;a_CF_adding;a_CF_opening]] (これほんとに URI かよ・・・?)
- [6] [SAMP(URI)[MS-ITS:ntshared.chm::/shared.js]] ([[相対URI]] らしい。)
- [7] >>4 も >>5 も見かけの URI (謎) で、「ヘルプとサポート センター」 ([[WinXP]] の HTMLHelp viewer) も WinIE も解釈出来ません。 >>3 のソース中で、 URI に [SAMP(URI)[ms-its:C:\WINDOWS\Help\compfldr.chm::/CHM=compfldr.chm META=a_vz_ovrvw;a_CF_adding;a_CF_opening]] とか [SAMP(URI)[EXEC=,EXPLORER.EXE, ::{20D04FE0-3AEA-1069-A2D8-08002B30309D} CHM=ntshared.chm FILE=alt_url_windows_component.htm]] とか [SAMP(URI)[HELP=glossary.hlp TOPIC=extract_def]] とかの到底 URI とは思えないものを指定できるようです。
- [8] >>6 のような相対 URI は素の WinIE では解釈できないようです。
[[#comment]]
*メモ
[FIG(quote)[
[FIGCAPTION[
[14] [CITE[INFO: HTML Help URL Protocols]]
([TIME[2015-07-09 00:08:11 +09:00]] 版)
<https://support.microsoft.com/en-us/kb/235226>
]FIGCAPTION]
> Anything after the double colon (::) must use forward slashes (/), in accordance with URL standards. Normally, backslashes (\) are used only when specifying a file path that is before the double colon (::). However, using forward slashes before the double colon (::) is still allowed.
> The following is a list of correct HTML Help URLs:
> Filename.chm::/page.htm - Only works inside of HTML Help. Microsoft strongly discourages its use (also known as "super-automagic" URL).
> Mk:@MSITStore:filename.chm::/page.htm - The standard HTML Help URL that works with Internet Explorer 3.0 and later (also known as "automagic" URL).
> Ms-its:filename.chm::/page.htm - The new standard HTML Help URL that works with Internet Explorer 4.0 and later (also know as "automagic" URL).
]FIG]