Home » Personal collection » Acorn hard disk » apps » web » !ArcWeb/PublicHTML/Extensions

!ArcWeb/PublicHTML/Extensions

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn hard disk » apps » web
Filename: !ArcWeb/PublicHTML/Extensions
Read OK:
File size: 08D1 bytes
Load address: 0000
Exec address: 0000
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
<title>HTML Extensions</title>
<body>

<h1>ArcWeb's HTML Extensions</h1>

ArcWeb contains a few HTML extensions to support the RISC OS environment.
These include:
<ul>

<li>Inlined images may be virtually any type which ChangeFSI autorecognises,
including RISC OS sprites (although not 'deep' sprites, yet)

<li>Since RISC OS sprite areas may contain multiple sprites, I have extended
the same principle used for documents, to images.  Hence, something like
&lt;img src="myfile#myiconbar"&gt; will retrieve the sprite called
<em>myiconbar</em> from <em>myfile</em> which resides in the same directory
as the document that contains it.  Furthermore, omitting the filename will
force a look up in the Wimp common sprite pool, so &lt;img
src="#switcher"&gt; will get you the <img src="#switcher" alt="Task
Manager">icon.

<li>URLs may reference files on the local machine.  These are recognised by
the syntax:  <tt>local://filing-system/file-from-$</tt>.  The filing system
includes the media specifier, so <em>ADFS::HardDisc4</em> is an example of a
valid filing system.  The rest of the filename is given from and including
the root.  Filing systems without media specifiers may be used by omitting
that part of the FS name (see the example with <tt>resources:</tt> below.  In
the path name, all / and . characters are transposed to make it look more
like a conventional URL.

<li>local: URLs may point to applications, in which case following them will
launch the application.  eg. &lt;a href="local://resources:/$/Apps/!Help"&gt;
will open an anchor which will <a
href="local://resources:/$/Apps/!Help">launch Acorn's !Help</a> application.
However, for your own protection, this will NOT happen unless the page
containing the link to an application was also loaded from a local: page.

<li>Some of the extensions proposed by <a href="netscapext">Netscape
Communications Corp.</a> have had support added for them as well, including
background images, colour changing, id attribute for any tag.

<li>Some of the HTML 3.2 &quot;Wilbur&quot; extensions have been added,
such as referencing certain colours by name.

<li>ArcWeb has support for <tt>finger</tt> URLs as well.  Even Netscape
2 doesn't have these yet!

</ul>

<hr>
Stewart Brodie<br>
29 June 1996
00000000  3c 74 69 74 6c 65 3e 48  54 4d 4c 20 45 78 74 65  |<title>HTML Exte|
00000010  6e 73 69 6f 6e 73 3c 2f  74 69 74 6c 65 3e 0a 3c  |nsions</title>.<|
00000020  62 6f 64 79 3e 0a 0a 3c  68 31 3e 41 72 63 57 65  |body>..<h1>ArcWe|
00000030  62 27 73 20 48 54 4d 4c  20 45 78 74 65 6e 73 69  |b's HTML Extensi|
00000040  6f 6e 73 3c 2f 68 31 3e  0a 0a 41 72 63 57 65 62  |ons</h1>..ArcWeb|
00000050  20 63 6f 6e 74 61 69 6e  73 20 61 20 66 65 77 20  | contains a few |
00000060  48 54 4d 4c 20 65 78 74  65 6e 73 69 6f 6e 73 20  |HTML extensions |
00000070  74 6f 20 73 75 70 70 6f  72 74 20 74 68 65 20 52  |to support the R|
00000080  49 53 43 20 4f 53 20 65  6e 76 69 72 6f 6e 6d 65  |ISC OS environme|
00000090  6e 74 2e 0a 54 68 65 73  65 20 69 6e 63 6c 75 64  |nt..These includ|
000000a0  65 3a 0a 3c 75 6c 3e 0a  0a 3c 6c 69 3e 49 6e 6c  |e:.<ul>..<li>Inl|
000000b0  69 6e 65 64 20 69 6d 61  67 65 73 20 6d 61 79 20  |ined images may |
000000c0  62 65 20 76 69 72 74 75  61 6c 6c 79 20 61 6e 79  |be virtually any|
000000d0  20 74 79 70 65 20 77 68  69 63 68 20 43 68 61 6e  | type which Chan|
000000e0  67 65 46 53 49 20 61 75  74 6f 72 65 63 6f 67 6e  |geFSI autorecogn|
000000f0  69 73 65 73 2c 0a 69 6e  63 6c 75 64 69 6e 67 20  |ises,.including |
00000100  52 49 53 43 20 4f 53 20  73 70 72 69 74 65 73 20  |RISC OS sprites |
00000110  28 61 6c 74 68 6f 75 67  68 20 6e 6f 74 20 27 64  |(although not 'd|
00000120  65 65 70 27 20 73 70 72  69 74 65 73 2c 20 79 65  |eep' sprites, ye|
00000130  74 29 0a 0a 3c 6c 69 3e  53 69 6e 63 65 20 52 49  |t)..<li>Since RI|
00000140  53 43 20 4f 53 20 73 70  72 69 74 65 20 61 72 65  |SC OS sprite are|
00000150  61 73 20 6d 61 79 20 63  6f 6e 74 61 69 6e 20 6d  |as may contain m|
00000160  75 6c 74 69 70 6c 65 20  73 70 72 69 74 65 73 2c  |ultiple sprites,|
00000170  20 49 20 68 61 76 65 20  65 78 74 65 6e 64 65 64  | I have extended|
00000180  0a 74 68 65 20 73 61 6d  65 20 70 72 69 6e 63 69  |.the same princi|
00000190  70 6c 65 20 75 73 65 64  20 66 6f 72 20 64 6f 63  |ple used for doc|
000001a0  75 6d 65 6e 74 73 2c 20  74 6f 20 69 6d 61 67 65  |uments, to image|
000001b0  73 2e 20 20 48 65 6e 63  65 2c 20 73 6f 6d 65 74  |s.  Hence, somet|
000001c0  68 69 6e 67 20 6c 69 6b  65 0a 26 6c 74 3b 69 6d  |hing like.&lt;im|
000001d0  67 20 73 72 63 3d 22 6d  79 66 69 6c 65 23 6d 79  |g src="myfile#my|
000001e0  69 63 6f 6e 62 61 72 22  26 67 74 3b 20 77 69 6c  |iconbar"&gt; wil|
000001f0  6c 20 72 65 74 72 69 65  76 65 20 74 68 65 20 73  |l retrieve the s|
00000200  70 72 69 74 65 20 63 61  6c 6c 65 64 0a 3c 65 6d  |prite called.<em|
00000210  3e 6d 79 69 63 6f 6e 62  61 72 3c 2f 65 6d 3e 20  |>myiconbar</em> |
00000220  66 72 6f 6d 20 3c 65 6d  3e 6d 79 66 69 6c 65 3c  |from <em>myfile<|
00000230  2f 65 6d 3e 20 77 68 69  63 68 20 72 65 73 69 64  |/em> which resid|
00000240  65 73 20 69 6e 20 74 68  65 20 73 61 6d 65 20 64  |es in the same d|
00000250  69 72 65 63 74 6f 72 79  0a 61 73 20 74 68 65 20  |irectory.as the |
00000260  64 6f 63 75 6d 65 6e 74  20 74 68 61 74 20 63 6f  |document that co|
00000270  6e 74 61 69 6e 73 20 69  74 2e 20 20 46 75 72 74  |ntains it.  Furt|
00000280  68 65 72 6d 6f 72 65 2c  20 6f 6d 69 74 74 69 6e  |hermore, omittin|
00000290  67 20 74 68 65 20 66 69  6c 65 6e 61 6d 65 20 77  |g the filename w|
000002a0  69 6c 6c 0a 66 6f 72 63  65 20 61 20 6c 6f 6f 6b  |ill.force a look|
000002b0  20 75 70 20 69 6e 20 74  68 65 20 57 69 6d 70 20  | up in the Wimp |
000002c0  63 6f 6d 6d 6f 6e 20 73  70 72 69 74 65 20 70 6f  |common sprite po|
000002d0  6f 6c 2c 20 73 6f 20 26  6c 74 3b 69 6d 67 0a 73  |ol, so &lt;img.s|
000002e0  72 63 3d 22 23 73 77 69  74 63 68 65 72 22 26 67  |rc="#switcher"&g|
000002f0  74 3b 20 77 69 6c 6c 20  67 65 74 20 79 6f 75 20  |t; will get you |
00000300  74 68 65 20 3c 69 6d 67  20 73 72 63 3d 22 23 73  |the <img src="#s|
00000310  77 69 74 63 68 65 72 22  20 61 6c 74 3d 22 54 61  |witcher" alt="Ta|
00000320  73 6b 0a 4d 61 6e 61 67  65 72 22 3e 69 63 6f 6e  |sk.Manager">icon|
00000330  2e 0a 0a 3c 6c 69 3e 55  52 4c 73 20 6d 61 79 20  |...<li>URLs may |
00000340  72 65 66 65 72 65 6e 63  65 20 66 69 6c 65 73 20  |reference files |
00000350  6f 6e 20 74 68 65 20 6c  6f 63 61 6c 20 6d 61 63  |on the local mac|
00000360  68 69 6e 65 2e 20 20 54  68 65 73 65 20 61 72 65  |hine.  These are|
00000370  20 72 65 63 6f 67 6e 69  73 65 64 20 62 79 0a 74  | recognised by.t|
00000380  68 65 20 73 79 6e 74 61  78 3a 20 20 3c 74 74 3e  |he syntax:  <tt>|
00000390  6c 6f 63 61 6c 3a 2f 2f  66 69 6c 69 6e 67 2d 73  |local://filing-s|
000003a0  79 73 74 65 6d 2f 66 69  6c 65 2d 66 72 6f 6d 2d  |ystem/file-from-|
000003b0  24 3c 2f 74 74 3e 2e 20  20 54 68 65 20 66 69 6c  |$</tt>.  The fil|
000003c0  69 6e 67 20 73 79 73 74  65 6d 0a 69 6e 63 6c 75  |ing system.inclu|
000003d0  64 65 73 20 74 68 65 20  6d 65 64 69 61 20 73 70  |des the media sp|
000003e0  65 63 69 66 69 65 72 2c  20 73 6f 20 3c 65 6d 3e  |ecifier, so <em>|
000003f0  41 44 46 53 3a 3a 48 61  72 64 44 69 73 63 34 3c  |ADFS::HardDisc4<|
00000400  2f 65 6d 3e 20 69 73 20  61 6e 20 65 78 61 6d 70  |/em> is an examp|
00000410  6c 65 20 6f 66 20 61 0a  76 61 6c 69 64 20 66 69  |le of a.valid fi|
00000420  6c 69 6e 67 20 73 79 73  74 65 6d 2e 20 20 54 68  |ling system.  Th|
00000430  65 20 72 65 73 74 20 6f  66 20 74 68 65 20 66 69  |e rest of the fi|
00000440  6c 65 6e 61 6d 65 20 69  73 20 67 69 76 65 6e 20  |lename is given |
00000450  66 72 6f 6d 20 61 6e 64  20 69 6e 63 6c 75 64 69  |from and includi|
00000460  6e 67 0a 74 68 65 20 72  6f 6f 74 2e 20 20 46 69  |ng.the root.  Fi|
00000470  6c 69 6e 67 20 73 79 73  74 65 6d 73 20 77 69 74  |ling systems wit|
00000480  68 6f 75 74 20 6d 65 64  69 61 20 73 70 65 63 69  |hout media speci|
00000490  66 69 65 72 73 20 6d 61  79 20 62 65 20 75 73 65  |fiers may be use|
000004a0  64 20 62 79 20 6f 6d 69  74 74 69 6e 67 0a 74 68  |d by omitting.th|
000004b0  61 74 20 70 61 72 74 20  6f 66 20 74 68 65 20 46  |at part of the F|
000004c0  53 20 6e 61 6d 65 20 28  73 65 65 20 74 68 65 20  |S name (see the |
000004d0  65 78 61 6d 70 6c 65 20  77 69 74 68 20 3c 74 74  |example with <tt|
000004e0  3e 72 65 73 6f 75 72 63  65 73 3a 3c 2f 74 74 3e  |>resources:</tt>|
000004f0  20 62 65 6c 6f 77 2e 20  20 49 6e 0a 74 68 65 20  | below.  In.the |
00000500  70 61 74 68 20 6e 61 6d  65 2c 20 61 6c 6c 20 2f  |path name, all /|
00000510  20 61 6e 64 20 2e 20 63  68 61 72 61 63 74 65 72  | and . character|
00000520  73 20 61 72 65 20 74 72  61 6e 73 70 6f 73 65 64  |s are transposed|
00000530  20 74 6f 20 6d 61 6b 65  20 69 74 20 6c 6f 6f 6b  | to make it look|
00000540  20 6d 6f 72 65 0a 6c 69  6b 65 20 61 20 63 6f 6e  | more.like a con|
00000550  76 65 6e 74 69 6f 6e 61  6c 20 55 52 4c 2e 0a 0a  |ventional URL...|
00000560  3c 6c 69 3e 6c 6f 63 61  6c 3a 20 55 52 4c 73 20  |<li>local: URLs |
00000570  6d 61 79 20 70 6f 69 6e  74 20 74 6f 20 61 70 70  |may point to app|
00000580  6c 69 63 61 74 69 6f 6e  73 2c 20 69 6e 20 77 68  |lications, in wh|
00000590  69 63 68 20 63 61 73 65  20 66 6f 6c 6c 6f 77 69  |ich case followi|
000005a0  6e 67 20 74 68 65 6d 20  77 69 6c 6c 0a 6c 61 75  |ng them will.lau|
000005b0  6e 63 68 20 74 68 65 20  61 70 70 6c 69 63 61 74  |nch the applicat|
000005c0  69 6f 6e 2e 20 20 65 67  2e 20 26 6c 74 3b 61 20  |ion.  eg. &lt;a |
000005d0  68 72 65 66 3d 22 6c 6f  63 61 6c 3a 2f 2f 72 65  |href="local://re|
000005e0  73 6f 75 72 63 65 73 3a  2f 24 2f 41 70 70 73 2f  |sources:/$/Apps/|
000005f0  21 48 65 6c 70 22 26 67  74 3b 0a 77 69 6c 6c 20  |!Help"&gt;.will |
00000600  6f 70 65 6e 20 61 6e 20  61 6e 63 68 6f 72 20 77  |open an anchor w|
00000610  68 69 63 68 20 77 69 6c  6c 20 3c 61 0a 68 72 65  |hich will <a.hre|
00000620  66 3d 22 6c 6f 63 61 6c  3a 2f 2f 72 65 73 6f 75  |f="local://resou|
00000630  72 63 65 73 3a 2f 24 2f  41 70 70 73 2f 21 48 65  |rces:/$/Apps/!He|
00000640  6c 70 22 3e 6c 61 75 6e  63 68 20 41 63 6f 72 6e  |lp">launch Acorn|
00000650  27 73 20 21 48 65 6c 70  3c 2f 61 3e 20 61 70 70  |'s !Help</a> app|
00000660  6c 69 63 61 74 69 6f 6e  2e 0a 48 6f 77 65 76 65  |lication..Howeve|
00000670  72 2c 20 66 6f 72 20 79  6f 75 72 20 6f 77 6e 20  |r, for your own |
00000680  70 72 6f 74 65 63 74 69  6f 6e 2c 20 74 68 69 73  |protection, this|
00000690  20 77 69 6c 6c 20 4e 4f  54 20 68 61 70 70 65 6e  | will NOT happen|
000006a0  20 75 6e 6c 65 73 73 20  74 68 65 20 70 61 67 65  | unless the page|
000006b0  0a 63 6f 6e 74 61 69 6e  69 6e 67 20 74 68 65 20  |.containing the |
000006c0  6c 69 6e 6b 20 74 6f 20  61 6e 20 61 70 70 6c 69  |link to an appli|
000006d0  63 61 74 69 6f 6e 20 77  61 73 20 61 6c 73 6f 20  |cation was also |
000006e0  6c 6f 61 64 65 64 20 66  72 6f 6d 20 61 20 6c 6f  |loaded from a lo|
000006f0  63 61 6c 3a 20 70 61 67  65 2e 0a 0a 3c 6c 69 3e  |cal: page...<li>|
00000700  53 6f 6d 65 20 6f 66 20  74 68 65 20 65 78 74 65  |Some of the exte|
00000710  6e 73 69 6f 6e 73 20 70  72 6f 70 6f 73 65 64 20  |nsions proposed |
00000720  62 79 20 3c 61 20 68 72  65 66 3d 22 6e 65 74 73  |by <a href="nets|
00000730  63 61 70 65 78 74 22 3e  4e 65 74 73 63 61 70 65  |capext">Netscape|
00000740  0a 43 6f 6d 6d 75 6e 69  63 61 74 69 6f 6e 73 20  |.Communications |
00000750  43 6f 72 70 2e 3c 2f 61  3e 20 68 61 76 65 20 68  |Corp.</a> have h|
00000760  61 64 20 73 75 70 70 6f  72 74 20 61 64 64 65 64  |ad support added|
00000770  20 66 6f 72 20 74 68 65  6d 20 61 73 20 77 65 6c  | for them as wel|
00000780  6c 2c 20 69 6e 63 6c 75  64 69 6e 67 0a 62 61 63  |l, including.bac|
00000790  6b 67 72 6f 75 6e 64 20  69 6d 61 67 65 73 2c 20  |kground images, |
000007a0  63 6f 6c 6f 75 72 20 63  68 61 6e 67 69 6e 67 2c  |colour changing,|
000007b0  20 69 64 20 61 74 74 72  69 62 75 74 65 20 66 6f  | id attribute fo|
000007c0  72 20 61 6e 79 20 74 61  67 2e 0a 0a 3c 6c 69 3e  |r any tag...<li>|
000007d0  53 6f 6d 65 20 6f 66 20  74 68 65 20 48 54 4d 4c  |Some of the HTML|
000007e0  20 33 2e 32 20 26 71 75  6f 74 3b 57 69 6c 62 75  | 3.2 &quot;Wilbu|
000007f0  72 26 71 75 6f 74 3b 20  65 78 74 65 6e 73 69 6f  |r&quot; extensio|
00000800  6e 73 20 68 61 76 65 20  62 65 65 6e 20 61 64 64  |ns have been add|
00000810  65 64 2c 0a 73 75 63 68  20 61 73 20 72 65 66 65  |ed,.such as refe|
00000820  72 65 6e 63 69 6e 67 20  63 65 72 74 61 69 6e 20  |rencing certain |
00000830  63 6f 6c 6f 75 72 73 20  62 79 20 6e 61 6d 65 2e  |colours by name.|
00000840  0a 0a 3c 6c 69 3e 41 72  63 57 65 62 20 68 61 73  |..<li>ArcWeb has|
00000850  20 73 75 70 70 6f 72 74  20 66 6f 72 20 3c 74 74  | support for <tt|
00000860  3e 66 69 6e 67 65 72 3c  2f 74 74 3e 20 55 52 4c  |>finger</tt> URL|
00000870  73 20 61 73 20 77 65 6c  6c 2e 20 20 45 76 65 6e  |s as well.  Even|
00000880  20 4e 65 74 73 63 61 70  65 0a 32 20 64 6f 65 73  | Netscape.2 does|
00000890  6e 27 74 20 68 61 76 65  20 74 68 65 73 65 20 79  |n't have these y|
000008a0  65 74 21 0a 0a 3c 2f 75  6c 3e 0a 0a 3c 68 72 3e  |et!..</ul>..<hr>|
000008b0  0a 53 74 65 77 61 72 74  20 42 72 6f 64 69 65 3c  |.Stewart Brodie<|
000008c0  62 72 3e 0a 32 39 20 4a  75 6e 65 20 31 39 39 36  |br>.29 June 1996|
000008d0  0a                                                |.|
000008d1