Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·4682c39bd695e83baa9df0c2a8cf2e48·71088·debug·optional·htp-dbgsym_1.19-8_amd64.deb | 1 | ·4682c39bd695e83baa9df0c2a8cf2e48·71088·debug·optional·htp-dbgsym_1.19-8_amd64.deb |
2 | · | 2 | ·69336d193ebc054a9899aec96a0f8eda·116620·web·optional·htp_1.19-8_amd64.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···112 | 3 | -rw-r--r--···0········0········0···112812·2020-06-14·23:21:19.000000·data.tar.xz |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | Package:·htp | 1 | Package:·htp |
2 | Version:·1.19-8 | 2 | Version:·1.19-8 |
3 | Architecture:·amd64 | 3 | Architecture:·amd64 |
4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> | 4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> |
5 | Installed-Size:·63 | 5 | Installed-Size:·638 |
6 | Depends:·libc6·(>=·2.38) | 6 | Depends:·libc6·(>=·2.38) |
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 10, 18 lines modified | Offset 10, 18 lines modified | ||
10 | -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html |
11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp | 11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp |
12 | -rw-r--r--···0·root·········(0)·root·········(0)·····7941·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html | 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····7941·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html |
13 | -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp | 13 | -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp |
14 | -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html | 14 | -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html |
15 | -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp | 15 | -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp |
16 | -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz | 16 | -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz |
17 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 17 | -rw-r--r--···0·root·········(0)·root·········(0)·····7719·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html |
18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp | 18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp |
19 | -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright | 19 | -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright |
20 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 20 | -rw-r--r--···0·root·········(0)·root·········(0)····13665·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html |
21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp | 21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp |
22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html | 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html |
23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp | 23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp |
24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/ | 24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.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 32, 64 lines modified | Offset 32, 64 lines modified | ||
32 | -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp | 32 | -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp |
33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html | 33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html |
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·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html | 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.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)····· | 39 | -rw-r--r--···0·root·········(0)·root·········(0)·····7909·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html |
40 | -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp | 40 | -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp |
41 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 41 | -rw-r--r--···0·root·········(0)·root·········(0)····12223·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html |
42 | -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.htp.gz | 42 | -rw-r--r--···0·root·········(0)·root·········(0)·····2490·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.htp.gz |
43 | -rw-r--r--···0·root·········(0)·root·········(0)····14293·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.html | 43 | -rw-r--r--···0·root·········(0)·root·········(0)····14293·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.html |
44 | -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.htp.gz | 44 | -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2020-06-14·23:21:19.000000·./usr/share/doc/htp/history.htp.gz |
45 | -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2020-06-14·23:21:19.000000·./usr/share/doc/htp/hlhtp.pl | 45 | -rw-r--r--···0·root·········(0)·root·········(0)·····3911·2020-06-14·23:21:19.000000·./usr/share/doc/htp/hlhtp.pl |
46 | -rw-r--r--···0·root·········(0)·root·········(0)······165·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.def | 46 | -rw-r--r--···0·root·········(0)·root·········(0)······165·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.def |
47 | -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.htt | 47 | -rw-r--r--···0·root·········(0)·root·········(0)·····4049·2020-06-14·23:21:19.000000·./usr/share/doc/htp/htp.htt |
48 | -rw-r--r--···0·root·········(0)·root·········(0)····103 | 48 | -rw-r--r--···0·root·········(0)·root·········(0)····11032·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html |
49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp | 49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp |
50 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 50 | -rw-r--r--···0·root·········(0)·root·········(0)····13358·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html |
51 | -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp | 51 | -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp |
52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html |
53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp | 53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp |
54 | -rw-r--r--···0·root·········(0)·root·········(0)·····9 | 54 | -rw-r--r--···0·root·········(0)·root·········(0)·····9793·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html |
55 | -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp | 55 | -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp |
56 | -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.html | 56 | -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.html |
57 | -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.htp | 57 | -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.htp |
58 | -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.html | 58 | -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.html |
59 | -rw-r--r--···0·root·········(0)·root·········(0)·······78·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.htp | 59 | -rw-r--r--···0·root·········(0)·root·········(0)·······78·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.htp |
60 | -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.html | 60 | -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.html |
61 | -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.htp | 61 | -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.htp |
62 | -rw-r--r--···0·root·········(0)·root·········(0)····10774·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.html | 62 | -rw-r--r--···0·root·········(0)·root·········(0)····10774·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.html |
63 | -rw-r--r--···0·root·········(0)·root·········(0)······454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.htp | 63 | -rw-r--r--···0·root·········(0)·root·········(0)······454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.htp |
64 | -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.def | 64 | -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.def |
65 | -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.html | 65 | -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.html |
66 | -rw-r--r--···0·root·········(0)·root·········(0)······388·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.htp | 66 | -rw-r--r--···0·root·········(0)·root·········(0)······388·2020-06-14·23:21:19.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)····16658·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html |
68 | -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz | 68 | -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.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)·····9209·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html |
70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp | 70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp |
71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html | 71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html |
72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp | 72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp |
73 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 73 | -rw-r--r--···0·root·········(0)·root·········(0)·····9428·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html |
74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp | 74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp |
75 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/ | 75 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/ |
76 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png | 76 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png |
77 | -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png | 77 | -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png |
78 | -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png | 78 | -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png |
79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png | 79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png |
80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png | 80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png |
81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png | 81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png |
82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png | 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png |
83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png | 83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png |
84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png | 84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png |
85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl | 85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl |
86 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 86 | -rw-r--r--···0·root·········(0)·root·········(0)·····7503·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html |
87 | -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp | 87 | -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp |
88 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 88 | -rw-r--r--···0·root·········(0)·root·········(0)·····8234·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html |
89 | -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp | 89 | -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp |
90 | -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css | 90 | -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css |
91 | -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html | 91 | -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html |
92 | -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz | 92 | -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz |
93 | -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def | 93 | -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def |
94 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/ | 94 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/ |
95 | -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti | 95 | -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti |
Offset 104, 21 lines modified | Offset 104, 21 lines modified | ||
104 | -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp | 104 | -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp |
105 | -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt | 105 | -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt |
106 | -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt | 106 | -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt |
107 | -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html | 107 | -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html |
108 | -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp | 108 | -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp |
109 | -rw-r--r--···0·root·········(0)·root·········(0)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html | 109 | -rw-r--r--···0·root·········(0)·root·········(0)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html |
110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp | 110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp |
111 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 111 | -rw-r--r--···0·root·········(0)·root·········(0)····10770·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html |
112 | -rw-r--r--···0·root·········(0)·root·········(0)······658·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.htp | 112 | -rw-r--r--···0·root·········(0)·root·········(0)······658·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.htp |
113 | -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.html | 113 | -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.html |
114 | -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.htp | 114 | -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2020-06-14·23:21:19.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)····13688·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html |
116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp | 116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.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)·····8001·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html |
118 | -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp | 118 | -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp |
119 | -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html | 119 | -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html |
120 | -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp | 120 | -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp |
121 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/ | 121 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/ |
122 | -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp.htp | 122 | -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp.htp |
123 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/ | 123 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/ |
124 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/ | 124 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/ |
Offset 122, 19 lines modified | Offset 122, 14 lines modified | ||
122 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
123 | <p> | 123 | <p> |
124 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful | 124 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful |
125 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. | 125 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. |
126 | Example: | 126 | Example: |
127 | </p> | 127 | </p> |
128 | ··<p><code> | 128 | ··<p><code> |
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·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> | ||
130 | · ·<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> | ||
131 | ·<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> | ||
132 | <br> | ||
133 | ·<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> | ||
134 | </code></p> | 129 | </code></p> |
135 | <p> | 130 | <p> |
136 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you | 131 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you |
137 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something | 132 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something |
138 | like·this: | 133 | like·this: |
139 | </p> | 134 | </p> |
140 | ··<p><code> | 135 | ··<p><code> |
Offset 2, 46 lines modified | Offset 2, 40 lines modified | ||
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················This·is·a·simple·comment·that·is·not·included·in | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················This·is·a·simple·comment·that·is·not·included·in |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················the·output.·This·is·useful·when·commenting | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················the·output.·This·is·useful·when·commenting |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················metatags,·since·the·metatags·do·not·appear·the | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················metatags,·since·the·metatags·do·not·appear·the |
8 | ·HTP·Tags··················output·either.·Example: | 8 | ·HTP·Tags··················output·either.·Example: |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············alt="${alt}">; | ||
12 | · ···_\x8D_\x8E_\x8F··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F···················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
15 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············Note·that·these·comments·should·not·include·<·or·>, |
16 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················that·is·you·should·not·use·it·to·comment·out·htp |
17 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············code.·For·that·purpose·use·something·like·this: |
18 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················Make·sure·that·the·variable·is·never·defined·and |
19 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················xyz·should·be·the·reason·why·you·don't·want·to |
20 | · ···_\x8 | 14 | · ···_\x8I_.F····················include·this·block |
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8M_\x8G | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T | 21 | · ···_\x8S_\x8E_\x8T |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
26 | ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
Offset 133, 35 lines modified | Offset 133, 49 lines modified | ||
133 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | 133 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to |
134 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | 134 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A |
135 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | 135 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster |
136 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing | 136 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing |
137 | tag·with·a·preceding·slash.·For·example: | 137 | tag·with·a·preceding·slash.·For·example: |
138 | </P> | 138 | </P> |
139 | ··<p><code> | 139 | ··<p><code> |
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">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</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">"/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> | ||
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"><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> | ||
145 | </code></p> | 140 | </code></p> |
146 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, | 141 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, |
147 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> | 142 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> |
148 | <P> | 143 | <P> |
149 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were | 144 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were |
150 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with | 145 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with |
151 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their | 146 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their |
152 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) | 147 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) |
153 | </P> | 148 | </P> |
154 | ··<p><code> | 149 | ··<p><code> |
155 | ·<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> | ||
156 | · · | 150 | · ·<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> |
151 | SIZE"><br> | ||
157 | · ·<span·class="htp-tag"><<a·href="i | 152 | · ·<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> |
153 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
154 | · ·<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> | ||
155 | · ·<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> | ||
156 | · ·<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> | ||
157 | · ·<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> | ||
158 | · · · ·<span·class="htp-tag"></FONT></span><br> | ||
159 | · ·<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> | ||
158 | ·<span·class="htp-tag"><<a·href=" | 160 | ·<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> |
159 | 161 | <br> | |
162 | ·<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> | ||
163 | <br> | ||
164 | ·<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> | ||
165 | <br> | ||
166 | ·This·will·fail:<br> | ||
167 | ·<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> | ||
168 | <br> | ||
169 | ·Instead,·use·*·like·this:<br> | ||
170 | ·<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> | ||
171 | · ·<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> | ||
160 | · | 172 | ·<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> |
173 | · ·<br> | ||
174 | ·<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> | ||
161 | </code></p> | 175 | </code></p> |
162 | <P> | 176 | <P> |
163 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is | 177 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is |
164 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are | 178 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are |
165 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the | 179 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the |
166 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a | 180 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a |
167 | parameter·is·required,·simply·expand·it·without·first·checking.··When | 181 | parameter·is·required,·simply·expand·it·without·first·checking.··When |
Offset 10, 34 lines modified | Offset 10, 50 lines modified | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················Some·metatags·will·require·an·opening·and·closing | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················Some·metatags·will·require·an·opening·and·closing |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············tag·(comparable·to | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············tag·(comparable·to |
12 | ·[>]·_\x8D_\x8E_\x8F···················and | 12 | ·[>]·_\x8D_\x8E_\x8F···················and |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. | 13 | · ···_\x8F_\x8I_\x8L_\x8E··················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. |
14 | · ···_\x8I_\x8F····················Another·slightly·faster·alternative·is·to·use·two | 14 | · ···_\x8I_\x8F····················Another·slightly·faster·alternative·is·to·use·two |
15 | · ···_\x8I_\x8N_\x8C···················metatags,·the·opening·tag·and·the·closing·tag·with | 15 | · ···_\x8I_\x8N_\x8C···················metatags,·the·opening·tag·and·the·closing·tag·with |
16 | · ···_\x8I_\x8M_\x8G···················a·preceding·slash.·For·example: | 16 | · ···_\x8I_\x8M_\x8G···················a·preceding·slash.·For·example: |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> | ||
18 | · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················alt="${alt}">; | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
21 | · ···_\x8S_\x8E_\x8T | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
23 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will |
24 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················check·for·matching·end·tag.·It·is·not·that·slower. |
25 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················Options·can·be·passed·to·a·metatag,·which·can·then |
26 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are |
27 | · | 21 | · ···_.S_.E_.T···················parameterized·with·the·OPTION·attribute.·Multiple |
28 | · | 22 | · ···_.U_.N_.D_.E_.F·················options·can·be·listed·by·separating·their·name·with |
29 | · | 23 | · ···_.U_.N_.S_.E_.T·················a·space·(which·therefore·requires·they·be |
30 | ···· | 24 | · ···_.U_.S_.E_.,_.·_.$················surrounded·by·quotes.) |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<${tagName}·${attrName}=${value$ctr}> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················SIZE"> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · · · ·<FONT·SIZE=${size}> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
30 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
31 | ···························· ·<_.[_.[_.r_.e_.f_.]_.] | 31 | ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·title> |
32 | ···························· · ·... | ||
33 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8 | 32 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> |
33 | ···························· · · · ·</FONT> | ||
34 | ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./ | 34 | ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F> |
35 | ···························· email="jnelson@crl.com"> | ||
36 | ···························· · | 35 | ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.D_.E_.F> |
36 | ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
37 | ····························title"> | ||
38 | ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
39 | ····························title"> | ||
40 | ···························· ·This·will·fail: | ||
41 | ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
42 | ····························TITLE="Another·title"> | ||
43 | ···························· ·Instead,·use·*·like·this: | ||
44 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
45 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
46 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
47 | ···························· · | ||
48 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
37 | ····························htp·will·do·very·specific·checking·of·parameters | 49 | ····························htp·will·do·very·specific·checking·of·parameters |
38 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all | 50 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all |
39 | ····························parameter·options·to·the·metatag·are·optional.·This | 51 | ····························parameter·options·to·the·metatag·are·optional.·This |
40 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify | 52 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify |
41 | ····························the·SIZE·option·is·defined·before·expanding·it·in | 53 | ····························the·SIZE·option·is·defined·before·expanding·it·in |
42 | ····························the·block.·If·a·parameter·is·required,·simply | 54 | ····························the·block.·If·a·parameter·is·required,·simply |
43 | ····························expand·it·without·first·checking.·When·htp·expands | 55 | ····························expand·it·without·first·checking.·When·htp·expands |
Offset 101, 24 lines modified | Offset 101, 14 lines modified | ||
101 | another·macro.··This·other·macro·may·no·longer·have·the·correct·value | 101 | another·macro.··This·other·macro·may·no·longer·have·the·correct·value |
102 | when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when | 102 | when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when |
103 | the·htp·tags·are·expanded:·</P> | 103 | the·htp·tags·are·expanded:·</P> |
104 | ··<p><code> | 104 | ··<p><code> |
105 | </code></p> | 105 | </code></p> |
106 | This·produces·the·following: | 106 | This·produces·the·following: |
107 | ··<p><code> | 107 | ··<p><code> |
108 | · ·<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> | ||
109 | me1·tagname2·...·><br> | ||
110 | <br> | ||
111 | def><br> | ||
112 | <br> | ||
113 | ·<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">"/bigfont"</span>></span><br> | ||
114 | · ·<span·class="htp-tag"></font></span><br> | ||
115 | ·<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> | ||
116 | <br> | ||
117 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
118 | </code></p> | 108 | </code></p> |
119 | <P> | 109 | <P> |
120 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a | 110 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a |
121 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded | 111 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded |
122 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it | 112 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it |
123 | is·used,·while·the·contents·of·b·are·already·expanded. | 113 | is·used,·while·the·contents·of·b·are·already·expanded. |
124 | </P> | 114 | </P> |
Offset 25, 24 lines modified | Offset 25, 14 lines modified | ||
25 | ····························modifier·it·is·expanded·immediately.·This·is·useful | 25 | ····························modifier·it·is·expanded·immediately.·This·is·useful |
26 | ····························if·you·want·to·store·something·in·a·block·macro, | 26 | ····························if·you·want·to·store·something·in·a·block·macro, |
27 | ····························that·depends·on·the·current·value·of·another·macro. | 27 | ····························that·depends·on·the·current·value·of·another·macro. |
28 | ····························This·other·macro·may·no·longer·have·the·correct | 28 | ····························This·other·macro·may·no·longer·have·the·correct |
29 | ····························value·when·the·macro·is·expanded.·Here·is·some·code | 29 | ····························value·when·the·macro·is·expanded.·Here·is·some·code |
30 | ····························that·demonstrate·when·the·htp·tags·are·expanded: | 30 | ····························that·demonstrate·when·the·htp·tags·are·expanded: |
31 | ····························This·produces·the·following: | 31 | ····························This·produces·the·following: |
32 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
33 | ····························me1·tagname2·...·> | ||
34 | ····························def> | ||
35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
36 | ···························· · ·</font> | ||
37 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
38 | ···························· ·<bigfont>Some·large·text</bigfont> | ||
39 | ····························When·block·a·and·block·b·are·defined·in·lines·2- | 32 | ····························When·block·a·and·block·b·are·defined·in·lines·2- |
40 | ····························7·the·contents·of·a·are·taken·literally,·however, | 33 | ····························7·the·contents·of·a·are·taken·literally,·however, |
41 | ····························the·contents·for·b·are·already·expanded·so·the | 34 | ····························the·contents·for·b·are·already·expanded·so·the |
42 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it | 35 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it |
43 | ····························is·used,·while·the·contents·of·b·are·already | 36 | ····························is·used,·while·the·contents·of·b·are·already |
44 | ····························expanded. | 37 | ····························expanded. |
45 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with | 38 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with |
Offset 124, 19 lines modified | Offset 124, 14 lines modified | ||
124 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of | 124 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of |
125 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be | 125 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be |
126 | added·to·the·output·file·as·well. | 126 | added·to·the·output·file·as·well. |
127 | <P> | 127 | <P> |
128 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the | 128 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the |
129 | following·is·perfectly·acceptable: | 129 | following·is·perfectly·acceptable: |
130 | ··<p><code> | 130 | ··<p><code> |
131 | ·<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> | ||
132 | · ·<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> | ||
133 | ·<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> | ||
134 | <br> | ||
135 | ·<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> | ||
136 | </code></p> | 131 | </code></p> |
137 | <P> | 132 | <P> |
138 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> | 133 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> |
139 | <P> | 134 | <P> |
140 | To·include·information·about·another·file,·such·as·an·archive·file·or | 135 | To·include·information·about·another·file,·such·as·an·archive·file·or |
141 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the | 136 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the |
142 | type·of·information·to·be·displayed: | 137 | type·of·information·to·be·displayed: |
Offset 173, 20 lines modified | Offset 168, 14 lines modified | ||
173 | <P> | 168 | <P> |
174 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are | 169 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are |
175 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros | 170 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros |
176 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it | 171 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it |
177 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer | 172 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer |
178 | available.··So: | 173 | available.··So: |
179 | ··<p><code> | 174 | ··<p><code> |
180 | ·<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> | ||
181 | · ·...<br> | ||
182 | · ·<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> | ||
183 | ·<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> | ||
184 | email="jnelson@crl.com"><br> | ||
185 | · ·This·tag·will·fail:·<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">name</span>></span><br> | ||
186 | </code></p> | 175 | </code></p> |
187 | <P> | 176 | <P> |
188 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included | 177 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included |
189 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the | 178 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the |
190 | second·statement·will·fail.) | 179 | second·statement·will·fail.) |
191 | <P> | 180 | <P> |
192 | <h3><a·name="template">TEMPLATE</a></h3> | 181 | <h3><a·name="template">TEMPLATE</a></h3> |
Offset 6, 37 lines modified | Offset 6, 31 lines modified | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················purpose.·The·output·file's·name,·the·current·date | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················purpose.·The·output·file's·name,·the·current·date |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················and·time,·and·the·contents·of·another·file·may·be | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················and·time,·and·the·contents·of·another·file·may·be |
8 | ·HTP·Tags··················included.·Another·file's·time,·date,·or·size·may·be | 8 | ·HTP·Tags··················included.·Another·file's·time,·date,·or·size·may·be |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············added·to·the·output·file·as·well. | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············added·to·the·output·file·as·well. |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················As·with·all·HTML,·these·tags·do·not·have·to·be·on | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················As·with·all·HTML,·these·tags·do·not·have·to·be·on |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············their·own·line,·so·the·following·is·perfectly | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············their·own·line,·so·the·following·is·perfectly |
12 | · ···_\x8D_\x8E_\x8F···················acceptable: | 12 | · ···_\x8D_\x8E_\x8F···················acceptable: |
13 | ·[>]·_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> | ||
14 | · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
15 | · ···_\x8I_\x8N_\x8C···················alt="${alt}">; | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T··················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
19 | · | 13 | ·[>]·_.F_.I_.L_.E··················*\x8**\x8**\x8**\x8*·N\x8NA\x8AM\x8ME\x8E,\x8,·T\x8TI\x8IM\x8ME\x8E,\x8,·S\x8SI\x8IZ\x8ZE\x8E·*\x8**\x8**\x8**\x8* |
20 | · ···_\x8 | 14 | · ···_\x8I_.F····················To·include·information·about·another·file,·such·as |
21 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················an·archive·file·or·graphic·image,·specify·its·name |
22 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················with·the·NAME·attribute·followed·by·the·type·of |
23 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············information·to·be·displayed: |
24 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················For·file·size·information,·the·value·BYTE,·KBYTE, |
25 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················etc.·dictates·how·the·information·is·displayed.·In |
26 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················anything·other·than·byte·format,·the·information·is |
27 | · | 21 | · ···_.S_.E_.T···················displayed·in·floating-point·notation.·The·amount·of |
28 | · | 22 | · ···_.U_.N_.D_.E_.F·················precision·(the·number·of·digits·to·the·right·of·the |
29 | · | 23 | · ···_.U_.N_.S_.E_.T·················decimal·point)·can·be·set·with·the·optional |
30 | ···· | 24 | · ···_.U_.S_.E_.,_.·_.$················PRECISION·attribute.·The·default·precision·is·zero |
31 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················(0),·which·means·no·fractional·portion·is |
32 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················displayed. |
33 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················At·the·request·of·many·people,·the·TIME·and·DATE |
34 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················attributes·will·now·accept·formatting·characters |
35 | · | 29 | ·_.B_.u_.g_.s······················that·are·passed·directly·into·the·ANSI·C·library |
36 | ····························function.·This·allows·for·the·time·and·date·to·be | 30 | ····························function.·This·allows·for·the·time·and·date·to·be |
37 | ····························displayed·in·virtually·any·format.·Users·not | 31 | ····························displayed·in·virtually·any·format.·Users·not |
38 | ····························wishing·to·mess·around·with·this·should·stick·to | 32 | ····························wishing·to·mess·around·with·this·should·stick·to |
39 | ····························the·default·format,·which·is·used·if·no·formatting | 33 | ····························the·default·format,·which·is·used·if·no·formatting |
40 | ····························value·is·specified·(i.e.,·just·using·05:04:11·PM). | 34 | ····························value·is·specified·(i.e.,·just·using·05:04:11·PM). |
41 | ····························Consult·any·C·programmer's·guide·discussing·the | 35 | ····························Consult·any·C·programmer's·guide·discussing·the |
42 | ····························standard·C·library·function·strftime()·for | 36 | ····························standard·C·library·function·strftime()·for |
Offset 55, 20 lines modified | Offset 49, 14 lines modified | ||
55 | ····························Additional·parameters·can·be·set·in·the·FILE | 49 | ····························Additional·parameters·can·be·set·in·the·FILE |
56 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that | 50 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that |
57 | ····························are·"passed"·to·the·included·file.·The·macros·are | 51 | ····························are·"passed"·to·the·included·file.·The·macros·are |
58 | ····························available·only·to·the·include·file·(and·any·macros | 52 | ····························available·only·to·the·include·file·(and·any·macros |
59 | ····························or·included·files·it·holds).·After·the·file·is | 53 | ····························or·included·files·it·holds).·After·the·file·is |
60 | ····························completely·included,·the·macros·are·no·longer | 54 | ····························completely·included,·the·macros·are·no·longer |
61 | ····························available.·So: | 55 | ····························available.·So: |
62 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> | ||
63 | ···························· · ·... | ||
64 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
65 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
66 | ···························· email="jnelson@crl.com"> | ||
67 | ···························· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
68 | ····························Macros·named·"name"·and·"email"·are·set,·and | 56 | ····························Macros·named·"name"·and·"email"·are·set,·and |
69 | ····························available·inside·the·included·file.·They·are·not | 57 | ····························available·inside·the·included·file.·They·are·not |
70 | ····························available,·however,·past·the·tag·(which·is·why·the | 58 | ····························available,·however,·past·the·tag·(which·is·why·the |
71 | ····························second·statement·will·fail.) | 59 | ····························second·statement·will·fail.) |
72 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* | 60 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* |
73 | ····························A·template·file·is·nothing·more·than·a·default | 61 | ····························A·template·file·is·nothing·more·than·a·default |
74 | ····························include·file,·one·that·is·included·once·the·input | 62 | ····························include·file,·one·that·is·included·once·the·input |
Offset 114, 43 lines modified | Offset 114, 50 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="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 | <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> | ||
131 | </code></p> | 121 | </code></p> |
132 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
133 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building | 123 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building |
134 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. | 124 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. |
135 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A | 125 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A |
136 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal | 126 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal |
137 | string: | 127 | string: |
138 | ··<p><code> | 128 | ··<p><code> |
139 | </code></p> | 129 | </code></p> |
140 | <P> | 130 | <P> |
141 | and·a·defined·operator·is·a·test·of·a·macro's·existance: | 131 | and·a·defined·operator·is·a·test·of·a·macro's·existance: |
142 | <P> | 132 | <P> |
143 | ··<p><code> | 133 | ··<p><code> |
144 | ·<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> | ||
145 | · ·...<br> | ||
146 | · ·<span·class="htp-tag"><<a·href=" | 134 | · ·<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><br> |
147 | ·<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> | ||
148 | email="jnelson@crl.com"><br> | ||
149 | 135 | /my.domain.org/"·path="/var/www/my.domain/"><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">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
137 | <br> | ||
138 | ·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> | ||
139 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
140 | ·(no·URL·replacement).<br> | ||
141 | <br> | ||
142 | ·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> | ||
143 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
144 | <br> | ||
145 | ·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> | ||
146 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
147 | ·will·not·be·added.<br> | ||
148 | <br> | ||
149 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
150 | ·<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> | ||
151 | ·<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> | ||
152 | <br> | ||
153 | ·<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> | ||
154 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
155 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
156 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
150 | </code></p> | 157 | </code></p> |
151 | <P> | 158 | <P> |
152 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the | 159 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the |
153 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that | 160 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that |
154 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the | 161 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the |
155 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block | 162 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block |
156 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. | 163 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. |
Offset 1, 38 lines modified | Offset 1, 54 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8a_\x8l_\x8t_\x8t_\x8e_\x8x_\x8t·name="logo.gif"·text="Company | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················logo"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
8 | ·HTP·Tags·················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo"> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> | ||
12 | · ···_\x8D_\x8E_\x8F··················· ·will·also·have·an·ALT·attribute·appended·to·it | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | ·[>]·_\x8I_\x8F···················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click | ||
15 | · ···_\x8I_\x8N_\x8C···················here·for·more·information!"> | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·remains·unchanged. | ||
17 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
18 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building |
19 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················blocks·for·conditional·processing.·The·basic·form |
20 | · | 7 | ·_.U_.s_.a_.g_.e·····················is·shown·above. |
21 | · | 8 | ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined" |
22 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············operation.·A·compare·operator·is·a·test·of·the |
23 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················value·of·a·macro·against·a·literal·string: |
24 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············and·a·defined·operator·is·a·test·of·a·macro's |
25 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················existance: |
26 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E·················· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr> |
27 | · | 14 | ·[>]·_.I_.F····················/my.domain.org/"·path="/var/www/my.domain/"> |
15 | · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
16 | · ···_\x8I_\x8M_\x8G···················var/www/other.domain/"> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T··················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·the·local·filename·"logo.gif"·will·be·used·to | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················determine·image·dimensions | ||
21 | · ···_\x8S_\x8E_\x8T··················· ·(no·URL·replacement). | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················my.domain.org/logo.gif"> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················will·be·used. | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·But·for·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="http:// |
29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
30 | ···························· email="jnelson@crl.com"> | ||
31 | 29 | ·_.B_.u_.g_.s······················other.domain.org/logo.gif"> | |
30 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
31 | ····························so·the·image·dimensions | ||
32 | ···························· ·will·not·be·added. | ||
33 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
34 | ····························precedence: | ||
35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
36 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
37 | ····························test/"> | ||
38 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
39 | ····························src="/test/image.gif"> are·mapped·to | ||
40 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
41 | ····························image.gif,·resp. | ||
42 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
43 | ····························swapped,·the·second | ||
44 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
45 | ····························image.gif. | ||
32 | ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the | 46 | ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the |
33 | ····························evaluation·of·the·conditional·is·reversed.·The | 47 | ····························evaluation·of·the·conditional·is·reversed.·The |
34 | ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true | 48 | ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true |
35 | ····························is·chosen.·If·none·of·the·conditions·is·true·the | 49 | ····························is·chosen.·If·none·of·the·conditions·is·true·the |
36 | ····························ELSE·block·is·taken·if·it·is·present.·A·conditional | 50 | ····························ELSE·block·is·taken·if·it·is·present.·A·conditional |
37 | ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can | 51 | ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can |
38 | ····························be·nested. | 52 | ····························be·nested. |
Offset 114, 14 lines modified | Offset 114, 23 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="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 | text·block<br> | ||
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 | <br> | ||
125 | T·(PRECIOUS|NOPRECIOUS)><br> | ||
126 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>></span><br> | ||
127 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>></span><br> | ||
128 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>></span><br> | ||
129 | <br> | ||
121 | </code></p> | 130 | </code></p> |
122 | <h2>synopsis</h2> | 131 | <h2>synopsis</h2> |
123 | <P> | 132 | <P> |
124 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local | 133 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local |
125 | file·system.··declares·an·URL·replacement·that·is·used·for | 134 | file·system.··declares·an·URL·replacement·that·is·used·for |
126 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions | 135 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions |
127 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is | 136 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is |
Offset 135, 19 lines modified | Offset 144, 37 lines modified | ||
135 | checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC | 144 | checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC |
136 | attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH. | 145 | attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH. |
137 | If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and | 146 | If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and |
138 | looked·up·in·the·current·directory.</P> | 147 | looked·up·in·the·current·directory.</P> |
139 | <P> | 148 | <P> |
140 | For·example:</P> | 149 | For·example:</P> |
141 | ··<p><code> | 150 | ··<p><code> |
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·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> | ||
143 | · ·<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> | ||
144 | ·<span·class="htp-tag"><<a·href=" | 151 | · ·<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><br> |
152 | /my.domain.org/"·path="/var/www/my.domain/"><br> | ||
153 | ·<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> | ||
154 | <br> | ||
155 | ·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> | ||
156 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
157 | ·(no·URL·replacement).<br> | ||
158 | <br> | ||
159 | ·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> | ||
160 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
161 | <br> | ||
162 | ·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> | ||
163 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
164 | ·will·not·be·added.<br> | ||
165 | <br> | ||
166 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
167 | ·<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> | ||
168 | ·<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> | ||
145 | <br> | 169 | <br> |
146 | ·<span·class="htp-tag"><s | 170 | ·<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="p[·...·truncated·by·diffoscope;·len:·182,·SHA:·7f8313d2186fec22907a535a77db16961b29569d9bdf7684f9134e6837d467cc·...·]<br> |
171 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
172 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
173 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
147 | </code></p> | 174 | </code></p> |
148 | <P> | 175 | <P> |
149 | If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as | 176 | If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as |
150 | an·undefine,·and·is·removed.</P> | 177 | an·undefine,·and·is·removed.</P> |
151 | <P> | 178 | <P> |
152 | Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout | 179 | Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout |
153 | a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an | 180 | a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an |
Offset 1, 36 lines modified | Offset 1, 75 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND] | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[EXPAND]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················text·block | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> | ||
8 | ·HTP·Tags | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············T·(PRECIOUS|NOPRECIOUS)> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> | ||
12 | · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
4 | · | 14 | · ···_.I_.F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 15 | · ···_.I_.N_.C···················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the |
6 | · | 16 | · ···_.I_.M_.G···················local·file·system.·declares·an·URL·replacement·that |
7 | ·_. | 17 | ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This |
8 | · | 18 | · ···_.O_.P_.T···················definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option |
9 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················is·enabled.·Beacause·htp·can't·lookup·files·in·the |
10 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················world·wide·web·you·have·to·map·absolute·image·URLs |
11 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················to·a·directory·in·the·local·file·system. |
12 | · ···_\x8D_.E_.F | 22 | · ···_\x8U_.N_.D_.E_.F·················When·an·IMG·tag·is·encountered·where·htp·has·to |
13 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················insert·width·and·height·the·defined·URL |
14 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················replacements·will·be·taken·into·account·(later |
15 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················definitions·take·precedence·to·earlier):·For·each |
16 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················defined·imageurl·it·checks·(case-insensitive)·if·it |
17 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················is·a·prefix·of·the·image's·SRC·attribute.·If·it |
18 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················matches·this·prefix·is·replaced·by·the·given·PATH. |
19 | · | 29 | ·_.B_.u_.g_.s······················If·no·IMAGEURL·matches·the·SRC·is·considered·as |
20 | 30 | ····························relative·link·and·looked·up·in·the·current | |
21 | 31 | ····························directory. | |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················For·example: | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················alt="${alt}">; | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | 32 | ····························For·example: | |
33 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr> | ||
34 | ····························/my.domain.org/"·path="/var/www/my.domain/"> | ||
35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
36 | ····························var/www/other.domain/"> | ||
37 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
38 | ···························· ·the·local·filename·"logo.gif"·will·be·used·to | ||
39 | ····························determine·image·dimensions | ||
40 | ···························· ·(no·URL·replacement). | ||
41 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
42 | ····························my.domain.org/logo.gif"> | ||
43 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
44 | ····························will·be·used. | ||
45 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
46 | ····························other.domain.org/logo.gif"> | ||
47 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
48 | ····························so·the·image·dimensions | ||
49 | ···························· ·will·not·be·added. | ||
50 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
51 | ····························precedence: | ||
52 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
53 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
54 | ····························test/"> | ||
55 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
56 | ····························src="/test/image.gif"> are·mapped·to | ||
57 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
58 | ····························image.gif,·resp. | ||
59 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
60 | ····························swapped,·the·second | ||
61 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
62 | ····························image.gif. | ||
29 | 63 | ····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH | |
30 | ····························attribute,·it·is·treated·as·an·undefine,·and·is | 64 | ····························attribute,·it·is·treated·as·an·undefine,·and·is |
31 | ····························removed. | 65 | ····························removed. |
32 | ····························Since·you·usually·need·the·url·mapping·for·a·number | 66 | ····························Since·you·usually·need·the·url·mapping·for·a·number |
33 | ····························of·images·used·throughout·a·set·of·documents, | 67 | ····························of·images·used·throughout·a·set·of·documents, |
34 | ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 68 | ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
35 | ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file. | 69 | ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file. |
36 | ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also | 70 | ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also |
Offset 114, 33 lines modified | Offset 114, 37 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="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 | text·block<br> | ||
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 | <br> | ||
125 | T·(PRECIOUS|NOPRECIOUS)><br> | ||
126 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>></span><br> | ||
127 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>></span><br> | ||
128 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>></span><br> | ||
129 | <br> | ||
121 | </code></p> | 130 | </code></p> |
122 | <h2>synopsis</h2> | 131 | <h2>synopsis</h2> |
123 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a | 132 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a |
124 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. | 133 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. |
125 | <P> | 134 | <P> |
126 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a | 135 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a |
127 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The | 136 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The |
128 | macroname·must·be·the·name·of·a·defined·macro·that·contains·an | 137 | macroname·must·be·the·name·of·a·defined·macro·that·contains·an |
129 | integer.··If·the·increment·is·ommitted·it·defaults·to·1. | 138 | integer.··If·the·increment·is·ommitted·it·defaults·to·1. |
130 | The·effect·of·this·operation·is·that·the·macro·is·redefined | 139 | The·effect·of·this·operation·is·that·the·macro·is·redefined |
131 | to·contain·the·sum·of·its·previous·value·and·its·increment. | 140 | to·contain·the·sum·of·its·previous·value·and·its·increment. |
132 | <P> | 141 | <P> |
133 | To·increment·or·decrement·a·variable·you·can·use·this·form: | 142 | To·increment·or·decrement·a·variable·you·can·use·this·form: |
134 | ··<p><code> | 143 | ··<p><code> |
135 | ·<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> | ||
136 | · ·<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> | ||
137 | ·<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> | ||
138 | <br> | ||
139 | ·<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> | ||
140 | </code></p> | 144 | </code></p> |
141 | <p> | 145 | <p> |
142 | Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It | 146 | Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It |
143 | may·give·weired·results·when·used·on·arbitrary·strings.··The·integer | 147 | may·give·weired·results·when·used·on·arbitrary·strings.··The·integer |
144 | values·are·limited·to·the·range·-2^31..2^31. | 148 | values·are·limited·to·the·range·-2^31..2^31. |
145 | <P> | 149 | <P> |
146 | Note·further·that·htp·wasn't·designed·to·do·extensive·calculations. | 150 | Note·further·that·htp·wasn't·designed·to·do·extensive·calculations. |
Offset 1, 36 lines modified | Offset 1, 40 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND] | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[EXPAND]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················text·block | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> | ||
8 | ·HTP·Tags | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············T·(PRECIOUS|NOPRECIOUS)> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> | ||
12 | · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
4 | · | 14 | · ···_.I_.F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 15 | ·[>]·_.I_.N_.C···················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a |
6 | · | 16 | · ···_.I_.M_.G···················variable·or·for·variable·addition.·The·basic·form |
7 | ·_. | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············is·shown·above. |
8 | · | 18 | · ···_.O_.P_.T···················The·"increment"·is·anything·that·evaluates·to·a |
9 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················integer.·It·can·be·a·literal·string·or·a·macro |
10 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················preceeded·by·the·'$'-operator.·The·macroname·must |
11 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················be·the·name·of·a·defined·macro·that·contains·an |
12 | · ···_\x8D_.E_.F | 22 | · ···_\x8U_.N_.D_.E_.F·················integer.·If·the·increment·is·ommitted·it·defaults |
13 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················to·1.·The·effect·of·this·operation·is·that·the |
14 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················macro·is·redefined·to·contain·the·sum·of·its |
15 | · | 25 | · ···_.W_.H_.I_.L_.E·················previous·value·and·its·increment. |
16 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················To·increment·or·decrement·a·variable·you·can·use |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················this·form: | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············this·form: | ||
18 | · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················alt="${alt}">; | ||
21 | · ···_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
24 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Note·that·INC·doesn't·check·if·the·strings·really |
25 | · | 29 | ·_.B_.u_.g_.s······················denote·integers.·It·may·give·weired·results·when |
26 | 30 | ····························used·on·arbitrary·strings.·The·integer·values·are | |
27 | 31 | ····························limited·to·the·range·-2^31..2^31. | |
28 | 32 | ····························Note·further·that·htp·wasn't·designed·to·do | |
29 | 33 | ····························extensive·calculations.·The·INC·tag·is·useful·in | |
30 | ····························conjunction·with·WHILE·to·iterate·over·the·defined | 34 | ····························conjunction·with·WHILE·to·iterate·over·the·defined |
31 | ····························blocks. | 35 | ····························blocks. |
Offset 105, 24 lines modified | Offset 105, 14 lines modified | ||
105 | file</a>.··</p> | 105 | file</a>.··</p> |
106 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing | 106 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing |
107 | 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 | 107 | 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 |
108 | encounters·a·blockdef·tag·it·will·automatically·search·for·the | 108 | encounters·a·blockdef·tag·it·will·automatically·search·for·the |
109 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block | 109 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block |
110 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> | 110 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> |
111 | ··<p><code> | 111 | ··<p><code> |
112 | <font·size="-2"> 1.·</font> · ·<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> | ||
113 | <font·size="-2"> 2.·</font>me1·tagname2·...·><br> | ||
114 | <font·size="-2"> 3.·</font><br> | ||
115 | <font·size="-2"> 4.·</font>def><br> | ||
116 | <font·size="-2"> 5.·</font><br> | ||
117 | <font·size="-2"> 6.·</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">"/bigfont"</span>></span><br> | ||
118 | <font·size="-2"> 7.·</font> · ·<span·class="htp-tag"></font></span><br> | ||
119 | <font·size="-2"> 8.·</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> | ||
120 | <font·size="-2"> 9.·</font><br> | ||
121 | <font·size="-2">10.·</font> ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
122 | </code></p> | 112 | </code></p> |
123 | <h2>Using·parameters</h2> | 113 | <h2>Using·parameters</h2> |
124 | <p>·More·sophisticated·tags·accept·parameters.··The | 114 | <p>·More·sophisticated·tags·accept·parameters.··The |
125 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be | 115 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be |
126 | named·and·expanded·inside·the·<code>def</code>·or | 116 | named·and·expanded·inside·the·<code>def</code>·or |
127 | <code>blockdef</code>·block:·</p> | 117 | <code>blockdef</code>·block:·</p> |
128 | ··<p><code> | 118 | ··<p><code> |
Offset 131, 20 lines modified | Offset 121, 39 lines modified | ||
131 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by | 121 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by |
132 | the·template·file.··The·normal·htp·files·should·just·define·macros | 122 | the·template·file.··The·normal·htp·files·should·just·define·macros |
133 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block | 123 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block |
134 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this | 124 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this |
135 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to | 125 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to |
136 | do·this:</p> | 126 | do·this:</p> |
137 | ··<p><code> | 127 | ··<p><code> |
138 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a· | 128 | <font·size="-2"> 1.·</font> · ·<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> |
139 | <font·size="-2"> 2.·</font> | 129 | <font·size="-2"> 2.·</font>SIZE"><br> |
140 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="i | 130 | <font·size="-2"> 3.·</font> · ·<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> |
131 | <font·size="-2"> 4.·</font> · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
141 | <font·size="-2"> | 132 | <font·size="-2"> 5.·</font> · ·<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> |
142 | <font·size="-2"> | 133 | <font·size="-2"> 6.·</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-value">pics/<span·class="htp-macro">${src}</span></span[·...·truncated·by·diffoscope;·len:·11,·SHA:·735fafd2a84903b879a16f837b531179bd93b499ba4741e93c8b9a03b1948a3a·...·]><br> |
143 | <font·size="-2"> | 134 | <font·size="-2"> 7.·</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">title</span>></span><br> |
135 | <font·size="-2"> 8.·</font> · ·<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> | ||
136 | <font·size="-2"> 9.·</font> · · · ·<span·class="htp-tag"></FONT></span><br> | ||
137 | <font·size="-2">10.·</font> · ·<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> | ||
138 | <font·size="-2">11.·</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> | ||
139 | <font·size="-2">12.·</font><br> | ||
140 | <font·size="-2">13.·</font> ·<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> | ||
141 | <font·size="-2">14.·</font><br> | ||
142 | <font·size="-2">15.·</font> ·<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> | ||
143 | <font·size="-2">16.·</font><br> | ||
144 | <font·size="-2">17.·</font> ·This·will·fail:<br> | ||
145 | <font·size="-2">18.·</font> ·<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> | ||
146 | <font·size="-2">19.·</font><br> | ||
147 | <font·size="-2">20.·</font> ·Instead,·use·*·like·this:<br> | ||
148 | <font·size="-2">21.·</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">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>></span><br> | ||
149 | <font·size="-2">22.·</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">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>></span><br> | ||
150 | <font·size="-2">23.·</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> | ||
151 | <font·size="-2">24.·</font> · ·<br> | ||
152 | <font·size="-2">25.·</font> ·<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> | ||
144 | </code></p> | 153 | </code></p> |
145 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a | 154 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a |
146 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is | 155 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is |
147 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is | 156 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is |
148 | build·from·this·counter.··So·the·first·section·is·stored·in·block | 157 | build·from·this·counter.··So·the·first·section·is·stored·in·block |
149 | 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 | 158 | 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 |
150 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally | 159 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally |
Offset 163, 15 lines modified | Offset 172, 21 lines modified | ||
163 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be | 172 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be |
164 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the | 173 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the |
165 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you | 174 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you |
166 | use·expand·in·a·block·around·it.</p> | 175 | use·expand·in·a·block·around·it.</p> |
167 | <p>To·close·this·example·we·show·how·to·expand·the | 176 | <p>To·close·this·example·we·show·how·to·expand·the |
168 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> | 177 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> |
169 | ··<p><code> | 178 | ··<p><code> |
170 | <font·size="-2"> 1.·</font> | 179 | <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> |
180 | <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> | ||
181 | <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> | ||
182 | <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> | ||
183 | <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> | ||
184 | <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> | ||
185 | <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> | 186 | </code></p> |
172 | <p> | 187 | <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 | 188 | 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 | 189 | 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 | 190 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards |
176 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This | 191 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This |
177 | repeats·until·sect-${sect-ctr}·is·not·defined. | 192 | repeats·until·sect-${sect-ctr}·is·not·defined. |
Offset 27, 43 lines modified | Offset 27, 55 lines modified | ||
27 | ····························Often·you·want·to·define·tags·that·have·an·opening | 27 | ····························Often·you·want·to·define·tags·that·have·an·opening |
28 | ····························and·a·closing·variant.·For·this·purpose·you·should | 28 | ····························and·a·closing·variant.·For·this·purpose·you·should |
29 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a | 29 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a |
30 | ····························blockdef·tag·it·will·automatically·search·for·the | 30 | ····························blockdef·tag·it·will·automatically·search·for·the |
31 | ····························matching·closing·tag·and·put·everything·between | 31 | ····························matching·closing·tag·and·put·everything·between |
32 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an | 32 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an |
33 | ····························example·for·this. | 33 | ····························example·for·this. |
34 | ···························· 1.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
35 | ···························· 2.·me1·tagname2·...·> | ||
36 | ···························· 3. | ||
37 | ···························· 4.·def> | ||
38 | ···························· 5. | ||
39 | ···························· 6.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
40 | ···························· 7.· · ·</font> | ||
41 | ···························· 8.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
42 | ···························· 9. | ||
43 | ····························10.· ·<bigfont>Some·large·text</bigfont> | ||
44 | ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8* | 34 | ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8* |
45 | ····························More·sophisticated·tags·accept·parameters.·The | 35 | ····························More·sophisticated·tags·accept·parameters.·The |
46 | ····························option·parameter·lets·multiple·metatag·parameters | 36 | ····························option·parameter·lets·multiple·metatag·parameters |
47 | ····························be·named·and·expanded·inside·the·def·or·blockdef | 37 | ····························be·named·and·expanded·inside·the·def·or·blockdef |
48 | ····························block: | 38 | ····························block: |
49 | ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8* | 39 | ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8* |
50 | ····························When·you·are·using·templates,·the·html·should·only | 40 | ····························When·you·are·using·templates,·the·html·should·only |
51 | ····························be·written·by·the·template·file.·The·normal·htp | 41 | ····························be·written·by·the·template·file.·The·normal·htp |
52 | ····························files·should·just·define·macros·that·are·used·later | 42 | ····························files·should·just·define·macros·that·are·used·later |
53 | ····························in·the·template.·So·you·may·want·to·write·block | 43 | ····························in·the·template.·So·you·may·want·to·write·block |
54 | ····························tags·that·just·save·the·block·in·a·macro·for·later | 44 | ····························tags·that·just·save·the·block·in·a·macro·for·later |
55 | ····························use.·Although·this·is·possible·with·htp·it·is·quite | 45 | ····························use.·Although·this·is·possible·with·htp·it·is·quite |
56 | ····························tricky,·so·here·we·present·the·way·to·do·this: | 46 | ····························tricky,·so·here·we·present·the·way·to·do·this: |
57 | ···························· 1.· · | 47 | ···························· 1.· · ·<${tagName}·${attrName}=${value$ctr}> |
58 | ···························· 2.· | 48 | ···························· 2.·SIZE"> |
59 | ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8 | 49 | ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> |
50 | ···························· 4.· · · · ·<FONT·SIZE=${size}> | ||
60 | ···························· | 51 | ···························· 5.· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F> |
61 | ···························· | 52 | ···························· 6.· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.M_.G·SRC=pics/${src}> |
62 | ···························· | 53 | ···························· 7.· · ·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·title> |
54 | ···························· 8.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
55 | ···························· 9.· · · · ·</FONT> | ||
56 | ····························10.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
57 | ····························11.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
58 | ····························12. | ||
59 | ····························13.· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
60 | ····························title"> | ||
61 | ····························14. | ||
62 | ····························15.· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
63 | ····························title"> | ||
64 | ····························16. | ||
65 | ····························17.· ·This·will·fail: | ||
66 | ····························18.· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
67 | ····························TITLE="Another·title"> | ||
68 | ····························19. | ||
69 | ····························20.· ·Instead,·use·*·like·this: | ||
70 | ····························21.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
71 | ····························22.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
72 | ····························23.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
73 | ····························24.· · | ||
74 | ····························25.· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
63 | ····························This·defines·a·block·macro·named·section.·This | 75 | ····························This·defines·a·block·macro·named·section.·This |
64 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the | 76 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the |
65 | ····························sections.·It·is·increased·for·every·section·(line | 77 | ····························sections.·It·is·increased·for·every·section·(line |
66 | ····························3)·and·then·the·block·macro·name·is·build·from·this | 78 | ····························3)·and·then·the·block·macro·name·is·build·from·this |
67 | ····························counter.·So·the·first·section·is·stored·in·block | 79 | ····························counter.·So·the·first·section·is·stored·in·block |
68 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ | 80 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ |
69 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these | 81 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these |
Offset 86, 15 lines modified | Offset 98, 21 lines modified | ||
86 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it | 98 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it |
87 | ····························would·be·expanded·when·defining·the·sect-1·macro | 99 | ····························would·be·expanded·when·defining·the·sect-1·macro |
88 | ····························and·when·using·it·later·in·the·template.·Generally | 100 | ····························and·when·using·it·later·in·the·template.·Generally |
89 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use | 101 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use |
90 | ····························expand·in·a·block·around·it. | 102 | ····························expand·in·a·block·around·it. |
91 | ····························To·close·this·example·we·show·how·to·expand·the | 103 | ····························To·close·this·example·we·show·how·to·expand·the |
92 | ····························sect-${sect-ctr}·blocks·in·the·template: | 104 | ····························sect-${sect-ctr}·blocks·in·the·template: |
93 | ···························· 1.· | 105 | ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="header.hti"> |
106 | ···························· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
107 | ···························· 3.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
108 | ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
109 | ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
110 | ···························· 6.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> | ||
111 | ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> | ||
94 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the | 112 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the |
95 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined | 113 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined |
96 | ····························the·body·is·evaluated,·which·expands·the·macro·and | 114 | ····························the·body·is·evaluated,·which·expands·the·macro·and |
97 | ····························increases·sect-ctr.·Afterwards·the·while·condition | 115 | ····························increases·sect-ctr.·Afterwards·the·while·condition |
98 | ····························is·checked·again·to·check·for·sect-2·macro.·This | 116 | ····························is·checked·again·to·check·for·sect-2·macro.·This |
99 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. | 117 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. |
100 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* | 118 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* |
Offset 114, 24 lines modified | Offset 114, 23 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="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> | ||
122 | me1·tagname2·...·><br> | 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="[·...·truncated·by·diffoscope;·len:·155,·SHA:·5d5f247158e6c27b932a67ae83231e2d909fb496ced703a7bda80a28ce3bb202·...·]><br> |
122 | text·block<br> | ||
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> | ||
123 | <br> | 124 | <br> |
124 | 125 | T·(PRECIOUS|NOPRECIOUS)><br> | |
126 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>></span><br> | ||
127 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>></span><br> | ||
128 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>></span><br> | ||
125 | <br> | 129 | <br> |
126 | ·<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">"/bigfont"</span>></span><br> | ||
127 | · ·<span·class="htp-tag"></font></span><br> | ||
128 | ·<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> | ||
130 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
131 | </code></p> | 130 | </code></p> |
132 | <h2>synopsis</h2> | 131 | <h2>synopsis</h2> |
133 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing | 132 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing |
134 | options·inside·the·actual·document·being·processed.··The·options·are | 133 | options·inside·the·actual·document·being·processed.··The·options·are |
135 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not | 134 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not |
136 | preceded·by·a·‘-’·character. | 135 | preceded·by·a·‘-’·character. |
137 | <P> | 136 | <P> |
Offset 1, 20 lines modified | Offset 1, 20 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.O_.U_.T_.P_.U_.T·FILE="outputfilename"·[APPEND] |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[EXPAND]> |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
7 | ·_\x8 | 6 | ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················text·block |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> | ||
8 | ·HTP·Tags | 8 | ·HTP·Tags |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
10 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············T·(PRECIOUS|NOPRECIOUS)> |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_.[_.[_.r_.e_.f_.]_.]_.O_.P_.T·DELIM=(HTML|SQUARE|CURLY)> |
12 | · ···_\x8D_\x8E_\x8F | ||
13 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················<_.[_.[_.r_.e_.f_.]_.]_.O_.P_.T·(XML|XML=FALSE)> |
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | 14 | · ···_\x8I_\x8F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
15 | · ···_\x8I_\x8N_\x8C···················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify | 15 | · ···_\x8I_\x8N_\x8C···················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify |
16 | · ···_\x8I_\x8M_\x8G···················processing·options·inside·the·actual·document·being | 16 | · ···_\x8I_\x8M_\x8G···················processing·options·inside·the·actual·document·being |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············processed.·The·options·are·used·exactly·as·they | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············processed.·The·options·are·used·exactly·as·they |
18 | ·[>]·_\x8O_\x8P_\x8T···················would·be·on·the·command-line,·although·they·are·not | 18 | ·[>]·_\x8O_\x8P_\x8T···················would·be·on·the·command-line,·although·they·are·not |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················preceded·by·a·‘-’·character. | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················preceded·by·a·‘-’·character. |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················Click·here·for·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8n_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················Click·here·for·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8n_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g |
Offset 114, 14 lines modified | Offset 114, 23 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="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 | text·block<br> | ||
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 | <br> | ||
125 | T·(PRECIOUS|NOPRECIOUS)><br> | ||
126 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>></span><br> | ||
127 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>></span><br> | ||
128 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>></span><br> | ||
129 | <br> | ||
121 | </code></p> | 130 | </code></p> |
122 | <h2>synopsis</h2> | 131 | <h2>synopsis</h2> |
123 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary | 132 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary |
124 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the | 133 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the |
125 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> | 134 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> |
126 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you | 135 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you |
127 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text | 136 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text |
Offset 1, 42 lines modified | Offset 1, 52 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND] | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[EXPAND]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················text·block | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> | ||
8 | ·HTP·Tags | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············T·(PRECIOUS|NOPRECIOUS)> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> | ||
12 | · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
4 | · | 14 | · ···_.I_.F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 15 | · ···_.I_.N_.C···················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary |
6 | · | 16 | · ···_.I_.M_.G···················files·besides·the·main·HTML·file.·The·text·between |
7 | ·_. | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············this·tag·and·the·corresponding·</OUTPUT>·tag·is |
8 | · | 18 | · ···_.O_.P_.T···················written·to·output·file. |
9 | · | 19 | ·[>]·_.O_.U_.T_.P_.U_.T················Normally·the·outputfile·is·cleared·before·writing |
10 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················to·it,·but·you·can·use·the·APPEND·attribute·to |
11 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················extend·an·existing·file.·The·text·written·to·the |
12 | · ···_\x8D_.E_.F | 22 | · ···_\x8U_.N_.D_.E_.F·················file·is·normally·not·expanded,·i.e.·all·tags·inside |
13 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················this·block·are·not·executed·but·written·unmodified |
14 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D |
15 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················attribute·to·override·this·behaviour. |
16 | · ···_\x8I_\x8M_\x8G | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | ·[>]·_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
Offset 114, 24 lines modified | Offset 114, 14 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="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> | ||
122 | me1·tagname2·...·><br> | ||
123 | <br> | ||
124 | def><br> | ||
125 | <br> | ||
126 | ·<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">"/bigfont"</span>></span><br> | ||
127 | · ·<span·class="htp-tag"></font></span><br> | ||
128 | ·<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> | ||
130 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
131 | </code></p> | 121 | </code></p> |
132 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
133 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise | 123 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise |
134 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a | 124 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a |
135 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early | 125 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early |
136 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still | 126 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still |
137 | done·inside·a·quote·block. | 127 | done·inside·a·quote·block. |
Offset 1, 47 lines modified | Offset 1, 37 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················me1·tagname2·...·> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················def> | ||
8 | ·HTP·Tags | ||
9 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*.**.**.**.**.*·s.sy.yn.no.op.ps.si.is.s·*.**.**.**.**.* |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················be·interpreted·by·HTP.·It·may·be·useful·in | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to | ||
8 | ·HTP·Tags··················prevent·early·expansion·of·some·contained·blocks. | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············Note·that·'$'·evaluation·is·still·done·inside·a | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················quote·block. |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F |
12 | · ···_\x8D_\x8E_\x8F | 12 | · ···_\x8D_\x8E_\x8F |
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· ·<bigfont>Some·large·text</bigfont> | ||
14 | · ···_\x8I_\x8F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
15 | · ···_\x8I_\x8N_\x8C···················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise | ||
16 | · ···_\x8I_\x8M_\x8G···················be·interpreted·by·HTP.·It·may·be·useful·in | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to | ||
18 | · ···_\x8O_\x8P_\x8T···················prevent·early·expansion·of·some·contained·blocks. | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················Note·that·'$'·evaluation·is·still·done·inside·a | ||
20 | · | 13 | · ···_.F_.I_.L_.E |
14 | · ···_\x8I_\x8F | ||
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8M_\x8G | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T | 21 | · ···_\x8S_\x8E_\x8T |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
Offset 119, 19 lines modified | Offset 119, 14 lines modified | ||
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | </code></p> | 121 | </code></p> |
122 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
123 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded | 123 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded |
124 | anywhere·in·the·HTML·document.··To·create·a·macro: | 124 | anywhere·in·the·HTML·document.··To·create·a·macro: |
125 | ··<p><code> | 125 | ··<p><code> |
126 | ·<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> | ||
127 | · ·<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> | ||
128 | ·<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> | ||
130 | ·<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> | ||
131 | </code></p> | 126 | </code></p> |
132 | <P> | 127 | <P> |
133 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> | 128 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> |
134 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular | 129 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular |
135 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the | 130 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the |
136 | <A·HREF="use.html">'$'</A>·operator. | 131 | <A·HREF="use.html">'$'</A>·operator. |
137 | <P> | 132 | <P> |
Offset 1, 42 lines modified | Offset 1, 36 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················expanded·anywhere·in·the·HTML·document.·To·create·a | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················expanded·anywhere·in·the·HTML·document.·To·create·a |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················macro: | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················macro: |
8 | ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················alt="${alt}">; | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
12 | · ···_\x8D_\x8E_\x8F | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
14 | · | 8 | ·HTP·Tags··················The·macro·"emailaddr"·can·then·be·expanded·later. |
15 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a |
16 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················tag·(i.e.,·into·the·regular·text).·If·the·macro |
17 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············needs·to·be·expanded·inside·a·markup·tag,·use·the |
18 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················_\x8'_\x8$_\x8'·operator. |
19 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················Multiple·macros·can·be·declared·in·a·single·markup |
20 | · ···_\x8 | 14 | · ···_\x8I_.F····················tag,·as·the·second·syntax·line·shows. |
21 | · | 15 | · ···_.I_.N_.C···················SET·should·only·be·used·for·a·single·line's·worth |
22 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················of·text.·Multi-line·macros·can·be·defined·with·the |
23 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the |
24 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················macro·contains·a·quotation·character·and·you·don't |
25 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················want·to·fool·around·with·special·escape·characters. |
26 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················Macros·can·be·redefined·by·using·another·SET |
27 | · | 21 | ·[>]·_.S_.E_.T···················command·with·the·same·macro·name.·The·prior |
28 | · | 22 | · ···_.U_.N_.D_.E_.F·················definition·will·be·destroyed,·however.·Also,·the |
29 | · | 23 | · ···_.U_.N_.S_.E_.T·················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T |
30 | ····························tag. | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················tag. | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | ||
Offset 16, 10 lines modified | Offset 16, 10 lines modified | ||
16 | <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr> | 16 | <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr> |
17 | <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr> | 17 | <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr> |
18 | </table> | 18 | </table> |
19 | ···</td></tr> | 19 | ···</td></tr> |
20 | ··</table> | 20 | ··</table> |
21 | ··<hr> | 21 | ··<hr> |
22 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> | 22 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> |
23 | ··last·updated· | 23 | ··last·updated·Tue·Sep·08,·2026 |
24 | ·</body> | 24 | ·</body> |
25 | </html> | 25 | </html> |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* | 1 | ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* |
2 | Navigation·bar·[Photo] | 2 | Navigation·bar·[Photo] |
3 | _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020 | 3 | _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020 |
4 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243 | 4 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243 |
5 | ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242 | 5 | ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242 |
6 | =============================================================================== | 6 | =============================================================================== |
7 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 7 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
8 | last·updated· | 8 | last·updated·Tue·Sep·08,·2026 |
Offset 5, 9 lines modified | Offset 5, 9 lines modified | ||
5 | <meta·name="Generator"·content="htp·1.19"> | 5 | <meta·name="Generator"·content="htp·1.19"> |
6 | </head> | 6 | </head> |
7 | <body> | 7 | <body> |
8 | This·page·was·produced·by·htp. | 8 | This·page·was·produced·by·htp. |
9 | <hr> | 9 | <hr> |
10 | Copyright·by·Joe·Doe, | 10 | Copyright·by·Joe·Doe, |
11 | <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>, | 11 | <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>, |
12 | last·updated· | 12 | last·updated·Tue·Sep·08,·2026 |
13 | </body> | 13 | </body> |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | This·page·was·produced·by·htp. | 1 | This·page·was·produced·by·htp. |
2 | =============================================================================== | 2 | =============================================================================== |
3 | Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated· | 3 | Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Tue·Sep·08,·2026 |
Offset 13, 10 lines modified | Offset 13, 10 lines modified | ||
13 | <p> | 13 | <p> |
14 | As·you·can·see·the·file·contains·almost·only·the·contents. | 14 | As·you·can·see·the·file·contains·almost·only·the·contents. |
15 | </p> | 15 | </p> |
16 | ···</td></tr> | 16 | ···</td></tr> |
17 | ··</table> | 17 | ··</table> |
18 | ··<hr> | 18 | ··<hr> |
19 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> | 19 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> |
20 | ··last·updated· | 20 | ··last·updated·Tue·Sep·08,·2026 |
21 | ·</body> | 21 | ·</body> |
22 | </html> | 22 | </html> |
Offset 1, 6 lines modified | Offset 1, 6 lines modified | ||
1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8* | 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8* |
2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. | 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. |
3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e | 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e |
4 | =============================================================================== | 4 | =============================================================================== |
5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
6 | last·updated· | 6 | last·updated·Tue·Sep·08,·2026 |
Offset 13, 10 lines modified | Offset 13, 10 lines modified | ||
13 | ·<p> | 13 | ·<p> |
14 | ·As·you·can·see·the·file·contains·almost·only·the·contents. | 14 | ·As·you·can·see·the·file·contains·almost·only·the·contents. |
15 | ·</p> | 15 | ·</p> |
16 | ···</td></tr> | 16 | ···</td></tr> |
17 | ··</table> | 17 | ··</table> |
18 | ··<hr> | 18 | ··<hr> |
19 | ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br> | 19 | ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br> |
20 | ··last·updated· | 20 | ··last·updated·Tue·Sep·08,·2026 |
21 | ·</body> | 21 | ·</body> |
22 | </html> | 22 | </html> |
Offset 1, 6 lines modified | Offset 1, 6 lines modified | ||
1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8* | 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8* |
2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. | 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. |
3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e | 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e |
4 | =============================================================================== | 4 | =============================================================================== |
5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
6 | last·updated· | 6 | last·updated·Tue·Sep·08,·2026 |
Offset 114, 45 lines modified | Offset 114, 51 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="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> | ||
122 | me1·tagname2·...·><br> | ||
123 | <br> | ||
124 | def><br> | ||
125 | <br> | ||
126 | ·<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">"/bigfont"</span>></span><br> | ||
127 | · ·<span·class="htp-tag"></font></span><br> | ||
128 | ·<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> | ||
130 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
131 | if"·alt="Bubble·image"><br> | ||
132 | </code></p> | 121 | </code></p> |
133 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
134 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. | 123 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. |
135 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. | 124 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. |
136 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or | 125 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or |
137 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The | 126 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The |
138 | old·macro·definition·will·be·removed·automatically.) | 127 | old·macro·definition·will·be·removed·automatically.) |
139 | <P> | 128 | <P> |
140 | For·example: | 129 | For·example: |
141 | ··<p><code> | 130 | ··<p><code> |
131 | · ·<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><br> | ||
132 | /my.domain.org/"·path="/var/www/my.domain/"><br> | ||
133 | ·<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> | ||
134 | <br> | ||
135 | ·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> | ||
136 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
137 | ·(no·URL·replacement).<br> | ||
138 | <br> | ||
139 | ·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> | ||
140 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
141 | <br> | ||
142 | ·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> | ||
143 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
144 | ·will·not·be·added.<br> | ||
145 | <br> | ||
146 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
147 | ·<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> | ||
148 | ·<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> | ||
149 | <br> | ||
150 | ·<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> | ||
151 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
152 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
153 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
142 | </code></p> | 154 | </code></p> |
143 | <P> | 155 | <P> |
144 | More·than·one·macro·may·be·removed·in·the·same·tag: | 156 | More·than·one·macro·may·be·removed·in·the·same·tag: |
145 | ··<p><code> | 157 | ··<p><code> |
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·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> | ||
147 | · ·...<br> | ||
148 | · ·<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> | ||
149 | ·<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> | ||
150 | email="jnelson@crl.com"><br> | ||
151 | · ·This·tag·will·fail:·<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">name</span>></span><br> | ||
152 | </code></p> | 158 | </code></p> |
153 | <p> | 159 | <p> |
154 | </td> | 160 | </td> |
155 | </tr> | 161 | </tr> |
156 | <tr> | 162 | <tr> |
157 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 163 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
158 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> | 164 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> |
Offset 1, 37 lines modified | Offset 1, 55 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8NS\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8NS\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················me1·tagname2·...·> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················def> | ||
8 | ·HTP·Tags | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·</font> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
12 | · ···_\x8D_\x8E_\x8F | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· ·<bigfont>Some·large·text</bigfont> | ||
14 | · ···_\x8I_\x8F····················if"·alt="Bubble·image"> | ||
15 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
16 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's |
17 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················definition.·The·macro·is·subsequently·not·available |
18 | · | 7 | ·_.U_.s_.a_.g_.e·····················for·use·in·the·pre-processed·files.·(Note·that |
19 | · | 8 | ·HTP·Tags··················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or |
20 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable. |
21 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················The·old·macro·definition·will·be·removed |
22 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············automatically.) |
23 | · | 12 | · ···_.D_.E_.F···················For·example: |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················More·than·one·macro·may·be·removed·in·the·same·tag: | ||
25 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E·················· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr> |
14 | · ···_\x8I_\x8F····················/my.domain.org/"·path="/var/www/my.domain/"> | ||
15 | · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
16 | · ···_\x8I_\x8M_\x8G···················var/www/other.domain/"> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T··················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·the·local·filename·"logo.gif"·will·be·used·to | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················determine·image·dimensions | ||
21 | · ···_\x8S_\x8E_\x8T··················· ·(no·URL·replacement). | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················my.domain.org/logo.gif"> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················will·be·used. |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_.[_.[_.r_.e_.f_.]_.]_. | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·But·for·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="http:// |
29 | ·_\x8B_\x8u_\x8g_\x8s······················ email="jnelson@crl.com"> | ||
30 | 29 | ·_.B_.u_.g_.s······················other.domain.org/logo.gif"> | |
30 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
31 | ····························so·the·image·dimensions | ||
32 | ···························· ·will·not·be·added. | ||
33 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
34 | ····························precedence: | ||
35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
36 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
37 | ····························test/"> | ||
38 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
39 | ····························src="/test/image.gif"> are·mapped·to | ||
40 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
41 | ····························image.gif,·resp. | ||
42 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
43 | ····························swapped,·the·second | ||
44 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
45 | ····························image.gif. | ||
46 | ····························More·than·one·macro·may·be·removed·in·the·same·tag: | ||
Offset 114, 19 lines modified | Offset 114, 14 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="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="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 | ·<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 | <br> | ||
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 | </code></p> | 121 | </code></p> |
127 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
128 | <strong>USE</strong>·will·expand·macros·that·have·been·previously | 123 | <strong>USE</strong>·will·expand·macros·that·have·been·previously |
129 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A | 124 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A |
130 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other | 125 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other |
131 | markup·tags. | 126 | markup·tags. |
132 | <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will | 127 | <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will |
Offset 154, 20 lines modified | Offset 149, 14 lines modified | ||
154 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or | 149 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or |
155 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. | 150 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. |
156 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or | 151 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or |
157 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it | 152 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it |
158 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further | 153 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further |
159 | processing·the·contents. | 154 | processing·the·contents. |
160 | ··<p><code> | 155 | ··<p><code> |
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> | ||
162 | <font·size="-2"> 2.·</font> · ·...<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> | ||
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> | ||
165 | <font·size="-2"> 5.·</font> email="jnelson@crl.com"><br> | ||
166 | <font·size="-2"> 6.·</font> · ·This·tag·will·fail:·<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">name</span>></span><br> | ||
167 | </code></p> | 156 | </code></p> |
168 | <P> | 157 | <P> |
169 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and | 158 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and |
170 | should·never·cause·confusion·with·surrounding·text.··If·no·curly | 159 | should·never·cause·confusion·with·surrounding·text.··If·no·curly |
171 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation | 160 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation |
172 | character·or·the·maximum·sequence·of·letters,·digits,·"-" | 161 | character·or·the·maximum·sequence·of·letters,·digits,·"-" |
173 | and·"_"·that·follows·it. | 162 | and·"_"·that·follows·it. |
Offset 182, 14 lines modified | Offset 171, 38 lines modified | ||
182 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), | 171 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), |
183 | quotation·marks·are·not·automatically·supplied. | 172 | quotation·marks·are·not·automatically·supplied. |
184 | <P> | 173 | <P> |
185 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can | 174 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can |
186 | be·nested.··This·is·valid: | 175 | be·nested.··This·is·valid: |
187 | ··<p><code> | 176 | ··<p><code> |
188 | · ·<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> | 177 | · ·<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> |
178 | SIZE"><br> | ||
179 | · ·<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> | ||
180 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
181 | · ·<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> | ||
182 | · ·<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> | ||
183 | · ·<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> | ||
184 | · ·<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> | ||
185 | · · · ·<span·class="htp-tag"></FONT></span><br> | ||
186 | · ·<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> | ||
187 | ·<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> | ||
188 | <br> | ||
189 | ·<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> | ||
190 | <br> | ||
191 | ·<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> | ||
192 | <br> | ||
193 | ·This·will·fail:<br> | ||
194 | ·<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> | ||
195 | <br> | ||
196 | ·Instead,·use·*·like·this:<br> | ||
197 | ·<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> | ||
198 | · ·<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> | ||
199 | ·<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> | ||
200 | · ·<br> | ||
201 | ·<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> | ||
189 | </code></p> | 202 | </code></p> |
190 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined | 203 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined |
191 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX | 204 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX |
192 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand | 205 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand |
193 | value1. | 206 | value1. |
194 | <p> | 207 | <p> |
195 | </td> | 208 | </td> |
Offset 1, 53 lines modified | Offset 1, 41 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">; | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
8 | ·HTP·Tags | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
10 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
11 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously |
12 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be |
13 | · | 7 | ·_.U_.s_.a_.g_.e·····················used·outside·of·other·markup·tags. |
14 | · | 8 | ·HTP·Tags··················If·you·USE·a·block·macro·the·value·of·expanded |
15 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············block·macros·will·be·further·parsed·by·htp.·This·is |
16 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················maybe·not·what·you·want,·for·example,·if·the·use·is |
17 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use |
18 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················the·noexpand·attribute·to·prevent·further |
19 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················expansion. |
20 | · ···_\x8 | 14 | · ···_\x8I_.F····················USE·will·accept·additional·parameters,·which·are |
21 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················"local"·macros·for·the·expanded·macro.·This·is·only |
22 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T |
23 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············cannot·have·parameters·passed.·For·example: |
24 | · | 18 | · ···_.O_.P_.T···················(See·below·for·a·description·of·the·'$'·operator.) |
25 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················The·example·on·line·7·works·because·"stuff"·has |
26 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················been·declared·as·a·block·macro,·and·the·tag·is |
27 | · | 21 | · ···_.S_.E_.T···················passing·the·"email"·macro·to·the·"stuff"·macro. |
28 | · | 22 | · ···_.U_.N_.D_.E_.F·················Line·8·fails·because·the·"email"·macro·is |
29 | · | 23 | · ···_.U_.N_.S_.E_.T·················unavailable·once·the·block·macro·is·completely |
30 | ·· | 24 | ·[>]·_.U_.S_.E_.,_.·_.$················expanded,·and·cannot·be·passed·to·a·SET·macro. |
31 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················Note·that·the·"email"·macro·is·available·to·other |
32 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················macros·or·included·files·called·within·the·"stuff" |
33 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················block. |
34 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any |
35 | · | 29 | ·_.B_.u_.g_.s······················other·standard·HTML·or·htp·tag,·the·'$'·operator |
36 | ····························must·be·used.·The·'$'·should·be·immediately | 30 | ····························must·be·used.·The·'$'·should·be·immediately |
37 | ····························followed·by·the·macro·name,·which·may·or·may·not·be | 31 | ····························followed·by·the·macro·name,·which·may·or·may·not·be |
38 | ····························surrounded·by·curly·braces.·When·htp·encounters | 32 | ····························surrounded·by·curly·braces.·When·htp·encounters |
39 | ····························this·it·replaces·the·macro·name·by·the·contents·of | 33 | ····························this·it·replaces·the·macro·name·by·the·contents·of |
40 | ····························the·macro·without·further·processing·the·contents. | 34 | ····························the·macro·without·further·processing·the·contents. |
41 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> | ||
42 | ···························· 2.· · ·... | ||
43 | ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
44 | ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
45 | ···························· 5.· email="jnelson@crl.com"> | ||
46 | ···························· 6.· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
47 | ····························The·use·of·curly·braces·is·encouraged,·since·it·is | 35 | ····························The·use·of·curly·braces·is·encouraged,·since·it·is |
48 | ····························more·robust·and·should·never·cause·confusion·with | 36 | ····························more·robust·and·should·never·cause·confusion·with |
49 | ····························surrounding·text.·If·no·curly·braces·are·used·the | 37 | ····························surrounding·text.·If·no·curly·braces·are·used·the |
50 | ····························macro·name·consists·either·of·a·single·punctuation | 38 | ····························macro·name·consists·either·of·a·single·punctuation |
51 | ····························character·or·the·maximum·sequence·of·letters, | 39 | ····························character·or·the·maximum·sequence·of·letters, |
52 | ····························digits,·"-"·and·"_"·that·follows·it. | 40 | ····························digits,·"-"·and·"_"·that·follows·it. |
53 | ····························If·a·'$'·character·needs·to·be·kept·in·the·final | 41 | ····························If·a·'$'·character·needs·to·be·kept·in·the·final |
Offset 60, 14 lines modified | Offset 48, 41 lines modified | ||
60 | ····························delimiting·the·text·as·if·it·were·additional·markup | 48 | ····························delimiting·the·text·as·if·it·were·additional·markup |
61 | ····························attributes.·If·the·'$'·macro·is·surrounded·by·other | 49 | ····························attributes.·If·the·'$'·macro·is·surrounded·by·other |
62 | ····························text·(as·in·the·two·examples·above),·quotation | 50 | ····························text·(as·in·the·two·examples·above),·quotation |
63 | ····························marks·are·not·automatically·supplied. | 51 | ····························marks·are·not·automatically·supplied. |
64 | ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a | 52 | ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a |
65 | ····························markup·tag·and·can·be·nested.·This·is·valid: | 53 | ····························markup·tag·and·can·be·nested.·This·is·valid: |
66 | ···························· · ·<${tagName}·${attrName}=${value$ctr}> | 54 | ···························· · ·<${tagName}·${attrName}=${value$ctr}> |
55 | ····························SIZE"> | ||
56 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
57 | ···························· · · · ·<FONT·SIZE=${size}> | ||
58 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
59 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
60 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
61 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
62 | ···························· · · · ·</FONT> | ||
63 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
64 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
65 | ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
66 | ····························title"> | ||
67 | ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
68 | ····························title"> | ||
69 | ···························· ·This·will·fail: | ||
70 | ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
71 | ····························TITLE="Another·title"> | ||
72 | ···························· ·Instead,·use·*·like·this: | ||
73 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
74 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
75 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
76 | ···························· · | ||
77 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
67 | ····························The·tagName·macro·can·contain·any·tag·name,·even·a | 78 | ····························The·tagName·macro·can·contain·any·tag·name,·even·a |
68 | ····························self-defined·metatag.·Note·that·$ctr·is·expanded | 79 | ····························self-defined·metatag.·Note·that·$ctr·is·expanded |
69 | ····························before·the·valueX·macro·is·expanded,·so·assuming | 80 | ····························before·the·valueX·macro·is·expanded,·so·assuming |
70 | ····························that·ctr·was·set·to·1·it·will·expand·value1. | 81 | ····························that·ctr·was·set·to·1·it·will·expand·value1. |
Offset 114, 19 lines modified | Offset 114, 14 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="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="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 | ·<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 | <br> | ||
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 | </code></p> | 121 | </code></p> |
127 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
128 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. | 123 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. |
129 | The·basic·form·is·shown·above. | 124 | The·basic·form·is·shown·above. |
130 | <P> | 125 | <P> |
131 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 126 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
132 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. | 127 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. |
Offset 134, 20 lines modified | Offset 129, 14 lines modified | ||
134 | conditional·is·reversed: | 129 | conditional·is·reversed: |
135 | ··<p><code> | 130 | ··<p><code> |
136 | </code></p> | 131 | </code></p> |
137 | <P> | 132 | <P> |
138 | 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 | 133 | 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 |
139 | macro's·existance: | 134 | macro's·existance: |
140 | ··<p><code> | 135 | ··<p><code> |
141 | ·<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> | ||
142 | · ·...<br> | ||
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">i</span>></span><br> | ||
144 | ·<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 | email="jnelson@crl.com"><br> | ||
146 | · ·This·tag·will·fail:·<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">name</span>></span><br> | ||
147 | </code></p> | 136 | </code></p> |
148 | <P> | 137 | <P> |
149 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the | 138 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the |
150 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the | 139 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the |
151 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. | 140 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. |
152 | <P> | 141 | <P> |
153 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. | 142 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. |
Offset 1, 48 lines modified | Offset 1, 36 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">; | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
8 | ·HTP·Tags | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
10 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
11 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated |
12 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················processing.·The·basic·form·is·shown·above. |
13 | · | 7 | ·_.U_.s_.a_.g_.e·····················"Conditional"·is·either·a·"compare"·or·"is·defined" |
14 | · | 8 | ·HTP·Tags··················operation.·A·compare·operator·is·a·test·of·the |
15 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············value·of·a·macro·against·a·literal·string.·If·the |
16 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················NOT·tag·is·present·in·the·WHILE·markup,·the |
17 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············evaluation·of·the·conditional·is·reversed: |
18 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a |
19 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················macro's·existance: |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> | ||
21 | · ···_\x8S_\x8E_\x8T··················· · ·... | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ email="jnelson@crl.com"> | ||
25 | ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
26 | · ···_\x8 | 14 | · ···_\x8I_.F····················If·the·condition·is·true,·the·block·is·evaluated |
27 | · | 15 | · ···_.I_.N_.C···················and·afterwards·the·WHILE·tag·is·evaluated·again.·If |
28 | · | 16 | · ···_.I_.M_.G···················the·'$'-operator·is·used·in·the·WHILE·tag·it·is |
29 | ·_. | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············also·reevaluated·on·each·iteration. |
30 | ···· | 18 | · ···_.O_.P_.T···················A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | ||