Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·4682c39bd695e83baa9df0c2a8cf2e48·71088·debug·optional·htp-dbgsym_1.19-8_amd64.deb | 1 | ·4682c39bd695e83baa9df0c2a8cf2e48·71088·debug·optional·htp-dbgsym_1.19-8_amd64.deb |
2 | · | 2 | ·f759d52672ad36112ff329bdb092b403·116632·web·optional·htp_1.19-8_amd64.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····361 | 2 | -rw-r--r--···0········0········0·····3612·2020-06-14·23:21:19.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···11 | 3 | -rw-r--r--···0········0········0···112828·2020-06-14·23:21:19.000000·data.tar.xz |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | Package:·htp | 1 | Package:·htp |
2 | Version:·1.19-8 | 2 | Version:·1.19-8 |
3 | Architecture:·amd64 | 3 | Architecture:·amd64 |
4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> | 4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> |
5 | Installed-Size:·6 | 5 | Installed-Size:·635 |
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)····72104·2020-06-14·23:21:19.000000·./usr/bin/htp | 4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····72104·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)·····8 | 8 | -rw-r--r--···0·root·········(0)·root·········(0)·····8180·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)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html |
11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp | 11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp |
12 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····9500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html |
13 | -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp | 13 | -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp |
14 | -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html | 14 | -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html |
15 | -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp | 15 | -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp |
16 | -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz | 16 | -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz |
17 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 17 | -rw-r--r--···0·root·········(0)·root·········(0)····11773·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)····12 | 20 | -rw-r--r--···0·root·········(0)·root·········(0)····12271·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html |
21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp | 21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp |
22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html | 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html |
23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp | 23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp |
24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/ | 24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/ |
25 | -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub | 25 | -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub |
26 | -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti | 26 | -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti |
27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt | 27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt |
Offset 32, 64 lines modified | Offset 32, 64 lines modified | ||
32 | -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp | 32 | -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp |
33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html | 33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html |
34 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp | 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp |
35 | -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def | 35 | -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def |
36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html | 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html |
37 | -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp | 37 | -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp |
38 | -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt | 38 | -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt |
39 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 39 | -rw-r--r--···0·root·········(0)·root·········(0)·····7909·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html |
40 | -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp | 40 | -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp |
41 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 41 | -rw-r--r--···0·root·········(0)·root·········(0)····16791·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)····12005·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html |
49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp | 49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp |
50 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 50 | -rw-r--r--···0·root·········(0)·root·········(0)····10185·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)·····8 | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html |
53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp | 53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp |
54 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 54 | -rw-r--r--···0·root·········(0)·root·········(0)·····8466·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)····14813·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)·····7558·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)·····8120·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html |
74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp | 74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp |
75 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/ | 75 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/ |
76 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png | 76 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png |
77 | -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png | 77 | -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png |
78 | -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png | 78 | -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png |
79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png | 79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png |
80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png | 80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png |
81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png | 81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png |
82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png | 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png |
83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png | 83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png |
84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png | 84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png |
85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl | 85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl |
86 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 86 | -rw-r--r--···0·root·········(0)·root·········(0)·····7503·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html |
87 | -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp | 87 | -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp |
88 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 88 | -rw-r--r--···0·root·········(0)·root·········(0)·····8518·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)·····7 | 109 | -rw-r--r--···0·root·········(0)·root·········(0)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html |
110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp | 110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp |
111 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 111 | -rw-r--r--···0·root·········(0)·root·········(0)·····9189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html |
112 | -rw-r--r--···0·root·········(0)·root·········(0)······658·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.htp | 112 | -rw-r--r--···0·root·········(0)·root·········(0)······658·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.htp |
113 | -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.html | 113 | -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.html |
114 | -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.htp | 114 | -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.htp |
115 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 115 | -rw-r--r--···0·root·········(0)·root·········(0)····12183·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)·····8884·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 127, 15 lines modified | Offset 127, 14 lines modified | ||
127 | <p> | 127 | <p> |
128 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT | 128 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT |
129 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to | 129 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to |
130 | be·overridden·on·specific·images·and·default·text·on·all·others. | 130 | be·overridden·on·specific·images·and·default·text·on·all·others. |
131 | <p> | 131 | <p> |
132 | For·example: | 132 | For·example: |
133 | ··<p><code> | 133 | ··<p><code> |
134 | <span·class="comment"><!---··This·comment·doesn't·appear·in·the·HTML·file·---></span><br> | ||
135 | </code></p> | 134 | </code></p> |
136 | <p> | 135 | <p> |
137 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT | 136 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT |
138 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not | 137 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not |
139 | changed. | 138 | changed. |
140 | <p> | 139 | <p> |
141 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, | 140 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, |
Offset 9, 37 lines modified | Offset 9, 35 lines modified | ||
9 | ·[>]·_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············comparisons. | 9 | ·[>]·_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············comparisons. |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················When·an·IMG·tag·with·a·matching·source·is | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················When·an·IMG·tag·with·a·matching·source·is |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············encountered,·htp·will·add·an·ALT·attribute·only·if | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············encountered,·htp·will·add·an·ALT·attribute·only·if |
12 | · ···_\x8D_\x8E_\x8F···················one·is·not·already·present.·This·allows·for·ALT | 12 | · ···_\x8D_\x8E_\x8F···················one·is·not·already·present.·This·allows·for·ALT |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················text·to·be·overridden·on·specific·images·and | 13 | · ···_\x8F_\x8I_\x8L_\x8E··················text·to·be·overridden·on·specific·images·and |
14 | · ···_\x8I_\x8F····················default·text·on·all·others. | 14 | · ···_\x8I_\x8F····················default·text·on·all·others. |
15 | · ···_\x8I_\x8N_\x8C···················For·example: | 15 | · ···_\x8I_\x8N_\x8C···················For·example: |
16 | · ···_\x8I_\x8M_\x8G···················<!---·This·comment·doesn't·appear·in·the·HTML·file | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············---> | ||
18 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················An·ALTTEXT·tag·with·a·name·but·no·text·attribute |
19 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············removes·any·ALT·mapping·for·this·image.·Successing |
20 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················IMG·tags·with·a·matching·SRC·name·are·not·changed. |
21 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················Since·this·is·useful·for·an·image·used·throughout·a |
22 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················set·of·documents,·ALTTEXT·is·most·appropriate·in·an |
23 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················_\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. |
24 | · ···_\x8U_\x8 | 22 | · ···_\x8U_\x8N_.D_.E_.F·················In·addition·to·ALTTEXT,·htp·can·also·automatically |
25 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags. |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
Offset 124, 37 lines modified | Offset 124, 23 lines modified | ||
124 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it | 124 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it |
125 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block | 125 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block |
126 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and | 126 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and |
127 | </tagname>.··The·contents·of·this·block·are·automatically·stored | 127 | </tagname>.··The·contents·of·this·block·are·automatically·stored |
128 | in·the·block·macro·named·BLOCK. | 128 | in·the·block·macro·named·BLOCK. |
129 | <P>·For·example:</P> | 129 | <P>·For·example:</P> |
130 | ··<p><code> | 130 | ··<p><code> |
131 | <span·class="comment"><!---··This·comment·doesn't·appear·in·the·HTML·file·---></span><br> | ||
132 | .domain/"><br> | ||
133 | 131 | <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> | |
132 | ·<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> | ||
133 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
134 | <br> | 134 | <br> |
135 | <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> | ||
135 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
136 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
137 | ·(no·URL·replacement).<br> | ||
138 | <br> | 136 | <br> |
137 | 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> | ||
139 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
140 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
141 | <br> | ||
142 | 138 | 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> | |
139 | 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> | ||
143 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
144 | ·will·not·be·added.<br> | ||
145 | <br> | ||
146 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
147 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
148 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
149 | <br> | ||
150 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
151 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
152 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
153 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
154 | </code></p> | 140 | </code></p> |
155 | <p> | 141 | <p> |
156 | All·block·metatags·have·the·implicit·option·<a | 142 | All·block·metatags·have·the·implicit·option·<a |
157 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents | 143 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents |
158 | of·the·block·before·the·definition·is·expanded. | 144 | of·the·block·before·the·definition·is·expanded. |
159 | </p> | 145 | </p> |
160 | <p> | 146 | <p> |
Offset 6, 56 lines modified | Offset 6, 31 lines modified | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················way·of·saying·it·creates·new·block·tags.·A·block | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················way·of·saying·it·creates·new·block·tags.·A·block |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················tag·is·a·tag·that·takes·a·whole·block·as·additional | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················tag·is·a·tag·that·takes·a·whole·block·as·additional |
8 | ·HTP·Tags··················parameter.·This·block·is·surrounded·by·<tagname> | 8 | ·HTP·Tags··················parameter.·This·block·is·surrounded·by·<tagname> |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············and·</tagname>.·The·contents·of·this·block·are | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············and·</tagname>.·The·contents·of·this·block·are |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················automatically·stored·in·the·block·macro·named | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················automatically·stored·in·the·block·macro·named |
11 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············BLOCK. | 11 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············BLOCK. |
12 | · ···_\x8D_\x8E_\x8F···················For·example: | 12 | · ···_\x8D_\x8E_\x8F···················For·example: |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················<!---·This·comment·doesn't·appear·in·the·HTML·file | ||
14 | · ···_\x8I_\x8F····················---> | ||
15 | · ···_\x8I_\x8N_\x8C···················.domain/"> | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
17 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff> |
14 | · ···_\x8I_\x8F···················· ·<a·href=$email>send·email</a> | ||
15 | · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
16 | · ···_\x8I_\x8M_\x8G | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> | ||
18 | · ···_\x8O_\x8P_\x8T | 18 | · ···_\x8O_\x8P_\x8T |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················This·works:· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·stuff |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················email="jnelson@crl.com"> | ||
21 | · ···_\x8S_\x8E_\x8T···················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················email="jnelson@crl.com"> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·the·local·filename·"logo.gif"·will·be·used·to | ||
21 | · ···_\x8S_\x8E_\x8T···················determine·image·dimensions | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·(no·URL·replacement). | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················my.domain.org/logo.gif"> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················will·be·used. | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
30 | ····························other.domain.org/logo.gif"> | ||
31 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
32 | ····························so·the·image·dimensions | ||
33 | ···························· ·will·not·be·added. | ||
34 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
35 | ····························precedence: | ||
36 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
37 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
38 | ····························test/"> | ||
39 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
40 | ····························src="/test/image.gif"> are·mapped·to | ||
41 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
42 | ····························image.gif,·resp. | ||
43 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
44 | ····························swapped,·the·second | ||
45 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
46 | ····························image.gif. | ||
47 | ···· | 24 | · ···_.U_.S_.E_.,_.·_.$················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D, |
48 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················which·tells·htp·to·expand·the·contents·of·the·block |
49 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················before·the·definition·is·expanded. |
50 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················A·more·thorough·discussion·and·more·elaborate |
51 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. |
29 | ·_\x8B_\x8u_\x8g_\x8s | ||
Offset 114, 37 lines modified | Offset 114, 53 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">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>></span><br> | ||
122 | me·1.<br> | ||
123 | · ·b·is·expanded·at·time·0.<br> | ||
124 | ·contents·of·a:· ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
125 | ·contents·of·b:· ·b·is·expanded·at·time·0.<br> | ||
126 | · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.<br> | ||
127 | · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.<br> | ||
128 | · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
129 | </code></p> | 121 | </code></p> |
130 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
131 | <p> | 123 | <p> |
132 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful | 124 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful |
133 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. | 125 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. |
134 | Example: | 126 | Example: |
135 | </p> | 127 | </p> |
136 | ··<p><code> | 128 | ··<p><code> |
129 | ·<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> | ||
130 | ·<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> | ||
131 | <br> | ||
132 | ·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> | ||
133 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
134 | ·(no·URL·replacement).<br> | ||
135 | <br> | ||
136 | ·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> | ||
137 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
138 | <br> | ||
139 | ·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> | ||
140 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
141 | ·will·not·be·added.<br> | ||
142 | <br> | ||
143 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
144 | ·<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> | ||
145 | ·<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> | ||
146 | <br> | ||
147 | ·<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> | ||
148 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
149 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
150 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
137 | </code></p> | 151 | </code></p> |
138 | <p> | 152 | <p> |
139 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you | 153 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you |
140 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something | 154 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something |
141 | like·this: | 155 | like·this: |
142 | </p> | 156 | </p> |
143 | ··<p><code> | 157 | ··<p><code> |
158 | · ·File·image.gif·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>></span> kilobytes<br> | ||
159 | · ·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> | ||
144 | </code></p> | 160 | </code></p> |
145 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the | 161 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the |
146 | reason·why·you·don't·want·to·include·this·block</p> | 162 | reason·why·you·don't·want·to·include·this·block</p> |
147 | <p> | 163 | <p> |
148 | </td> | 164 | </td> |
149 | </tr> | 165 | </tr> |
150 | <tr> | 166 | <tr> |
Offset 1, 36 lines modified | Offset 1, 63 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·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i="1"·j="-1"> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················me·1. | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·b·is·expanded·at·time·0. | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[ | ||
8 | ·HTP·Tags··················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·contents·of·b:· ·b·is·expanded·at·time·0. | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············time·1. | ||
12 | · ···_\x8D_\x8E_\x8F··················· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················time·2. | ||
14 | · ···_\x8I_\x8F···················· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the | ||
15 | · ···_\x8I_\x8N_\x8C···················2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
16 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
17 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················This·is·a·simple·comment·that·is·not·included·in |
18 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················the·output.·This·is·useful·when·commenting |
19 | · | 7 | ·_.U_.s_.a_.g_.e·····················metatags,·since·the·metatags·do·not·appear·the |
20 | · | 8 | ·HTP·Tags··················output·either.·Example: |
21 | · ···_\x8S_\x8E_\x8T···················Note·that·these·comments·should·not·include·<·or·>, | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················that·is·you·should·not·use·it·to·comment·out·htp | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················code.·For·that·purpose·use·something·like·this: | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················Make·sure·that·the·variable·is·never·defined·and | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················xyz·should·be·the·reason·why·you·don't·want·to | ||
26 | ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-·················include·this·block | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_. | 9 | · ···_.A_.L_.T_.T_.E_.X_.T··············· ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="http://my.domain.org/ |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················"·path="/var/www/my.domain/"> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
12 | · ···_\x8D_\x8E_\x8F···················var/www/other.domain/"> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F···················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
15 | · ···_\x8I_\x8N_\x8C··················· ·the·local·filename·"logo.gif"·will·be·used·to | ||
16 | · ···_\x8I_\x8M_\x8G···················determine·image·dimensions | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·(no·URL·replacement). | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················my.domain.org/logo.gif"> | ||
21 | · ···_\x8S_\x8E_\x8T··················· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················will·be·used. | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················other.domain.org/logo.gif"> | ||
26 | ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-················· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················so·the·image·dimensions | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·will·not·be·added. | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
31 | ····························precedence: | ||
32 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
33 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
34 | ····························test/"> | ||
35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
36 | ····························src="/test/image.gif"> are·mapped·to | ||
37 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
38 | ····························image.gif,·resp. | ||
39 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
40 | ····························swapped,·the·second | ||
41 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
42 | ····························image.gif. | ||
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 | ···························· · ·File·image.gif·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
47 | ····························SIZE=KBYTE> kilobytes | ||
48 | ···························· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
49 | ····························TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
50 | ····························Make·sure·that·the·variable·is·never·defined·and | ||
51 | ····························xyz·should·be·the·reason·why·you·don't·want·to | ||
52 | ····························include·this·block | ||
Offset 114, 56 lines modified | Offset 114, 54 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><br> | ||
122 | =$email>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> | ||
121 | </code></p> | 130 | </code></p> |
122 | <h2>synopsis</h2> | 131 | <h2>synopsis</h2> |
123 | <p> | 132 | <p> |
124 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a | 133 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a |
125 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to | 134 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to |
126 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> | 135 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> |
127 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. | 136 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. |
128 | For·example: | 137 | For·example: |
129 | </p> | 138 | </p> |
130 | ··<p><code> | 139 | ··<p><code> |
131 | · ·<span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>></span><br> | ||
132 | </code></p> | 140 | </code></p> |
133 | <P> | 141 | <P> |
134 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | 142 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to |
135 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | 143 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A |
136 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | 144 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster |
137 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing | 145 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing |
138 | tag·with·a·preceding·slash.·For·example: | 146 | tag·with·a·preceding·slash.·For·example: |
139 | </P> | 147 | </P> |
140 | ··<p><code> | 148 | ··<p><code> |
149 | · ·File·image.gif·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>></span> kilobytes<br> | ||
150 | · ·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> | ||
141 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>></span><br> | ||
142 | · ·<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> | ||
143 | ·<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> | ||
144 | <br> | ||
145 | ·<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> | ||
146 | </code></p> | 151 | </code></p> |
147 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, | 152 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, |
148 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> | 153 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> |
149 | <P> | 154 | <P> |
150 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were | 155 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were |
151 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with | 156 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with |
152 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their | 157 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their |
153 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) | 158 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) |
154 | </P> | 159 | </P> |
155 | ··<p><code> | 160 | ··<p><code> |
156 | ·<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> | ||
157 | ·<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> | ||
158 | · ·<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> | ||
159 | · ·<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> | ||
160 | · · ·<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> | ||
161 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
162 | ·<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> | ||
163 | </code></p> | 161 | </code></p> |
164 | <P> | 162 | <P> |
165 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is | 163 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is |
166 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are | 164 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are |
167 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the | 165 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the |
168 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a | 166 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a |
169 | parameter·is·required,·simply·expand·it·without·first·checking.··When | 167 | parameter·is·required,·simply·expand·it·without·first·checking.··When |
Offset 1, 46 lines modified | Offset 1, 46 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:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\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:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\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]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················=$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"> | ||
4 | · | 15 | · ···_.I_.N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 16 | · ···_.I_.M_.G···················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of |
6 | · | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············saying·it·creates·new·tags.·The·mechanism·is·very |
7 | · | 18 | · ···_.O_.P_.T···················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is |
8 | · | 19 | · ···_.O_.U_.T_.P_.U_.T················not·used·to·expand·them.·Instead,·they·are·expanded |
9 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················by·their·own·name.·For·example: |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr> | ||
11 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················Some·metatags·will·require·an·opening·and·closing |
12 | · | 22 | · ···_.U_.N_.D_.E_.F·················tag·(comparable·to |
13 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················and |
14 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. |
15 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················Another·slightly·faster·alternative·is·to·use·two |
16 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················metatags,·the·opening·tag·and·the·closing·tag·with |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················a·preceding·slash.·For·example: | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·File·image.gif·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················SIZE=KBYTE> kilobytes | ||
30 | ···························· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
31 | ····························TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············a·preceding·slash.·For·example: | ||
18 | · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················alt="${alt}">; | ||
21 | · ···_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
24 | 32 | ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will | |
25 | 33 | ····························check·for·matching·end·tag.·It·is·not·that·slower. | |
26 | 34 | ····························Options·can·be·passed·to·a·metatag,·which·can·then | |
27 | 35 | ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are | |
28 | 36 | ····························parameterized·with·the·OPTION·attribute.·Multiple | |
29 | 37 | ····························options·can·be·listed·by·separating·their·name·with | |
30 | ····························a·space·(which·therefore·requires·they·be | 38 | ····························a·space·(which·therefore·requires·they·be |
31 | ····························surrounded·by·quotes.) | 39 | ····························surrounded·by·quotes.) |
32 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0"> | ||
33 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> | ||
34 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
35 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
36 | ····························global> | ||
37 | ···························· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
38 | ···························· · ·<_\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_\x8d_\x8e_\x8f> | ||
40 | ····························htp·will·do·very·specific·checking·of·parameters | 40 | ····························htp·will·do·very·specific·checking·of·parameters |
41 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all | 41 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all |
42 | ····························parameter·options·to·the·metatag·are·optional.·This | 42 | ····························parameter·options·to·the·metatag·are·optional.·This |
43 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify | 43 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify |
44 | ····························the·SIZE·option·is·defined·before·expanding·it·in | 44 | ····························the·SIZE·option·is·defined·before·expanding·it·in |
45 | ····························the·block.·If·a·parameter·is·required,·simply | 45 | ····························the·block.·If·a·parameter·is·required,·simply |
46 | ····························expand·it·without·first·checking.·When·htp·expands | 46 | ····························expand·it·without·first·checking.·When·htp·expands |
Offset 101, 22 lines modified | Offset 101, 14 lines modified | ||
101 | another·macro.··This·other·macro·may·no·longer·have·the·correct·value | 101 | another·macro.··This·other·macro·may·no·longer·have·the·correct·value |
102 | when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when | 102 | when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when |
103 | the·htp·tags·are·expanded:·</P> | 103 | the·htp·tags·are·expanded:·</P> |
104 | ··<p><code> | 104 | ··<p><code> |
105 | </code></p> | 105 | </code></p> |
106 | This·produces·the·following: | 106 | This·produces·the·following: |
107 | ··<p><code> | 107 | ··<p><code> |
108 | · ·<span·class="htp-tag"><<a·href="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> | ||
109 | talic"><br> | ||
110 | · ·<span·class="htp-tag"><b></span><span·class="htp-tag"><i></span><br> | ||
111 | · ·<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> | ||
112 | · ·<span·class="htp-tag"></i></span><span·class="htp-tag"></b></span><br> | ||
113 | ·<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> | ||
114 | <br> | ||
115 | ·This·is·<span·class="htp-tag"><bolditalic></span>bold·and·italic<span·class="htp-tag"></bolditalic></span><br> | ||
116 | </code></p> | 108 | </code></p> |
117 | <P> | 109 | <P> |
118 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a | 110 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a |
119 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded | 111 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded |
120 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it | 112 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it |
121 | is·used,·while·the·contents·of·b·are·already·expanded. | 113 | is·used,·while·the·contents·of·b·are·already·expanded. |
122 | </P> | 114 | </P> |
Offset 25, 22 lines modified | Offset 25, 14 lines modified | ||
25 | ····························modifier·it·is·expanded·immediately.·This·is·useful | 25 | ····························modifier·it·is·expanded·immediately.·This·is·useful |
26 | ····························if·you·want·to·store·something·in·a·block·macro, | 26 | ····························if·you·want·to·store·something·in·a·block·macro, |
27 | ····························that·depends·on·the·current·value·of·another·macro. | 27 | ····························that·depends·on·the·current·value·of·another·macro. |
28 | ····························This·other·macro·may·no·longer·have·the·correct | 28 | ····························This·other·macro·may·no·longer·have·the·correct |
29 | ····························value·when·the·macro·is·expanded.·Here·is·some·code | 29 | ····························value·when·the·macro·is·expanded.·Here·is·some·code |
30 | ····························that·demonstrate·when·the·htp·tags·are·expanded: | 30 | ····························that·demonstrate·when·the·htp·tags·are·expanded: |
31 | ····························This·produces·the·following: | 31 | ····························This·produces·the·following: |
32 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr> | ||
33 | ····························talic"> | ||
34 | ···························· · ·<b><i> | ||
35 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> | ||
36 | ···························· · ·</i></b> | ||
37 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
38 | ···························· ·This·is·<bolditalic>bold·and·italic</bolditalic> | ||
39 | ····························When·block·a·and·block·b·are·defined·in·lines·2- | 32 | ····························When·block·a·and·block·b·are·defined·in·lines·2- |
40 | ····························7·the·contents·of·a·are·taken·literally,·however, | 33 | ····························7·the·contents·of·a·are·taken·literally,·however, |
41 | ····························the·contents·for·b·are·already·expanded·so·the | 34 | ····························the·contents·for·b·are·already·expanded·so·the |
42 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it | 35 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it |
43 | ····························is·used,·while·the·contents·of·b·are·already | 36 | ····························is·used,·while·the·contents·of·b·are·already |
44 | ····························expanded. | 37 | ····························expanded. |
45 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with | 38 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with |
Offset 114, 44 lines modified | Offset 114, 52 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">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> | ||
121 | </code></p> | 130 | </code></p> |
122 | <h2>synopsis</h2> | 131 | <h2>synopsis</h2> |
123 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. | 132 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. |
124 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of | 133 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of |
125 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be | 134 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be |
126 | added·to·the·output·file·as·well. | 135 | added·to·the·output·file·as·well. |
127 | <P> | 136 | <P> |
128 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the | 137 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the |
129 | following·is·perfectly·acceptable: | 138 | following·is·perfectly·acceptable: |
130 | ··<p><code> | 139 | ··<p><code> |
140 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>></span><br> | ||
141 | · ·<span·class="htp-tag"><font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>></span><br> | ||
131 | ·<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> | ||
132 | · ·<span·class="htp-tag"><b></span><span·class="htp-tag"><i></span><br> | ||
133 | · ·<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> | ||
134 | · ·<span·class="htp-tag"></i></span><span·class="htp-tag"></b></span><br> | ||
135 | ·<span·class="htp-tag"><<a·href=" | 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> |
136 | <br> | 143 | <br> |
144 | ·<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> | ||
145 | · ·<span·class="htp-tag"></font></span><br> | ||
146 | ·<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> | ||
147 | <br> | ||
137 | · | 148 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> |
138 | </code></p> | 149 | </code></p> |
139 | <P> | 150 | <P> |
140 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> | 151 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> |
141 | <P> | 152 | <P> |
142 | To·include·information·about·another·file,·such·as·an·archive·file·or | 153 | To·include·information·about·another·file,·such·as·an·archive·file·or |
143 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the | 154 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the |
144 | type·of·information·to·be·displayed: | 155 | type·of·information·to·be·displayed: |
145 | ··<p><code> | 156 | ··<p><code> |
157 | · ·File·image.gif·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>></span> kilobytes<br> | ||
158 | · ·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> | ||
146 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>></span><br> | ||
147 | · ·<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> | ||
148 | ·<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> | ||
149 | <br> | ||
150 | ·<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> | ||
151 | </code></p> | 159 | </code></p> |
152 | <P> | 160 | <P> |
153 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the | 161 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the |
154 | information·is·displayed.··In·anything·other·than·byte·format,·the·information | 162 | information·is·displayed.··In·anything·other·than·byte·format,·the·information |
155 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number | 163 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number |
156 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional | 164 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional |
157 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no | 165 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no |
Offset 180, 18 lines modified | Offset 188, 18 lines modified | ||
180 | <P> | 188 | <P> |
181 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are | 189 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are |
182 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros | 190 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros |
183 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it | 191 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it |
184 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer | 192 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer |
185 | available.··So: | 193 | available.··So: |
186 | ··<p><code> | 194 | ··<p><code> |
187 | ·<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> | ||
188 | ·<span·class="htp-tag"><<a· | 195 | · ·<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> |
196 | Nelson"·email="jnelson@crl.com"><br> | ||
189 | · ·<span·class="htp-tag"><<a·href=" | 197 | · ·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> |
190 | 198 | global><br> | |
191 | · · ·<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> | 199 | · · ·<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> |
192 | · ·<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> | 200 | · ·<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> |
193 | ·<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> | 201 | ·<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> |
194 | </code></p> | 202 | </code></p> |
195 | <P> | 203 | <P> |
196 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included | 204 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included |
197 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the | 205 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the |
Offset 1, 37 lines modified | Offset 1, 48 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]_\x8b_\x8l_\x8o_\x8c_\x8k·stuff> | ||
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"> | ||
4 | · | 15 | · ···_.I_.N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 16 | · ···_.I_.M_.G···················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing |
6 | · | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············purpose.·The·output·file's·name,·the·current·date |
7 | · | 18 | · ···_.O_.P_.T···················and·time,·and·the·contents·of·another·file·may·be |
8 | · | 19 | · ···_.O_.U_.T_.P_.U_.T················included.·Another·file's·time,·date,·or·size·may·be |
9 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················added·to·the·output·file·as·well. |
10 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················As·with·all·HTML,·these·tags·do·not·have·to·be·on |
11 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················their·own·line,·so·the·following·is·perfectly |
12 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················acceptable: |
13 | · | 24 | · ···_.U_.S_.E_.,_.·_.$················ ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="bigfont"> |
14 | · ···_\x8I_. | 25 | · ···_\x8W_.H_.I_.L_.E················· · ·<font·size="+4"> |
15 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
16 | · ···_\x8I_\x8M_\x8G··················· · ·</i></b> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·This·is·<bolditalic>bold·and·italic</bolditalic> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················*\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* | ||
21 | · ···_\x8S_\x8E_\x8T···················To·include·information·about·another·file,·such·as | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················an·archive·file·or·graphic·image,·specify·its·name | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················with·the·NAME·attribute·followed·by·the·type·of | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················information·to·be·displayed: | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················alt="${alt}">; | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_.e_.f·name="/bigfont"> |
29 | ·_\x8B_\x8u_\x8g_\x8s | ||
30 | · | 29 | ·_.B_.u_.g_.s······················ · ·</font> |
30 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
31 | ···························· ·<bigfont>Some·large·text</bigfont> | ||
32 | ····························*\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* | ||
33 | ····························To·include·information·about·another·file,·such·as | ||
34 | ····························an·archive·file·or·graphic·image,·specify·its·name | ||
35 | ····························with·the·NAME·attribute·followed·by·the·type·of | ||
36 | ····························information·to·be·displayed: | ||
37 | ···························· · ·File·image.gif·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
38 | ····························SIZE=KBYTE> kilobytes | ||
39 | ···························· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
40 | ····························TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
31 | ····························For·file·size·information,·the·value·BYTE,·KBYTE, | 41 | ····························For·file·size·information,·the·value·BYTE,·KBYTE, |
32 | ····························etc.·dictates·how·the·information·is·displayed.·In | 42 | ····························etc.·dictates·how·the·information·is·displayed.·In |
33 | ····························anything·other·than·byte·format,·the·information·is | 43 | ····························anything·other·than·byte·format,·the·information·is |
34 | ····························displayed·in·floating-point·notation.·The·amount·of | 44 | ····························displayed·in·floating-point·notation.·The·amount·of |
35 | ····························precision·(the·number·of·digits·to·the·right·of·the | 45 | ····························precision·(the·number·of·digits·to·the·right·of·the |
36 | ····························decimal·point)·can·be·set·with·the·optional | 46 | ····························decimal·point)·can·be·set·with·the·optional |
37 | ····························PRECISION·attribute.·The·default·precision·is·zero | 47 | ····························PRECISION·attribute.·The·default·precision·is·zero |
Offset 62, 18 lines modified | Offset 73, 17 lines modified | ||
62 | ····························Additional·parameters·can·be·set·in·the·FILE | 73 | ····························Additional·parameters·can·be·set·in·the·FILE |
63 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that | 74 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that |
64 | ····························are·"passed"·to·the·included·file.·The·macros·are | 75 | ····························are·"passed"·to·the·included·file.·The·macros·are |
65 | ····························available·only·to·the·include·file·(and·any·macros | 76 | ····························available·only·to·the·include·file·(and·any·macros |
66 | ····························or·included·files·it·holds).·After·the·file·is | 77 | ····························or·included·files·it·holds).·After·the·file·is |
67 | ····························completely·included,·the·macros·are·no·longer | 78 | ····························completely·included,·the·macros·are·no·longer |
68 | ····························available.·So: | 79 | ····························available.·So: |
69 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0"> | ||
70 | ···························· · | 80 | ···························· · ·<${tagName}·${attrName}=${value$ctr}> |
81 | ····························Nelson"·email="jnelson@crl.com"> | ||
71 | ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_. | 82 | ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name> |
72 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
73 | ····························global> | 83 | ····························global> |
74 | ···························· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | 84 | ···························· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> |
75 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | 85 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> |
76 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | 86 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> |
77 | ····························Macros·named·"name"·and·"email"·are·set,·and | 87 | ····························Macros·named·"name"·and·"email"·are·set,·and |
78 | ····························available·inside·the·included·file.·They·are·not | 88 | ····························available·inside·the·included·file.·They·are·not |
79 | ····························available,·however,·past·the·tag·(which·is·why·the | 89 | ····························available,·however,·past·the·tag·(which·is·why·the |
Offset 114, 37 lines modified | Offset 114, 51 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | · ·<span·class="htp-tag"><<a·href="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> | ||
122 | </code></p> | 121 | </code></p> |
123 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
124 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building | 123 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building |
125 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. | 124 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. |
126 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A | 125 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A |
127 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal | 126 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal |
128 | string: | 127 | string: |
129 | ··<p><code> | 128 | ··<p><code> |
129 | ·<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> | ||
130 | ·<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> | ||
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·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>></span><br> | ||
131 | · ·<span·class="htp-tag"><font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>></span><br> | ||
132 | ·<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> | ||
133 | <br> | 131 | <br> |
134 | ·<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> | ||
135 | · ·<span·class="htp-tag"></font></span><br> | ||
136 | ·<span·class="htp-tag"><<a·href=" | 132 | ·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> |
133 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
134 | ·(no·URL·replacement).<br> | ||
137 | <br> | 135 | <br> |
138 | ·<span·class="htp-tag">< | 136 | ·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> |
137 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
138 | <br> | ||
139 | ·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> | ||
140 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
141 | ·will·not·be·added.<br> | ||
142 | <br> | ||
143 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
144 | ·<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> | ||
145 | ·<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> | ||
146 | <br> | ||
147 | ·<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> | ||
148 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
149 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
150 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
139 | </code></p> | 151 | </code></p> |
140 | <P> | 152 | <P> |
141 | and·a·defined·operator·is·a·test·of·a·macro's·existance: | 153 | and·a·defined·operator·is·a·test·of·a·macro's·existance: |
142 | <P> | 154 | <P> |
143 | ··<p><code> | 155 | ··<p><code> |
156 | · ·File·image.gif·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>></span> kilobytes<br> | ||
157 | · ·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> | ||
144 | </code></p> | 158 | </code></p> |
145 | <P> | 159 | <P> |
146 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the | 160 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the |
147 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that | 161 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that |
148 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the | 162 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the |
149 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block | 163 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block |
150 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. | 164 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. |
Offset 1, 36 lines modified | Offset 1, 65 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i="1"·j="-1"> | ||
5 | ·_\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* |
6 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e···················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building |
7 | ·_\x8 | 6 | ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················blocks·for·conditional·processing.·The·basic·form |
8 | · | 7 | ·_.U_.s_.a_.g_.e·····················is·shown·above. |
9 | · | 8 | ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined" |
10 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············operation.·A·compare·operator·is·a·test·of·the |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················value·of·a·macro·against·a·literal·string: |
12 | · ···_\x8D_\x8E_\x8F··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="bigfont"> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<font·size="+4"> | ||
14 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F·············· ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="http://my.domain.org/ |
12 | · ···_\x8D_\x8E_\x8F···················"·path="/var/www/my.domain/"> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
14 | ·[>]·_\x8I_\x8F····················var/www/other.domain/"> | ||
15 | · ···_\x8I_\x8N_\x8C | 15 | · ···_\x8I_\x8N_\x8C |
16 | · ···_\x8I_\x8M_\x8G··················· ·<_.[_.[_.r_.e_.f_.]_.]_. | 16 | · ···_\x8I_\x8M_\x8G··················· ·For·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="logo.gif"> |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·</font> | ||
18 | · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L·············· ·the·local·filename·"logo.gif"·will·be·used·to |
18 | · ···_\x8O_\x8P_\x8T···················determine·image·dimensions | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·(no·URL·replacement). | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T··················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················my.domain.org/logo.gif"> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················will·be·used. | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················other.domain.org/logo.gif"> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················so·the·image·dimensions | ||
30 | ···························· ·will·not·be·added. | ||
31 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
32 | ····························precedence: | ||
33 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
34 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
35 | ····························test/"> | ||
36 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
37 | ····························src="/test/image.gif"> are·mapped·to | ||
38 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
39 | ····························image.gif,·resp. | ||
40 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
41 | ····························swapped,·the·second | ||
42 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
43 | ····························image.gif. | ||
21 | 44 | ····························and·a·defined·operator·is·a·test·of·a·macro's | |
22 | 45 | ····························existance: | |
46 | ···························· · ·File·image.gif·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
47 | ····························SIZE=KBYTE> kilobytes | ||
48 | ···························· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
49 | ····························TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
23 | 50 | ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the | |
24 | 51 | ····························evaluation·of·the·conditional·is·reversed.·The | |
25 | 52 | ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true | |
26 | 53 | ····························is·chosen.·If·none·of·the·conditions·is·true·the | |
27 | 54 | ····························ELSE·block·is·taken·if·it·is·present.·A·conditional | |
28 | 55 | ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can | |
29 | 56 | ····························be·nested. | |
Offset 114, 15 lines modified | Offset 114, 23 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class=" | 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> | ||
122 | </code></p> | 130 | </code></p> |
123 | <h2>synopsis</h2> | 131 | <h2>synopsis</h2> |
124 | <P> | 132 | <P> |
125 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local | 133 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local |
126 | file·system.··declares·an·URL·replacement·that·is·used·for | 134 | file·system.··declares·an·URL·replacement·that·is·used·for |
127 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions | 135 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions |
128 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is | 136 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is |
Offset 1, 36 lines modified | Offset 1, 45 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··············<!---·This·comment·doesn't·appear·in·the·HTML·file | ||
5 | ·_\x8 | 4 | ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff> |
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"> | ||
6 | · | 15 | · ···_.I_.N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
7 | · | 16 | · ···_.I_.M_.G···················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the |
8 | · | 17 | ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············local·file·system.·declares·an·URL·replacement·that |
9 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This |
10 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option |
11 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················is·enabled.·Beacause·htp·can't·lookup·files·in·the |
12 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················world·wide·web·you·have·to·map·absolute·image·URLs |
13 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················to·a·directory·in·the·local·file·system. |
14 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················When·an·IMG·tag·is·encountered·where·htp·has·to |
15 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················insert·width·and·height·the·defined·URL |
16 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················replacements·will·be·taken·into·account·(later |
17 | · | 26 | · ···_.<_.!_.-_.-_.-·················definitions·take·precedence·to·earlier):·For·each |
18 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················defined·imageurl·it·checks·(case-insensitive)·if·it |
19 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················is·a·prefix·of·the·image's·SRC·attribute.·If·it |
20 | · | 29 | ·_.B_.u_.g_.s······················matches·this·prefix·is·replaced·by·the·given·PATH. |
21 | 30 | ····························If·no·IMAGEURL·matches·the·SRC·is·considered·as | |
22 | 31 | ····························relative·link·and·looked·up·in·the·current | |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················directory. | ||
24 | 32 | ····························directory. | |
33 | ····························For·example: | ||
25 | 34 | ····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH | |
26 | 35 | ····························attribute,·it·is·treated·as·an·undefine,·and·is | |
27 | 36 | ····························removed. | |
28 | 37 | ····························Since·you·usually·need·the·url·mapping·for·a·number | |
29 | 38 | ····························of·images·used·throughout·a·set·of·documents, | |
30 | ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 39 | ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
31 | ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file. | 40 | ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file. |
32 | ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also | 41 | ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also |
33 | ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to | 42 | ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to |
34 | ····························_\x8I_\x8M_\x8G·tags. | 43 | ····························_\x8I_\x8M_\x8G·tags. |
Offset 114, 15 lines modified | Offset 114, 14 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="comment"><!---··This·comment·doesn't·appear·in·the·HTML·file·---></span><br> | ||
122 | </code></p> | 121 | </code></p> |
123 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
124 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified | 123 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified |
125 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage | 124 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage |
126 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially | 125 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially |
127 | useful·if·the·image·may·change·frequently.·</P> | 126 | useful·if·the·image·may·change·frequently.·</P> |
128 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup | 127 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup |
Offset 1, 45 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:·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··············<!---·This·comment·doesn't·appear·in·the·HTML·file | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················---> | ||
6 | ·_\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* |
7 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e···················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the |
8 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················specified·image's·width·and·height·to·the·tag |
9 | · | 7 | ·_.U_.s_.a_.g_.e·····················automatically.·This·has·the·advantage·of·not·having |
10 | · | 8 | ·HTP·Tags··················to·determine·each·image's·size·manually,·which·is |
11 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············especially·useful·if·the·image·may·change |
12 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················frequently. |
13 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············htp·adds·this·information·with·the·WIDTH·and·HEIGHT |
14 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················markup·attributes.·If·htp·detects·these·attributes |
15 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify |
16 | · | 14 | · ···_.I_.F····················the·values.·If·htp·cannot·find·the·image·file,·it |
17 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C···················will·issue·a·warning·but·not·halt·processing. |
18 | · | 16 | ·[>]·_.I_.M_.G···················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG |
19 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············(Portable·Network·Graphics),·and·JFIF·(JPEG·File |
20 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················Interchange·Format)·are·supported. |
21 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or |
22 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················not·htp·actually·adds·this·information·as·it |
23 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················executes. |
24 | · ···_\x8U_\x8 | 22 | · ···_\x8U_\x8N_.D_.E_.F·················Since·htp·is·able·to·lookup·files·only·in·the·local |
25 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map |
26 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················URLs·to·local·files. |
27 | · | 25 | · ···_.W_.H_.I_.L_.E·················htp·can·also·add·default·ALT·text·to·IMG·tags·using |
28 | · | 26 | · ···_.<_.!_.-_.-_.-·················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T. |
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 |
Offset 128, 36 lines modified | Offset 128, 15 lines modified | ||
128 | macroname·must·be·the·name·of·a·defined·macro·that·contains·an | 128 | macroname·must·be·the·name·of·a·defined·macro·that·contains·an |
129 | integer.··If·the·increment·is·ommitted·it·defaults·to·1. | 129 | integer.··If·the·increment·is·ommitted·it·defaults·to·1. |
130 | The·effect·of·this·operation·is·that·the·macro·is·redefined | 130 | The·effect·of·this·operation·is·that·the·macro·is·redefined |
131 | to·contain·the·sum·of·its·previous·value·and·its·increment. | 131 | to·contain·the·sum·of·its·previous·value·and·its·increment. |
132 | <P> | 132 | <P> |
133 | To·increment·or·decrement·a·variable·you·can·use·this·form: | 133 | To·increment·or·decrement·a·variable·you·can·use·this·form: |
134 | ··<p><code> | 134 | ··<p><code> |
135 | · ·<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> | ||
135 | ·<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> | ||
136 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
137 | <br> | ||
138 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
139 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
140 | ·(no·URL·replacement).<br> | ||
141 | <br> | ||
142 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
143 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
144 | <br> | ||
145 | ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
146 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
147 | ·will·not·be·added.<br> | ||
148 | <br> | ||
149 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
150 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
151 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
152 | <br> | ||
153 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
154 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
155 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
156 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
157 | </code></p> | 136 | </code></p> |
158 | <p> | 137 | <p> |
159 | Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It | 138 | Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It |
160 | may·give·weired·results·when·used·on·arbitrary·strings.··The·integer | 139 | may·give·weired·results·when·used·on·arbitrary·strings.··The·integer |
161 | values·are·limited·to·the·range·-2^31..2^31. | 140 | values·are·limited·to·the·range·-2^31..2^31. |
162 | <P> | 141 | <P> |
163 | Note·further·that·htp·wasn't·designed·to·do·extensive·calculations. | 142 | Note·further·that·htp·wasn't·designed·to·do·extensive·calculations. |
Offset 11, 60 lines modified | Offset 11, 26 lines modified | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············be·the·name·of·a·defined·macro·that·contains·an | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············be·the·name·of·a·defined·macro·that·contains·an |
12 | · ···_\x8D_\x8E_\x8F···················integer.·If·the·increment·is·ommitted·it·defaults | 12 | · ···_\x8D_\x8E_\x8F···················integer.·If·the·increment·is·ommitted·it·defaults |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················to·1.·The·effect·of·this·operation·is·that·the | 13 | · ···_\x8F_\x8I_\x8L_\x8E··················to·1.·The·effect·of·this·operation·is·that·the |
14 | · ···_\x8I_\x8F····················macro·is·redefined·to·contain·the·sum·of·its | 14 | · ···_\x8I_\x8F····················macro·is·redefined·to·contain·the·sum·of·its |
15 | ·[>]·_\x8I_\x8N_\x8C···················previous·value·and·its·increment. | 15 | ·[>]·_\x8I_\x8N_\x8C···················previous·value·and·its·increment. |
16 | · ···_\x8I_\x8M_\x8G···················To·increment·or·decrement·a·variable·you·can·use | 16 | · ···_\x8I_\x8M_\x8G···················To·increment·or·decrement·a·variable·you·can·use |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············this·form: | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············this·form: |
18 | · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················"·path="/var/www/my.domain/"> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
21 | · ···_\x8S_\x8E_\x8T···················var/www/other.domain/"> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·the·local·filename·"logo.gif"·will·be·used·to | ||
25 | · ···_\x8 | 18 | · ···_\x8O_.P_.T··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name>...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F> |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················Note·that·INC·doesn't·check·if·the·strings·really | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················denote·integers.·It·may·give·weired·results·when | ||
21 | · ···_\x8S_\x8E_\x8T···················used·on·arbitrary·strings.·The·integer·values·are | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················limited·to·the·range·-2^31..2^31. | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················Note·further·that·htp·wasn't·designed·to·do | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················extensive·calculations.·The·INC·tag·is·useful·in | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················conjunction·with·WHILE·to·iterate·over·the·defined | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················blocks. |
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················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················my.domain.org/logo.gif"> | ||
30 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
31 | ····························will·be·used. | ||
32 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
33 | ····························other.domain.org/logo.gif"> | ||
34 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
35 | ····························so·the·image·dimensions | ||
36 | ···························· ·will·not·be·added. | ||
37 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
38 | ····························precedence: | ||
39 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
40 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
41 | ····························test/"> | ||
42 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
43 | ····························src="/test/image.gif"> are·mapped·to | ||
44 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
45 | ····························image.gif,·resp. | ||
46 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
47 | ····························swapped,·the·second | ||
48 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
49 | ····························image.gif. | ||
50 | ····························Note·that·INC·doesn't·check·if·the·strings·really | ||
51 | ····························denote·integers.·It·may·give·weired·results·when | ||
52 | ····························used·on·arbitrary·strings.·The·integer·values·are | ||
53 | ····························limited·to·the·range·-2^31..2^31. | ||
54 | ····························Note·further·that·htp·wasn't·designed·to·do | ||
55 | ····························extensive·calculations.·The·INC·tag·is·useful·in | ||
56 | ····························conjunction·with·WHILE·to·iterate·over·the·defined | ||
57 | ····························blocks. | ||
Offset 88, 36 lines modified | Offset 88, 15 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="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> | ||
95 | <font·size="-2"> 1.·</font> ·<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> | ||
96 | <font·size="-2"> 2.·</font> ·<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> | ||
97 | <font·size="-2"> 3.·</font><br> | ||
98 | <font·size="-2"> 4.·</font> ·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> | ||
99 | <font·size="-2"> 5.·</font> ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
100 | <font·size="-2"> 6.·</font> ·(no·URL·replacement).<br> | ||
101 | <font·size="-2"> 7.·</font><br> | ||
102 | <font·size="-2"> 8.·</font> ·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> | ||
103 | <font·size="-2"> 9.·</font> ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
104 | <font·size="-2">10.·</font><br> | ||
105 | <font·size="-2">11.·</font> ·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> | ||
106 | <font·size="-2">12.·</font> ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
107 | <font·size="-2">13.·</font> ·will·not·be·added.<br> | ||
108 | <font·size="-2">14.·</font><br> | ||
109 | <font·size="-2">15.·</font> ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
110 | <font·size="-2">16.·</font> ·<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> | ||
111 | <font·size="-2">17.·</font> ·<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> | ||
112 | <font·size="-2">18.·</font><br> | ||
113 | <font·size="-2">19.·</font> ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/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> | ||
114 | <font·size="-2">20.·</font> ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
115 | <font·size="-2">21.·</font> ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
116 | <font·size="-2">22.·</font> ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
117 | </code></p> | 96 | </code></p> |
118 | <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined. | 97 | <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined. |
119 | The·html·code·which·implements·this·rule·is·following·in·lines·2-8. | 98 | The·html·code·which·implements·this·rule·is·following·in·lines·2-8. |
120 | between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and | 99 | between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and |
121 | <code>/def</code></a>·tags.··You·don't·have·to·understand·this | 100 | <code>/def</code></a>·tags.··You·don't·have·to·understand·this |
122 | html·code,·but·you·should·understand·that·this·is·just·pure·html·to | 101 | html·code,·but·you·should·understand·that·this·is·just·pure·html·to |
123 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> | 102 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> |
Offset 127, 37 lines modified | Offset 106, 39 lines modified | ||
127 | file</a>.··</p> | 106 | file</a>.··</p> |
128 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing | 107 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing |
129 | variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp | 108 | 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 |
130 | encounters·a·blockdef·tag·it·will·automatically·search·for·the | 109 | encounters·a·blockdef·tag·it·will·automatically·search·for·the |
131 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block | 110 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block |
132 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> | 111 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> |
133 | ··<p><code> | 112 | ··<p><code> |
113 | <font·size="-2"> 1.·</font> · ·File·image.gif·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>></span> kilobytes<br> | ||
114 | <font·size="-2"> 2.·</font> · ·Last·modified·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>></span><br> | ||
134 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>></span><br> | ||
135 | <font·size="-2"> 2.·</font> ·...<br> | ||
136 | <font·size="-2"> 3.·</font><span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>></span><br> | ||
137 | </code></p> | 115 | </code></p> |
138 | <h2>Using·parameters</h2> | 116 | <h2>Using·parameters</h2> |
139 | <p>·More·sophisticated·tags·accept·parameters.··The | 117 | <p>·More·sophisticated·tags·accept·parameters.··The |
140 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be | 118 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be |
141 | named·and·expanded·inside·the·<code>def</code>·or | 119 | named·and·expanded·inside·the·<code>def</code>·or |
142 | <code>blockdef</code>·block:·</p> | 120 | <code>blockdef</code>·block:·</p> |
143 | ··<p><code> | 121 | ··<p><code> |
144 | <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> | ||
145 | <font·size="-2"> 2.·</font><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> | ||
146 | <font·size="-2"> 3.·</font>me><br> | ||
147 | </code></p> | 122 | </code></p> |
148 | <h2>Saving·blocks·for·later</h2> | 123 | <h2>Saving·blocks·for·later</h2> |
149 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by | 124 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by |
150 | the·template·file.··The·normal·htp·files·should·just·define·macros | 125 | the·template·file.··The·normal·htp·files·should·just·define·macros |
151 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block | 126 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block |
152 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this | 127 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this |
153 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to | 128 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to |
154 | do·this:</p> | 129 | do·this:</p> |
155 | ··<p><code> | 130 | ··<p><code> |
156 | <font·size="-2"> 1.·</font> · ·<span·class="htp-tag"><<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>></span><br> | 131 | <font·size="-2"> 1.·</font> · ·<span·class="htp-tag"><<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>></span><br> |
132 | <font·size="-2"> 2.·</font>Nelson"·email="jnelson@crl.com"><br> | ||
133 | <font·size="-2"> 3.·</font> · ·This·tag·will·fail:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">name</span>></span><br> | ||
134 | <font·size="-2"> 4.·</font>global><br> | ||
135 | <font·size="-2"> 5.·</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·class="htp-attrib">noexpand</span>></span><br> | ||
136 | <font·size="-2"> 6.·</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> | ||
137 | <font·size="-2"> 7.·</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> | ||
157 | </code></p> | 138 | </code></p> |
158 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a | 139 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a |
159 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is | 140 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is |
160 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is | 141 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is |
161 | build·from·this·counter.··So·the·first·section·is·stored·in·block | 142 | build·from·this·counter.··So·the·first·section·is·stored·in·block |
162 | sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag | 143 | sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag |
163 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally | 144 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally |
Offset 9, 50 lines modified | Offset 9, 15 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.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
16 | ·_\x8B_\x8u_\x8g_\x8s······················ 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ | ||
17 | ····························"·path="/var/www/my.domain/"> | ||
18 | ···························· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/ | ||
19 | ····························"·path="/var/www/other.domain/"> | ||
20 | ···························· 3. | ||
21 | ···························· 4.· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
22 | ···························· 5.· ·the·local·filename·"logo.gif"·will·be·used·to | ||
23 | ····························determine·image·dimensions | ||
24 | ···························· 6.· ·(no·URL·replacement). | ||
25 | ···························· 7. | ||
26 | ···························· 8.· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
27 | ····························my.domain.org/logo.gif"> | ||
28 | ···························· 9.· ·the·local·filename·"/var/www/my.domain/ | ||
29 | ····························logo.gif"·will·be·used. | ||
30 | ····························10. | ||
31 | ····························11.· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
32 | ····························other.domain.org/logo.gif"> | ||
33 | ····························12.· ·the·local·file·cannot·be·found·(no·prefix | ||
34 | ····························match),·so·the·image·dimensions | ||
35 | ····························13.· ·will·not·be·added. | ||
36 | ····························14. | ||
37 | ····························15.· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
38 | ····························precedence: | ||
39 | ····························16.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/ | ||
40 | ····························htdocs/"> | ||
41 | ····························17.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
42 | ····························test/"> | ||
43 | ····························18. | ||
44 | ····························19.· ·<_\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 | ····························20.· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
47 | ····························image.gif,·resp. | ||
48 | ····························21.· ·If·the·order·of·the·imageurl·lines·would·be | ||
49 | ····························swapped,·the·second | ||
50 | ····························22.· ·image·would·be·mapped·to·/var/www/htdocs/ | ||
51 | ····························test/image.gif. | ||
52 | ····························In·line·1·of·the·above·example·a·new·tag·named | 17 | ····························In·line·1·of·the·above·example·a·new·tag·named |
53 | ····························imghr·is·defined.·The·html·code·which·implements | 18 | ····························imghr·is·defined.·The·html·code·which·implements |
54 | ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[ | 19 | ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[ |
55 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to | 20 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to |
56 | ····························understand·this·html·code,·but·you·should | 21 | ····························understand·this·html·code,·but·you·should |
57 | ····························understand·that·this·is·just·pure·html·to·draw·the | 22 | ····························understand·that·this·is·just·pure·html·to·draw·the |
58 | ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line | 23 | ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line |
Offset 63, 35 lines modified | Offset 28, 38 lines modified | ||
63 | ····························Often·you·want·to·define·tags·that·have·an·opening | 28 | ····························Often·you·want·to·define·tags·that·have·an·opening |
64 | ····························and·a·closing·variant.·For·this·purpose·you·should | 29 | ····························and·a·closing·variant.·For·this·purpose·you·should |
65 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a | 30 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a |
66 | ····························blockdef·tag·it·will·automatically·search·for·the | 31 | ····························blockdef·tag·it·will·automatically·search·for·the |
67 | ····························matching·closing·tag·and·put·everything·between | 32 | ····························matching·closing·tag·and·put·everything·between |
68 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an | 33 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an |
69 | ····························example·for·this. | 34 | ····························example·for·this. |
70 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz> | ||
71 | ···························· 2.· ·... | ||
72 | ···························· | 35 | ···························· 1.· · ·File·image.gif·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E |
36 | ····························NAME="image.gif"·SIZE=KBYTE> kilobytes | ||
37 | ···························· 2.· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
38 | ····························TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
73 | ····························*\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* | 39 | ····························*\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* |
74 | ····························More·sophisticated·tags·accept·parameters.·The | 40 | ····························More·sophisticated·tags·accept·parameters.·The |
75 | ····························option·parameter·lets·multiple·metatag·parameters | 41 | ····························option·parameter·lets·multiple·metatag·parameters |
76 | ····························be·named·and·expanded·inside·the·def·or·blockdef | 42 | ····························be·named·and·expanded·inside·the·def·or·blockdef |
77 | ····························block: | 43 | ····························block: |
78 | ···························· 1.·<a·href="mailto:$email">mailto·hyperlink</a> | ||
79 | ···························· 2.·<a·href="http://$domain/~${username}/">another | ||
80 | ····························hyperlink</a> | ||
81 | ···························· 3.·me> | ||
82 | ····························*\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* | 44 | ····························*\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* |
83 | ····························When·you·are·using·templates,·the·html·should·only | 45 | ····························When·you·are·using·templates,·the·html·should·only |
84 | ····························be·written·by·the·template·file.·The·normal·htp | 46 | ····························be·written·by·the·template·file.·The·normal·htp |
85 | ····························files·should·just·define·macros·that·are·used·later | 47 | ····························files·should·just·define·macros·that·are·used·later |
86 | ····························in·the·template.·So·you·may·want·to·write·block | 48 | ····························in·the·template.·So·you·may·want·to·write·block |
87 | ····························tags·that·just·save·the·block·in·a·macro·for·later | 49 | ····························tags·that·just·save·the·block·in·a·macro·for·later |
88 | ····························use.·Although·this·is·possible·with·htp·it·is·quite | 50 | ····························use.·Although·this·is·possible·with·htp·it·is·quite |
89 | ····························tricky,·so·here·we·present·the·way·to·do·this: | 51 | ····························tricky,·so·here·we·present·the·way·to·do·this: |
90 | ···························· 1.· · ·<${tagName}·${attrName}=${value$ctr}> | 52 | ···························· 1.· · ·<${tagName}·${attrName}=${value$ctr}> |
53 | ···························· 2.·Nelson"·email="jnelson@crl.com"> | ||
54 | ···························· 3.· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
55 | ···························· 4.·global> | ||
56 | ···························· 5.· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
57 | ···························· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
58 | ···························· 7.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
91 | ····························This·defines·a·block·macro·named·section.·This | 59 | ····························This·defines·a·block·macro·named·section.·This |
92 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the | 60 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the |
93 | ····························sections.·It·is·increased·for·every·section·(line | 61 | ····························sections.·It·is·increased·for·every·section·(line |
94 | ····························3)·and·then·the·block·macro·name·is·build·from·this | 62 | ····························3)·and·then·the·block·macro·name·is·build·from·this |
95 | ····························counter.·So·the·first·section·is·stored·in·block | 63 | ····························counter.·So·the·first·section·is·stored·in·block |
96 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ | 64 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ |
97 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these | 65 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these |
Offset 114, 22 lines modified | Offset 114, 14 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | · ·<span·class="htp-tag"><<a·href="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 | talic"><br> | ||
123 | · ·<span·class="htp-tag"><b></span><span·class="htp-tag"><i></span><br> | ||
124 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
125 | · ·<span·class="htp-tag"></i></span><span·class="htp-tag"></b></span><br> | ||
126 | ·<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> | ||
127 | <br> | ||
128 | ·This·is·<span·class="htp-tag"><bolditalic></span>bold·and·italic<span·class="htp-tag"></bolditalic></span><br> | ||
129 | </code></p> | 121 | </code></p> |
130 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
131 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing | 123 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing |
132 | options·inside·the·actual·document·being·processed.··The·options·are | 124 | options·inside·the·actual·document·being·processed.··The·options·are |
133 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not | 125 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not |
134 | preceded·by·a·‘-’·character. | 126 | preceded·by·a·‘-’·character. |
135 | <P> | 127 | <P> |
Offset 1, 46 lines modified | Offset 1, 38 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·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················talic"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<b><i> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> | ||
8 | ·HTP·Tags·················· · ·</i></b> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·This·is·<bolditalic>bold·and·italic</bolditalic> | ||
12 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
13 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify |
14 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················processing·options·inside·the·actual·document·being |
15 | · | 7 | ·_.U_.s_.a_.g_.e·····················processed.·The·options·are·used·exactly·as·they |
16 | · | 8 | ·HTP·Tags··················would·be·on·the·command-line,·although·they·are·not |
17 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············preceded·by·a·‘-’·character. |
18 | · | 10 | · ···_.B_.L_.O_.C_.K·················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 |
19 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············_\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. |
12 | · ···_\x8D_\x8E_\x8F | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F | ||
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8M_\x8G | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | ·[>]·_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E |
21 | · ···_\x8S_\x8E_\x8T | 21 | · ···_\x8S_\x8E_\x8T |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
Offset 114, 14 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="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>></span><br> | ||
122 | ·...<br> | ||
123 | <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 | </code></p> | 124 | </code></p> |
122 | <h2>synopsis</h2> | 125 | <h2>synopsis</h2> |
123 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary | 126 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary |
124 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the | 127 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the |
125 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> | 128 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> |
126 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you | 129 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you |
127 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text | 130 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text |
Offset 1, 25 lines modified | Offset 1, 25 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·... | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f> | ||
4 | ·_\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* |
5 | · | 8 | ·HTP·Tags··················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary |
6 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············files·besides·the·main·HTML·file.·The·text·between |
7 | · | 10 | · ···_.B_.L_.O_.C_.K·················this·tag·and·the·corresponding·</OUTPUT>·tag·is |
8 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············written·to·output·file. |
9 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················Normally·the·outputfile·is·cleared·before·writing |
10 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················to·it,·but·you·can·use·the·APPEND·attribute·to |
11 | · ···_\x8 | 14 | · ···_\x8I_.F····················extend·an·existing·file.·The·text·written·to·the |
12 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················file·is·normally·not·expanded,·i.e.·all·tags·inside |
13 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················this·block·are·not·executed·but·written·unmodified |
14 | · ···_\x8I_\x8 | 17 | · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D |
15 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················attribute·to·override·this·behaviour. |
16 | · ···_\x8I_\x8M_\x8G | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | ·[>]·_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | 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 |
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 |
Offset 29, 14 lines modified | Offset 29, 17 lines modified | ||
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, 21 lines modified | Offset 114, 14 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | ·<span·class="htp-tag"><<a·href="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> | ||
122 | · ·<span·class="htp-tag"><b></span><span·class="htp-tag"><i></span><br> | ||
123 | · ·<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> | ||
124 | · ·<span·class="htp-tag"></i></span><span·class="htp-tag"></b></span><br> | ||
125 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
126 | <br> | ||
127 | ·This·is·<span·class="htp-tag"><bolditalic></span>bold·and·italic<span·class="htp-tag"></bolditalic></span><br> | ||
128 | </code></p> | 121 | </code></p> |
129 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
130 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise | 123 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise |
131 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a | 124 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a |
132 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early | 125 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early |
133 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still | 126 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still |
134 | done·inside·a·quote·block. | 127 | done·inside·a·quote·block. |
Offset 1, 44 lines modified | Offset 1, 37 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="bolditalic"> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<b><i> | ||
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····················· · ·</i></b> | ||
8 | ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·This·is·<bolditalic>bold·and·italic</bolditalic> | ||
11 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
12 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise |
13 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················be·interpreted·by·HTP.·It·may·be·useful·in |
14 | · | 7 | ·_.U_.s_.a_.g_.e·····················conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to |
15 | · | 8 | ·HTP·Tags··················prevent·early·expansion·of·some·contained·blocks. |
16 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············Note·that·'$'·evaluation·is·still·done·inside·a |
17 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················quote·block. |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F | ||
12 | · ···_\x8D_\x8E_\x8F | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F | ||
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8M_\x8G | ||
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 |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
Offset 114, 44 lines modified | Offset 114, 20 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">"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> | ||
123 | <br> | ||
124 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
125 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
126 | ·(no·URL·replacement).<br> | ||
127 | <br> | ||
128 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
129 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
130 | <br> | ||
131 | ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
132 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
133 | ·will·not·be·added.<br> | ||
134 | <br> | ||
135 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
136 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
137 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
138 | <br> | ||
139 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
140 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
141 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
142 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
143 | </code></p> | 121 | </code></p> |
144 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
145 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded | 123 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded |
146 | anywhere·in·the·HTML·document.··To·create·a·macro: | 124 | anywhere·in·the·HTML·document.··To·create·a·macro: |
147 | ··<p><code> | 125 | ··<p><code> |
126 | · ·<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> | ||
148 | <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">disabled_because_xyz</span>></span><br> | ||
149 | ·...<br> | ||
150 | <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> | ||
151 | </code></p> | 127 | </code></p> |
152 | <P> | 128 | <P> |
153 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> | 129 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> |
154 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular | 130 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular |
155 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the | 131 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the |
156 | <A·HREF="use.html">'$'</A>·operator. | 132 | <A·HREF="use.html">'$'</A>·operator. |
157 | <P> | 133 | <P> |
Offset 1, 73 lines modified | Offset 1, 36 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················"·path="/var/www/my.domain/"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················var/www/other.domain/"> | ||
8 | ·HTP·Tags | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·the·local·filename·"logo.gif"·will·be·used·to | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············determine·image·dimensions | ||
12 | · ···_\x8D_\x8E_\x8F··················· ·(no·URL·replacement). | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F···················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
15 | · ···_\x8I_\x8N_\x8C···················my.domain.org/logo.gif"> | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············will·be·used. | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················other.domain.org/logo.gif"> | ||
21 | ·[>]·_\x8S_\x8E_\x8T··················· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················so·the·image·dimensions | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·will·not·be·added. | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················precedence: | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················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 | ||
31 | ····························src="/test/image.gif"> are·mapped·to | ||
32 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
33 | ····························image.gif,·resp. | ||
34 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
35 | ····························swapped,·the·second | ||
36 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
37 | ····························image.gif. | ||
38 | ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
39 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be |
40 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················expanded·anywhere·in·the·HTML·document.·To·create·a |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················macro: | ||
8 | ·HTP·Tags·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url·login_name> | ||
41 | ····························macro: | ||
42 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz> | ||
43 | ···························· ·... | ||
44 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f> | ||
45 | ···· | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············The·macro·"emailaddr"·can·then·be·expanded·later. |
46 | ···· | 10 | · ···_.B_.L_.O_.C_.K·················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a |
47 | ···· | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············tag·(i.e.,·into·the·regular·text).·If·the·macro |
48 | ···· | 12 | · ···_.D_.E_.F···················needs·to·be·expanded·inside·a·markup·tag,·use·the |
49 | ···· | 13 | · ···_.F_.I_.L_.E··················_\x8'_\x8$_\x8'·operator. |
50 | ···· | 14 | · ···_.I_.F····················Multiple·macros·can·be·declared·in·a·single·markup |
51 | ···· | 15 | · ···_.I_.N_.C···················tag,·as·the·second·syntax·line·shows. |
52 | ···· | 16 | · ···_.I_.M_.G···················SET·should·only·be·used·for·a·single·line's·worth |
53 | ···· | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············of·text.·Multi-line·macros·can·be·defined·with·the |
54 | ···· | 18 | · ···_.O_.P_.T···················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the |
55 | ···· | 19 | · ···_.O_.U_.T_.P_.U_.T················macro·contains·a·quotation·character·and·you·don't |
56 | ···· | 20 | · ···_.Q_.U_.O_.T_.E·················want·to·fool·around·with·special·escape·characters. |
57 | ·· | 21 | ·[>]·_.S_.E_.T···················Macros·can·be·redefined·by·using·another·SET |
58 | ···· | 22 | · ···_.U_.N_.D_.E_.F·················command·with·the·same·macro·name.·The·prior |
59 | ···· | 23 | · ···_.U_.N_.S_.E_.T·················definition·will·be·destroyed,·however.·Also,·the |
60 | ···· | 24 | · ···_.U_.S_.E_.,_.·_.$················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T |
61 | ····························tag. | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················tag. | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | ||
Offset 16, 10 lines modified | Offset 16, 10 lines modified | ||
16 | <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr> | 16 | <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr> |
17 | <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr> | 17 | <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr> |
18 | </table> | 18 | </table> |
19 | ···</td></tr> | 19 | ···</td></tr> |
20 | ··</table> | 20 | ··</table> |
21 | ··<hr> | 21 | ··<hr> |
22 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> | 22 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> |
23 | ··last·updated· | 23 | ··last·updated·Wed·May·20,·2026 |
24 | ·</body> | 24 | ·</body> |
25 | </html> | 25 | </html> |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* | 1 | ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* |
2 | Navigation·bar·[Photo] | 2 | Navigation·bar·[Photo] |
3 | _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020 | 3 | _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020 |
4 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243 | 4 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243 |
5 | ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242 | 5 | ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242 |
6 | =============================================================================== | 6 | =============================================================================== |
7 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 7 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
8 | last·updated· | 8 | last·updated·Wed·May·20,·2026 |
Offset 5, 9 lines modified | Offset 5, 9 lines modified | ||
5 | <meta·name="Generator"·content="htp·1.19"> | 5 | <meta·name="Generator"·content="htp·1.19"> |
6 | </head> | 6 | </head> |
7 | <body> | 7 | <body> |
8 | This·page·was·produced·by·htp. | 8 | This·page·was·produced·by·htp. |
9 | <hr> | 9 | <hr> |
10 | Copyright·by·Joe·Doe, | 10 | Copyright·by·Joe·Doe, |
11 | <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>, | 11 | <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>, |
12 | last·updated· | 12 | last·updated·Wed·May·20,·2026 |
13 | </body> | 13 | </body> |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | This·page·was·produced·by·htp. | 1 | This·page·was·produced·by·htp. |
2 | =============================================================================== | 2 | =============================================================================== |
3 | Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated· | 3 | Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Wed·May·20,·2026 |
Offset 13, 10 lines modified | Offset 13, 10 lines modified | ||
13 | <p> | 13 | <p> |
14 | As·you·can·see·the·file·contains·almost·only·the·contents. | 14 | As·you·can·see·the·file·contains·almost·only·the·contents. |
15 | </p> | 15 | </p> |
16 | ···</td></tr> | 16 | ···</td></tr> |
17 | ··</table> | 17 | ··</table> |
18 | ··<hr> | 18 | ··<hr> |
19 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> | 19 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> |
20 | ··last·updated· | 20 | ··last·updated·Wed·May·20,·2026 |
21 | ·</body> | 21 | ·</body> |
22 | </html> | 22 | </html> |
Offset 1, 6 lines modified | Offset 1, 6 lines modified | ||
1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8* | 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8* |
2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. | 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. |
3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e | 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e |
4 | =============================================================================== | 4 | =============================================================================== |
5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
6 | last·updated· | 6 | last·updated·Wed·May·20,·2026 |
Offset 13, 10 lines modified | Offset 13, 10 lines modified | ||
13 | ·<p> | 13 | ·<p> |
14 | ·As·you·can·see·the·file·contains·almost·only·the·contents. | 14 | ·As·you·can·see·the·file·contains·almost·only·the·contents. |
15 | ·</p> | 15 | ·</p> |
16 | ···</td></tr> | 16 | ···</td></tr> |
17 | ··</table> | 17 | ··</table> |
18 | ··<hr> | 18 | ··<hr> |
19 | ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br> | 19 | ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br> |
20 | ··last·updated· | 20 | ··last·updated·Wed·May·20,·2026 |
21 | ·</body> | 21 | ·</body> |
22 | </html> | 22 | </html> |
Offset 1, 6 lines modified | Offset 1, 6 lines modified | ||
1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8* | 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8* |
2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. | 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. |
3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e | 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e |
4 | =============================================================================== | 4 | =============================================================================== |
5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
6 | last·updated· | 6 | last·updated·Wed·May·20,·2026 |
Offset 114, 15 lines modified | Offset 114, 14 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="comment"><!---··This·comment·doesn't·appear·in·the·HTML·file·---></span><br> | ||
122 | </code></p> | 121 | </code></p> |
123 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
124 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags | 123 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags |
125 | created·by·<A·HREF="def.html">DEF</A>·and·<A | 124 | created·by·<A·HREF="def.html">DEF</A>·and·<A |
126 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF | 125 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF |
127 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by | 126 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by |
128 | htp·until·it·is·reassigned.··</P> | 127 | htp·until·it·is·reassigned.··</P> |
Offset 1, 19 lines modified | Offset 1, 19 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··············<!---·This·comment·doesn't·appear·in·the·HTML·file | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················---> | ||
6 | ·_\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* |
7 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e···················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags |
8 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the |
9 | · | 7 | ·_.U_.s_.a_.g_.e·····················UNDEF·command.·Once·removed,·the·metatag·will·no |
10 | · | 8 | ·HTP·Tags··················longer·be·recognized·by·htp·until·it·is·reassigned. |
11 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············Multiple·metatags·can·be·removed·by·placing·each |
12 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················name·as·an·attribute. |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F | ||
12 | · ···_\x8D_\x8E_\x8F | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | 13 | · ···_\x8F_\x8I_\x8L_\x8E |
14 | · ···_\x8I_\x8F | 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 |
Offset 24, 16 lines modified | Offset 24, 14 lines modified | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
Offset 114, 32 lines modified | Offset 114, 34 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="comment"><!---··This·comment·doesn't·appear·in·the·HTML·file·---></span><br> | ||
122 | </code></p> | 121 | </code></p> |
123 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
124 | <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. |
125 | 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. |
126 | (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 |
127 | <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 |
128 | old·macro·definition·will·be·removed·automatically.) | 127 | old·macro·definition·will·be·removed·automatically.) |
129 | <P> | 128 | <P> |
130 | For·example: | 129 | For·example: |
131 | ··<p><code> | 130 | ··<p><code> |
131 | ·<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> | ||
132 | · ·...<br> | ||
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">i</span>></span><br> | ||
134 | ·<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> | ||
132 | </code></p> | 135 | </code></p> |
133 | <P> | 136 | <P> |
134 | More·than·one·macro·may·be·removed·in·the·same·tag: | 137 | More·than·one·macro·may·be·removed·in·the·same·tag: |
135 | ··<p><code> | 138 | ··<p><code> |
139 | · ·File·image.gif·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>></span> kilobytes<br> | ||
140 | · ·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> | ||
136 | <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> | ||
137 | <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> | ||
138 | me><br> | ||
139 | </code></p> | 141 | </code></p> |
140 | <p> | 142 | <p> |
141 | </td> | 143 | </td> |
142 | </tr> | 144 | </tr> |
143 | <tr> | 145 | <tr> |
144 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 146 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
145 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> | 147 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> |
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:·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··············<!---·This·comment·doesn't·appear·in·the·HTML·file | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················---> | ||
6 | ·_\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* |
7 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e···················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's |
8 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················definition.·The·macro·is·subsequently·not·available |
9 | · | 7 | ·_.U_.s_.a_.g_.e·····················for·use·in·the·pre-processed·files.·(Note·that |
10 | · | 8 | ·HTP·Tags··················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or |
11 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable. |
12 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················The·old·macro·definition·will·be·removed |
13 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············automatically.) |
14 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················For·example: |
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> | ||
14 | · ···_\x8I_\x8F···················· · ·... | ||
15 | · ···_\x8I_\x8N_\x8C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
15 | · ···_\x8I_\x8 | 17 | · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············More·than·one·macro·may·be·removed·in·the·same·tag: |
18 | · ···_\x8O_\x8P_\x8T··················· · ·File·image.gif·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
16 | · ···_\x8I_\x8M_\x8G···················<a·href="mailto:$email">mailto·hyperlink</a> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<a·href="http://$domain/~${username}/">another | ||
18 | · ···_\x8O_\x8P_\x8T···················hyperlink</a> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················SIZE=KBYTE> kilobytes |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E················· · ·Last·modified·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif" |
21 | · ···_\x8S_\x8E_\x8T···················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
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, 14 lines modified | Offset 30, 16 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 |
Offset 114, 23 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=" | 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 | · ·<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> | 122 | </code></p> |
131 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
132 | <strong>USE</strong>·will·expand·macros·that·have·been·previously | 124 | <strong>USE</strong>·will·expand·macros·that·have·been·previously |
133 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A | 125 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A |
134 | 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 |
135 | markup·tags. | 127 | markup·tags. |
136 | <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 158, 21 lines modified | Offset 150, 16 lines modified | ||
158 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or | 150 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or |
159 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. | 151 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. |
160 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or | 152 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or |
161 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it | 153 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it |
162 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further | 154 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further |
163 | processing·the·contents. | 155 | processing·the·contents. |
164 | ··<p><code> | 156 | ··<p><code> |
157 | <font·size="-2"> 1.·</font> · ·File·image.gif·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>></span> kilobytes<br> | ||
158 | <font·size="-2"> 2.·</font> · ·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 | <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">sect-ctr</span>=<span·class="htp-string">"0"</span>></span><br> | ||
166 | <font·size="-2"> 2.·</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">"section"</span>></span><br> | ||
167 | <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">sect-ctr</span>></span><br> | ||
168 | <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·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> | ||
169 | <font·size="-2"> 5.·</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·class="htp-attrib">noexpand</span>></span><br> | ||
170 | <font·size="-2"> 6.·</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> | ||
171 | <font·size="-2"> 7.·</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> | ||
172 | </code></p> | 159 | </code></p> |
173 | <P> | 160 | <P> |
174 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and | 161 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and |
175 | should·never·cause·confusion·with·surrounding·text.··If·no·curly | 162 | should·never·cause·confusion·with·surrounding·text.··If·no·curly |
176 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation | 163 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation |
177 | character·or·the·maximum·sequence·of·letters,·digits,·"-" | 164 | character·or·the·maximum·sequence·of·letters,·digits,·"-" |
178 | and·"_"·that·follows·it. | 165 | and·"_"·that·follows·it. |
Offset 186, 21 lines modified | Offset 173, 21 lines modified | ||
186 | delimiting·the·text·as·if·it·were·additional·markup·attributes. | 173 | delimiting·the·text·as·if·it·were·additional·markup·attributes. |
187 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), | 174 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), |
188 | quotation·marks·are·not·automatically·supplied. | 175 | quotation·marks·are·not·automatically·supplied. |
189 | <P> | 176 | <P> |
190 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can | 177 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can |
191 | be·nested.··This·is·valid: | 178 | be·nested.··This·is·valid: |
192 | ··<p><code> | 179 | ··<p><code> |
193 | <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> | ||
194 | ·<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> | ||
195 | ·<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> | ||
196 | · ·<span·class="htp-tag"><< | 180 | · ·<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> |
181 | Nelson"·email="jnelson@crl.com"><br> | ||
182 | · ·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> | ||
183 | global><br> | ||
184 | · · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
197 | · ·<span·class="htp-tag"><<a·href=" | 185 | · ·<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> |
198 | ·<span·class="htp-tag"><<a·href=" | 186 | ·<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> |
199 | <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> | ||
200 | </code></p> | 187 | </code></p> |
201 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined | 188 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined |
202 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX | 189 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX |
203 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand | 190 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand |
204 | value1. | 191 | value1. |
205 | <p> | 192 | <p> |
206 | </td> | 193 | </td> |
Offset 1, 58 lines modified | Offset 1, 46 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·············· ·<_.[_.[_.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> |
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 | · | 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* |
14 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously |
15 | · | 7 | ·_.U_.s_.a_.g_.e·····················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be |
16 | · | 8 | ·HTP·Tags··················used·outside·of·other·markup·tags. |
17 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············If·you·USE·a·block·macro·the·value·of·expanded |
18 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················block·macros·will·be·further·parsed·by·htp.·This·is |
19 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············maybe·not·what·you·want,·for·example,·if·the·use·is |
20 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use |
21 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················the·noexpand·attribute·to·prevent·further |
22 | · ···_\x8 | 14 | · ···_\x8I_.F····················expansion. |
23 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················USE·will·accept·additional·parameters,·which·are |
24 | · | 16 | · ···_.I_.M_.G···················"local"·macros·for·the·expanded·macro.·This·is·only |
25 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T |
26 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················cannot·have·parameters·passed.·For·example: |
27 | · | 19 | · ···_.O_.U_.T_.P_.U_.T················(See·below·for·a·description·of·the·'$'·operator.) |
28 | · | 20 | · ···_.Q_.U_.O_.T_.E·················The·example·on·line·7·works·because·"stuff"·has |
29 | · | 21 | · ···_.S_.E_.T···················been·declared·as·a·block·macro,·and·the·tag·is |
30 | ···· | 22 | · ···_.U_.N_.D_.E_.F·················passing·the·"email"·macro·to·the·"stuff"·macro. |
31 | ···· | 23 | · ···_.U_.N_.S_.E_.T·················Line·8·fails·because·the·"email"·macro·is |
32 | ·· | 24 | ·[>]·_.U_.S_.E_.,_.·_.$················unavailable·once·the·block·macro·is·completely |
33 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················expanded,·and·cannot·be·passed·to·a·SET·macro. |
34 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················Note·that·the·"email"·macro·is·available·to·other |
35 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················macros·or·included·files·called·within·the·"stuff" |
36 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················block. |
37 | · | 29 | ·_.B_.u_.g_.s······················Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any |
38 | ····························other·standard·HTML·or·htp·tag,·the·'$'·operator | 30 | ····························other·standard·HTML·or·htp·tag,·the·'$'·operator |
39 | ····························must·be·used.·The·'$'·should·be·immediately | 31 | ····························must·be·used.·The·'$'·should·be·immediately |
40 | ····························followed·by·the·macro·name,·which·may·or·may·not·be | 32 | ····························followed·by·the·macro·name,·which·may·or·may·not·be |
41 | ····························surrounded·by·curly·braces.·When·htp·encounters | 33 | ····························surrounded·by·curly·braces.·When·htp·encounters |
42 | ····························this·it·replaces·the·macro·name·by·the·contents·of | 34 | ····························this·it·replaces·the·macro·name·by·the·contents·of |
43 | ····························the·macro·without·further·processing·the·contents. | 35 | ····························the·macro·without·further·processing·the·contents. |
44 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0"> | ||
45 | ···························· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> | ||
46 | ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
47 | ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}" | ||
48 | ····························expand·global> | ||
49 | ···························· 5.· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
50 | ···························· | 36 | ···························· 1.· · ·File·image.gif·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E |
51 | ···························· | 37 | ····························NAME="image.gif"·SIZE=KBYTE> kilobytes |
38 | ···························· 2.· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
39 | ····························TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
52 | ····························The·use·of·curly·braces·is·encouraged,·since·it·is | 40 | ····························The·use·of·curly·braces·is·encouraged,·since·it·is |
53 | ····························more·robust·and·should·never·cause·confusion·with | 41 | ····························more·robust·and·should·never·cause·confusion·with |
54 | ····························surrounding·text.·If·no·curly·braces·are·used·the | 42 | ····························surrounding·text.·If·no·curly·braces·are·used·the |
55 | ····························macro·name·consists·either·of·a·single·punctuation | 43 | ····························macro·name·consists·either·of·a·single·punctuation |
56 | ····························character·or·the·maximum·sequence·of·letters, | 44 | ····························character·or·the·maximum·sequence·of·letters, |
57 | ····························digits,·"-"·and·"_"·that·follows·it. | 45 | ····························digits,·"-"·and·"_"·that·follows·it. |
58 | ····························If·a·'$'·character·needs·to·be·kept·in·the·final | 46 | ····························If·a·'$'·character·needs·to·be·kept·in·the·final |
Offset 64, 21 lines modified | Offset 52, 21 lines modified | ||
64 | ····························it·with·quotation·marks·to·prevent·spaces·from | 52 | ····························it·with·quotation·marks·to·prevent·spaces·from |
65 | ····························delimiting·the·text·as·if·it·were·additional·markup | 53 | ····························delimiting·the·text·as·if·it·were·additional·markup |
66 | ····························attributes.·If·the·'$'·macro·is·surrounded·by·other | 54 | ····························attributes.·If·the·'$'·macro·is·surrounded·by·other |
67 | ····························text·(as·in·the·two·examples·above),·quotation | 55 | ····························text·(as·in·the·two·examples·above),·quotation |
68 | ····························marks·are·not·automatically·supplied. | 56 | ····························marks·are·not·automatically·supplied. |
69 | ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a | 57 | ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a |
70 | ····························markup·tag·and·can·be·nested.·This·is·valid: | 58 | ····························markup·tag·and·can·be·nested.·This·is·valid: |
71 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> | ||
72 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
73 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
74 | ···························· · ·< | 59 | ···························· · ·<${tagName}·${attrName}=${value$ctr}> |
60 | ····························Nelson"·email="jnelson@crl.com"> | ||
61 | ···························· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
62 | ····························global> | ||
75 | ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_. | 63 | ···························· · · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·block·noexpand> |
76 | ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_. | 64 | ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k> |
77 | ····························<_.[_.[_.r_.e_.f_.]_.]_. | 65 | ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k_.d_.e_.f> |
78 | ····························The·tagName·macro·can·contain·any·tag·name,·even·a | 66 | ····························The·tagName·macro·can·contain·any·tag·name,·even·a |
79 | ····························self-defined·metatag.·Note·that·$ctr·is·expanded | 67 | ····························self-defined·metatag.·Note·that·$ctr·is·expanded |
80 | ····························before·the·valueX·macro·is·expanded,·so·assuming | 68 | ····························before·the·valueX·macro·is·expanded,·so·assuming |
81 | ····························that·ctr·was·set·to·1·it·will·expand·value1. | 69 | ····························that·ctr·was·set·to·1·it·will·expand·value1. |
Offset 114, 42 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="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> | 121 | </code></p> |
123 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
124 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. | 123 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. |
125 | The·basic·form·is·shown·above. | 124 | The·basic·form·is·shown·above. |
126 | <P> | 125 | <P> |
127 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 126 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
128 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. | 127 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. |
129 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the | 128 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the |
130 | conditional·is·reversed: | 129 | conditional·is·reversed: |
131 | ··<p><code> | 130 | ··<p><code> |
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</span>=<span·class="htp-value">KBYTE</span>></span> kilobytes<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> | ||
132 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>></span><br> | ||
133 | · ·<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> | ||
134 | ·<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> | ||
135 | <br> | ||
136 | ·<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> | ||
137 | </code></p> | 133 | </code></p> |
138 | <P> | 134 | <P> |
139 | 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 | 135 | 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 |
140 | macro's·existance: | 136 | macro's·existance: |
141 | ··<p><code> | 137 | ··<p><code> |
142 | ·<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> | ||
143 | ·<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> | ||
144 | · ·<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> | ||
145 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·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> | ||
146 | · · ·<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> | ||
147 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
148 | ·<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> | ||
149 | </code></p> | 138 | </code></p> |
150 | <P> | 139 | <P> |
151 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the | 140 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the |
152 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the | 141 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the |
153 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. | 142 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. |
154 | <P> | 143 | <P> |
155 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. | 144 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. |
Offset 1, 47 lines modified | Offset 1, 36 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr> | ||
5 | ·_\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* |
6 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated |
7 | ·_\x8 | 6 | ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················processing.·The·basic·form·is·shown·above. |
8 | · | 7 | ·_.U_.s_.a_.g_.e·····················"Conditional"·is·either·a·"compare"·or·"is·defined" |
9 | · | 8 | ·HTP·Tags··················operation.·A·compare·operator·is·a·test·of·the |
10 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············value·of·a·macro·against·a·literal·string.·If·the |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················NOT·tag·is·present·in·the·WHILE·markup,·the |
12 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············evaluation·of·the·conditional·is·reversed: |
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> | ||
14 | · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
15 | · ···_\x8 | 12 | · ···_\x8D_.E_.F··················· · ·File·image.gif·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif" |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················SIZE=KBYTE> kilobytes | ||
14 | · ···_\x8I_\x8F···················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
16 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C···················TIME>,·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif"·DATE> |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T··················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
19 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a |
20 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············macro's·existance: |
21 | · ···_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0"> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
25 | ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E·················global> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
29 | · | 18 | · ···_.O_.P_.T···················If·the·condition·is·true,·the·block·is·evaluated |
30 | ···· | 19 | · ···_.O_.U_.T_.P_.U_.T················and·afterwards·the·WHILE·tag·is·evaluated·again.·If |
31 | ···· | 20 | · ···_.Q_.U_.O_.T_.E·················the·'$'-operator·is·used·in·the·WHILE·tag·it·is |
32 | ···· | 21 | · ···_.S_.E_.T···················also·reevaluated·on·each·iteration. |
33 | ···· | 22 | · ···_.U_.N_.D_.E_.F·················A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. |
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 | ||