Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·2bf7f18872d12180c5ace308e733a9cd·70356·debug·optional·htp-dbgsym_1.19-8_arm64.deb | 1 | ·2bf7f18872d12180c5ace308e733a9cd·70356·debug·optional·htp-dbgsym_1.19-8_arm64.deb |
2 | · | 2 | ·7a33df46fc896e180726fb3227defa3a·117160·web·optional·htp_1.19-8_arm64.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·····36 | 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···113 | 3 | -rw-r--r--···0········0········0···113352·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:·arm64 | 3 | Architecture:·arm64 |
4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> | 4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> |
5 | Installed-Size:·6 | 5 | Installed-Size:·663 |
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 1, 27 lines modified | Offset 1, 27 lines modified | ||
1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./ | 1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./ |
2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/ | 2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/ |
3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/ |
4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····67896·2020-06-14·23:21:19.000000·./usr/bin/htp | 4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····67896·2020-06-14·23:21:19.000000·./usr/bin/htp |
5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/ |
6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/ | 6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/ |
7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/ | 7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/ |
8 | -rw-r--r--···0·root·········(0)·root·········(0)·····9 | 8 | -rw-r--r--···0·root·········(0)·root·········(0)·····9924·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html |
9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp | 9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp |
10 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····8850·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)···· | 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····8972·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)····1 | 17 | -rw-r--r--···0·root·········(0)·root·········(0)····15095·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)···· | 20 | -rw-r--r--···0·root·········(0)·root·········(0)····19918·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)····1 | 39 | -rw-r--r--···0·root·········(0)·root·········(0)····17673·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)····17375·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)···· | 48 | -rw-r--r--···0·root·········(0)·root·········(0)·····9840·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)····12 | 50 | -rw-r--r--···0·root·········(0)·root·········(0)····12159·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)···· | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8781·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)···· | 54 | -rw-r--r--···0·root·········(0)·root·········(0)·····9646·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)····17130·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)·····9540·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)·····8130·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)·····8577·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)····10868·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 102, 23 lines modified | Offset 102, 23 lines modified | ||
102 | -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp | 102 | -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp |
103 | -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html | 103 | -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html |
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)·····80 | 109 | -rw-r--r--···0·root·········(0)·root·········(0)·····8009·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)·····9 | 111 | -rw-r--r--···0·root·········(0)·root·········(0)·····9448·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)····11 | 115 | -rw-r--r--···0·root·········(0)·root·········(0)····11877·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)·····9007·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 114, 39 lines modified | Offset 114, 39 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="co | 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">"imagename"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">tex[·...·truncated·by·diffoscope;·len:·80,·SHA:·0807d6c9d6211886b83c696d79971bcdef3cad0ddd3c91605b0cd1a4777c70e7·...·]></span><br> |
122 | <br> | 122 | <br> |
123 | </code></p> | 123 | </code></p> |
124 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
125 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A | 125 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A |
126 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. | 126 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. |
127 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the | 127 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the |
128 | filename·is·considered·in·all·comparisons. | 128 | filename·is·considered·in·all·comparisons. |
129 | <p> | 129 | <p> |
130 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT | 130 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT |
131 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to | 131 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to |
132 | be·overridden·on·specific·images·and·default·text·on·all·others. | 132 | be·overridden·on·specific·images·and·default·text·on·all·others. |
133 | <p> | 133 | <p> |
134 | For·example: | 134 | For·example: |
135 | ··<p><code> | 135 | ··<p><code> |
136 | ·<span·class="htp-tag"><<a·href=" | 136 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>></span><br> |
137 | · <span·class="htp-tag"><h1></span><span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>></span><span·class="htp-tag"></h1></span><br> | ||
138 | · <span·class="htp-tag"><p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>></span><br> | ||
139 | · · <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
140 | · <span·class="htp-tag"></p></span><br> | ||
141 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
137 | <br> | 142 | <br> |
143 | ·<span·class="htp-tag"><section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>></span><br> | ||
144 | · ·This·is·a·fancy·section.<br> | ||
145 | ·<span·class="htp-tag"></section></span><br> | ||
138 | ·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 | ·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> | ||
140 | <br> | ||
141 | ·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> | ||
142 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
143 | <br> | ||
144 | ·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> | ||
145 | ·remains·unchanged.<br> | ||
146 | </code></p> | 146 | </code></p> |
147 | <p> | 147 | <p> |
148 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT | 148 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT |
149 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not | 149 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not |
150 | changed. | 150 | changed. |
151 | <p> | 151 | <p> |
152 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, | 152 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, |
Offset 1, 38 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:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\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:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\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··············<!---·comment·---> | ||
5 | ·_\x8 | 4 | ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············<_.[_.[_.r_.e_.f_.]_.]_.a_.l_.t_.t_.e_.x_.t·name="imagename"·[·text="imagetext" |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
6 | ·_\x8 | 7 | ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
7 | · | 8 | ·HTP·Tags··················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag |
8 | · | 9 | ·[>]·_.A_.L_.T_.T_.E_.X_.T···············with·a·SRC·matching·the·ALTTEXT·NAME.·Since |
9 | · | 10 | · ···_.B_.L_.O_.C_.K·················relative·paths·can·be·used·to·point·to·the·same |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············image,·only·the·filename·is·considered·in·all |
11 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················comparisons. |
12 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················When·an·IMG·tag·with·a·matching·source·is |
13 | · ···_\x8 | 14 | · ···_\x8I_.F····················encountered,·htp·will·add·an·ALT·attribute·only·if |
14 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C···················one·is·not·already·present.·This·allows·for·ALT |
15 | · ···_\x8I_\x8 | 16 | · ···_\x8I_\x8M_.G···················text·to·be·overridden·on·specific·images·and |
16 | · ···_\x8I_\x8M_\x8G | 17 | · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············default·text·on·all·others. |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············For·example: | ||
18 | · ···_\x8O_\x8P_\x8T··················· | 18 | · ···_\x8O_\x8P_\x8T···················For·example: |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"·option="title"> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · <h1><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·title></h1> | ||
21 | · ···_\x8S_\x8E_\x8T··················· · <p·class="section"> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · · <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> | ||
19 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T················· · </p> |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
20 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<section·title="My·Section"> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·This·is·a·fancy·section. | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·</section> | ||
21 | · ···_\x8S_\x8E_\x8T··················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················src="logo.gif"·alt="Company·logo"> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·will·also·have·an·ALT·attribute·appended·to·it | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················here·for·more·information!"> | ||
30 | ···························· ·remains·unchanged. | ||
31 | · | 29 | ·_.B_.u_.g_.s······················An·ALTTEXT·tag·with·a·name·but·no·text·attribute |
32 | ····························removes·any·ALT·mapping·for·this·image.·Successing | 30 | ····························removes·any·ALT·mapping·for·this·image.·Successing |
33 | ····························IMG·tags·with·a·matching·SRC·name·are·not·changed. | 31 | ····························IMG·tags·with·a·matching·SRC·name·are·not·changed. |
34 | ····························Since·this·is·useful·for·an·image·used·throughout·a | 32 | ····························Since·this·is·useful·for·an·image·used·throughout·a |
35 | ····························set·of·documents,·ALTTEXT·is·most·appropriate·in·an | 33 | ····························set·of·documents,·ALTTEXT·is·most·appropriate·in·an |
36 | ····························_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e. | 34 | ····························_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e. |
37 | ····························In·addition·to·ALTTEXT,·htp·can·also·automatically | 35 | ····························In·addition·to·ALTTEXT,·htp·can·also·automatically |
38 | ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags. | 36 | ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags. |
Offset 114, 24 lines modified | Offset 114, 18 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | 121 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp[·...·truncated·by·diffoscope;·len:·337,·SHA:·d7a67cdc30009747c591fedca1622f8f0f34daa8bb2e231517555532078af1de·...·]</span>></span><br> | |
122 | ·...·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span> ...<br> | ||
123 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
122 | <br> | 124 | <br> |
123 | ·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> | 125 | </code></p> |
132 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
133 | <P> | 127 | <P> |
134 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which | 128 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which |
135 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be | 129 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be |
136 | multi-line·definitions. | 130 | multi-line·definitions. |
137 | </P> | 131 | </P> |
Offset 1, 51 lines modified | Offset 1, 43 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:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\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:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\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_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="tagname"·[option="option1 |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·...·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> ... | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
8 | ·HTP·Tags | ||
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 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
18 | · | 10 | ·[>]·_.B_.L_.O_.C_.K·················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros, |
19 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be |
20 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················multi-line·definitions. |
21 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················Any·text·and·formatting·may·be·set·inside·the |
22 | · ···_\x8 | 14 | · ···_\x8I_.F····················block.·You·can·use·any·htp·or·user·defined·metatag |
23 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be |
24 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················expanded·before·the·block·is·USEd·except·if·you |
25 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter. |
26 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················The·block·macro·is·dereferenced·(expanded)·with·the |
27 | · | 19 | · ···_.O_.U_.T_.P_.U_.T················_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the |
28 | · | 20 | · ···_.Q_.U_.O_.T_.E·················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro. |
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 | 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 |
Offset 128, 24 lines modified | Offset 128, 16 lines modified | ||
128 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it | 128 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it |
129 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block | 129 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block |
130 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and | 130 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and |
131 | </tagname>.··The·contents·of·this·block·are·automatically·stored | 131 | </tagname>.··The·contents·of·this·block·are·automatically·stored |
132 | in·the·block·macro·named·BLOCK. | 132 | in·the·block·macro·named·BLOCK. |
133 | <P>·For·example:</P> | 133 | <P>·For·example:</P> |
134 | ··<p><code> | 134 | ··<p><code> |
135 | 135 | <span·class="comment"><!---·comment·---></span><br> | |
136 | <br> | 136 | <br> |
137 | ·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> | ||
138 | ·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> | ||
139 | <br> | ||
140 | ·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> | ||
141 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
142 | <br> | ||
143 | ·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> | ||
144 | ·remains·unchanged.<br> | ||
145 | </code></p> | 137 | </code></p> |
146 | <p> | 138 | <p> |
147 | All·block·metatags·have·the·implicit·option·<a | 139 | All·block·metatags·have·the·implicit·option·<a |
148 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents | 140 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents |
149 | of·the·block·before·the·definition·is·expanded. | 141 | of·the·block·before·the·definition·is·expanded. |
150 | </p> | 142 | </p> |
151 | <p> | 143 | <p> |
Offset 11, 37 lines modified | Offset 11, 26 lines modified | ||
11 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············way·of·saying·it·creates·new·block·tags.·A·block | 11 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············way·of·saying·it·creates·new·block·tags.·A·block |
12 | · ···_\x8D_\x8E_\x8F···················tag·is·a·tag·that·takes·a·whole·block·as·additional | 12 | · ···_\x8D_\x8E_\x8F···················tag·is·a·tag·that·takes·a·whole·block·as·additional |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················parameter.·This·block·is·surrounded·by·<tagname> | 13 | · ···_\x8F_\x8I_\x8L_\x8E··················parameter.·This·block·is·surrounded·by·<tagname> |
14 | · ···_\x8I_\x8F····················and·</tagname>.·The·contents·of·this·block·are | 14 | · ···_\x8I_\x8F····················and·</tagname>.·The·contents·of·this·block·are |
15 | · ···_\x8I_\x8N_\x8C···················automatically·stored·in·the·block·macro·named | 15 | · ···_\x8I_\x8N_\x8C···················automatically·stored·in·the·block·macro·named |
16 | · ···_\x8I_\x8M_\x8G···················BLOCK. | 16 | · ···_\x8I_\x8M_\x8G···················BLOCK. |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············For·example: | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············For·example: |
18 | · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8a_\x8l_\x8t_\x8t_\x8e_\x8x_\x8t·name="logo.gif"·text="Company | ||
19 | · ···_\x8O_\x8 | 18 | · ···_\x8O_\x8P_.T···················<!---·comment·---> |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D, | ||
21 | · ···_\x8S_\x8E_\x8T···················which·tells·htp·to·expand·the·contents·of·the·block | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················before·the·definition·is·expanded. | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················A·more·thorough·discussion·and·more·elaborate | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. | ||
20 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
21 | · ···_\x8S_\x8E_\x8T··················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················src="logo.gif"·alt="Company·logo"> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·will·also·have·an·ALT·attribute·appended·to·it | ||
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 | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················here·for·more·information!"> | ||
30 | ···························· ·remains·unchanged. | ||
31 | ····························All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D, | ||
32 | ····························which·tells·htp·to·expand·the·contents·of·the·block | ||
33 | ····························before·the·definition·is·expanded. | ||
34 | ····························A·more·thorough·discussion·and·more·elaborate | ||
35 | ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. | ||
Offset 114, 42 lines modified | Offset 114, 24 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | 121 | <span·class="comment"><!---·comment·---></span><br> | |
122 | <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> | 123 | </code></p> |
132 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
133 | <p> | 125 | <p> |
134 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful | 126 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful |
135 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. | 127 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. |
136 | Example: | 128 | Example: |
137 | </p> | 129 | </p> |
138 | ··<p><code> | 130 | ··<p><code> |
139 | <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">"tagname"</span>·<span·class="htp-attrib">[option</span>=<span·class="htp-string">"option1·[option2·...]"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[global]</span>·<span·class="htp-attrib">[expand]</span>></span><br> | ||
140 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
141 | <br> | ||
142 | </code></p> | ||
143 | <p> | ||
144 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you | ||
145 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something | ||
146 | like·this: | ||
147 | </p> | ||
148 | ··<p><code> | ||
149 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>></span><br> | 131 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>></span><br> |
150 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | 132 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> |
151 | · ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | 133 | · ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> |
152 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | 134 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> |
153 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>></span><br> | 135 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>></span><br> |
154 | · ·b·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | 136 | · ·b·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> |
155 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | 137 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> |
Offset 171, 14 lines modified | Offset 153, 30 lines modified | ||
171 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | 153 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> |
172 | · ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | 154 | · ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> |
173 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | 155 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> |
174 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>></span><br> | 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">c</span>></span><br> |
175 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>></span><br> | 157 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>></span><br> |
176 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>></span><br> | 158 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>></span><br> |
177 | </code></p> | 159 | </code></p> |
160 | <p> | ||
161 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you | ||
162 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something | ||
163 | like·this: | ||
164 | </p> | ||
165 | ··<p><code> | ||
166 | ·<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> | ||
167 | · ·<span·class="htp-tag"><font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>></span><br> | ||
168 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
169 | <br> | ||
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">"/bigfont"</span>></span><br> | ||
171 | · ·<span·class="htp-tag"></font></span><br> | ||
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"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
175 | </code></p> | ||
178 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the | 176 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the |
179 | reason·why·you·don't·want·to·include·this·block</p> | 177 | reason·why·you·don't·want·to·include·this·block</p> |
180 | <p> | 178 | <p> |
181 | </td> | 179 | </td> |
182 | </tr> | 180 | </tr> |
183 | <tr> | 181 | <tr> |
184 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 182 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
Offset 1, 67 lines modified | Offset 1, 61 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:·<\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··············<!---·comment·---> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e | ||
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 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
18 | · | 7 | ·_.U_.s_.a_.g_.e·····················This·is·a·simple·comment·that·is·not·included·in |
19 | · | 8 | ·HTP·Tags··················the·output.·This·is·useful·when·commenting |
20 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············metatags,·since·the·metatags·do·not·appear·the |
21 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················output·either.·Example: |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="tagname"·[option="option1 | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················[option2·...]"·]·[global]·[expand]> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-·················Note·that·these·comments·should·not·include·<·or·>, | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················that·is·you·should·not·use·it·to·comment·out·htp | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················code.·For·that·purpose·use·something·like·this: | ||
29 | ·_.B_. | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="0"> |
30 | ···· | 12 | · ···_.D_.E_.F··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> |
31 | ···· | 13 | · ···_.F_.I_.L_.E·················· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. |
32 | ···· | 14 | · ···_.I_.F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> |
33 | ···· | 15 | · ···_.I_.N_.C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand> |
34 | ···· | 16 | · ···_.I_.M_.G··················· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. |
35 | ···· | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> |
36 | ···· | 18 | · ···_.O_.P_.T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1"> |
37 | ···· | 19 | · ···_.O_.U_.T_.P_.U_.T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> |
38 | ···· | 20 | · ···_.Q_.U_.O_.T_.E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b> |
39 | ···· | 21 | · ···_.S_.E_.T··················· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> |
40 | ···· | 22 | · ···_.U_.N_.D_.E_.F················· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand> |
41 | ···· | 23 | · ···_.U_.N_.S_.E_.T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand> |
42 | ···· | 24 | · ···_.U_.S_.E_.,_.·_.$················ · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ |
43 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> |
44 | ·· | 26 | ·[>]·_.<_.!_.-_.-_.-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> |
45 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand> |
46 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t················· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ |
47 | · | 29 | ·_.B_.u_.g_.s······················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> |
48 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | 30 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> |
49 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e> | 31 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e> |
50 | ···························· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | 32 | ···························· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ |
51 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | 33 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> |
52 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | 34 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> |
53 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2"> | 35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2"> |
54 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | 36 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> |
55 | ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e | 37 | ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e |
56 | ····························time>. | 38 | ····························time>. |
57 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | 39 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> |
58 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c> | 40 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c> |
59 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d> | 41 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d> |
60 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e> | 42 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e> |
43 | ····························Note·that·these·comments·should·not·include·<·or·>, | ||
44 | ····························that·is·you·should·not·use·it·to·comment·out·htp | ||
45 | ····························code.·For·that·purpose·use·something·like·this: | ||
46 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="bigfont"> | ||
47 | ···························· · ·<font·size="+4"> | ||
48 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
49 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
50 | ···························· · ·</font> | ||
51 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
52 | ···························· ·<bigfont>Some·large·text</bigfont> | ||
61 | ····························Make·sure·that·the·variable·is·never·defined·and | 53 | ····························Make·sure·that·the·variable·is·never·defined·and |
62 | ····························xyz·should·be·the·reason·why·you·don't·want·to | 54 | ····························xyz·should·be·the·reason·why·you·don't·want·to |
63 | ····························include·this·block | 55 | ····························include·this·block |
Offset 170, 48 lines modified | Offset 170, 26 lines modified | ||
170 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | 170 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to |
171 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | 171 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A |
172 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | 172 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster |
173 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing | 173 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing |
174 | tag·with·a·preceding·slash.·For·example: | 174 | tag·with·a·preceding·slash.·For·example: |
175 | </P> | 175 | </P> |
176 | ··<p><code> | 176 | ··<p><code> |
177 | · ·<span·class="htp-tag"><EM></span>File·"<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>></span>"·last·updated·<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">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">DATE</span>></span><span·class="htp-tag"></EM></span><br> | ||
177 | <span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[GLOBAL]</span>></span><br> | ||
178 | <br> | ||
179 | </code></p> | 178 | </code></p> |
180 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, | 179 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, |
181 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> | 180 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> |
182 | <P> | 181 | <P> |
183 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were | 182 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were |
184 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with | 183 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with |
185 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their | 184 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their |
186 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) | 185 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) |
187 | </P> | 186 | </P> |
188 | ··<p><code> | 187 | ··<p><code> |
188 | · ·<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> | ||
189 | ·<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">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> | ||
190 | ·<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> | ||
191 | <br> | ||
192 | ·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> | ||
193 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
194 | ·(no·URL·replacement).<br> | ||
195 | <br> | ||
196 | ·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> | ||
197 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
198 | <br> | ||
199 | ·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> | ||
200 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
201 | ·will·not·be·added.<br> | ||
202 | <br> | ||
203 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
204 | ·<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> | ||
205 | ·<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> | ||
206 | <br> | ||
207 | ·<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> | ||
208 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
209 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
210 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
211 | </code></p> | 189 | </code></p> |
212 | <P> | 190 | <P> |
213 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is | 191 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is |
214 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are | 192 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are |
215 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the | 193 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the |
216 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a | 194 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a |
217 | parameter·is·required,·simply·expand·it·without·first·checking.··When | 195 | parameter·is·required,·simply·expand·it·without·first·checking.··When |
Offset 54, 60 lines modified | Offset 54, 25 lines modified | ||
54 | ····························Some·metatags·will·require·an·opening·and·closing | 54 | ····························Some·metatags·will·require·an·opening·and·closing |
55 | ····························tag·(comparable·to | 55 | ····························tag·(comparable·to |
56 | ····························and | 56 | ····························and |
57 | ····························).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. | 57 | ····························).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. |
58 | ····························Another·slightly·faster·alternative·is·to·use·two | 58 | ····························Another·slightly·faster·alternative·is·to·use·two |
59 | ····························metatags,·the·opening·tag·and·the·closing·tag·with | 59 | ····························metatags,·the·opening·tag·and·the·closing·tag·with |
60 | ····························a·preceding·slash.·For·example: | 60 | ····························a·preceding·slash.·For·example: |
61 | ···························· · ·<EM>File·"<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME>"·last·updated·<_\x8[ | ||
62 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM> | ||
61 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1" | ||
62 | ····························[macroname2="increment2"·...·]·[GLOBAL]> | ||
63 | ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will | 63 | ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will |
64 | ····························check·for·matching·end·tag.·It·is·not·that·slower. | 64 | ····························check·for·matching·end·tag.·It·is·not·that·slower. |
65 | ····························Options·can·be·passed·to·a·metatag,·which·can·then | 65 | ····························Options·can·be·passed·to·a·metatag,·which·can·then |
66 | ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are | 66 | ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are |
67 | ····························parameterized·with·the·OPTION·attribute.·Multiple | 67 | ····························parameterized·with·the·OPTION·attribute.·Multiple |
68 | ····························options·can·be·listed·by·separating·their·name·with | 68 | ····························options·can·be·listed·by·separating·their·name·with |
69 | ····························a·space·(which·therefore·requires·they·be | 69 | ····························a·space·(which·therefore·requires·they·be |
70 | ····························surrounded·by·quotes.) | 70 | ····························surrounded·by·quotes.) |
71 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
71 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ | ||
72 | ····························"·path="/var/www/my.domain/"> | ||
73 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
74 | ····························var/www/other.domain/"> | ||
75 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
76 | ···························· ·the·local·filename·"logo.gif"·will·be·used·to | ||
77 | ····························determine·image·dimensions | ||
78 | ···························· ·(no·URL·replacement). | ||
79 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
80 | ····························my.domain.org/logo.gif"> | ||
81 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
82 | ····························will·be·used. | ||
83 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
84 | ····························other.domain.org/logo.gif"> | ||
85 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
86 | ····························so·the·image·dimensions | ||
87 | ···························· ·will·not·be·added. | ||
88 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
89 | ····························precedence: | ||
90 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
91 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
92 | ····························test/"> | ||
93 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
94 | ····························src="/test/image.gif"> are·mapped·to | ||
95 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
96 | ····························image.gif,·resp. | ||
97 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
98 | ····························swapped,·the·second | ||
99 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
100 | ····························image.gif. | ||
101 | ····························htp·will·do·very·specific·checking·of·parameters | 72 | ····························htp·will·do·very·specific·checking·of·parameters |
102 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all | 73 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all |
103 | ····························parameter·options·to·the·metatag·are·optional.·This | 74 | ····························parameter·options·to·the·metatag·are·optional.·This |
104 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify | 75 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify |
105 | ····························the·SIZE·option·is·defined·before·expanding·it·in | 76 | ····························the·SIZE·option·is·defined·before·expanding·it·in |
106 | ····························the·block.·If·a·parameter·is·required,·simply | 77 | ····························the·block.·If·a·parameter·is·required,·simply |
107 | ····························expand·it·without·first·checking.·When·htp·expands | 78 | ····························expand·it·without·first·checking.·When·htp·expands |
Offset 98, 27 lines modified | Offset 98, 53 lines modified | ||
98 | <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code> | 98 | <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code> |
99 | modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to | 99 | modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to |
100 | store·something·in·a·block·macro,·that·depends·on·the·current·value·of | 100 | store·something·in·a·block·macro,·that·depends·on·the·current·value·of |
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 | <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">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="htp-attrib">(output</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">|</span>·<span·class="htp-attrib">redirect)</span>·<span·class="htp-attrib">[noerror]</span>></span><br> | ||
106 | <font·size="-2"> | 105 | <font·size="-2"> 1.·</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">time</span>=<span·class="htp-string">"0"</span>></span><br> |
106 | <font·size="-2"> 2.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
107 | <font·size="-2"> 3.·</font> · ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
108 | <font·size="-2"> 4.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
109 | <font·size="-2"> 5.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
110 | <font·size="-2"> 6.·</font> · ·b·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
111 | <font·size="-2"> 7.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
112 | <font·size="-2"> 8.·</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">time</span>=<span·class="htp-string">"1"</span>></span><br> | ||
113 | <font·size="-2"> 9.·</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">a</span>></span><br> | ||
114 | <font·size="-2">10.·</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">b</span>></span><br> | ||
115 | <font·size="-2">11.·</font> ·contents·of·a:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
116 | <font·size="-2">12.·</font> ·contents·of·b:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
117 | <font·size="-2">13.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
118 | <font·size="-2">14.·</font> · ·c·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
119 | <font·size="-2">15.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
120 | <font·size="-2">16.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
121 | <font·size="-2">17.·</font> · ·d·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
122 | <font·size="-2">18.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
123 | <font·size="-2">19.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>></span><br> | ||
124 | <font·size="-2">20.·</font> · ·e·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
125 | <font·size="-2">21.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
126 | <font·size="-2">22.·</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">time</span>=<span·class="htp-string">"2"</span>></span><br> | ||
127 | <font·size="-2">23.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
128 | <font·size="-2">24.·</font> · ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
129 | <font·size="-2">25.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
130 | <font·size="-2">26.·</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">c</span>></span><br> | ||
131 | <font·size="-2">27.·</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">d</span>></span><br> | ||
107 | <font·size="-2"> | 132 | <font·size="-2">28.·</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">e</span>></span><br> |
108 | <font·size="-2"> 4.·</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">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">size[</span>·=<span·class="htp-value"></span>·<span·class="htp-attrib">(byte|kbyte|mbyte|gbyte)</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[precision</span>=<span·class="htp-value">n]</span>></span><br> | ||
109 | <font·size="-2"> 5.·</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">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">time[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>></span><br> | ||
110 | <font·size="-2"> 6.·</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">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">date[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>></span><br> | ||
111 | <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">search</span>=<span·class="htp-string">"searchpath"</span>></span><br> | ||
112 | <font·size="-2"> 8.·</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">template</span>=<span·class="htp-string">"templatefilename"</span>></span><br> | ||
113 | <font·size="-2"> 9.·</font><br> | ||
114 | </code></p> | 133 | </code></p> |
115 | This·produces·the·following: | 134 | This·produces·the·following: |
116 | ··<p><code> | 135 | ··<p><code> |
136 | <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">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="htp-attrib">(output</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">|</span>·<span·class="htp-attrib">redirect)</span>·<span·class="htp-attrib">[noerror]</span>></span><br> | ||
137 | <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">"includefilename"</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>></span><br> | ||
117 | <span·class="htp-tag"><<a·href="i | 138 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>></span><br> |
139 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">size[</span>·=<span·class="htp-value"></span>·<span·class="htp-attrib">(byte|kbyte|mbyte|gbyte)</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[precision</span>=<span·class="htp-value">n]</span>></span><br> | ||
140 | <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">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">time[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>></span><br> | ||
141 | <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">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">date[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>></span><br> | ||
142 | <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">search</span>=<span·class="htp-string">"searchpath"</span>></span><br> | ||
143 | <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">template</span>=<span·class="htp-string">"templatefilename"</span>></span><br> | ||
118 | <br> | 144 | <br> |
119 | </code></p> | 145 | </code></p> |
120 | <P> | 146 | <P> |
121 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a | 147 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a |
122 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded | 148 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded |
123 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it | 149 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it |
124 | is·used,·while·the·contents·of·b·are·already·expanded. | 150 | is·used,·while·the·contents·of·b·are·already·expanded. |
Offset 24, 30 lines modified | Offset 24, 58 lines modified | ||
24 | ····························However,·if·the·block·tag·is·marked·with·the·expand | 24 | ····························However,·if·the·block·tag·is·marked·with·the·expand |
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 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="0"> | ||
32 | ···························· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
33 | ···························· 3.· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
34 | ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
35 | ···························· 5.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand> | ||
36 | ···························· 6.· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
37 | ···························· 7.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
38 | ···························· 8.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1"> | ||
39 | ···························· 9.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
40 | ····························10.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b> | ||
41 | ····························11.· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
42 | ····························12.· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand> | ||
43 | ····························13.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand> | ||
44 | ····························14.· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
45 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
46 | ····························15.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
47 | ····························16.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand> | ||
48 | ····························17.· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
49 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
50 | ····························18.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
51 | ····························19.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e> | ||
52 | ····························20.· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
53 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
54 | ····························21.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
55 | ····························22.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2"> | ||
56 | ····························23.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
57 | ····························24.· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e | ||
58 | ····························time>. | ||
59 | ····························25.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
60 | ····························26.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c> | ||
61 | ····························27.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d> | ||
62 | ····························28.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e> | ||
63 | ····························This·produces·the·following: | ||
31 | ···························· | 64 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·execute="command-line" |
32 | ····························(output="filename"·|·redirect)·[noerror]> | 65 | ····························(output="filename"·|·redirect)·[noerror]> |
33 | ···························· | 66 | ····························<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="includefilename"·[parameters |
34 | ···························· | 67 | ····························...]> |
35 | ···························· | 68 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·name> |
36 | ···························· | 69 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·size[·= |
37 | ····························(byte|kbyte|mbyte|gbyte)·]·[precision=n]> | 70 | ····························(byte|kbyte|mbyte|gbyte)·]·[precision=n]> |
38 | ···························· | 71 | ····························<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·[·name="filename"·]·time[·="format"·]> |
39 | ····························[·="format"·]> | ||
40 | ···························· | 72 | ····························<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·[·name="filename"·]·date[·="format"·]> |
41 | ····························[·="format"·]> | ||
42 | ···························· | 73 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·search="searchpath"> |
43 | ···························· | 74 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·template="templatefilename"> |
44 | ···························· 9. | ||
45 | ····························This·produces·the·following: | ||
46 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="filename"·...> | ||
47 | ····························When·block·a·and·block·b·are·defined·in·lines·2- | 75 | ····························When·block·a·and·block·b·are·defined·in·lines·2- |
48 | ····························7·the·contents·of·a·are·taken·literally,·however, | 76 | ····························7·the·contents·of·a·are·taken·literally,·however, |
49 | ····························the·contents·for·b·are·already·expanded·so·the | 77 | ····························the·contents·for·b·are·already·expanded·so·the |
50 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it | 78 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it |
51 | ····························is·used,·while·the·contents·of·b·are·already | 79 | ····························is·used,·while·the·contents·of·b·are·already |
52 | ····························expanded. | 80 | ····························expanded. |
Offset 114, 14 lines modified | Offset 114, 33 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">"bigfont"</span>></span><br> | ||
122 | · ·<span·class="htp-tag"><font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</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"><<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> | ||
126 | · ·<span·class="htp-tag"></font></span><br> | ||
127 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
128 | <br> | ||
129 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
130 | </code></p> | ||
131 | <h2>synopsis</h2> | ||
132 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. | ||
133 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of | ||
134 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be | ||
135 | added·to·the·output·file·as·well. | ||
136 | <P> | ||
137 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the | ||
138 | following·is·perfectly·acceptable: | ||
139 | ··<p><code> | ||
121 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> | 140 | ·<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">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> |
122 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | 141 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> |
123 | <br> | 142 | <br> |
124 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | 143 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> |
125 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | 144 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> |
126 | ·(no·URL·replacement).<br> | 145 | ·(no·URL·replacement).<br> |
127 | <br> | 146 | <br> |
Offset 137, 45 lines modified | Offset 156, 22 lines modified | ||
137 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | 156 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> |
138 | <br> | 157 | <br> |
139 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | 158 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> |
140 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | 159 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> |
141 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | 160 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> |
142 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | 161 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> |
143 | </code></p> | 162 | </code></p> |
144 | <h2>synopsis</h2> | ||
145 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. | ||
146 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of | ||
147 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be | ||
148 | added·to·the·output·file·as·well. | ||
149 | <P> | ||
150 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the | ||
151 | following·is·perfectly·acceptable: | ||
152 | ··<p><code> | ||
153 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
154 | </code></p> | ||
155 | <P> | 163 | <P> |
156 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> | 164 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> |
157 | <P> | 165 | <P> |
158 | To·include·information·about·another·file,·such·as·an·archive·file·or | 166 | To·include·information·about·another·file,·such·as·an·archive·file·or |
159 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the | 167 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the |
160 | type·of·information·to·be·displayed: | 168 | type·of·information·to·be·displayed: |
161 | ··<p><code> | 169 | ··<p><code> |
170 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>></span><br> | ||
162 | <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">"imghr"</span>></span><br> | ||
163 | · <span·class="htp-tag"><table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>></span><br> | ||
164 | · <span·class="htp-tag"><tr></span><br> | ||
165 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
166 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>></span>&nbsp;<span·class="htp-tag"></td></span><br> | ||
167 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
168 | · <span·class="htp-tag"></tr></span><br> | ||
169 | · <span·class="htp-tag"></table></span><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><br> | ||
171 | <br> | ||
172 | paragraph<br> | ||
173 | <span·class="htp-tag"><imghr></span><br> | ||
174 | paragraph<br> | ||
175 | </code></p> | 171 | </code></p> |
176 | <P> | 172 | <P> |
177 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the | 173 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the |
178 | information·is·displayed.··In·anything·other·than·byte·format,·the·information | 174 | information·is·displayed.··In·anything·other·than·byte·format,·the·information |
179 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number | 175 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number |
180 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional | 176 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional |
181 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no | 177 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no |
Offset 204, 21 lines modified | Offset 200, 16 lines modified | ||
204 | <P> | 200 | <P> |
205 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are | 201 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are |
206 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros | 202 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros |
207 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it | 203 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it |
208 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer | 204 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer |
209 | available.··So: | 205 | available.··So: |
210 | ··<p><code> | 206 | ··<p><code> |
207 | · ·<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">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
211 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>></span><br> | ||
212 | · ·<span·class="htp-tag"><b></span><span·class="htp-tag"><i></span><br> | ||
213 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"> | 208 | · ·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> |
214 | · ·<span·class="htp-tag"></i></span><span·class="htp-tag"></b></span><br> | ||
215 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
216 | <br> | ||
217 | ·This·is·<span·class="htp-tag"><bolditalic></span>bold·and·italic<span·class="htp-tag"></bolditalic></span><br> | ||
218 | </code></p> | 209 | </code></p> |
219 | <P> | 210 | <P> |
220 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included | 211 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included |
221 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the | 212 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the |
222 | second·statement·will·fail.) | 213 | second·statement·will·fail.) |
223 | <P> | 214 | <P> |
224 | <h3><a·name="template">TEMPLATE</a></h3> | 215 | <h3><a·name="template">TEMPLATE</a></h3> |
Offset 1, 77 lines modified | Offset 1, 69 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:·F\x8FI\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:·F\x8FI\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="bigfont"> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<font·size="+4"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
8 | ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·</font> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F | ||
12 | · ···_\x8D_\x8E_\x8F··················· ·<bigfont>Some·large·text</bigfont> | ||
13 | ·[>]·_\x8F_\x8I_\x8L_\x8E··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
14 | · ···_\x8I_\x8F····················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing | ||
15 | · ···_\x8I_\x8N_\x8C···················purpose.·The·output·file's·name,·the·current·date | ||
16 | · ···_\x8I_\x8M_\x8G···················and·time,·and·the·contents·of·another·file·may·be | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············included.·Another·file's·time,·date,·or·size·may·be | ||
18 | · ···_\x8O_\x8P_\x8T···················added·to·the·output·file·as·well. | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················As·with·all·HTML,·these·tags·do·not·have·to·be·on | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················their·own·line,·so·the·following·is·perfectly | ||
21 | · ···_\x8S_\x8E_\x8T···················acceptable: | ||
4 | · | 22 | · ···_.U_.N_.D_.E_.F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ |
5 | · | 23 | · ···_.U_.N_.S_.E_.T·················"·path="/var/www/my.domain/"> |
6 | · | 24 | · ···_.U_.S_.E_.,_.·_.$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ |
7 | · | 25 | · ···_.W_.H_.I_.L_.E·················var/www/other.domain/"> |
8 | · | 26 | · ···_.<_.!_.-_.-_.- |
9 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y··················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> |
10 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t················· ·the·local·filename·"logo.gif"·will·be·used·to |
11 | · | 29 | ·_.B_.u_.g_.s······················determine·image·dimensions |
12 | 30 | ···························· ·(no·URL·replacement). | |
13 | ·[>]·_\x8F_\x8I_\x8L_\x8E | ||
14 | 31 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | |
15 | 32 | ····························my.domain.org/logo.gif"> | |
16 | 33 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············will·be·used. | ||
18 | 34 | ····························will·be·used. | |
19 | 35 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | |
20 | 36 | ····························other.domain.org/logo.gif"> | |
21 | 37 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | |
22 | 38 | ····························so·the·image·dimensions | |
23 | 39 | ···························· ·will·not·be·added. | |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | 40 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | |
26 | 41 | ····························precedence: | |
27 | 42 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | |
28 | 43 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | |
29 | 44 | ····························test/"> | |
30 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | 45 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g |
31 | ····························src="/test/image.gif"> are·mapped·to | 46 | ····························src="/test/image.gif"> are·mapped·to |
32 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | 47 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ |
33 | ····························image.gif,·resp. | 48 | ····························image.gif,·resp. |
34 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | 49 | ···························· ·If·the·order·of·the·imageurl·lines·would·be |
35 | ····························swapped,·the·second | 50 | ····························swapped,·the·second |
36 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | 51 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ |
37 | ····························image.gif. | 52 | ····························image.gif. |
38 | ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
39 | ····························F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing | ||
40 | ····························purpose.·The·output·file's·name,·the·current·date | ||
41 | ····························and·time,·and·the·contents·of·another·file·may·be | ||
42 | ····························included.·Another·file's·time,·date,·or·size·may·be | ||
43 | ····························added·to·the·output·file·as·well. | ||
44 | ····························As·with·all·HTML,·these·tags·do·not·have·to·be·on | ||
45 | ····························their·own·line,·so·the·following·is·perfectly | ||
46 | ····························acceptable: | ||
47 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
48 | ····························*\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* | 53 | ····························*\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* |
49 | ····························To·include·information·about·another·file,·such·as | 54 | ····························To·include·information·about·another·file,·such·as |
50 | ····························an·archive·file·or·graphic·image,·specify·its·name | 55 | ····························an·archive·file·or·graphic·image,·specify·its·name |
51 | ····························with·the·NAME·attribute·followed·by·the·type·of | 56 | ····························with·the·NAME·attribute·followed·by·the·type·of |
52 | ····························information·to·be·displayed: | 57 | ····························information·to·be·displayed: |
53 | ···························· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="imghr"> | ||
54 | ···························· · <table·border="0"·cellspacing="0" | ||
55 | ····························cellpadding="0"> | ||
56 | ···························· · <tr> | ||
57 | ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ | ||
58 | ····························td> | ||
59 | ···························· · ·<td·width="95%" | ||
60 | ····························background="midsep.png"> </td> | ||
61 | ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ | ||
62 | ····························td> | ||
63 | ···························· · </tr> | ||
64 | ···························· · </table> | ||
65 | ···························· <_.[_.[_.r_.e_.f_.]_.]_. | 58 | ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i="1"·j="-1"> |
66 | ···························· paragraph | ||
67 | ···························· <imghr> | ||
68 | ···························· paragraph | ||
69 | ····························For·file·size·information,·the·value·BYTE,·KBYTE, | 59 | ····························For·file·size·information,·the·value·BYTE,·KBYTE, |
70 | ····························etc.·dictates·how·the·information·is·displayed.·In | 60 | ····························etc.·dictates·how·the·information·is·displayed.·In |
71 | ····························anything·other·than·byte·format,·the·information·is | 61 | ····························anything·other·than·byte·format,·the·information·is |
72 | ····························displayed·in·floating-point·notation.·The·amount·of | 62 | ····························displayed·in·floating-point·notation.·The·amount·of |
73 | ····························precision·(the·number·of·digits·to·the·right·of·the | 63 | ····························precision·(the·number·of·digits·to·the·right·of·the |
74 | ····························decimal·point)·can·be·set·with·the·optional | 64 | ····························decimal·point)·can·be·set·with·the·optional |
75 | ····························PRECISION·attribute.·The·default·precision·is·zero | 65 | ····························PRECISION·attribute.·The·default·precision·is·zero |
Offset 102, 21 lines modified | Offset 94, 17 lines modified | ||
102 | ····························Additional·parameters·can·be·set·in·the·FILE | 94 | ····························Additional·parameters·can·be·set·in·the·FILE |
103 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that | 95 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that |
104 | ····························are·"passed"·to·the·included·file.·The·macros·are | 96 | ····························are·"passed"·to·the·included·file.·The·macros·are |
105 | ····························available·only·to·the·include·file·(and·any·macros | 97 | ····························available·only·to·the·include·file·(and·any·macros |
106 | ····························or·included·files·it·holds).·After·the·file·is | 98 | ····························or·included·files·it·holds).·After·the·file·is |
107 | ····························completely·included,·the·macros·are·no·longer | 99 | ····························completely·included,·the·macros·are·no·longer |
108 | ····························available.·So: | 100 | ····························available.·So: |
109 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="bolditalic"> | ||
110 | ···························· · ·< | 101 | ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·INCLUDE="include.hti"·name="Jim |
102 | ····························Nelson"·email="jnelson@crl.com"> | ||
111 | ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_. | 103 | ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name> |
112 | ···························· · ·</i></b> | ||
113 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
114 | ···························· ·This·is·<bolditalic>bold·and·italic</bolditalic> | ||
115 | ····························Macros·named·"name"·and·"email"·are·set,·and | 104 | ····························Macros·named·"name"·and·"email"·are·set,·and |
116 | ····························available·inside·the·included·file.·They·are·not | 105 | ····························available·inside·the·included·file.·They·are·not |
117 | ····························available,·however,·past·the·tag·(which·is·why·the | 106 | ····························available,·however,·past·the·tag·(which·is·why·the |
118 | ····························second·statement·will·fail.) | 107 | ····························second·statement·will·fail.) |
119 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* | 108 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* |
120 | ····························A·template·file·is·nothing·more·than·a·default | 109 | ····························A·template·file·is·nothing·more·than·a·default |
121 | ····························include·file,·one·that·is·included·once·the·input | 110 | ····························include·file,·one·that·is·included·once·the·input |
Offset 114, 71 lines modified | Offset 114, 33 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="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="ebnf">]</span>></span><br> | ||
121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>></span><br> | ||
122 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>></span><br> | ||
123 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
124 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
125 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>></span><br> | ||
126 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>></span><br> | ||
127 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>></span><br> | ||
128 | · · · ·<span·class="htp-tag"></FONT></span><br> | ||
129 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
130 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>></span><br> | ||
131 | <br> | 122 | <br> |
132 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>></span><br> | ||
133 | <br> | ||
134 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>></span><br> | ||
135 | <br> | ||
136 | ·This·will·fail:<br> | ||
137 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>></span><br> | ||
138 | <br> | ||
139 | ·Instead,·use·*·like·this:<br> | ||
140 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>></span><br> | ||
141 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>></span><br> | ||
142 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>></span><br> | ||
143 | · ·<br> | ||
144 | ·<span·class="htp-tag"><MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>></span><br> | ||
145 | <br> | ||
146 | ·will·not·be·added.<br> | ||
147 | <br> | ||
148 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
149 | ·<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> | ||
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">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
151 | <br> | ||
152 | ·<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> | ||
153 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
154 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
155 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
156 | </code></p> | 123 | </code></p> |
157 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
158 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building | 125 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building |
159 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. | 126 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. |
160 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A | 127 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A |
161 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal | 128 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal |
162 | string: | 129 | string: |
163 | ··<p><code> | 130 | ··<p><code> |
164 | · · | 131 | · ·File·image.gif·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</spa[·...·truncated·by·diffoscope;·len:·65,·SHA:·7e1df7e89c65642909c06c454c5f5ac8e9176f84ee88cb57aeb4343d5958991c·...·]<br> |
132 | · ·Last·modified·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>></span><br> | ||
165 | </code></p> | 133 | </code></p> |
166 | <P> | 134 | <P> |
167 | and·a·defined·operator·is·a·test·of·a·macro's·existance: | 135 | and·a·defined·operator·is·a·test·of·a·macro's·existance: |
168 | <P> | 136 | <P> |
169 | ··<p><code> | 137 | ··<p><code> |
138 | · ·<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">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
139 | · ·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> | ||
170 | <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">(IMGXY|NOIMGXY)</span>></span><br> | ||
171 | <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">(QUIET|VERBOSE)</span>></span><br> | ||
172 | <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">(DEPEND|NODEPEND)</span>></span><br> | ||
173 | <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">(PRECIOUS|NOPRECIOUS)</span>></span><br> | ||
174 | <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">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>></span><br> | ||
175 | <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="htp-value">(HTML|SQUARE|CURLY)</span>></span><br> | ||
176 | <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">(XML|XML</span>=<span·class="htp-value">FALSE)</span>></span><br> | ||
177 | <br> | ||
178 | </code></p> | 140 | </code></p> |
179 | <P> | 141 | <P> |
180 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the | 142 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the |
181 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that | 143 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that |
182 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the | 144 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the |
183 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block | 145 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block |
184 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. | 146 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. |
Offset 1, 81 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:·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·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="imageurl"·[·path="path/in/ |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················local/filesystem"·]> |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · · · ·<FONT·SIZE=${size}> | ||
8 | ·HTP·Tags·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
12 | · ···_\x8D_\x8E_\x8F··················· · · · ·</FONT> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
14 | ·[>]·_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············title"> | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················title"> | ||
21 | · ···_\x8S_\x8E_\x8T | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·This·will·fail: | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················TITLE="Another·title"> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·Instead,·use·*·like·this: | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
30 | ···························· · | ||
31 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
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 | · | 7 | ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
47 | 8 | ·HTP·Tags··················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 | |
48 | ···· | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············blocks·for·conditional·processing.·The·basic·form |
49 | ···· | 10 | · ···_.B_.L_.O_.C_.K·················is·shown·above. |
50 | ···· | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············"Conditional"·is·either·a·"compare"·or·"is·defined" |
51 | ···· | 12 | · ···_.D_.E_.F···················operation.·A·compare·operator·is·a·test·of·the |
52 | ···· | 13 | · ···_.F_.I_.L_.E··················value·of·a·macro·against·a·literal·string: |
53 | ···························· · ·<EM>File·"<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME>"·last·updated·<_\x8[ | ||
54 | 14 | ·[>]·_.I_.F···················· · ·File·image.gif·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif" | |
15 | · ···_\x8I_\x8N_\x8C···················SIZE=KBYTE> kilobytes | ||
16 | · ···_\x8I_\x8M_\x8G··················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
55 | ···· | 18 | · ···_.O_.P_.T···················and·a·defined·operator·is·a·test·of·a·macro's |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················existance: | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim | ||
21 | · ···_\x8S_\x8E_\x8T···················Nelson"·email="jnelson@crl.com"> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
56 | ····························existance: | ||
57 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(IMGXY|NOIMGXY)> | ||
58 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(QUIET|VERBOSE)> | ||
59 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)> | ||
60 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(PRECIOUS|NOPRECIOUS)> | ||
61 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)> | ||
62 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> | ||
63 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> | ||
64 | ···· | 23 | · ···_.U_.N_.S_.E_.T·················If·the·NOT·tag·is·present·in·the·IF·markup,·the |
65 | ···· | 24 | · ···_.U_.S_.E_.,_.·_.$················evaluation·of·the·conditional·is·reversed.·The |
66 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················first·IF·or·ELSEIF·condition·that·evaluates·to·true |
67 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················is·chosen.·If·none·of·the·conditions·is·true·the |
68 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················ELSE·block·is·taken·if·it·is·present.·A·conditional |
69 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can |
70 | · | 29 | ·_.B_.u_.g_.s······················be·nested. |
Offset 114, 16 lines modified | Offset 114, 15 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | · ·<span·class="htp-tag"><<a·href="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> | ||
121 | <span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>></span><br> | ||
122 | <br> | ||
123 | </code></p> | 122 | </code></p> |
124 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
125 | <P> | 124 | <P> |
126 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local | 125 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local |
127 | file·system.··declares·an·URL·replacement·that·is·used·for | 126 | file·system.··declares·an·URL·replacement·that·is·used·for |
128 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions | 127 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions |
129 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is | 128 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is |
Offset 1, 38 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:·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]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1" | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
7 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
8 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the |
9 | · | 7 | ·_.U_.s_.a_.g_.e·····················local·file·system.·declares·an·URL·replacement·that |
10 | · | 8 | ·HTP·Tags··················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This |
11 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option |
12 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················is·enabled.·Beacause·htp·can't·lookup·files·in·the |
13 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············world·wide·web·you·have·to·map·absolute·image·URLs |
14 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················to·a·directory·in·the·local·file·system. |
15 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················When·an·IMG·tag·is·encountered·where·htp·has·to |
16 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F····················insert·width·and·height·the·defined·URL |
17 | · | 15 | · ···_.I_.N_.C···················replacements·will·be·taken·into·account·(later |
18 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················definitions·take·precedence·to·earlier):·For·each |
19 | · | 17 | ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············defined·imageurl·it·checks·(case-insensitive)·if·it |
20 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················is·a·prefix·of·the·image's·SRC·attribute.·If·it |
21 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················matches·this·prefix·is·replaced·by·the·given·PATH. |
22 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················If·no·IMAGEURL·matches·the·SRC·is·considered·as |
23 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················relative·link·and·looked·up·in·the·current |
24 | · ···_\x8U_\x8 | 22 | · ···_\x8U_\x8N_.D_.E_.F·················directory. |
25 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················For·example: |
26 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ |
27 | · | 25 | · ···_.W_.H_.I_.L_.E·················"·path="/var/www/my.domain/"> |
28 | · | 26 | · ···_.<_.!_.-_.-_.-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ |
29 | ·_\x8 | 27 | ·_\x8H_.i_.s_.t_.o_.r_.y···················var/www/other.domain/"> |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
30 | · | 29 | ·_.B_.u_.g_.s······················ ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> |
31 | ···························· ·the·local·filename·"logo.gif"·will·be·used·to | 30 | ···························· ·the·local·filename·"logo.gif"·will·be·used·to |
32 | ····························determine·image·dimensions | 31 | ····························determine·image·dimensions |
33 | ···························· ·(no·URL·replacement). | 32 | ···························· ·(no·URL·replacement). |
34 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | 33 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// |
35 | ····························my.domain.org/logo.gif"> | 34 | ····························my.domain.org/logo.gif"> |
36 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | 35 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" |
Offset 114, 27 lines modified | Offset 114, 16 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>></span><br> | ||
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">"imghr"</span>></span><br> | ||
122 | · <span·class="htp-tag"><table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>></span><br> | ||
123 | · <span·class="htp-tag"><tr></span><br> | ||
124 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
125 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>></span>&nbsp;<span·class="htp-tag"></td></span><br> | ||
126 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
127 | · <span·class="htp-tag"></tr></span><br> | ||
128 | · <span·class="htp-tag"></table></span><br> | ||
129 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
130 | <br> | 122 | <br> |
131 | paragraph<br> | ||
132 | <span·class="htp-tag"><imghr></span><br> | ||
133 | paragraph<br> | ||
134 | </code></p> | 123 | </code></p> |
135 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
136 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified | 125 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified |
137 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage | 126 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage |
138 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially | 127 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially |
139 | useful·if·the·image·may·change·frequently.·</P> | 128 | useful·if·the·image·may·change·frequently.·</P> |
140 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup | 129 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup |
Offset 1, 50 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:·I\x8IM\x8MG\x8G·*\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\x8MG\x8G·*\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_.]_.]_.I_.N_.C·macroname1="increment1" |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <table·border="0"·cellspacing="0" | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················cellpadding="0"> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · <tr> | ||
8 | ·HTP·Tags·················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············td> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<td·width="95%" | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············background="midsep.png"> </td> | ||
12 | · ···_\x8D_\x8E_\x8F··················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················td> | ||
14 | · ···_\x8I_\x8F···················· · </tr> | ||
15 | · ···_\x8I_\x8N_\x8C··················· · </table> | ||
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··················· paragraph | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ <imghr> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· paragraph | ||
21 | · | 7 | ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
22 | · | 8 | ·HTP·Tags··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the |
23 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············specified·image's·width·and·height·to·the·tag |
24 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················automatically.·This·has·the·advantage·of·not·having |
25 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············to·determine·each·image's·size·manually,·which·is |
26 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················especially·useful·if·the·image·may·change |
27 | · | 13 | · ···_.F_.I_.L_.E··················frequently. |
28 | · | 14 | · ···_.I_.F····················htp·adds·this·information·with·the·WIDTH·and·HEIGHT |
29 | · | 15 | · ···_.I_.N_.C···················markup·attributes.·If·htp·detects·these·attributes |
30 | ·· | 16 | ·[>]·_.I_.M_.G···················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify |
31 | ···· | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············the·values.·If·htp·cannot·find·the·image·file,·it |
32 | ···· | 18 | · ···_.O_.P_.T···················will·issue·a·warning·but·not·halt·processing. |
33 | ···· | 19 | · ···_.O_.U_.T_.P_.U_.T················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG |
34 | ···· | 20 | · ···_.Q_.U_.O_.T_.E·················(Portable·Network·Graphics),·and·JFIF·(JPEG·File |
35 | ···· | 21 | · ···_.S_.E_.T···················Interchange·Format)·are·supported. |
36 | ···· | 22 | · ···_.U_.N_.D_.E_.F·················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or |
37 | ···· | 23 | · ···_.U_.N_.S_.E_.T·················not·htp·actually·adds·this·information·as·it |
38 | ···· | 24 | · ···_.U_.S_.E_.,_.·_.$················executes. |
39 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················Since·htp·is·able·to·lookup·files·only·in·the·local |
40 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map |
41 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················URLs·to·local·files. |
42 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················htp·can·also·add·default·ALT·text·to·IMG·tags·using |
43 | · | 29 | ·_.B_.u_.g_.s······················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T. |
Offset 114, 52 lines modified | Offset 114, 32 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>></span><br> | ||
122 | <br> | 121 | · ·File·image.gif·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-att[·...·truncated·by·diffoscope;·len:·79,·SHA:·e4ed6b1f235253074ec5d21b19ddd13b675ed539d7cc3e36566b2b24ac034363·...·]<br> |
122 | · ·Last·modified·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>></span><br> | ||
123 | </code></p> | 123 | </code></p> |
124 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
125 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a | 125 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a |
126 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. | 126 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. |
127 | <P> | 127 | <P> |
128 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a | 128 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a |
129 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The | 129 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The |
130 | macroname·must·be·the·name·of·a·defined·macro·that·contains·an | 130 | macroname·must·be·the·name·of·a·defined·macro·that·contains·an |
131 | integer.··If·the·increment·is·ommitted·it·defaults·to·1. | 131 | integer.··If·the·increment·is·ommitted·it·defaults·to·1. |
132 | The·effect·of·this·operation·is·that·the·macro·is·redefined | 132 | The·effect·of·this·operation·is·that·the·macro·is·redefined |
133 | to·contain·the·sum·of·its·previous·value·and·its·increment. | 133 | to·contain·the·sum·of·its·previous·value·and·its·increment. |
134 | <P> | 134 | <P> |
135 | To·increment·or·decrement·a·variable·you·can·use·this·form: | 135 | To·increment·or·decrement·a·variable·you·can·use·this·form: |
136 | ··<p><code> | 136 | ··<p><code> |
137 | · ·<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">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
138 | · ·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> | ||
137 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> | ||
138 | ·<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> | ||
139 | <br> | ||
140 | ·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> | ||
141 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
142 | ·(no·URL·replacement).<br> | ||
143 | <br> | ||
144 | ·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> | ||
145 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
146 | <br> | ||
147 | ·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> | ||
148 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
149 | ·will·not·be·added.<br> | ||
150 | <br> | ||
151 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
152 | ·<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> | ||
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">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
154 | <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-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> | ||
156 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
157 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
158 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
159 | </code></p> | 139 | </code></p> |
160 | <p> | 140 | <p> |
161 | Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It | 141 | Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It |
162 | may·give·weired·results·when·used·on·arbitrary·strings.··The·integer | 142 | may·give·weired·results·when·used·on·arbitrary·strings.··The·integer |
163 | values·are·limited·to·the·range·-2^31..2^31. | 143 | values·are·limited·to·the·range·-2^31..2^31. |
164 | <P> | 144 | <P> |
165 | Note·further·that·htp·wasn't·designed·to·do·extensive·calculations. | 145 | Note·further·that·htp·wasn't·designed·to·do·extensive·calculations. |
Offset 1, 67 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:·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··············<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·File·image.gif·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif" |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]> | ||
6 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e···················SIZE=KBYTE> kilobytes |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
7 | · | 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
8 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a |
9 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················variable·or·for·variable·addition.·The·basic·form |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············is·shown·above. |
11 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················The·"increment"·is·anything·that·evaluates·to·a |
12 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················integer.·It·can·be·a·literal·string·or·a·macro |
13 | · ···_\x8 | 14 | · ···_\x8I_.F····················preceeded·by·the·'$'-operator.·The·macroname·must |
14 | · | 15 | ·[>]·_.I_.N_.C···················be·the·name·of·a·defined·macro·that·contains·an |
15 | · | 16 | · ···_.I_.M_.G···················integer.·If·the·increment·is·ommitted·it·defaults |
16 | · ···_\x8I_\x8M_\x8G | 17 | · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············to·1.·The·effect·of·this·operation·is·that·the |
17 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················macro·is·redefined·to·contain·the·sum·of·its |
18 | · ···_\x8O_\x8P_. | 19 | · ···_\x8O_\x8U_.T_.P_.U_.T················previous·value·and·its·increment. |
19 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················To·increment·or·decrement·a·variable·you·can·use |
20 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················this·form: |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················Nelson"·email="jnelson@crl.com"> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
21 | · ···_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················"·path="/var/www/my.domain/"> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················var/www/other.domain/"> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·the·local·filename·"logo.gif"·will·be·used·to | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················determine·image·dimensions | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·(no·URL·replacement). | ||
30 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
31 | ····························my.domain.org/logo.gif"> | ||
32 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
33 | ····························will·be·used. | ||
34 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
35 | ····························other.domain.org/logo.gif"> | ||
36 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
37 | ····························so·the·image·dimensions | ||
38 | ···························· ·will·not·be·added. | ||
39 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
40 | ····························precedence: | ||
41 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
42 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
43 | ····························test/"> | ||
44 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
45 | ····························src="/test/image.gif"> are·mapped·to | ||
46 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
47 | ····························image.gif,·resp. | ||
48 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
49 | ····························swapped,·the·second | ||
50 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
51 | ····························image.gif. | ||
52 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················Note·that·INC·doesn't·check·if·the·strings·really |
53 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················denote·integers.·It·may·give·weired·results·when |
54 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················used·on·arbitrary·strings.·The·integer·values·are |
55 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················limited·to·the·range·-2^31..2^31. |
56 | · | 29 | ·_.B_.u_.g_.s······················Note·further·that·htp·wasn't·designed·to·do |
57 | ····························extensive·calculations.·The·INC·tag·is·useful·in | 30 | ····························extensive·calculations.·The·INC·tag·is·useful·in |
58 | ····························conjunction·with·WHILE·to·iterate·over·the·defined | 31 | ····························conjunction·with·WHILE·to·iterate·over·the·defined |
59 | ····························blocks. | 32 | ····························blocks. |
Offset 88, 22 lines modified | Offset 88, 27 lines modified | ||
88 | <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and | 88 | <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and |
89 | undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P> | 89 | undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P> |
90 | <P> | 90 | <P> |
91 | As·an·example·we·show·how·to·define·a·tag·that·builds·a | 91 | As·an·example·we·show·how·to·define·a·tag·that·builds·a |
92 | fancy·horizontal·rule·out·of·several·images. | 92 | fancy·horizontal·rule·out·of·several·images. |
93 | </P> | 93 | </P> |
94 | ··<p><code> | 94 | ··<p><code> |
95 | <font·size="-2"> 1.·</font> <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>></span><br> | ||
96 | <font·size="-2"> 2.·</font> · <span·class="htp-tag"><table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>></span><br> | ||
97 | <font·size="-2"> 3.·</font> · <span·class="htp-tag"><tr></span><br> | ||
98 | <font·size="-2"> 4.·</font> · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
99 | <font·size="-2"> 5.·</font> · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>></span>&nbsp;<span·class="htp-tag"></td></span><br> | ||
100 | <font·size="-2"> 6.·</font> · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
101 | <font·size="-2"> 7.·</font> · <span·class="htp-tag"></tr></span><br> | ||
102 | <font·size="-2"> 8.·</font> · <span·class="htp-tag"></table></span><br> | ||
95 | <font·size="-2"> | 103 | <font·size="-2"> 9.·</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> |
96 | <font·size="-2"> 2.·</font><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">(QUIET|VERBOSE)</span>></span><br> | ||
97 | <font·size="-2"> 3.·</font><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">(DEPEND|NODEPEND)</span>></span><br> | ||
98 | <font·size="-2"> 4.·</font><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">(PRECIOUS|NOPRECIOUS)</span>></span><br> | ||
99 | <font·size="-2"> 5.·</font><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">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>></span><br> | ||
100 | <font·size="-2"> 6.·</font><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="htp-value">(HTML|SQUARE|CURLY)</span>></span><br> | ||
101 | <font·size="-2"> 7.·</font><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">(XML|XML</span>=<span·class="htp-value">FALSE)</span>></span><br> | ||
102 | <font·size="-2"> | 104 | <font·size="-2">10.·</font><br> |
105 | <font·size="-2">11.·</font> paragraph<br> | ||
106 | <font·size="-2">12.·</font> <span·class="htp-tag"><imghr></span><br> | ||
107 | <font·size="-2">13.·</font> paragraph<br> | ||
103 | </code></p> | 108 | </code></p> |
104 | <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined. | 109 | <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined. |
105 | The·html·code·which·implements·this·rule·is·following·in·lines·2-8. | 110 | The·html·code·which·implements·this·rule·is·following·in·lines·2-8. |
106 | between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and | 111 | between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and |
107 | <code>/def</code></a>·tags.··You·don't·have·to·understand·this | 112 | <code>/def</code></a>·tags.··You·don't·have·to·understand·this |
108 | html·code,·but·you·should·understand·that·this·is·just·pure·html·to | 113 | html·code,·but·you·should·understand·that·this·is·just·pure·html·to |
109 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> | 114 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> |
Offset 113, 32 lines modified | Offset 118, 24 lines modified | ||
113 | file</a>.··</p> | 118 | file</a>.··</p> |
114 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing | 119 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing |
115 | 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 | 120 | 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 |
116 | encounters·a·blockdef·tag·it·will·automatically·search·for·the | 121 | encounters·a·blockdef·tag·it·will·automatically·search·for·the |
117 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block | 122 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block |
118 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> | 123 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> |
119 | ··<p><code> | 124 | ··<p><code> |
125 | <font·size="-2"> 1.·</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">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[GLOBAL]</span>></span><br> | ||
120 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>></span><br> | ||
121 | <font·size="-2"> 2.·</font> · ·<span·class="htp-tag"><b></span><span·class="htp-tag"><i></span><br> | ||
122 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
123 | <font·size="-2"> 4.·</font> · ·<span·class="htp-tag"></i></span><span·class="htp-tag"></b></span><br> | ||
124 | <font·size="-2"> 5.·</font> ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
125 | <font·size="-2"> | 126 | <font·size="-2"> 2.·</font><br> |
126 | <font·size="-2"> 7.·</font> ·This·is·<span·class="htp-tag"><bolditalic></span>bold·and·italic<span·class="htp-tag"></bolditalic></span><br> | ||
127 | </code></p> | 127 | </code></p> |
128 | <h2>Using·parameters</h2> | 128 | <h2>Using·parameters</h2> |
129 | <p>·More·sophisticated·tags·accept·parameters.··The | 129 | <p>·More·sophisticated·tags·accept·parameters.··The |
130 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be | 130 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be |
131 | named·and·expanded·inside·the·<code>def</code>·or | 131 | named·and·expanded·inside·the·<code>def</code>·or |
132 | <code>blockdef</code>·block:·</p> | 132 | <code>blockdef</code>·block:·</p> |
133 | ··<p><code> | 133 | ··<p><code> |
134 | <font·size="-2"> 1.·</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">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
134 | <font·size="-2"> 1.·</font><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="htp-attrib">[APPEND]</span>·<span·class="htp-attrib">[EXPAND]</span>></span><br> | ||
135 | <font·size="-2"> 2.·</font>text·block<br> | ||
136 | <font·size="-2"> 3.·</font><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> | ||
137 | <font·size="-2"> 4.·</font><br> | ||
138 | </code></p> | 135 | </code></p> |
139 | <h2>Saving·blocks·for·later</h2> | 136 | <h2>Saving·blocks·for·later</h2> |
140 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by | 137 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by |
141 | the·template·file.··The·normal·htp·files·should·just·define·macros | 138 | the·template·file.··The·normal·htp·files·should·just·define·macros |
142 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block | 139 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block |
143 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this | 140 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this |
144 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to | 141 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to |
Offset 173, 16 lines modified | Offset 170, 21 lines modified | ||
173 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be | 170 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be |
174 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the | 171 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the |
175 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you | 172 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you |
176 | use·expand·in·a·block·around·it.</p> | 173 | use·expand·in·a·block·around·it.</p> |
177 | <p>To·close·this·example·we·show·how·to·expand·the | 174 | <p>To·close·this·example·we·show·how·to·expand·the |
178 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> | 175 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> |
179 | ··<p><code> | 176 | ··<p><code> |
180 | <font·size="-2"> 1.·</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">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[GLOBAL]</span>></span><br> | ||
181 | <font·size="-2"> | 177 | <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> |
178 | <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> | ||
179 | <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> | ||
180 | <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> | ||
181 | <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> | ||
182 | <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> | ||
183 | <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> | ||
182 | </code></p> | 184 | </code></p> |
183 | <p> | 185 | <p> |
184 | 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 | 186 | 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 |
185 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is | 187 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is |
186 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards | 188 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards |
187 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This | 189 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This |
188 | repeats·until·sect-${sect-ctr}·is·not·defined. | 190 | repeats·until·sect-${sect-ctr}·is·not·defined. |
Offset 9, 22 lines modified | Offset 9, 31 lines modified | ||
9 | · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality. | 9 | · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality. |
10 | · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[ | 10 | · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[ |
11 | ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[ | 11 | ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[ |
12 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag. | 12 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag. |
13 | ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that | 13 | ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that |
14 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several | 14 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several |
15 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images. | 15 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images. |
16 | ·_\x8B_\x8u_\x8g_\x8s······················ 1.·<_.[_.[_.r_.e_.f_.]_.]_. | 16 | ·_\x8B_\x8u_\x8g_\x8s······················ 1.· <_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="imghr"> |
17 | ···························· 2.· · <table·border="0"·cellspacing="0" | ||
18 | ····························cellpadding="0"> | ||
19 | ···························· 3.· · <tr> | ||
20 | ···························· 4.· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
21 | ····························src="leftsep.png"></td> | ||
22 | ···························· 5.· · ·<td·width="95%" | ||
23 | ····························background="midsep.png"> </td> | ||
24 | ···························· 6.· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
25 | ····························src="rightsep.png"></td> | ||
26 | ···························· 7.· · </tr> | ||
27 | ···························· 8.· · </table> | ||
17 | ···························· | 28 | ···························· 9.· <_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
18 | ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)> | ||
19 | ···························· 4.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(PRECIOUS|NOPRECIOUS)> | ||
20 | ···························· 5.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)> | ||
21 | ···························· 6.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> | ||
22 | ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> | ||
23 | ···························· | 29 | ····························10. |
30 | ····························11.· paragraph | ||
31 | ····························12.· <imghr> | ||
32 | ····························13.· paragraph | ||
24 | ····························In·line·1·of·the·above·example·a·new·tag·named | 33 | ····························In·line·1·of·the·above·example·a·new·tag·named |
25 | ····························imghr·is·defined.·The·html·code·which·implements | 34 | ····························imghr·is·defined.·The·html·code·which·implements |
26 | ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[ | 35 | ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[ |
27 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to | 36 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to |
28 | ····························understand·this·html·code,·but·you·should | 37 | ····························understand·this·html·code,·but·you·should |
29 | ····························understand·that·this·is·just·pure·html·to·draw·the | 38 | ····························understand·that·this·is·just·pure·html·to·draw·the |
30 | ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line | 39 | ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line |
Offset 35, 32 lines modified | Offset 44, 23 lines modified | ||
35 | ····························Often·you·want·to·define·tags·that·have·an·opening | 44 | ····························Often·you·want·to·define·tags·that·have·an·opening |
36 | ····························and·a·closing·variant.·For·this·purpose·you·should | 45 | ····························and·a·closing·variant.·For·this·purpose·you·should |
37 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a | 46 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a |
38 | ····························blockdef·tag·it·will·automatically·search·for·the | 47 | ····························blockdef·tag·it·will·automatically·search·for·the |
39 | ····························matching·closing·tag·and·put·everything·between | 48 | ····························matching·closing·tag·and·put·everything·between |
40 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an | 49 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an |
41 | ····························example·for·this. | 50 | ····························example·for·this. |
42 | ···························· 1.· | 51 | ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·macroname1="macrovalue1" |
52 | ····························[macroname2="macrovalue2"·...]·[GLOBAL]> | ||
43 | ···························· 2.· · ·<b><i> | ||
44 | ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> | ||
45 | ···························· 4.· · ·</i></b> | ||
46 | ···························· 5.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
47 | ···························· | 53 | ···························· 2. |
48 | ···························· 7.· ·This·is·<bolditalic>bold·and·italic</ | ||
49 | ····························bolditalic> | ||
50 | ····························*\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* | 54 | ····························*\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* |
51 | ····························More·sophisticated·tags·accept·parameters.·The | 55 | ····························More·sophisticated·tags·accept·parameters.·The |
52 | ····························option·parameter·lets·multiple·metatag·parameters | 56 | ····························option·parameter·lets·multiple·metatag·parameters |
53 | ····························be·named·and·expanded·inside·the·def·or·blockdef | 57 | ····························be·named·and·expanded·inside·the·def·or·blockdef |
54 | ····························block: | 58 | ····························block: |
59 | ···························· 1.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_\x8E_\x8T·emailaddr="jnelson@crl.com"> | ||
55 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND] | ||
56 | ····························[EXPAND]> | ||
57 | ···························· 2.·text·block | ||
58 | ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> | ||
59 | ···························· 4. | ||
60 | ····························*\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* | 60 | ····························*\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* |
61 | ····························When·you·are·using·templates,·the·html·should·only | 61 | ····························When·you·are·using·templates,·the·html·should·only |
62 | ····························be·written·by·the·template·file.·The·normal·htp | 62 | ····························be·written·by·the·template·file.·The·normal·htp |
63 | ····························files·should·just·define·macros·that·are·used·later | 63 | ····························files·should·just·define·macros·that·are·used·later |
64 | ····························in·the·template.·So·you·may·want·to·write·block | 64 | ····························in·the·template.·So·you·may·want·to·write·block |
65 | ····························tags·that·just·save·the·block·in·a·macro·for·later | 65 | ····························tags·that·just·save·the·block·in·a·macro·for·later |
66 | ····························use.·Although·this·is·possible·with·htp·it·is·quite | 66 | ····························use.·Although·this·is·possible·with·htp·it·is·quite |
Offset 99, 17 lines modified | Offset 99, 21 lines modified | ||
99 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it | 99 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it |
100 | ····························would·be·expanded·when·defining·the·sect-1·macro | 100 | ····························would·be·expanded·when·defining·the·sect-1·macro |
101 | ····························and·when·using·it·later·in·the·template.·Generally | 101 | ····························and·when·using·it·later·in·the·template.·Generally |
102 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use | 102 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use |
103 | ····························expand·in·a·block·around·it. | 103 | ····························expand·in·a·block·around·it. |
104 | ····························To·close·this·example·we·show·how·to·expand·the | 104 | ····························To·close·this·example·we·show·how·to·expand·the |
105 | ····························sect-${sect-ctr}·blocks·in·the·template: | 105 | ····························sect-${sect-ctr}·blocks·in·the·template: |
106 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> | ||
106 | ···························· | 107 | ···························· 2.· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="1"> |
107 | ····························[macroname2="macrovalue2"·...]·[GLOBAL]> | ||
108 | ···························· | 108 | ···························· 3.· ·<_.[_.[_.r_.e_.f_.]_.]_.w_.h_.i_.l_.e·sect-${sect-ctr}> |
109 | ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
110 | ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
111 | ···························· 6.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> | ||
112 | ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> | ||
109 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the | 113 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the |
110 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined | 114 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined |
111 | ····························the·body·is·evaluated,·which·expands·the·macro·and | 115 | ····························the·body·is·evaluated,·which·expands·the·macro·and |
112 | ····························increases·sect-ctr.·Afterwards·the·while·condition | 116 | ····························increases·sect-ctr.·Afterwards·the·while·condition |
113 | ····························is·checked·again·to·check·for·sect-2·macro.·This | 117 | ····························is·checked·again·to·check·for·sect-2·macro.·This |
114 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. | 118 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. |
115 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* | 119 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* |
Offset 114, 19 lines modified | Offset 114, 27 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | | 121 | <span·class="htp-tag"><<a·href="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">"imghr"</span>></span><br> |
122 | · | 122 | · <span·class="htp-tag"><table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">[·...·truncated·by·diffoscope;·len:·21,·SHA:·929f44f9c1c1cb2f950b815731944e1903ccb629bc7441d9da2156572ecf0f3b·...·]<br> |
123 | · <span·class="htp-tag"><tr></span><br> | ||
124 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
125 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>></span>&nbsp;<span·class="htp-tag"></td></span><br> | ||
126 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
127 | · <span·class="htp-tag"></tr></span><br> | ||
128 | · <span·class="htp-tag"></table></span><br> | ||
123 | | 129 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> |
124 | <br> | 130 | <br> |
125 | | 131 | paragraph<br> |
132 | <span·class="htp-tag"><imghr></span><br> | ||
133 | paragraph<br> | ||
126 | </code></p> | 134 | </code></p> |
127 | <h2>synopsis</h2> | 135 | <h2>synopsis</h2> |
128 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing | 136 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing |
129 | options·inside·the·actual·document·being·processed.··The·options·are | 137 | options·inside·the·actual·document·being·processed.··The·options·are |
130 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not | 138 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not |
131 | preceded·by·a·‘-’·character. | 139 | preceded·by·a·‘-’·character. |
132 | <P> | 140 | <P> |
Offset 1, 43 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:·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_.]_.]_.d_.e_.f·name="imghr"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <table·border="0"·cellspacing="0" |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················cellpadding="0"> |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · <tr> | ||
8 | ·HTP·Tags·················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············td> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<td·width="95%" | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············background="midsep.png"> </td> | ||
12 | · ···_\x8D_\x8E_\x8F··················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················td> | ||
14 | · ···_\x8I_\x8F···················· · </tr> | ||
15 | · ···_\x8I_\x8N_\x8C··················· · </table> | ||
7 | · | 16 | · ···_.I_.M_.G··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> |
8 | ·HTP·Tags | ||
9 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L |
18 | ·[>]·_\x8O_\x8P_\x8T··················· paragraph | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ <imghr> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· paragraph | ||
10 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
11 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify |
12 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················processing·options·inside·the·actual·document·being |
13 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················processed.·The·options·are·used·exactly·as·they |
14 | · ···_\x8I_. | 25 | · ···_\x8W_.H_.I_.L_.E·················would·be·on·the·command-line,·although·they·are·not |
15 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················preceded·by·a·‘-’·character. |
16 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················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 |
17 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p. |
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- | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
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 |
Offset 114, 21 lines modified | Offset 114, 16 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>></span><br> | ||
122 | <br> | ||
121 | ·<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">"0"</span>></span><br> | ||
122 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>></span><br> | ||
123 | · ·<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> | ||
124 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>></span><br> | ||
125 | · · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
126 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
127 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
128 | </code></p> | 123 | </code></p> |
129 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
130 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary | 125 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary |
131 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the | 126 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the |
132 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> | 127 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> |
133 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you | 128 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you |
134 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text | 129 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text |
Offset 1, 49 lines modified | Offset 1, 43 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·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.Q_.U_.O_.T_.E·TAG·[ATTRIBUTE=VALUE·...]> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
8 | ·HTP·Tags··················global> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
12 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
13 | · | 7 | ·_.U_.s_.a_.g_.e·····················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary |
14 | · | 8 | ·HTP·Tags··················files·besides·the·main·HTML·file.·The·text·between |
15 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············this·tag·and·the·corresponding·</OUTPUT>·tag·is |
16 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················written·to·output·file. |
17 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············Normally·the·outputfile·is·cleared·before·writing |
18 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················to·it,·but·you·can·use·the·APPEND·attribute·to |
19 | · | 13 | · ···_.F_.I_.L_.E··················extend·an·existing·file.·The·text·written·to·the |
20 | · ···_\x8 | 14 | · ···_\x8I_.F····················file·is·normally·not·expanded,·i.e.·all·tags·inside |
21 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················this·block·are·not·executed·but·written·unmodified |
22 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D |
23 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············attribute·to·override·this·behaviour. |
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$ | 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 |
Offset 114, 23 lines modified | Offset 114, 19 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>></span><br> | ||
122 | ·<span·class="htp-tag"><a·<span·class="htp-attrib"> | 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"</s[·...·truncated·by·diffoscope;·len:·4,·SHA:·d675c6da214055d0529f260de903690d96095a135bd970eff8be3151d94861de·...·]></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=" | 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> | 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> | ||
125 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span><br> | ||
126 | <br> | ||
127 | This·works:· · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
128 | But·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>></span><br> | ||
129 | And·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
130 | </code></p> | 126 | </code></p> |
131 | <h2>synopsis</h2> | 127 | <h2>synopsis</h2> |
132 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise | 128 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise |
133 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a | 129 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a |
134 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early | 130 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early |
135 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still | 131 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still |
136 | done·inside·a·quote·block. | 132 | done·inside·a·quote·block. |
Offset 1, 28 lines modified | Offset 1, 28 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··············<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·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}">; | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<a·href=$email>send·email</a> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
8 | ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T | ||
10 | · | 7 | ·_.U_.s_.a_.g_.e····················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
8 | ·HTP·Tags | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············email="jnelson@crl.com"> | ||
12 | · ···_\x8D_\x8E_\x8F···················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff | ||
14 | · ···_\x8I_\x8F····················email="jnelson@crl.com"> | ||
15 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
16 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise |
17 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················be·interpreted·by·HTP.·It·may·be·useful·in |
18 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to |
19 | · ···_\x8 | 14 | · ···_\x8I_.F····················prevent·early·expansion·of·some·contained·blocks. |
20 | · | 15 | · ···_.I_.N_.C···················Note·that·'$'·evaluation·is·still·done·inside·a |
21 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················quote·block. |
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 | 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 |
Offset 30, 19 lines modified | Offset 30, 14 lines modified | ||
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, 31 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href=" | 121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span[·...·truncated·by·diffoscope;·len:·30,·SHA:·bf88f72162ceca1a5226a940941172852979163ed14c33dbc0e7b7890785fb95·...·]</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> | ||
122 | <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> | ||
123 | </code></p> | 126 | </code></p> |
124 | <h2>synopsis</h2> | 127 | <h2>synopsis</h2> |
125 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded | 128 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded |
126 | anywhere·in·the·HTML·document.··To·create·a·macro: | 129 | anywhere·in·the·HTML·document.··To·create·a·macro: |
127 | ··<p><code> | 130 | ··<p><code> |
131 | ·<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">"0"</span>></span><br> | ||
132 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>></span><br> | ||
128 | <span·class="htp-tag"><<a·href=" | 133 | · ·<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> |
129 | <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">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
130 | <br> | 134 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</s[·...·truncated·by·diffoscope;·len:·93,·SHA:·05dd2c1ccc0e36fcf06a3c69eeaaca4e9d64c83a140212ea83b1131fc204a442·...·]<br> |
135 | · · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
136 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
137 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
131 | </code></p> | 138 | </code></p> |
132 | <P> | 139 | <P> |
133 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> | 140 | 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 | 141 | 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 | 142 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the |
136 | <A·HREF="use.html">'$'</A>·operator. | 143 | <A·HREF="use.html">'$'</A>·operator. |
137 | <P> | 144 | <P> |
Offset 1, 36 lines modified | Offset 1, 44 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··············<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="sharedimg"·option="name·alt"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="macrovalue2"·...]·[GLOBAL]> | ||
6 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·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"> | ||
7 | · | 10 | · ···_.B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
8 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be |
9 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················expanded·anywhere·in·the·HTML·document.·To·create·a |
10 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················macro: |
14 | · ···_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0"> | ||
15 | · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> | ||
16 | · ···_\x8I_\x8M_\x8G··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
18 | · ···_\x8O_\x8P_\x8T···················global> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
11 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E················· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k> |
21 | ·[>]·_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
12 | · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················The·macro·"emailaddr"·can·then·be·expanded·later. |
15 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a |
16 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················tag·(i.e.,·into·the·regular·text).·If·the·macro |
17 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················needs·to·be·expanded·inside·a·markup·tag,·use·the |
18 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················_\x8'_\x8$_\x8'·operator. |
19 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················Multiple·macros·can·be·declared·in·a·single·markup |
20 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················tag,·as·the·second·syntax·line·shows. |
21 | · | 29 | ·_.B_.u_.g_.s······················SET·should·only·be·used·for·a·single·line's·worth |
22 | 30 | ····························of·text.·Multi-line·macros·can·be·defined·with·the | |
23 | 31 | ····························_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the | |
24 | 32 | ····························macro·contains·a·quotation·character·and·you·don't | |
25 | 33 | ····························want·to·fool·around·with·special·escape·characters. | |
26 | 34 | ····························Macros·can·be·redefined·by·using·another·SET | |
27 | 35 | ····························command·with·the·same·macro·name.·The·prior | |
28 | 36 | ····························definition·will·be·destroyed,·however.·Also,·the | |
29 | 37 | ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T | |
30 | ····························tag. | 38 | ····························tag. |
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·Nov·05,·2024 |
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·Nov·05,·2024 |
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·Nov·05,·2024 |
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·Nov·05,·2024 |
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·Nov·05,·2024 |
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·Nov·05,·2024 |
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·Nov·05,·2024 |
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·Nov·05,·2024 |
Offset 114, 16 lines modified | Offset 114, 17 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
122 | · ·block<br> | ||
121 | <span·class="htp-tag"><<a·href=" | 123 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> |
122 | <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">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
123 | <br> | 124 | <br> |
124 | </code></p> | 125 | </code></p> |
125 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
126 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags | 127 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags |
127 | created·by·<A·HREF="def.html">DEF</A>·and·<A | 128 | created·by·<A·HREF="def.html">DEF</A>·and·<A |
128 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF | 129 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF |
129 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by | 130 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by |
Offset 1, 21 lines modified | Offset 1, 21 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\x8ND\x8DE\x8EF\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:·U\x8UN\x8ND\x8DE\x8EF\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]_\x8 | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_.H_.I_.L_.E·[NOT]·conditional> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> | ||
6 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e··················· · ·block |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
7 | · | 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
8 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags |
9 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············UNDEF·command.·Once·removed,·the·metatag·will·no |
11 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················longer·be·recognized·by·htp·until·it·is·reassigned. |
12 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················Multiple·metatags·can·be·removed·by·placing·each |
13 | · ···_\x8 | 14 | · ···_\x8I_.F····················name·as·an·attribute. |
14 | · ···_\x8I_\x8F | ||
15 | · ···_\x8I_\x8N_\x8C | 15 | · ···_\x8I_\x8N_\x8C |
16 | · ···_\x8I_\x8M_\x8G | 16 | · ···_\x8I_\x8M_\x8G |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L |
18 | · ···_\x8O_\x8P_\x8T | 18 | · ···_\x8O_\x8P_\x8T |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E |
21 | · ···_\x8S_\x8E_\x8T | 21 | · ···_\x8S_\x8E_\x8T |
Offset 27, 14 lines modified | Offset 27, 15 lines modified | ||
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, 39 lines modified | Offset 114, 38 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="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>></span><br> | ||
122 | <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">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
123 | <br> | ||
124 | </code></p> | 121 | </code></p> |
125 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
126 | <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. |
127 | 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. |
128 | (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 |
129 | <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 |
130 | old·macro·definition·will·be·removed·automatically.) | 127 | old·macro·definition·will·be·removed·automatically.) |
131 | <P> | 128 | <P> |
132 | For·example: | 129 | For·example: |
133 | ··<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> | ||
134 | <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[noexpand]</span>></span><br> | ||
135 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
136 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
137 | <br> | ||
138 | </code></p> | 132 | </code></p> |
139 | <P> | 133 | <P> |
140 | More·than·one·macro·may·be·removed·in·the·same·tag: | 134 | More·than·one·macro·may·be·removed·in·the·same·tag: |
141 | ··<p><code> | 135 | ··<p><code> |
142 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> | ||
143 | · ·...<br> | ||
144 | 136 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>></span><br> | |
137 | ·<span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span>send·email<span·class="htp-tag"></a></span><br> | ||
145 | 138 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | |
139 | <br> | ||
140 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span><br> | ||
141 | <br> | ||
142 | This·works:· · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
143 | But·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>></span><br> | ||
144 | And·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
146 | </code></p> | 145 | </code></p> |
147 | <p> | 146 | <p> |
148 | </td> | 147 | </td> |
149 | </tr> | 148 | </tr> |
150 | <tr> | 149 | <tr> |
151 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 150 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
152 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> | 151 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> |
Offset 1, 43 lines modified | Offset 1, 44 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]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
7 | ·_\x8 | 4 | ·_\x8I_.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* |
8 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's |
9 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················definition.·The·macro·is·subsequently·not·available |
10 | · | 7 | ·_.U_.s_.a_.g_.e·····················for·use·in·the·pre-processed·files.·(Note·that |
11 | · | 8 | ·HTP·Tags··················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or |
12 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable. |
13 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················The·old·macro·definition·will·be·removed |
14 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············automatically.) |
15 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················For·example: |
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr> | ||
16 | · ···_\x8I_\x8M_\x8G···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·macroname·[parameters·...]·[noexpand]> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<...·$macroname·...> | ||
18 | · ···_\x8O_\x8P_\x8T···················<...·${macroname}·...> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8 | 14 | · ···_\x8I_.F····················More·than·one·macro·may·be·removed·in·the·same·tag: |
21 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff> |
22 | · ···_\x8 | 16 | · ···_\x8I_.M_.G··················· ·<a·href=$email>send·email</a> |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T···················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················email="jnelson@crl.com"> | ||
23 | ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T················· | 23 | ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T·················But·this·fails:·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·email> |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················And·this·fails:·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·morestuff |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················email="jnelson@crl.com"> |
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 |
Offset 114, 15 lines modified | Offset 114, 15 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | · ·<span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span> | 121 | · ·<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> |
122 | </code></p> | 122 | </code></p> |
123 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
124 | <strong>USE</strong>·will·expand·macros·that·have·been·previously | 124 | <strong>USE</strong>·will·expand·macros·that·have·been·previously |
125 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A | 125 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A |
126 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other | 126 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other |
127 | markup·tags. | 127 | markup·tags. |
128 | <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will | 128 | <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will |
Offset 132, 15 lines modified | Offset 132, 15 lines modified | ||
132 | attribute·to·prevent·further·expansion.··</p> | 132 | attribute·to·prevent·further·expansion.··</p> |
133 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros | 133 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros |
134 | for·the·expanded·macro.··This·is·only·valid·for·<A | 134 | for·the·expanded·macro.··This·is·only·valid·for·<A |
135 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A | 135 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A |
136 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For | 136 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For |
137 | example:</p> | 137 | example:</p> |
138 | ··<p><code> | 138 | ··<p><code> |
139 | <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">s | 139 | <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">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>></span><br> |
140 | <font·size="-2"> 2.·</font> · ·...<br> | 140 | <font·size="-2"> 2.·</font> · ·...<br> |
141 | <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> | 141 | <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> |
142 | <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> | 142 | <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> |
143 | </code></p> | 143 | </code></p> |
144 | <P> | 144 | <P> |
145 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on | 145 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on |
146 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and | 146 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and |
Offset 154, 16 lines modified | Offset 154, 18 lines modified | ||
154 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or | 154 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or |
155 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. | 155 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. |
156 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or | 156 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or |
157 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it | 157 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it |
158 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further | 158 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further |
159 | processing·the·contents. | 159 | processing·the·contents. |
160 | ··<p><code> | 160 | ··<p><code> |
161 | <font·size="-2"> 1.·</font><span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>></span>mailto·hyperlink<span·class="htp-tag"></a></span><br> | ||
162 | <font·size="-2"> | 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> | ||
163 | </code></p> | 165 | </code></p> |
164 | <P> | 166 | <P> |
165 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and | 167 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and |
166 | should·never·cause·confusion·with·surrounding·text.··If·no·curly | 168 | should·never·cause·confusion·with·surrounding·text.··If·no·curly |
167 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation | 169 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation |
168 | character·or·the·maximum·sequence·of·letters,·digits,·"-" | 170 | character·or·the·maximum·sequence·of·letters,·digits,·"-" |
169 | and·"_"·that·follows·it. | 171 | and·"_"·that·follows·it. |
Offset 1, 26 lines modified | Offset 1, 26 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]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················*\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···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be |
8 | ·HTP·Tags··················used·outside·of·other·markup·tags. | 8 | ·HTP·Tags··················used·outside·of·other·markup·tags. |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············If·you·USE·a·block·macro·the·value·of·expanded | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············If·you·USE·a·block·macro·the·value·of·expanded |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················block·macros·will·be·further·parsed·by·htp.·This·is | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················block·macros·will·be·further·parsed·by·htp.·This·is |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············maybe·not·what·you·want,·for·example,·if·the·use·is | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············maybe·not·what·you·want,·for·example,·if·the·use·is |
12 | · ···_\x8D_\x8E_\x8F···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use | 12 | · ···_\x8D_\x8E_\x8F···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················the·noexpand·attribute·to·prevent·further | 13 | · ···_\x8F_\x8I_\x8L_\x8E··················the·noexpand·attribute·to·prevent·further |
14 | · ···_\x8I_\x8F····················expansion. | 14 | · ···_\x8I_\x8F····················expansion. |
15 | · ···_\x8I_\x8N_\x8C···················USE·will·accept·additional·parameters,·which·are | 15 | · ···_\x8I_\x8N_\x8C···················USE·will·accept·additional·parameters,·which·are |
16 | · ···_\x8I_\x8M_\x8G···················"local"·macros·for·the·expanded·macro.·This·is·only | 16 | · ···_\x8I_\x8M_\x8G···················"local"·macros·for·the·expanded·macro.·This·is·only |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T |
18 | · ···_\x8O_\x8P_\x8T···················cannot·have·parameters·passed.·For·example: | 18 | · ···_\x8O_\x8P_\x8T···················cannot·have·parameters·passed.·For·example: |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E· | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· 2.· · ·... | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· 2.· · ·... |
21 | · ···_\x8S_\x8E_\x8T··················· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | 21 | · ···_\x8S_\x8E_\x8T··················· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················(See·below·for·a·description·of·the·'$'·operator.) | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················(See·below·for·a·description·of·the·'$'·operator.) |
24 | ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················The·example·on·line·7·works·because·"stuff"·has | 24 | ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················The·example·on·line·7·works·because·"stuff"·has |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················been·declared·as·a·block·macro,·and·the·tag·is | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················been·declared·as·a·block·macro,·and·the·tag·is |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················passing·the·"email"·macro·to·the·"stuff"·macro. | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················passing·the·"email"·macro·to·the·"stuff"·macro. |
Offset 33, 17 lines modified | Offset 33, 18 lines modified | ||
33 | ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any | 33 | ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any |
34 | ····························other·standard·HTML·or·htp·tag,·the·'$'·operator | 34 | ····························other·standard·HTML·or·htp·tag,·the·'$'·operator |
35 | ····························must·be·used.·The·'$'·should·be·immediately | 35 | ····························must·be·used.·The·'$'·should·be·immediately |
36 | ····························followed·by·the·macro·name,·which·may·or·may·not·be | 36 | ····························followed·by·the·macro·name,·which·may·or·may·not·be |
37 | ····························surrounded·by·curly·braces.·When·htp·encounters | 37 | ····························surrounded·by·curly·braces.·When·htp·encounters |
38 | ····························this·it·replaces·the·macro·name·by·the·contents·of | 38 | ····························this·it·replaces·the·macro·name·by·the·contents·of |
39 | ····························the·macro·without·further·processing·the·contents. | 39 | ····························the·macro·without·further·processing·the·contents. |
40 | ···························· 1.·<a·href="mailto:$email">mailto·hyperlink</a> | ||
41 | ···························· 2.·<a·href="http://$domain/~${username}/">another | ||
42 | ···························· | 40 | ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i> |
41 | ···························· 2.· · ·... | ||
42 | ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
43 | ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
43 | ····························The·use·of·curly·braces·is·encouraged,·since·it·is | 44 | ····························The·use·of·curly·braces·is·encouraged,·since·it·is |
44 | ····························more·robust·and·should·never·cause·confusion·with | 45 | ····························more·robust·and·should·never·cause·confusion·with |
45 | ····························surrounding·text.·If·no·curly·braces·are·used·the | 46 | ····························surrounding·text.·If·no·curly·braces·are·used·the |
46 | ····························macro·name·consists·either·of·a·single·punctuation | 47 | ····························macro·name·consists·either·of·a·single·punctuation |
47 | ····························character·or·the·maximum·sequence·of·letters, | 48 | ····························character·or·the·maximum·sequence·of·letters, |
48 | ····························digits,·"-"·and·"_"·that·follows·it. | 49 | ····························digits,·"-"·and·"_"·that·follows·it. |
49 | ····························If·a·'$'·character·needs·to·be·kept·in·the·final | 50 | ····························If·a·'$'·character·needs·to·be·kept·in·the·final |
Offset 114, 46 lines modified | Offset 114, 33 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="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>></span><br> | ||
121 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>></span><br> | ||
122 | ·<span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span>send·email<span·class="htp-tag"></a></span><br> | ||
123 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
124 | <br> | ||
125 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span><br> | ||
126 | <br> | ||
127 | This·works:· · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
128 | But·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>></span><br> | ||
129 | And·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
130 | </code></p> | 122 | </code></p> |
131 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
132 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. | 124 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. |
133 | The·basic·form·is·shown·above. | 125 | The·basic·form·is·shown·above. |
134 | <P> | 126 | <P> |
135 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 127 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
136 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. | 128 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. |
137 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the | 129 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the |
138 | conditional·is·reversed: | 130 | conditional·is·reversed: |
139 | ··<p><code> | 131 | ··<p><code> |
132 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>></span>mailto·hyperlink<span·class="htp-tag"></a></span><br> | ||
133 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>></span>another·hyperlink<span·class="htp-tag"></a></span><br> | ||
140 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>></span><br> | ||
141 | · ·...<br> | ||
142 | · ·<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> | ||
143 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
144 | </code></p> | 134 | </code></p> |
145 | <P> | 135 | <P> |
146 | 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 | 136 | Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a |
147 | macro's·existance: | 137 | macro's·existance: |
148 | ··<p><code> | 138 | ··<p><code> |
139 | · ·<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> | ||
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·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> | ||
150 | · ·...<br> | ||
151 | · ·<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> | ||
152 | ·<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> | ||
153 | </code></p> | 140 | </code></p> |
154 | <P> | 141 | <P> |
155 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the | 142 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the |
156 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the | 143 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the |
157 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. | 144 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. |
158 | <P> | 145 | <P> |
159 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. | 146 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. |
Offset 1, 50 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··············<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr·home_url·login_name> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<a·href=$email>send·email</a> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
8 | ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············email="jnelson@crl.com"> | ||
12 | · ···_\x8D_\x8E_\x8F···················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff | ||
14 | · ···_\x8I_\x8F····················email="jnelson@crl.com"> | ||
15 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
16 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated |
17 | · | 7 | ·_.U_.s_.a_.g_.e·····················processing.·The·basic·form·is·shown·above. |
18 | · | 8 | ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined" |
19 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············operation.·A·compare·operator·is·a·test·of·the |
20 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················value·of·a·macro·against·a·literal·string.·If·the |
21 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············NOT·tag·is·present·in·the·WHILE·markup,·the |
22 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················evaluation·of·the·conditional·is·reversed: |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················<a·href="mailto:$email">mailto·hyperlink</a> | ||
14 | · ···_\x8I_\x8F····················<a·href="http://$domain/~${username}/">another | ||
15 | · ···_\x8I_\x8N_\x8C···················hyperlink</a> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·... | ||
25 | ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
27 | · | 16 | · ···_.I_.M_.G···················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a |
28 | · | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············macro's·existance: |
18 | · ···_\x8O_\x8P_\x8T··················· · ·<${tagName}·${attrName}=${value$ctr}> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> | ||
30 | ···························· · ·... | ||
31 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
32 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
33 | ···· | 19 | · ···_.O_.U_.T_.P_.U_.T················If·the·condition·is·true,·the·block·is·evaluated |
34 | ···· | 20 | · ···_.Q_.U_.O_.T_.E·················and·afterwards·the·WHILE·tag·is·evaluated·again.·If |
35 | ···· | 21 | · ···_.S_.E_.T···················the·'$'-operator·is·used·in·the·WHILE·tag·it·is |
36 | ···· | 22 | · ···_.U_.N_.D_.E_.F·················also·reevaluated·on·each·iteration. |
37 | ···· | 23 | · ···_.U_.N_.S_.E_.T·················A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. |
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 | ||