Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·ee8ebcf951d1fdaf555a4c8a9d325cd2·79784·debug·optional·htp-dbgsym_1.19-7_armhf.deb | 1 | ·ee8ebcf951d1fdaf555a4c8a9d325cd2·79784·debug·optional·htp-dbgsym_1.19-7_armhf.deb |
2 | · | 2 | ·e01983ef4b17380586c94a7cd0e2520f·113504·web·optional·htp_1.19-7_armhf.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2018-12-02·23:47:57.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2018-12-02·23:47:57.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····3324·2018-12-02·23:47:57.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····3324·2018-12-02·23:47:57.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···1 | 3 | -rw-r--r--···0········0········0···109988·2018-12-02·23:47:57.000000·data.tar.xz |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | Package:·htp | 1 | Package:·htp |
2 | Version:·1.19-7 | 2 | Version:·1.19-7 |
3 | Architecture:·armhf | 3 | Architecture:·armhf |
4 | Maintainer:·Debian·QA·Group·<packages@qa.debian.org> | 4 | Maintainer:·Debian·QA·Group·<packages@qa.debian.org> |
5 | Installed-Size:·62 | 5 | Installed-Size:·628 |
6 | Depends:·libc6·(>=·2.4) | 6 | Depends:·libc6·(>=·2.4) |
7 | Section:·web | 7 | Section:·web |
8 | Priority:·optional | 8 | Priority:·optional |
9 | Homepage:·http://htp.sourceforge.net | 9 | Homepage:·http://htp.sourceforge.net |
10 | Description:·nice·HTML·pre-processor | 10 | Description:·nice·HTML·pre-processor |
11 | ·htp·is·an·HTML·pre-processor.·It·is·designed·to·be·a·flexible·authoring·tool | 11 | ·htp·is·an·HTML·pre-processor.·It·is·designed·to·be·a·flexible·authoring·tool |
12 | ·that·can·easily·be·integrated·into·the·HTML·design·process. | 12 | ·that·can·easily·be·integrated·into·the·HTML·design·process. |
Offset 1, 27 lines modified | Offset 1, 27 lines modified | ||
1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./ | 1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./ |
2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/ | 2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/ |
3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/bin/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/bin/ |
4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····38464·2018-12-02·23:47:57.000000·./usr/bin/htp | 4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····38464·2018-12-02·23:47:57.000000·./usr/bin/htp |
5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/ |
6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/ | 6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/ |
7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/ | 7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/ |
8 | -rw-r--r--···0·root·········(0)·root·········(0)·····9 | 8 | -rw-r--r--···0·root·········(0)·root·········(0)·····9211·2018-12-02·23:47:57.000000·./usr/share/doc/htp/alttext.html |
9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2018-12-02·23:47:57.000000·./usr/share/doc/htp/alttext.htp | 9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2018-12-02·23:47:57.000000·./usr/share/doc/htp/alttext.htp |
10 | -rw-r--r--···0·root·········(0)·root·········(0)·····8 | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····8850·2018-12-02·23:47:57.000000·./usr/share/doc/htp/block.html |
11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2018-12-02·23:47:57.000000·./usr/share/doc/htp/block.htp | 11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2018-12-02·23:47:57.000000·./usr/share/doc/htp/block.htp |
12 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····9617·2018-12-02·23:47:57.000000·./usr/share/doc/htp/blockdef.html |
13 | -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2018-12-02·23:47:57.000000·./usr/share/doc/htp/blockdef.htp | 13 | -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2018-12-02·23:47:57.000000·./usr/share/doc/htp/blockdef.htp |
14 | -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.html | 14 | -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.html |
15 | -rw-r--r--···0·root·········(0)·root·········(0)······737·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.htp | 15 | -rw-r--r--···0·root·········(0)·root·········(0)······737·2018-12-02·23:47:57.000000·./usr/share/doc/htp/bugs.htp |
16 | -rw-r--r--···0·root·········(0)·root·········(0)·····3091·2018-12-02·23:47:57.000000·./usr/share/doc/htp/changelog.Debian.gz | 16 | -rw-r--r--···0·root·········(0)·root·········(0)·····3091·2018-12-02·23:47:57.000000·./usr/share/doc/htp/changelog.Debian.gz |
17 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 17 | -rw-r--r--···0·root·········(0)·root·········(0)····14125·2018-12-02·23:47:57.000000·./usr/share/doc/htp/comment.html |
18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2018-12-02·23:47:57.000000·./usr/share/doc/htp/comment.htp | 18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2018-12-02·23:47:57.000000·./usr/share/doc/htp/comment.htp |
19 | -rw-r--r--···0·root·········(0)·root·········(0)····12975·2018-12-02·23:47:57.000000·./usr/share/doc/htp/copyright | 19 | -rw-r--r--···0·root·········(0)·root·········(0)····12975·2018-12-02·23:47:57.000000·./usr/share/doc/htp/copyright |
20 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 20 | -rw-r--r--···0·root·········(0)·root·········(0)····20065·2018-12-02·23:47:57.000000·./usr/share/doc/htp/def.html |
21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2018-12-02·23:47:57.000000·./usr/share/doc/htp/def.htp | 21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2018-12-02·23:47:57.000000·./usr/share/doc/htp/def.htp |
22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.html | 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.html |
23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.htp | 23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2018-12-02·23:47:57.000000·./usr/share/doc/htp/default.htp |
24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/ | 24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/ |
25 | -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub | 25 | -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub |
26 | -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti | 26 | -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti |
27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt | 27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt |
Offset 34, 62 lines modified | Offset 34, 62 lines modified | ||
34 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp | 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp |
35 | -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def | 35 | -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def |
36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/section.html | 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2018-12-02·23:47:57.000000·./usr/share/doc/htp/examples/section.html |
37 | -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp | 37 | -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp |
38 | -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt | 38 | -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt |
39 | -rw-r--r--···0·root·········(0)·root·········(0)····13032·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.html | 39 | -rw-r--r--···0·root·········(0)·root·········(0)····13032·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.html |
40 | -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.htp | 40 | -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2018-12-02·23:47:57.000000·./usr/share/doc/htp/expand.htp |
41 | -rw-r--r--···0·root·········(0)·root·········(0)····16 | 41 | -rw-r--r--···0·root·········(0)·root·········(0)····16972·2018-12-02·23:47:57.000000·./usr/share/doc/htp/file.html |
42 | -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2018-12-02·23:47:57.000000·./usr/share/doc/htp/file.htp.gz | 42 | -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2018-12-02·23:47:57.000000·./usr/share/doc/htp/file.htp.gz |
43 | -rw-r--r--···0·root·········(0)·root·········(0)····14293·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.html | 43 | -rw-r--r--···0·root·········(0)·root·········(0)····14293·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.html |
44 | -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.htp.gz | 44 | -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2018-12-02·23:47:57.000000·./usr/share/doc/htp/history.htp.gz |
45 | -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2018-12-02·23:47:57.000000·./usr/share/doc/htp/hlhtp.pl | 45 | -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2018-12-02·23:47:57.000000·./usr/share/doc/htp/hlhtp.pl |
46 | -rw-r--r--···0·root·········(0)·root·········(0)······165·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.def | 46 | -rw-r--r--···0·root·········(0)·root·········(0)······165·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.def |
47 | -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.htt | 47 | -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2018-12-02·23:47:57.000000·./usr/share/doc/htp/htp.htt |
48 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 48 | -rw-r--r--···0·root·········(0)·root·········(0)····10021·2018-12-02·23:47:57.000000·./usr/share/doc/htp/if.html |
49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2018-12-02·23:47:57.000000·./usr/share/doc/htp/if.htp | 49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2018-12-02·23:47:57.000000·./usr/share/doc/htp/if.htp |
50 | -rw-r--r--···0·root·········(0)·root·········(0)·····9 | 50 | -rw-r--r--···0·root·········(0)·root·········(0)·····9382·2018-12-02·23:47:57.000000·./usr/share/doc/htp/imageurl.html |
51 | -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2018-12-02·23:47:57.000000·./usr/share/doc/htp/imageurl.htp | 51 | -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2018-12-02·23:47:57.000000·./usr/share/doc/htp/imageurl.htp |
52 | -rw-r--r--···0·root·········(0)·root·········(0)·····86 | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8662·2018-12-02·23:47:57.000000·./usr/share/doc/htp/img.html |
53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2018-12-02·23:47:57.000000·./usr/share/doc/htp/img.htp | 53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2018-12-02·23:47:57.000000·./usr/share/doc/htp/img.htp |
54 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 54 | -rw-r--r--···0·root·········(0)·root·········(0)·····8940·2018-12-02·23:47:57.000000·./usr/share/doc/htp/inc.html |
55 | -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2018-12-02·23:47:57.000000·./usr/share/doc/htp/inc.htp | 55 | -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2018-12-02·23:47:57.000000·./usr/share/doc/htp/inc.htp |
56 | -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.html | 56 | -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.html |
57 | -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.htp | 57 | -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2018-12-02·23:47:57.000000·./usr/share/doc/htp/include.htp |
58 | -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.html | 58 | -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.html |
59 | -rw-r--r--···0·root·········(0)·root·········(0)·······78·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.htp | 59 | -rw-r--r--···0·root·········(0)·root·········(0)·······78·2018-12-02·23:47:57.000000·./usr/share/doc/htp/index.htp |
60 | -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.html | 60 | -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.html |
61 | -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.htp | 61 | -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2018-12-02·23:47:57.000000·./usr/share/doc/htp/intro.htp |
62 | -rw-r--r--···0·root·········(0)·root·········(0)····10774·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.html | 62 | -rw-r--r--···0·root·········(0)·root·········(0)····10774·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.html |
63 | -rw-r--r--···0·root·········(0)·root·········(0)······454·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.htp | 63 | -rw-r--r--···0·root·········(0)·root·········(0)······454·2018-12-02·23:47:57.000000·./usr/share/doc/htp/license.htp |
64 | -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.def | 64 | -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.def |
65 | -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.html | 65 | -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.html |
66 | -rw-r--r--···0·root·········(0)·root·········(0)······388·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.htp | 66 | -rw-r--r--···0·root·········(0)·root·········(0)······388·2018-12-02·23:47:57.000000·./usr/share/doc/htp/macros.htp |
67 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 67 | -rw-r--r--···0·root·········(0)·root·········(0)····14978·2018-12-02·23:47:57.000000·./usr/share/doc/htp/metatag.html |
68 | -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2018-12-02·23:47:57.000000·./usr/share/doc/htp/metatag.htp.gz | 68 | -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2018-12-02·23:47:57.000000·./usr/share/doc/htp/metatag.htp.gz |
69 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 69 | -rw-r--r--···0·root·········(0)·root·········(0)·····8141·2018-12-02·23:47:57.000000·./usr/share/doc/htp/opt.html |
70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2018-12-02·23:47:57.000000·./usr/share/doc/htp/opt.htp | 70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2018-12-02·23:47:57.000000·./usr/share/doc/htp/opt.htp |
71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.html | 71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.html |
72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.htp | 72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2018-12-02·23:47:57.000000·./usr/share/doc/htp/options.htp |
73 | -rw-r--r--···0·root·········(0)·root·········(0)·····8 | 73 | -rw-r--r--···0·root·········(0)·root·········(0)·····8360·2018-12-02·23:47:57.000000·./usr/share/doc/htp/output.html |
74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2018-12-02·23:47:57.000000·./usr/share/doc/htp/output.htp | 74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2018-12-02·23:47:57.000000·./usr/share/doc/htp/output.htp |
75 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/ | 75 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/ |
76 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/arrow.png | 76 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/arrow.png |
77 | -rw-r--r--···0·root·········(0)·root·········(0)······262·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/download.png | 77 | -rw-r--r--···0·root·········(0)·root·········(0)······262·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/download.png |
78 | -rw-r--r--···0·root·········(0)·root·········(0)······708·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/htpicon.png | 78 | -rw-r--r--···0·root·········(0)·root·········(0)······708·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/htpicon.png |
79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/logo.png | 79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/logo.png |
80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manbig.png | 80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manbig.png |
81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manual.png | 81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/manual.png |
82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/poweredbyhtp.png | 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/poweredbyhtp.png |
83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/sficon.png | 83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/sficon.png |
84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/source.png | 84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pic/source.png |
85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pphtp.pl | 85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2018-12-02·23:47:57.000000·./usr/share/doc/htp/pphtp.pl |
86 | -rw-r--r--···0·root·········(0)·root·········(0)·····8 | 86 | -rw-r--r--···0·root·········(0)·root·········(0)·····8577·2018-12-02·23:47:57.000000·./usr/share/doc/htp/quote.html |
87 | -rw-r--r--···0·root·········(0)·root·········(0)······390·2018-12-02·23:47:57.000000·./usr/share/doc/htp/quote.htp | 87 | -rw-r--r--···0·root·········(0)·root·········(0)······390·2018-12-02·23:47:57.000000·./usr/share/doc/htp/quote.htp |
88 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 88 | -rw-r--r--···0·root·········(0)·root·········(0)····10797·2018-12-02·23:47:57.000000·./usr/share/doc/htp/set.html |
89 | -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2018-12-02·23:47:57.000000·./usr/share/doc/htp/set.htp | 89 | -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2018-12-02·23:47:57.000000·./usr/share/doc/htp/set.htp |
90 | -rw-r--r--···0·root·········(0)·root·········(0)······500·2018-12-02·23:47:57.000000·./usr/share/doc/htp/styles.css | 90 | -rw-r--r--···0·root·········(0)·root·········(0)······500·2018-12-02·23:47:57.000000·./usr/share/doc/htp/styles.css |
91 | -rw-r--r--···0·root·········(0)·root·········(0)····27219·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.html | 91 | -rw-r--r--···0·root·········(0)·root·········(0)····27219·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.html |
92 | -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.htp.gz | 92 | -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2018-12-02·23:47:57.000000·./usr/share/doc/htp/template.htp.gz |
93 | -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2018-12-02·23:47:57.000000·./usr/share/doc/htp/toc.def | 93 | -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2018-12-02·23:47:57.000000·./usr/share/doc/htp/toc.def |
94 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/ | 94 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/ |
95 | -rw-r--r--···0·root·········(0)·root·········(0)······146·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/footer.hti | 95 | -rw-r--r--···0·root·········(0)·root·········(0)······146·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/footer.hti |
Offset 102, 23 lines modified | Offset 102, 23 lines modified | ||
102 | -rw-r--r--···0·root·········(0)·root·········(0)······192·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut2.htp | 102 | -rw-r--r--···0·root·········(0)·root·········(0)······192·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut2.htp |
103 | -rw-r--r--···0·root·········(0)·root·········(0)······501·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.html | 103 | -rw-r--r--···0·root·········(0)·root·········(0)······501·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.html |
104 | -rw-r--r--···0·root·········(0)·root·········(0)······191·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htp | 104 | -rw-r--r--···0·root·········(0)·root·········(0)······191·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htp |
105 | -rw-r--r--···0·root·········(0)·root·········(0)······356·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htt | 105 | -rw-r--r--···0·root·········(0)·root·········(0)······356·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut3.htt |
106 | -rw-r--r--···0·root·········(0)·root·········(0)······297·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut4.htt | 106 | -rw-r--r--···0·root·········(0)·root·········(0)······297·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tut/tut4.htt |
107 | -rw-r--r--···0·root·········(0)·root·········(0)····10517·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.html | 107 | -rw-r--r--···0·root·········(0)·root·········(0)····10517·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.html |
108 | -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.htp | 108 | -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2018-12-02·23:47:57.000000·./usr/share/doc/htp/tutorial.htp |
109 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 109 | -rw-r--r--···0·root·········(0)·root·········(0)·····9042·2018-12-02·23:47:57.000000·./usr/share/doc/htp/undef.html |
110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2018-12-02·23:47:57.000000·./usr/share/doc/htp/undef.htp | 110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2018-12-02·23:47:57.000000·./usr/share/doc/htp/undef.htp |
111 | -rw-r--r--···0·root·········(0)·root·········(0)·····9 | 111 | -rw-r--r--···0·root·········(0)·root·········(0)·····9613·2018-12-02·23:47:57.000000·./usr/share/doc/htp/unset.html |
112 | -rw-r--r--···0·root·········(0)·root·········(0)······658·2018-12-02·23:47:57.000000·./usr/share/doc/htp/unset.htp | 112 | -rw-r--r--···0·root·········(0)·root·········(0)······658·2018-12-02·23:47:57.000000·./usr/share/doc/htp/unset.htp |
113 | -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.html | 113 | -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.html |
114 | -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.htp | 114 | -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2018-12-02·23:47:57.000000·./usr/share/doc/htp/usage.htp |
115 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 115 | -rw-r--r--···0·root·········(0)·root·········(0)····11698·2018-12-02·23:47:57.000000·./usr/share/doc/htp/use.html |
116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2018-12-02·23:47:57.000000·./usr/share/doc/htp/use.htp | 116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2018-12-02·23:47:57.000000·./usr/share/doc/htp/use.htp |
117 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 117 | -rw-r--r--···0·root·········(0)·root·········(0)····10282·2018-12-02·23:47:57.000000·./usr/share/doc/htp/while.html |
118 | -rw-r--r--···0·root·········(0)·root·········(0)······938·2018-12-02·23:47:57.000000·./usr/share/doc/htp/while.htp | 118 | -rw-r--r--···0·root·········(0)·root·········(0)······938·2018-12-02·23:47:57.000000·./usr/share/doc/htp/while.htp |
119 | -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.html | 119 | -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.html |
120 | -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.htp | 120 | -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2018-12-02·23:47:57.000000·./usr/share/doc/htp/wishlist.htp |
121 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc-base/ | 121 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/doc-base/ |
122 | -rw-r--r--···0·root·········(0)·root·········(0)······235·2018-12-02·23:47:57.000000·./usr/share/doc-base/htp | 122 | -rw-r--r--···0·root·········(0)·root·········(0)······235·2018-12-02·23:47:57.000000·./usr/share/doc-base/htp |
123 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/ | 123 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/ |
124 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/overrides/ | 124 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2018-12-02·23:47:57.000000·./usr/share/lintian/overrides/ |
Offset 114, 32 lines modified | Offset 114, 32 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href=" | 121 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>></span><br> |
122 | ·...·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span> ...<br> | ||
123 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
122 | <br> | 124 | <br> |
123 | </code></p> | 125 | </code></p> |
124 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
125 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A | 127 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A |
126 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. | 128 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. |
127 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the | 129 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the |
128 | filename·is·considered·in·all·comparisons. | 130 | filename·is·considered·in·all·comparisons. |
129 | <p> | 131 | <p> |
130 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT | 132 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT |
131 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to | 133 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to |
132 | be·overridden·on·specific·images·and·default·text·on·all·others. | 134 | be·overridden·on·specific·images·and·default·text·on·all·others. |
133 | <p> | 135 | <p> |
134 | For·example: | 136 | For·example: |
135 | ··<p><code> | 137 | ··<p><code> |
136 | <span·class=" | 138 | <span·class="comment"><!---·comment·---></span><br> |
137 | ·...·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span> ...<br> | ||
138 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
139 | <br> | 139 | <br> |
140 | </code></p> | 140 | </code></p> |
141 | <p> | 141 | <p> |
142 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT | 142 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT |
143 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not | 143 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not |
144 | changed. | 144 | changed. |
145 | <p> | 145 | <p> |
Offset 114, 15 lines modified | Offset 114, 17 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href=" | 121 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>></span><br> |
122 | ·...·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span> ...<br> | ||
123 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
122 | <br> | 124 | <br> |
123 | </code></p> | 125 | </code></p> |
124 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
125 | <P> | 127 | <P> |
126 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which | 128 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which |
127 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be | 129 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be |
128 | multi-line·definitions. | 130 | multi-line·definitions. |
Offset 114, 28 lines modified | Offset 114, 35 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href=" | 121 | ·<span·class="htp-tag"><<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>></span><br> |
122 | ·...·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span> ...<br> | ||
123 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
124 | <br> | 122 | <br> |
123 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
124 | ·becomes·this·after·processing:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
125 | <br> | ||
126 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>></span><br> | ||
127 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
128 | <br> | ||
129 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
130 | ·remains·unchanged.<br> | ||
125 | </code></p> | 131 | </code></p> |
126 | <h2>synopsis</h2> | 132 | <h2>synopsis</h2> |
127 | <strong>BLOCKDEF</strong>·creates·block·<A | 133 | <strong>BLOCKDEF</strong>·creates·block·<A |
128 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it | 134 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it |
129 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block | 135 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block |
130 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and | 136 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and |
131 | </tagname>.··The·contents·of·this·block·are·automatically·stored | 137 | </tagname>.··The·contents·of·this·block·are·automatically·stored |
132 | in·the·block·macro·named·BLOCK. | 138 | in·the·block·macro·named·BLOCK. |
133 | <P>·For·example:</P> | 139 | <P>·For·example:</P> |
134 | ··<p><code> | 140 | ··<p><code> |
141 | <span·class="comment"><!---··This·comment·doesn't·appear·in·the·HTML·file·---></span><br> | ||
135 | </code></p> | 142 | </code></p> |
136 | <p> | 143 | <p> |
137 | All·block·metatags·have·the·implicit·option·<a | 144 | All·block·metatags·have·the·implicit·option·<a |
138 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents | 145 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents |
139 | of·the·block·before·the·definition·is·expanded. | 146 | of·the·block·before·the·definition·is·expanded. |
140 | </p> | 147 | </p> |
141 | <p> | 148 | <p> |
Offset 114, 25 lines modified | Offset 114, 32 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class=" | 121 | <span·class="comment"><!---·comment·---></span><br> |
122 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
123 | <br> | 122 | <br> |
124 | </code></p> | 123 | </code></p> |
125 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
126 | <p> | 125 | <p> |
127 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful | 126 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful |
128 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. | 127 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. |
129 | Example: | 128 | Example: |
130 | </p> | 129 | </p> |
131 | ··<p><code> | 130 | ··<p><code> |
131 | <span·class="comment"><!---··This·comment·doesn't·appear·in·the·HTML·file·---></span><br> | ||
132 | </code></p> | ||
133 | <p> | ||
134 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you | ||
135 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something | ||
136 | like·this: | ||
137 | </p> | ||
138 | ··<p><code> | ||
132 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>></span><br> | 139 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>></span><br> |
133 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | 140 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> |
134 | · ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | 141 | · ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> |
135 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | 142 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> |
136 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>></span><br> | 143 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>></span><br> |
137 | · ·b·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | 144 | · ·b·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> |
138 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | 145 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> |
Offset 154, 28 lines modified | Offset 161, 14 lines modified | ||
154 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | 161 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> |
155 | · ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | 162 | · ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> |
156 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | 163 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> |
157 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>></span><br> | 164 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>></span><br> |
158 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>></span><br> | 165 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>></span><br> |
159 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>></span><br> | 166 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>></span><br> |
160 | </code></p> | 167 | </code></p> |
161 | <p> | ||
162 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you | ||
163 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something | ||
164 | like·this: | ||
165 | </p> | ||
166 | ··<p><code> | ||
167 | · ·a·is·expanded·at·time·1.<br> | ||
168 | · ·b·is·expanded·at·time·0.<br> | ||
169 | ·contents·of·a:· ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
170 | ·contents·of·b:· ·b·is·expanded·at·time·0.<br> | ||
171 | · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.<br> | ||
172 | · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.<br> | ||
173 | · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
174 | </code></p> | ||
175 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the | 168 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the |
176 | reason·why·you·don't·want·to·include·this·block</p> | 169 | reason·why·you·don't·want·to·include·this·block</p> |
177 | <p> | 170 | <p> |
178 | </td> | 171 | </td> |
179 | </tr> | 172 | </tr> |
180 | <tr> | 173 | <tr> |
181 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 174 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
Offset 125, 52 lines modified | Offset 125, 85 lines modified | ||
125 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a | 125 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a |
126 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to | 126 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to |
127 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> | 127 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> |
128 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. | 128 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. |
129 | For·example: | 129 | For·example: |
130 | </p> | 130 | </p> |
131 | ··<p><code> | 131 | ··<p><code> |
132 | <span·class="htp-tag"><<a·href=" | 132 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>></span><br> |
133 | ·.. | 133 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> |
134 | <span·class="htp-tag"><<a·href=" | 134 | · ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> |
135 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
136 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
137 | · ·b·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
138 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
139 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>></span><br> | ||
140 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
141 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>></span><br> | ||
142 | ·contents·of·a:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
143 | ·contents·of·b:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
144 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
145 | · ·c·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
146 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
147 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
148 | · ·d·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
149 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
150 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>></span><br> | ||
151 | · ·e·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
152 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
153 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>></span><br> | ||
154 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
155 | · ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
156 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
157 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>></span><br> | ||
158 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>></span><br> | ||
159 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>></span><br> | ||
135 | </code></p> | 160 | </code></p> |
136 | <P> | 161 | <P> |
137 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | 162 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to |
138 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | 163 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A |
139 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | 164 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster |
140 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing | 165 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing |
141 | tag·with·a·preceding·slash.·For·example: | 166 | tag·with·a·preceding·slash.·For·example: |
142 | </P> | 167 | </P> |
143 | ··<p><code> | 168 | ··<p><code> |
144 | · ·a·is·expanded·at·time·1.<br> | ||
145 | · ·b·is·expanded·at·time·0.<br> | ||
146 | ·contents·of·a:· ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
147 | ·contents·of·b:· ·b·is·expanded·at·time·0.<br> | ||
148 | · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.<br> | ||
149 | · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.<br> | ||
150 | · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
151 | </code></p> | 169 | </code></p> |
152 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, | 170 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, |
153 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> | 171 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> |
154 | <P> | 172 | <P> |
155 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were | 173 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were |
156 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with | 174 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with |
157 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their | 175 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their |
158 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) | 176 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) |
159 | </P> | 177 | </P> |
160 | ··<p><code> | 178 | ··<p><code> |
161 | <span·class="htp-tag"><<a·href=" | 179 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>></span><br> |
162 | <span·class="htp-tag"><<a·href=" | 180 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>></span><br> |
163 | 181 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | |
164 | <span·class="htp-tag"><<a·href=" | 182 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> |
165 | <span·class="htp-tag"><<a·href=" | 183 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>></span><br> |
166 | <span·class="htp-tag"><<a·href=" | 184 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>></span><br> |
167 | <span·class="htp-tag"><<a·href=" | 185 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>></span><br> |
168 | 186 | · · · ·<span·class="htp-tag"></FONT></span><br> | |
187 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
188 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>></span><br> | ||
169 | <br> | 189 | <br> |
190 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>></span><br> | ||
191 | <br> | ||
192 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>></span><br> | ||
193 | <br> | ||
194 | ·This·will·fail:<br> | ||
195 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>></span><br> | ||
196 | <br> | ||
197 | ·Instead,·use·*·like·this:<br> | ||
198 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>></span><br> | ||
199 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>></span><br> | ||
200 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>></span><br> | ||
201 | · ·<br> | ||
202 | ·<span·class="htp-tag"><MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>></span><br> | ||
170 | </code></p> | 203 | </code></p> |
171 | <P> | 204 | <P> |
172 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is | 205 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is |
173 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are | 206 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are |
174 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the | 207 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the |
175 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a | 208 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a |
176 | parameter·is·required,·simply·expand·it·without·first·checking.··When | 209 | parameter·is·required,·simply·expand·it·without·first·checking.··When |
Offset 114, 55 lines modified | Offset 114, 58 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href=" | 121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>></span><br> |
122 | <span·class="htp-tag"><<a·href=" | 122 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>></span><br> |
123 | 123 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | |
124 | <span·class="htp-tag"><<a·href=" | 124 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> |
125 | <span·class="htp-tag"><<a·href=" | 125 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>></span><br> |
126 | <span·class="htp-tag"><<a·href=" | 126 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>></span><br> |
127 | <span·class="htp-tag"><<a·href=" | 127 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>></span><br> |
128 | 128 | · · · ·<span·class="htp-tag"></FONT></span><br> | |
129 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
130 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>></span><br> | ||
129 | <br> | 131 | <br> |
132 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>></span><br> | ||
133 | <br> | ||
134 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>></span><br> | ||
135 | <br> | ||
136 | ·This·will·fail:<br> | ||
137 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>></span><br> | ||
138 | <br> | ||
139 | ·Instead,·use·*·like·this:<br> | ||
140 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>></span><br> | ||
141 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>></span><br> | ||
142 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>></span><br> | ||
143 | · ·<br> | ||
144 | ·<span·class="htp-tag"><MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>></span><br> | ||
130 | </code></p> | 145 | </code></p> |
131 | <h2>synopsis</h2> | 146 | <h2>synopsis</h2> |
132 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. | 147 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. |
133 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of | 148 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of |
134 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be | 149 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be |
135 | added·to·the·output·file·as·well. | 150 | added·to·the·output·file·as·well. |
136 | <P> | 151 | <P> |
137 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the | 152 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the |
138 | following·is·perfectly·acceptable: | 153 | following·is·perfectly·acceptable: |
139 | ··<p><code> | 154 | ··<p><code> |
140 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib"> | 155 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> |
141 | · ·block·#1<br> | ||
142 | [<br> | ||
143 | <span·class="htp-tag"><ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
144 | · ·block·#2<br> | ||
145 | ...<br> | ||
146 | ]<br> | ||
147 | [<br> | ||
148 | <span·class="htp-tag"><ELSE></span><br> | ||
149 | · ·block·#3<br> | ||
150 | ]<br> | ||
151 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
152 | <br> | ||
153 | </code></p> | 156 | </code></p> |
154 | <P> | 157 | <P> |
155 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> | 158 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> |
156 | <P> | 159 | <P> |
157 | To·include·information·about·another·file,·such·as·an·archive·file·or | 160 | To·include·information·about·another·file,·such·as·an·archive·file·or |
158 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the | 161 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the |
159 | type·of·information·to·be·displayed: | 162 | type·of·information·to·be·displayed: |
160 | ··<p><code> | 163 | ··<p><code> |
161 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span> | 164 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> |
162 | </code></p> | 165 | </code></p> |
163 | <P> | 166 | <P> |
164 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the | 167 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the |
165 | information·is·displayed.··In·anything·other·than·byte·format,·the·information | 168 | information·is·displayed.··In·anything·other·than·byte·format,·the·information |
166 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number | 169 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number |
167 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional | 170 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional |
168 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no | 171 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no |
Offset 191, 16 lines modified | Offset 194, 15 lines modified | ||
191 | <P> | 194 | <P> |
192 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are | 195 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are |
193 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros | 196 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros |
194 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it | 197 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it |
195 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer | 198 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer |
196 | available.··So: | 199 | available.··So: |
197 | ··<p><code> | 200 | ··<p><code> |
198 | <span·class="htp-tag"><<a·href="i | 201 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>></span><br> |
199 | <br> | ||
200 | </code></p> | 202 | </code></p> |
201 | <P> | 203 | <P> |
202 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included | 204 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included |
203 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the | 205 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the |
204 | second·statement·will·fail.) | 206 | second·statement·will·fail.) |
205 | <P> | 207 | <P> |
206 | <h3><a·name="template">TEMPLATE</a></h3> | 208 | <h3><a·name="template">TEMPLATE</a></h3> |
Offset 114, 34 lines modified | Offset 114, 44 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="i | 121 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> |
122 | · ·block·#1<br> | ||
123 | [<br> | ||
124 | <span·class="htp-tag"><ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
125 | · ·block·#2<br> | ||
126 | ...<br> | ||
127 | ]<br> | ||
128 | [<br> | ||
129 | <span·class="htp-tag"><ELSE></span><br> | ||
130 | · ·block·#3<br> | ||
131 | ]<br> | ||
132 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
122 | <br> | 133 | <br> |
123 | AME="image.gif"·SIZE=KBYTE>·kilobytes<br> | ||
124 | · ·Last·modified·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>></span><br> | ||
125 | </code></p> | 134 | </code></p> |
126 | <h2>synopsis</h2> | 135 | <h2>synopsis</h2> |
127 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building | 136 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building |
128 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. | 137 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. |
129 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A | 138 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A |
130 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal | 139 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal |
131 | string: | 140 | string: |
132 | ··<p><code> | 141 | ··<p><code> |
133 | · ·<span·class="htp-tag"><<a·href="i | 142 | · ·File·image.gif·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>></span> kilobytes<br> |
143 | · ·Last·modified·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>></span><br> | ||
134 | </code></p> | 144 | </code></p> |
135 | <P> | 145 | <P> |
136 | and·a·defined·operator·is·a·test·of·a·macro's·existance: | 146 | and·a·defined·operator·is·a·test·of·a·macro's·existance: |
137 | <P> | 147 | <P> |
138 | ··<p><code> | 148 | ··<p><code> |
139 | 149 | <span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[GLOBAL]</span>></span><br> | |
140 | 150 | <br> | |
141 | </code></p> | 151 | </code></p> |
142 | <P> | 152 | <P> |
143 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the | 153 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the |
144 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that | 154 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that |
145 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the | 155 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the |
146 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block | 156 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block |
147 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. | 157 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. |
Offset 114, 16 lines modified | Offset 114, 15 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="i | 121 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> |
122 | <br> | ||
123 | </code></p> | 122 | </code></p> |
124 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
125 | <P> | 124 | <P> |
126 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local | 125 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local |
127 | file·system.··declares·an·URL·replacement·that·is·used·for | 126 | file·system.··declares·an·URL·replacement·that·is·used·for |
128 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions | 127 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions |
129 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is | 128 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is |
Offset 137, 15 lines modified | Offset 136, 16 lines modified | ||
137 | checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC | 136 | checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC |
138 | attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH. | 137 | attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH. |
139 | If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and | 138 | If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and |
140 | looked·up·in·the·current·directory.</P> | 139 | looked·up·in·the·current·directory.</P> |
141 | <P> | 140 | <P> |
142 | For·example:</P> | 141 | For·example:</P> |
143 | ··<p><code> | 142 | ··<p><code> |
144 | 143 | <span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[GLOBAL]</span>></span><br> | |
144 | <br> | ||
145 | </code></p> | 145 | </code></p> |
146 | <P> | 146 | <P> |
147 | If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as | 147 | If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as |
148 | an·undefine,·and·is·removed.</P> | 148 | an·undefine,·and·is·removed.</P> |
149 | <P> | 149 | <P> |
150 | Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout | 150 | Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout |
151 | a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an | 151 | a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an |
Offset 114, 15 lines modified | Offset 114, 16 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | 121 | <span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="ebnf">]</span>></span><br> | |
122 | <br> | ||
122 | </code></p> | 123 | </code></p> |
123 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
124 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified | 125 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified |
125 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage | 126 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage |
126 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially | 127 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially |
127 | useful·if·the·image·may·change·frequently.·</P> | 128 | useful·if·the·image·may·change·frequently.·</P> |
128 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup | 129 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup |
Offset 114, 36 lines modified | Offset 114, 16 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | 121 | <span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>></span><br> | |
122 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
123 | <br> | 122 | <br> |
124 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
125 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
126 | ·(no·URL·replacement).<br> | ||
127 | <br> | ||
128 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
129 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
130 | <br> | ||
131 | ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
132 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
133 | ·will·not·be·added.<br> | ||
134 | <br> | ||
135 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
136 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
137 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
138 | <br> | ||
139 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
140 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
141 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
142 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
143 | </code></p> | 123 | </code></p> |
144 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
145 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a | 125 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a |
146 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. | 126 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. |
147 | <P> | 127 | <P> |
148 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a | 128 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a |
149 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The | 129 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The |
Offset 109, 40 lines modified | Offset 109, 40 lines modified | ||
109 | file</a>.··</p> | 109 | file</a>.··</p> |
110 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing | 110 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing |
111 | variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp | 111 | variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp |
112 | encounters·a·blockdef·tag·it·will·automatically·search·for·the | 112 | encounters·a·blockdef·tag·it·will·automatically·search·for·the |
113 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block | 113 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block |
114 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> | 114 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> |
115 | ··<p><code> | 115 | ··<p><code> |
116 | <font·size="-2"> 1.·</font> | 116 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="htp-attrib">[ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...]</span>></span><br> |
117 | <font·size="-2"> 2.·</font> | 117 | <font·size="-2"> 2.·</font><br> |
118 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
119 | <font·size="-2"> 4.·</font> · ·<span·class="htp-tag"></i></span><span·class="htp-tag"></b></span><br> | ||
120 | <font·size="-2"> 5.·</font> ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
121 | <font·size="-2"> 6.·</font><br> | ||
122 | <font·size="-2"> 7.·</font> ·This·is·<span·class="htp-tag"><bolditalic></span>bold·and·italic<span·class="htp-tag"></bolditalic></span><br> | ||
123 | </code></p> | 118 | </code></p> |
124 | <h2>Using·parameters</h2> | 119 | <h2>Using·parameters</h2> |
125 | <p>·More·sophisticated·tags·accept·parameters.··The | 120 | <p>·More·sophisticated·tags·accept·parameters.··The |
126 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be | 121 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be |
127 | named·and·expanded·inside·the·<code>def</code>·or | 122 | named·and·expanded·inside·the·<code>def</code>·or |
128 | <code>blockdef</code>·block:·</p> | 123 | <code>blockdef</code>·block:·</p> |
129 | ··<p><code> | 124 | ··<p><code> |
130 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href=" | 125 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>></span><br> |
131 | <font·size="-2"> 2.·</font><br> | 126 | <font·size="-2"> 2.·</font> · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>></span>;<br> |
127 | <font·size="-2"> 3.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
128 | <font·size="-2"> 4.·</font><br> | ||
129 | <font·size="-2"> 5.·</font> ·<span·class="htp-tag"><sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>></span><br> | ||
132 | </code></p> | 130 | </code></p> |
133 | <h2>Saving·blocks·for·later</h2> | 131 | <h2>Saving·blocks·for·later</h2> |
134 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by | 132 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by |
135 | the·template·file.··The·normal·htp·files·should·just·define·macros | 133 | the·template·file.··The·normal·htp·files·should·just·define·macros |
136 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block | 134 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block |
137 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this | 135 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this |
138 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to | 136 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to |
139 | do·this:</p> | 137 | do·this:</p> |
140 | ··<p><code> | 138 | ··<p><code> |
141 | <font·size="-2"> 1.·</font> | 139 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>></span><br> |
140 | <font·size="-2"> 2.·</font><span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
141 | <font·size="-2"> 3.·</font><br> | ||
142 | </code></p> | 142 | </code></p> |
143 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a | 143 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a |
144 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is | 144 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is |
145 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is | 145 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is |
146 | build·from·this·counter.··So·the·first·section·is·stored·in·block | 146 | build·from·this·counter.··So·the·first·section·is·stored·in·block |
147 | sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag | 147 | sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag |
148 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally | 148 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally |
Offset 161, 17 lines modified | Offset 161, 21 lines modified | ||
161 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be | 161 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be |
162 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the | 162 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the |
163 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you | 163 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you |
164 | use·expand·in·a·block·around·it.</p> | 164 | use·expand·in·a·block·around·it.</p> |
165 | <p>To·close·this·example·we·show·how·to·expand·the | 165 | <p>To·close·this·example·we·show·how·to·expand·the |
166 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> | 166 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> |
167 | ··<p><code> | 167 | ··<p><code> |
168 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href=" | 168 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> |
169 | <font·size="-2"> 2.·</font><span·class="htp-tag"><<a·href=" | 169 | <font·size="-2"> 2.·</font> ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> |
170 | <font·size="-2"> 3.·</font><br> | 170 | <font·size="-2"> 3.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> |
171 | <font·size="-2"> 4.·</font> · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
172 | <font·size="-2"> 5.·</font> · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> | ||
173 | <font·size="-2"> 6.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> | ||
174 | <font·size="-2"> 7.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> | ||
171 | </code></p> | 175 | </code></p> |
172 | <p> | 176 | <p> |
173 | The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether | 177 | The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether |
174 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is | 178 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is |
175 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards | 179 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards |
176 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This | 180 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This |
177 | repeats·until·sect-${sect-ctr}·is·not·defined. | 181 | repeats·until·sect-${sect-ctr}·is·not·defined. |
Offset 114, 27 lines modified | Offset 114, 18 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | 121 | <span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">APPEND</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>></span><br> | |
122 | 122 | text·block<br> | |
123 | 123 | <span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>></span><br> | |
124 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
125 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>></span>&nbsp;<span·class="htp-tag"></td></span><br> | ||
126 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
127 | · <span·class="htp-tag"></tr></span><br> | ||
128 | · <span·class="htp-tag"></table></span><br> | ||
129 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
130 | <br> | 124 | <br> |
131 | paragraph<br> | ||
132 | <span·class="htp-tag"><imghr></span><br> | ||
133 | paragraph<br> | ||
134 | </code></p> | 125 | </code></p> |
135 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
136 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing | 127 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing |
137 | options·inside·the·actual·document·being·processed.··The·options·are | 128 | options·inside·the·actual·document·being·processed.··The·options·are |
138 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not | 129 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not |
139 | preceded·by·a·‘-’·character. | 130 | preceded·by·a·‘-’·character. |
140 | <P> | 131 | <P> |
Offset 114, 21 lines modified | Offset 114, 18 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | 121 | <span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">APPEND</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>></span><br> | |
122 | 122 | text·block<br> | |
123 | 123 | <span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>></span><br> | |
124 | · ·<span·class="htp-tag"></i></span><span·class="htp-tag"></b></span><br> | ||
125 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
126 | <br> | 124 | <br> |
127 | ·This·is·<span·class="htp-tag"><bolditalic></span>bold·and·italic<span·class="htp-tag"></bolditalic></span><br> | ||
128 | </code></p> | 125 | </code></p> |
129 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
130 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary | 127 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary |
131 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the | 128 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the |
132 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> | 129 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> |
133 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you | 130 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you |
134 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text | 131 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text |
Offset 114, 21 lines modified | Offset 114, 19 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | ·<span·class="htp-tag"><<a·href=" | 121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>></span><br> |
122 | · ·<span·class="htp-tag"><b | 122 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>></span>;<br> |
123 | · | 123 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> |
124 | · ·<span·class="htp-tag"></i></span><span·class="htp-tag"></b></span><br> | ||
125 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
126 | <br> | 124 | <br> |
127 | · | 125 | ·<span·class="htp-tag"><sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>></span><br> |
128 | </code></p> | 126 | </code></p> |
129 | <h2>synopsis</h2> | 127 | <h2>synopsis</h2> |
130 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise | 128 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise |
131 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a | 129 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a |
132 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early | 130 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early |
133 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still | 131 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still |
134 | done·inside·a·quote·block. | 132 | done·inside·a·quote·block. |
Offset 114, 28 lines modified | Offset 114, 28 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | ·<span·class="htp-tag"><<a·href=" | 121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>></span><br> |
122 | ·<span·class="htp-tag"><<a·href=" | 122 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>></span>;<br> |
123 | · | 123 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> |
124 | 124 | <br> | |
125 | · | 125 | ·<span·class="htp-tag"><sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>></span><br> |
126 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
127 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
128 | </code></p> | 126 | </code></p> |
129 | <h2>synopsis</h2> | 127 | <h2>synopsis</h2> |
130 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded | 128 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded |
131 | anywhere·in·the·HTML·document.··To·create·a·macro: | 129 | anywhere·in·the·HTML·document.··To·create·a·macro: |
132 | ··<p><code> | 130 | ··<p><code> |
133 | <span·class="htp-tag"><<a·href=" | 131 | <span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>></span><br> |
134 | 132 | <span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·></span><br> | |
133 | <br> | ||
134 | <br> | ||
135 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | 135 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> |
136 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | 136 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> |
137 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> | 137 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> |
138 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> | 138 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> |
139 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> | 139 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> |
140 | </code></p> | 140 | </code></p> |
141 | <P> | 141 | <P> |
Offset 114, 17 lines modified | Offset 114, 21 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href=" | 121 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> |
122 | <span·class="htp-tag"><<a·href=" | 122 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> |
123 | <br> | 123 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> |
124 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
125 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> | ||
126 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> | ||
127 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> | ||
124 | </code></p> | 128 | </code></p> |
125 | <h2>synopsis</h2> | 129 | <h2>synopsis</h2> |
126 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags | 130 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags |
127 | created·by·<A·HREF="def.html">DEF</A>·and·<A | 131 | created·by·<A·HREF="def.html">DEF</A>·and·<A |
128 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF | 132 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF |
129 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by | 133 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by |
130 | htp·until·it·is·reassigned.··</P> | 134 | htp·until·it·is·reassigned.··</P> |
Offset 114, 39 lines modified | Offset 114, 40 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="u | 121 | <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noexpand</span><span·class="ebnf">]</span>></span><br> |
122 | <span·class="htp-tag">< | 122 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> |
123 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
123 | <br> | 124 | <br> |
124 | </code></p> | 125 | </code></p> |
125 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
126 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. | 127 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. |
127 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. | 128 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. |
128 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or | 129 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or |
129 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The | 130 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The |
130 | old·macro·definition·will·be·removed·automatically.) | 131 | old·macro·definition·will·be·removed·automatically.) |
131 | <P> | 132 | <P> |
132 | For·example: | 133 | For·example: |
133 | ··<p><code> | 134 | ··<p><code> |
134 | <span·class="htp-tag"><<a·href=" | 135 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>></span><br> |
135 | 136 | · ·...<br> | |
136 | <span·class="htp-tag">< | 137 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> |
137 | <br> | 138 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> |
138 | </code></p> | 139 | </code></p> |
139 | <P> | 140 | <P> |
140 | More·than·one·macro·may·be·removed·in·the·same·tag: | 141 | More·than·one·macro·may·be·removed·in·the·same·tag: |
141 | ··<p><code> | 142 | ··<p><code> |
142 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib"> | 143 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> |
143 | · · | 144 | · ·...<br> |
144 | <span·class="htp-tag"><<a·href=" | 145 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> |
145 | <br> | 146 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> |
146 | </code></p> | 147 | </code></p> |
147 | <p> | 148 | <p> |
148 | </td> | 149 | </td> |
149 | </tr> | 150 | </tr> |
150 | <tr> | 151 | <tr> |
151 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 152 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
152 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> | 153 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> |
Offset 114, 17 lines modified | Offset 114, 17 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href=" | 121 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> |
122 | 122 | · ·block<br> | |
123 | <span·class="htp-tag">< | 123 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> |
124 | <br> | 124 | <br> |
125 | </code></p> | 125 | </code></p> |
126 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
127 | <strong>USE</strong>·will·expand·macros·that·have·been·previously | 127 | <strong>USE</strong>·will·expand·macros·that·have·been·previously |
128 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A | 128 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A |
129 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other | 129 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other |
130 | markup·tags. | 130 | markup·tags. |
Offset 135, 18 lines modified | Offset 135, 15 lines modified | ||
135 | attribute·to·prevent·further·expansion.··</p> | 135 | attribute·to·prevent·further·expansion.··</p> |
136 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros | 136 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros |
137 | for·the·expanded·macro.··This·is·only·valid·for·<A | 137 | for·the·expanded·macro.··This·is·only·valid·for·<A |
138 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A | 138 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A |
139 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For | 139 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For |
140 | example:</p> | 140 | example:</p> |
141 | ··<p><code> | 141 | ··<p><code> |
142 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href=" | 142 | <font·size="-2"> 1.·</font> · ·<span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>></span><br> |
143 | <font·size="-2"> 2.·</font> · ·block<br> | ||
144 | <font·size="-2"> 3.·</font><span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
145 | <font·size="-2"> 4.·</font><br> | ||
146 | </code></p> | 143 | </code></p> |
147 | <P> | 144 | <P> |
148 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on | 145 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on |
149 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and | 146 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and |
150 | the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8 | 147 | the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8 |
151 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is | 148 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is |
152 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. | 149 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. |
Offset 157, 15 lines modified | Offset 154, 15 lines modified | ||
157 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or | 154 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or |
158 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. | 155 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. |
159 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or | 156 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or |
160 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it | 157 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it |
161 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further | 158 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further |
162 | processing·the·contents. | 159 | processing·the·contents. |
163 | ··<p><code> | 160 | ··<p><code> |
164 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib"> | 161 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> |
165 | <font·size="-2"> 2.·</font> · ·...<br> | 162 | <font·size="-2"> 2.·</font> · ·...<br> |
166 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | 163 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> |
167 | <font·size="-2"> 4.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | 164 | <font·size="-2"> 4.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> |
168 | </code></p> | 165 | </code></p> |
169 | <P> | 166 | <P> |
170 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and | 167 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and |
171 | should·never·cause·confusion·with·surrounding·text.··If·no·curly | 168 | should·never·cause·confusion·with·surrounding·text.··If·no·curly |
Offset 182, 18 lines modified | Offset 179, 15 lines modified | ||
182 | delimiting·the·text·as·if·it·were·additional·markup·attributes. | 179 | delimiting·the·text·as·if·it·were·additional·markup·attributes. |
183 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), | 180 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), |
184 | quotation·marks·are·not·automatically·supplied. | 181 | quotation·marks·are·not·automatically·supplied. |
185 | <P> | 182 | <P> |
186 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can | 183 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can |
187 | be·nested.··This·is·valid: | 184 | be·nested.··This·is·valid: |
188 | ··<p><code> | 185 | ··<p><code> |
189 | ·<span·class="htp-tag"><<a· | 186 | · ·<span·class="htp-tag"><<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>></span><br> |
190 | · ·...<br> | ||
191 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | ||
192 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
193 | </code></p> | 187 | </code></p> |
194 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined | 188 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined |
195 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX | 189 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX |
196 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand | 190 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand |
197 | value1. | 191 | value1. |
198 | <p> | 192 | <p> |
199 | </td> | 193 | </td> |
Offset 114, 36 lines modified | Offset 114, 41 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag">< | 121 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>></span><br> |
122 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp- | 122 | ·<span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span>send·email<span·class="htp-tag"></a></span><br> |
123 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
124 | <br> | ||
125 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span><br> | ||
126 | <br> | ||
127 | This·works:· · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
128 | But·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>></span><br> | ||
129 | And·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
123 | </code></p> | 130 | </code></p> |
124 | <h2>synopsis</h2> | 131 | <h2>synopsis</h2> |
125 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. | 132 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. |
126 | The·basic·form·is·shown·above. | 133 | The·basic·form·is·shown·above. |
127 | <P> | 134 | <P> |
128 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 135 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
129 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. | 136 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. |
130 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the | 137 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the |
131 | conditional·is·reversed: | 138 | conditional·is·reversed: |
132 | ··<p><code> | 139 | ··<p><code> |
133 | 140 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>></span>mailto·hyperlink<span·class="htp-tag"></a></span><br> | |
141 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>></span>another·hyperlink<span·class="htp-tag"></a></span><br> | ||
134 | </code></p> | 142 | </code></p> |
135 | <P> | 143 | <P> |
136 | Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a | 144 | Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a |
137 | macro's·existance: | 145 | macro's·existance: |
138 | ··<p><code> | 146 | ··<p><code> |
139 | ·<span·class="htp-tag"><<a· | 147 | · ·<span·class="htp-tag"><<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>></span><br> |
140 | · ·...<br> | ||
141 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | ||
142 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
143 | </code></p> | 148 | </code></p> |
144 | <P> | 149 | <P> |
145 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the | 150 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the |
146 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the | 151 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the |
147 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. | 152 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. |
148 | <P> | 153 | <P> |
149 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. | 154 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. |