Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·704f1024c52141c83ac068ab88db724f·69852·debug·optional·htp-dbgsym_1.19-8_armhf.deb | 1 | ·704f1024c52141c83ac068ab88db724f·69852·debug·optional·htp-dbgsym_1.19-8_armhf.deb |
2 | · | 2 | ·15f223faa022a49747d1c7a40b6a04ec·113288·web·optional·htp_1.19-8_armhf.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·····3616·2020-06-14·23:21:19.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···1094 | 3 | -rw-r--r--···0········0········0···109480·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:·armhf | 3 | Architecture:·armhf |
4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> | 4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> |
5 | Installed-Size:·6 | 5 | Installed-Size:·630 |
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)····42560·2020-06-14·23:21:19.000000·./usr/bin/htp | 4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····42560·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 | -rw-r--r--···0·root·········(0)·root·········(0)·····8276·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html |
9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp | 9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp |
10 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····7945·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)·····9005·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)····14125·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html |
18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp | 18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp |
19 | -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright | 19 | -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright |
20 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 20 | -rw-r--r--···0·root·········(0)·root·········(0)····18344·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html |
21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp | 21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp |
22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html | 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html |
23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp | 23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp |
24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/ | 24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/ |
25 | -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub | 25 | -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub |
26 | -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti | 26 | -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti |
27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt | 27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt |
Offset 32, 64 lines modified | Offset 32, 64 lines modified | ||
32 | -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp | 32 | -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp |
33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html | 33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html |
34 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp | 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp |
35 | -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def | 35 | -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def |
36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html | 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html |
37 | -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp | 37 | -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp |
38 | -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt | 38 | -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt |
39 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 39 | -rw-r--r--···0·root·········(0)·root·········(0)····16023·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)····14529·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)····12626·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)·····9 | 50 | -rw-r--r--···0·root·········(0)·root·········(0)·····9305·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)·····86 | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8601·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)····11607·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html | 54 | -rw-r--r--···0·root·········(0)·root·········(0)····11607·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)····15321·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)·····8 | 69 | -rw-r--r--···0·root·········(0)·root·········(0)·····8141·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)·····8851·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)·····9063·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html | 86 | -rw-r--r--···0·root·········(0)·root·········(0)·····9063·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)····10039·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)····· | 109 | -rw-r--r--···0·root·········(0)·root·········(0)·····7804·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)····10279·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)····11671·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)·····9 | 117 | -rw-r--r--···0·root·········(0)·root·········(0)·····9579·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html |
118 | -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp | 118 | -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp |
119 | -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html | 119 | -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html |
120 | -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp | 120 | -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp |
121 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/ | 121 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/ |
122 | -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp.htp | 122 | -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp.htp |
123 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/ | 123 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/ |
124 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/ | 124 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/ |
Offset 114, 41 lines modified | Offset 114, 28 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="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">"blockname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>></span><br> | ||
122 | text·block<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 | </code></p> | 121 | </code></p> |
126 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
127 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A | 123 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A |
128 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. | 124 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. |
129 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the | 125 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the |
130 | filename·is·considered·in·all·comparisons. | 126 | filename·is·considered·in·all·comparisons. |
131 | <p> | 127 | <p> |
132 | 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 |
133 | 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 |
134 | be·overridden·on·specific·images·and·default·text·on·all·others. | 130 | be·overridden·on·specific·images·and·default·text·on·all·others. |
135 | <p> | 131 | <p> |
136 | For·example: | 132 | For·example: |
137 | ··<p><code> | 133 | ··<p><code> |
134 | <span·class="comment"><!---··This·comment·doesn't·appear·in·the·HTML·file·---></span><br> | ||
138 | ·<span·class="htp-tag"><<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
139 | <br> | ||
140 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
141 | ·becomes·this·after·processing:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
142 | <br> | ||
143 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>></span><br> | ||
144 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
145 | <br> | ||
146 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
147 | ·remains·unchanged.<br> | ||
148 | </code></p> | 135 | </code></p> |
149 | <p> | 136 | <p> |
150 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT | 137 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT |
151 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not | 138 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not |
152 | changed. | 139 | changed. |
153 | <p> | 140 | <p> |
154 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, | 141 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, |
Offset 1, 51 lines modified | Offset 1, 36 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8B_\x8L_\x8O_\x8C_\x8K·NAME="blockname"·[GLOBAL]·[EXPAND]> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················text·block | ||
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 | · | 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* |
9 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag |
10 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················with·a·SRC·matching·the·ALTTEXT·NAME.·Since |
11 | · | 7 | ·_.U_.s_.a_.g_.e·····················relative·paths·can·be·used·to·point·to·the·same |
12 | · | 8 | ·HTP·Tags··················image,·only·the·filename·is·considered·in·all |
13 | · | 9 | ·[>]·_.A_.L_.T_.T_.E_.X_.T···············comparisons. |
14 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················When·an·IMG·tag·with·a·matching·source·is |
15 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············encountered,·htp·will·add·an·ALT·attribute·only·if |
16 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················one·is·not·already·present.·This·allows·for·ALT |
17 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················text·to·be·overridden·on·specific·images·and |
18 | · ···_\x8 | 14 | · ···_\x8I_.F····················default·text·on·all·others. |
19 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················For·example: |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8a_\x8l_\x8t_\x8t_\x8e_\x8x_\x8t·name="logo.gif"·text="Company | ||
21 | · ···_\x8S_\x8E_\x8T···················logo"> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
25 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················<!---·This·comment·doesn't·appear·in·the·HTML·file |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············---> | ||
18 | · ···_\x8O_\x8P_\x8T···················An·ALTTEXT·tag·with·a·name·but·no·text·attribute | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················removes·any·ALT·mapping·for·this·image.·Successing | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················IMG·tags·with·a·matching·SRC·name·are·not·changed. | ||
21 | · ···_\x8S_\x8E_\x8T···················Since·this·is·useful·for·an·image·used·throughout·a | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················set·of·documents,·ALTTEXT·is·most·appropriate·in·an | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················_\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_\x8S_\x8E_\x8,_\x8·_\x8$················In·addition·to·ALTTEXT,·htp·can·also·automatically | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags. | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> | ||
28 | ·_\x8 | 27 | ·_\x8H_.i_.s_.t_.o_.r_.y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ···························· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click | ||
31 | ····························here·for·more·information!"> | ||
32 | ···························· ·remains·unchanged. | ||
33 | ····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute | ||
34 | ····························removes·any·ALT·mapping·for·this·image.·Successing | ||
35 | ····························IMG·tags·with·a·matching·SRC·name·are·not·changed. | ||
36 | ····························Since·this·is·useful·for·an·image·used·throughout·a | ||
37 | ····························set·of·documents,·ALTTEXT·is·most·appropriate·in·an | ||
38 | ····························_\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. | ||
39 | ····························In·addition·to·ALTTEXT,·htp·can·also·automatically | ||
40 | ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags. | ||
Offset 114, 17 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="comment"><!---·comment·---></span><br> | ||
121 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">BLOCK</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"blockname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>></span><br> | ||
122 | text·block<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> | 122 | <br> |
125 | </code></p> | 123 | </code></p> |
126 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
127 | <P> | 125 | <P> |
128 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which | 126 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which |
129 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be | 127 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be |
130 | multi-line·definitions. | 128 | multi-line·definitions. |
Offset 1, 26 lines modified | Offset 1, 26 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<!---·comment·---> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e | ||
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8B_\x8L_\x8O_\x8C_\x8K·NAME="blockname"·[GLOBAL]·[EXPAND]> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················text·block | ||
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 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
9 | · | 7 | ·_.U_.s_.a_.g_.e·····················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros, |
10 | · | 8 | ·HTP·Tags··················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be |
11 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············multi-line·definitions. |
12 | · | 10 | ·[>]·_.B_.L_.O_.C_.K·················Any·text·and·formatting·may·be·set·inside·the |
13 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············block.·You·can·use·any·htp·or·user·defined·metatag |
14 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be |
15 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················expanded·before·the·block·is·USEd·except·if·you |
16 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F····················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter. |
17 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C···················The·block·macro·is·dereferenced·(expanded)·with·the |
18 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the |
19 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro. |
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- |
Offset 30, 16 lines modified | Offset 30, 14 lines modified | ||
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
Offset 114, 38 lines modified | Offset 114, 29 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">NAME</span>=<span·class="htp-string">"blockname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>></span><br> | ||
122 | te | 121 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp[·...·truncated·by·diffoscope;·len:·355,·SHA:·fe5453c94bf9499acd7934274bd6831d8f34678892846aecbb92b696c38b7a5c·...·]<br> |
122 | ·...·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span> ...<br> | ||
123 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/ | 123 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> |
124 | <br> | 124 | <br> |
125 | </code></p> | 125 | </code></p> |
126 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
127 | <strong>BLOCKDEF</strong>·creates·block·<A | 127 | <strong>BLOCKDEF</strong>·creates·block·<A |
128 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it | 128 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it |
129 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block | 129 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block |
130 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and | 130 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and |
131 | </tagname>.··The·contents·of·this·block·are·automatically·stored | 131 | </tagname>.··The·contents·of·this·block·are·automatically·stored |
132 | in·the·block·macro·named·BLOCK. | 132 | in·the·block·macro·named·BLOCK. |
133 | <P>·For·example:</P> | 133 | <P>·For·example:</P> |
134 | ··<p><code> | 134 | ··<p><code> |
135 | <span·class="comment"><!---··This·comment·doesn't·appear·in·the·HTML·file·---></span><br> | ||
135 | ·<span·class="htp-tag"><<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
136 | <br> | ||
137 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
138 | ·becomes·this·after·processing:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
139 | <br> | ||
140 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>></span><br> | ||
141 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
142 | <br> | ||
143 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
144 | ·remains·unchanged.<br> | ||
145 | </code></p> | 136 | </code></p> |
146 | <p> | 137 | <p> |
147 | All·block·metatags·have·the·implicit·option·<a | 138 | All·block·metatags·have·the·implicit·option·<a |
148 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents | 139 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents |
149 | of·the·block·before·the·definition·is·expanded. | 140 | of·the·block·before·the·definition·is·expanded. |
150 | </p> | 141 | </p> |
151 | <p> | 142 | <p> |
Offset 1, 46 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:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\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:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\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]_\x8B_\x8L_\x8O_\x8C_\x8K·NAME="blockname"·[GLOBAL]·[EXPAND]> | ||
5 | ·_\x8 | 4 | ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="tagname"·[option="option1 |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_.[_.[_.r_.e_.f_.]_.]_. | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·...·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·block> ... |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k_.d_.e_.f> |
8 | ·HTP·Tags | ||
8 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
9 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy |
10 | · | 11 | ·[>]·_.B_.L_.O_.C_.K_.D_.E_.F··············way·of·saying·it·creates·new·block·tags.·A·block |
11 | · | 12 | · ···_.D_.E_.F···················tag·is·a·tag·that·takes·a·whole·block·as·additional |
12 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················parameter.·This·block·is·surrounded·by·<tagname> |
13 | · ···_\x8 | 14 | · ···_\x8I_.F····················and·</tagname>.·The·contents·of·this·block·are |
14 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C···················automatically·stored·in·the·block·macro·named |
15 | · ···_\x8I_\x8 | 16 | · ···_\x8I_\x8M_.G···················BLOCK. |
16 | · ···_\x8I_\x8M_\x8G | 17 | · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············For·example: |
17 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················<!---·This·comment·doesn't·appear·in·the·HTML·file |
18 | · ···_\x8O_\x8 | 19 | · ···_\x8O_\x8U_.T_.P_.U_.T················---> |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D, | ||
21 | · ···_\x8S_\x8E_\x8T···················which·tells·htp·to·expand·the·contents·of·the·block | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················before·the·definition·is·expanded. | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················A·more·thorough·discussion·and·more·elaborate | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
21 | · ···_\x8S_\x8E_\x8T··················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················src="logo.gif"·alt="Company·logo"> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·will·also·have·an·ALT·attribute·appended·to·it | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 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 | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················here·for·more·information!"> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·remains·unchanged. | ||
30 | ····························All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D, | ||
31 | ····························which·tells·htp·to·expand·the·contents·of·the·block | ||
32 | ····························before·the·definition·is·expanded. | ||
33 | ····························A·more·thorough·discussion·and·more·elaborate | ||
34 | ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. | ||
Offset 124, 36 lines modified | Offset 124, 50 lines modified | ||
124 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
125 | <p> | 125 | <p> |
126 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful | 126 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful |
127 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. | 127 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. |
128 | Example: | 128 | Example: |
129 | </p> | 129 | </p> |
130 | ··<p><code> | 130 | ··<p><code> |
131 | <span·class="comment"><!---··This·comment·doesn't·appear·in·the·HTML·file·---></span><br> | ||
131 | · ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>></span><br> | ||
132 | · ·<span·class="htp-tag"><p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>></span><br> | ||
133 | · ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
134 | <br> | ||
135 | · ·<span·class="htp-tag"><centered></span><br> | ||
136 | · ·This·text·is·centered.<br> | ||
137 | </code></p> | 132 | </code></p> |
138 | <p> | 133 | <p> |
139 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you | 134 | 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 | 135 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something |
141 | like·this: | 136 | like·this: |
142 | </p> | 137 | </p> |
143 | ··<p><code> | 138 | ··<p><code> |
144 | ·<span·class="htp-tag"><<a·href=" | 139 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>></span><br> |
145 | · | 140 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> |
141 | · ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
146 | ·<span·class="htp-tag"><<a·href=" | 142 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> |
143 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
144 | · ·b·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
147 | <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·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>></span><br> | ||
149 | · ·<span·class="htp-tag"></font></span><br> | ||
150 | ·<span·class="htp-tag"><<a·href=" | 145 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> |
151 | <br> | ||
152 | ·<span·class="htp-tag">< | 146 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>></span><br> |
147 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
148 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>></span><br> | ||
149 | ·contents·of·a:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
150 | ·contents·of·b:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
151 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
152 | · ·c·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
153 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
154 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
155 | · ·d·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
156 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
157 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>></span><br> | ||
158 | · ·e·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
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><br> | ||
160 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>></span><br> | ||
161 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
162 | · ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
163 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
164 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>></span><br> | ||
165 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>></span><br> | ||
166 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>></span><br> | ||
153 | </code></p> | 167 | </code></p> |
154 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the | 168 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the |
155 | reason·why·you·don't·want·to·include·this·block</p> | 169 | reason·why·you·don't·want·to·include·this·block</p> |
156 | <p> | 170 | <p> |
157 | </td> | 171 | </td> |
158 | </tr> | 172 | </tr> |
159 | <tr> | 173 | <tr> |
Offset 4, 33 lines modified | Offset 4, 52 lines modified | ||
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<!---·comment·---> | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<!---·comment·---> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················This·is·a·simple·comment·that·is·not·included·in | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················This·is·a·simple·comment·that·is·not·included·in |
8 | ·HTP·Tags··················the·output.·This·is·useful·when·commenting | 8 | ·HTP·Tags··················the·output.·This·is·useful·when·commenting |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············metatags,·since·the·metatags·do·not·appear·the | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············metatags,·since·the·metatags·do·not·appear·the |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················output·either.·Example: | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················output·either.·Example: |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<!---·This·comment·doesn't·appear·in·the·HTML·file |
12 | · ···_\x8D_\x8E_\x8F··················· | 12 | · ···_\x8D_\x8E_\x8F···················---> |
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
14 | · ···_\x8I_\x8F | ||
15 | · ···_\x8I_\x8N_\x8C··················· · ·<centered> | ||
16 | · ···_\x8I_\x8M_\x8G··················· · ·This·text·is·centered. | ||
17 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················Note·that·these·comments·should·not·include·<·or·>, |
18 | · ···_\x8 | 14 | · ···_\x8I_.F····················that·is·you·should·not·use·it·to·comment·out·htp |
19 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················code.·For·that·purpose·use·something·like·this: |
16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="0"> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
18 | · ···_\x8O_\x8P_\x8T··················· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_.l_.o_.c_.k·name=b·expand> |
21 | · ···_\x8S_\x8E_\x8T··················· · · | 21 | · ···_\x8S_\x8E_\x8T··················· · ·b·is·expanded·at·time·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>. |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8 | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_.l_.o_.c_.k> |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·time="1"> |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.s_.e·a> |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·</font> | ||
26 | · | 25 | · ···_.W_.H_.I_.L_.E················· ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·b> |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | · | 26 | ·[>]·_.<_.!_.-_.-_.-················· ·contents·of·a:·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·a·noexpand> |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
30 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
31 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
32 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand> | ||
33 | ···························· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
34 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
36 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e> | ||
37 | ···························· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
38 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
39 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
40 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2"> | ||
41 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
42 | ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e | ||
43 | ····························time>. | ||
44 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
45 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c> | ||
46 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d> | ||
47 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e> | ||
29 | 48 | ····························Make·sure·that·the·variable·is·never·defined·and | |
30 | ····························xyz·should·be·the·reason·why·you·don't·want·to | 49 | ····························xyz·should·be·the·reason·why·you·don't·want·to |
31 | ····························include·this·block | 50 | ····························include·this·block |
Offset 114, 63 lines modified | Offset 114, 76 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="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>></span><br> |
122 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
123 | · ·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> | ||
124 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
125 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
126 | · ·b·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
127 | ·<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> | ||
128 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>></span><br> | ||
129 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
130 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>></span><br> | ||
131 | ·contents·of·a:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
132 | ·contents·of·b:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
133 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
134 | · ·c·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
135 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
136 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
137 | · ·d·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
138 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
139 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>></span><br> | ||
140 | · ·e·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
141 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
142 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>></span><br> | ||
143 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
144 | · ·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> | ||
145 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
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">c</span>></span><br> | ||
147 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>></span><br> | ||
148 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>></span><br> | ||
122 | </code></p> | 149 | </code></p> |
123 | <h2>synopsis</h2> | 150 | <h2>synopsis</h2> |
124 | <p> | 151 | <p> |
125 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a | 152 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a |
126 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to | 153 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to |
127 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> | 154 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> |
128 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. | 155 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. |
129 | For·example: | 156 | For·example: |
130 | </p> | 157 | </p> |
131 | ··<p><code> | 158 | ··<p><code> |
159 | · ·<span·class="htp-tag"><EM></span>File·"<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>></span>"·last·updated·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">DATE</span>></span><span·class="htp-tag"></EM></span><br> | ||
132 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>></span><br> | ||
133 | ·...<br> | ||
134 | <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 | </code></p> | 160 | </code></p> |
136 | <P> | 161 | <P> |
137 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | 162 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to |
138 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | 163 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A |
139 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | 164 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster |
140 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing | 165 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing |
141 | tag·with·a·preceding·slash.·For·example: | 166 | tag·with·a·preceding·slash.·For·example: |
142 | </P> | 167 | </P> |
143 | ··<p><code> | 168 | ··<p><code> |
169 | · ·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> | ||
170 | · ·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 | ·<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·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</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><br> | ||
147 | <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·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>></span><br> | ||
149 | · ·<span·class="htp-tag"></font></span><br> | ||
150 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
151 | <br> | ||
152 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
153 | </code></p> | 171 | </code></p> |
154 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, | 172 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, |
155 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> | 173 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> |
156 | <P> | 174 | <P> |
157 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were | 175 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were |
158 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with | 176 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with |
159 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their | 177 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their |
160 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) | 178 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) |
161 | </P> | 179 | </P> |
162 | ··<p><code> | 180 | ··<p><code> |
181 | · ·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
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> | ||
163 | · ·a·is·expanded·at·time·1.<br> | ||
164 | · ·b·is·expanded·at·time·0.<br> | ||
165 | ·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> | ||
166 | ·contents·of·b:· ·b·is·expanded·at·time·0.<br> | ||
167 | · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.<br> | ||
168 | · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.<br> | ||
169 | · ·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> | ||
170 | </code></p> | 183 | </code></p> |
171 | <P> | 184 | <P> |
172 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is | 185 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is |
173 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are | 186 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are |
174 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the | 187 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the |
175 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a | 188 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a |
176 | parameter·is·required,·simply·expand·it·without·first·checking.··When | 189 | parameter·is·required,·simply·expand·it·without·first·checking.··When |
Offset 1, 56 lines modified | Offset 1, 72 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··············<!---·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_.]_.]_.s_.e_.t·time="0"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
8 | ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1"> | ||
12 | ·[>]·_\x8D_\x8E_\x8F··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b> | ||
14 | · ···_\x8I_\x8F···················· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
15 | · ···_\x8I_\x8N_\x8C··················· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand> | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
18 | · ···_\x8O_\x8P_\x8T···················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand> | ||
21 | · ···_\x8S_\x8E_\x8T··················· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·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]_\x8s_\x8e_\x8t·time="2"> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
30 | ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e | ||
31 | ····························time>. | ||
32 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
33 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c> | ||
34 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d> | ||
35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e> | ||
6 | 36 | ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | |
7 | 37 | ····························D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of | |
8 | 38 | ····························saying·it·creates·new·tags.·The·mechanism·is·very | |
9 | 39 | ····························similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is | |
10 | 40 | ····························not·used·to·expand·them.·Instead,·they·are·expanded | |
41 | ····························by·their·own·name.·For·example: | ||
42 | ···························· · ·<EM>File·"<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME>"·last·updated·<_\x8[ | ||
43 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············by·their·own·name.·For·example: | ||
12 | ·[>]·_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· ·... | ||
14 | · ···_\x8I_\x8F····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f> | ||
15 | 44 | ····························Some·metatags·will·require·an·opening·and·closing | |
16 | 45 | ····························tag·(comparable·to | |
17 | 46 | ····························and | |
18 | 47 | ····························).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. | |
19 | 48 | ····························Another·slightly·faster·alternative·is·to·use·two | |
20 | 49 | ····························metatags,·the·opening·tag·and·the·closing·tag·with | |
21 | 50 | ····························a·preceding·slash.·For·example: | |
51 | ···························· · ·File·image.gif·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
52 | ····························SIZE=KBYTE> kilobytes | ||
53 | ···························· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
54 | ····························TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="bigfont"> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<font·size="+4"> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·</font> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | ||
30 | ···························· ·<bigfont>Some·large·text</bigfont> | ||
31 | ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will | 55 | ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will |
32 | ····························check·for·matching·end·tag.·It·is·not·that·slower. | 56 | ····························check·for·matching·end·tag.·It·is·not·that·slower. |
33 | ····························Options·can·be·passed·to·a·metatag,·which·can·then | 57 | ····························Options·can·be·passed·to·a·metatag,·which·can·then |
34 | ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are | 58 | ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are |
35 | ····························parameterized·with·the·OPTION·attribute.·Multiple | 59 | ····························parameterized·with·the·OPTION·attribute.·Multiple |
36 | ····························options·can·be·listed·by·separating·their·name·with | 60 | ····························options·can·be·listed·by·separating·their·name·with |
37 | ····························a·space·(which·therefore·requires·they·be | 61 | ····························a·space·(which·therefore·requires·they·be |
38 | ····························surrounded·by·quotes.) | 62 | ····························surrounded·by·quotes.) |
63 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim | ||
64 | ····························Nelson"·email="jnelson@crl.com"> | ||
39 | ···························· · ·a·is·expanded·at·time·1. | ||
40 | ···························· · ·b·is·expanded·at·time·0. | ||
41 | ···························· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[ | ||
42 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
43 | ···························· ·contents·of·b:· ·b·is·expanded·at·time·0. | ||
44 | ···························· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at | ||
45 | ····························time·1. | ||
46 | ···························· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at | ||
47 | ····························time·2. | ||
48 | ···························· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the | ||
49 | ···························· | 65 | ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name> |
50 | ····························htp·will·do·very·specific·checking·of·parameters | 66 | ····························htp·will·do·very·specific·checking·of·parameters |
51 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all | 67 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all |
52 | ····························parameter·options·to·the·metatag·are·optional.·This | 68 | ····························parameter·options·to·the·metatag·are·optional.·This |
53 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify | 69 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify |
54 | ····························the·SIZE·option·is·defined·before·expanding·it·in | 70 | ····························the·SIZE·option·is·defined·before·expanding·it·in |
55 | ····························the·block.·If·a·parameter·is·required,·simply | 71 | ····························the·block.·If·a·parameter·is·required,·simply |
56 | ····························expand·it·without·first·checking.·When·htp·expands | 72 | ····························expand·it·without·first·checking.·When·htp·expands |
Offset 98, 35 lines modified | Offset 98, 54 lines modified | ||
98 | <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code> | 98 | <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code> |
99 | modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to | 99 | modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to |
100 | store·something·in·a·block·macro,·that·depends·on·the·current·value·of | 100 | store·something·in·a·block·macro,·that·depends·on·the·current·value·of |
101 | another·macro.··This·other·macro·may·no·longer·have·the·correct·value | 101 | another·macro.··This·other·macro·may·no·longer·have·the·correct·value |
102 | when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when | 102 | when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when |
103 | the·htp·tags·are·expanded:·</P> | 103 | the·htp·tags·are·expanded:·</P> |
104 | ··<p><code> | 104 | ··<p><code> |
105 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="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> | ||
106 | <font·size="-2"> | 105 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>></span><br> |
106 | <font·size="-2"> 2.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
107 | <font·size="-2"> 3.·</font> · ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
107 | <font·size="-2"> | 108 | <font·size="-2"> 4.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> |
109 | <font·size="-2"> 5.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
110 | <font·size="-2"> 6.·</font> · ·b·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
108 | <font·size="-2"> 4.·</font><br> | ||
109 | <font·size="-2"> 5.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>></span><br> | ||
110 | <font·size="-2"> 6.·</font> · ·<span·class="htp-tag"></font></span><br> | ||
111 | <font·size="-2"> 7.·</font> ·<span·class="htp-tag"><<a·href=" | 111 | <font·size="-2"> 7.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> |
112 | <font·size="-2"> 8.·</font><br> | ||
113 | <font·size="-2"> | 112 | <font·size="-2"> 8.·</font> ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>></span><br> |
113 | <font·size="-2"> 9.·</font> ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
114 | <font·size="-2">10.·</font> ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>></span><br> | ||
115 | <font·size="-2">11.·</font> ·contents·of·a:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
116 | <font·size="-2">12.·</font> ·contents·of·b:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
117 | <font·size="-2">13.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
118 | <font·size="-2">14.·</font> · ·c·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
119 | <font·size="-2">15.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
120 | <font·size="-2">16.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
121 | <font·size="-2">17.·</font> · ·d·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
122 | <font·size="-2">18.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
123 | <font·size="-2">19.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>></span><br> | ||
124 | <font·size="-2">20.·</font> · ·e·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
125 | <font·size="-2">21.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
126 | <font·size="-2">22.·</font> ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>></span><br> | ||
127 | <font·size="-2">23.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
128 | <font·size="-2">24.·</font> · ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
129 | <font·size="-2">25.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
130 | <font·size="-2">26.·</font> ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>></span><br> | ||
131 | <font·size="-2">27.·</font> ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>></span><br> | ||
132 | <font·size="-2">28.·</font> ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>></span><br> | ||
114 | </code></p> | 133 | </code></p> |
115 | This·produces·the·following: | 134 | This·produces·the·following: |
116 | ··<p><code> | 135 | ··<p><code> |
117 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="htp-attrib">(output</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">|</span>·<span·class="htp-attrib">redirect)</span>·<span·class="htp-attrib">[noerror]</span>></span><br> | ||
118 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"includefilename"</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>></span><br> | ||
119 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>></span><br> | ||
120 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">size[</span>·=<span·class="htp-value"></span>·<span·class="htp-attrib">(byte|kbyte|mbyte|gbyte)</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[precision</span>=<span·class="htp-value">n]</span>></span><br> | ||
121 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">time[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>></span><br> | ||
122 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">date[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>></span><br> | ||
123 | <span·class="htp-tag"><<a·href=" | 136 | ·<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> |
124 | 137 | · ·<span·class="htp-tag"><font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>></span><br> | |
138 | ·<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> | ||
125 | <br> | 139 | <br> |
140 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>></span><br> | ||
141 | · ·<span·class="htp-tag"></font></span><br> | ||
142 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
143 | <br> | ||
144 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
126 | </code></p> | 145 | </code></p> |
127 | <P> | 146 | <P> |
128 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a | 147 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a |
129 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded | 148 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded |
130 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it | 149 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it |
131 | is·used,·while·the·contents·of·b·are·already·expanded. | 150 | is·used,·while·the·contents·of·b·are·already·expanded. |
132 | </P> | 151 | </P> |
Offset 24, 36 lines modified | Offset 24, 56 lines modified | ||
24 | ····························However,·if·the·block·tag·is·marked·with·the·expand | 24 | ····························However,·if·the·block·tag·is·marked·with·the·expand |
25 | ····························modifier·it·is·expanded·immediately.·This·is·useful | 25 | ····························modifier·it·is·expanded·immediately.·This·is·useful |
26 | ····························if·you·want·to·store·something·in·a·block·macro, | 26 | ····························if·you·want·to·store·something·in·a·block·macro, |
27 | ····························that·depends·on·the·current·value·of·another·macro. | 27 | ····························that·depends·on·the·current·value·of·another·macro. |
28 | ····························This·other·macro·may·no·longer·have·the·correct | 28 | ····························This·other·macro·may·no·longer·have·the·correct |
29 | ····························value·when·the·macro·is·expanded.·Here·is·some·code | 29 | ····························value·when·the·macro·is·expanded.·Here·is·some·code |
30 | ····························that·demonstrate·when·the·htp·tags·are·expanded: | 30 | ····························that·demonstrate·when·the·htp·tags·are·expanded: |
31 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 31 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_.e_.t·time="0"> |
32 | ···························· 2.· · | 32 | ···························· 2.· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·name=a> |
33 | ···························· 3.· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
34 | ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
35 | ···························· 5.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand> | ||
36 | ···························· 6.· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
37 | ···························· 7.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
38 | ···························· 8.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1"> | ||
33 | ···························· | 39 | ···························· 9.· ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·a> |
40 | ····························10.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b> | ||
41 | ····························11.· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
42 | ····························12.· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand> | ||
43 | ····························13.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand> | ||
44 | ····························14.· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
45 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
46 | ····························15.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
47 | ····························16.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand> | ||
48 | ····························17.· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
49 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
50 | ····························18.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
51 | ····························19.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e> | ||
52 | ····························20.· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
53 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
54 | ····························21.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
55 | ····························22.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2"> | ||
56 | ····························23.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
57 | ····························24.· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e | ||
34 | ···························· | 58 | ····························time>. |
59 | ····························25.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
35 | ···························· | 60 | ····························26.· ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·c> |
36 | ···························· 6.· · ·</font> | ||
37 | ···························· | 61 | ····························27.· ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·d> |
62 | ····························28.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e> | ||
38 | ···························· 8. | ||
39 | ···························· 9.· ·<bigfont>Some·large·text</bigfont> | ||
40 | ····························This·produces·the·following: | 63 | ····························This·produces·the·following: |
41 | ····························<_.[_.[_.r_.e_.f_.]_.] | 64 | ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="bigfont"> |
65 | ···························· · ·<font·size="+4"> | ||
42 | ····························(output="filename"·|·redirect)·[noerror]> | ||
43 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="includefilename"·[parameters | ||
44 | ····························...]> | ||
45 | ····························<_.[_.[_.r_.e_.f_.]_.]_. | 66 | ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
46 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·size[·= | ||
47 | ····························(byte|kbyte|mbyte|gbyte)·]·[precision=n]> | ||
48 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·time[·="format"·]> | ||
49 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·date[·="format"·]> | ||
50 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·search="searchpath"> | ||
51 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·template="templatefilename"> | ||
67 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
68 | ···························· · ·</font> | ||
69 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
70 | ···························· ·<bigfont>Some·large·text</bigfont> | ||
52 | ····························When·block·a·and·block·b·are·defined·in·lines·2- | 71 | ····························When·block·a·and·block·b·are·defined·in·lines·2- |
53 | ····························7·the·contents·of·a·are·taken·literally,·however, | 72 | ····························7·the·contents·of·a·are·taken·literally,·however, |
54 | ····························the·contents·for·b·are·already·expanded·so·the | 73 | ····························the·contents·for·b·are·already·expanded·so·the |
55 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it | 74 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it |
56 | ····························is·used,·while·the·contents·of·b·are·already | 75 | ····························is·used,·while·the·contents·of·b·are·already |
57 | ····························expanded. | 76 | ····························expanded. |
58 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with | 77 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with |
Offset 114, 42 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 | · ·a·is·expanded·at·time·1.<br> | ||
122 | · ·b·is·expanded·at·time·0.<br> | ||
123 | ·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> | ||
124 | ·contents·of·b:· ·b·is·expanded·at·time·0.<br> | ||
125 | · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.<br> | ||
126 | · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.<br> | ||
127 | · ·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> | ||
121 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="ebnf">(</span><span·class="htp-attrib">output</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">|</span>·<span·class="htp-attrib">redirect</span><span·class="ebnf">)</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noerror</span><span·class="ebnf">]</span>></span><br> | ||
122 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"includefilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>></span><br> | ||
123 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>></span><br> | ||
124 | <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="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">size</span><span·class="ebnf">[</span>·=<span·class="htp-value"></span>·<span·class="ebnf">(</span><span·class="htp-attrib">byte</span><span·class="ebnf">|</span><span·class="htp-attrib">kbyte</span><span·class="ebnf">|</span><span·class="htp-attrib">mbyte</span><span·class="ebnf">|</span><span·class="htp-attrib">gbyte</span><span·class="ebnf">)</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">precision</span>=<span·class="htp-value">n<span·class="ebnf">]</span></span>></span><br> | ||
125 | <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="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">time</span><span·class="ebnf">[</span>·=<span·class="htp-string">"format"</span>·<span·class="ebnf">]</span>></span><br> | ||
126 | <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="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">date</span><span·class="ebnf">[</span>·=<span·class="htp-string">"format"</span>·<span·class="ebnf">]</span>></span><br> | ||
127 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>></span><br> | ||
128 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>></span><br> | ||
129 | <br> | ||
130 | </code></p> | 128 | </code></p> |
131 | <h2>synopsis</h2> | 129 | <h2>synopsis</h2> |
132 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. | 130 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. |
133 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of | 131 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of |
134 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be | 132 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be |
135 | added·to·the·output·file·as·well. | 133 | added·to·the·output·file·as·well. |
136 | <P> | 134 | <P> |
137 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the | 135 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the |
138 | following·is·perfectly·acceptable: | 136 | following·is·perfectly·acceptable: |
139 | ··<p><code> | 137 | ··<p><code> |
138 | <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">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
139 | · ·block·#1<br> | ||
140 | [<br> | ||
141 | <span·class="htp-tag"><ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
142 | · ·block·#2<br> | ||
143 | ...<br> | ||
144 | ]<br> | ||
145 | [<br> | ||
146 | <span·class="htp-tag"><ELSE></span><br> | ||
147 | · ·block·#3<br> | ||
148 | ]<br> | ||
149 | <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> | ||
150 | <br> | ||
140 | </code></p> | 151 | </code></p> |
141 | <P> | 152 | <P> |
142 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> | 153 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> |
143 | <P> | 154 | <P> |
144 | To·include·information·about·another·file,·such·as·an·archive·file·or | 155 | To·include·information·about·another·file,·such·as·an·archive·file·or |
145 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the | 156 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the |
146 | type·of·information·to·be·displayed: | 157 | type·of·information·to·be·displayed: |
147 | ··<p><code> | 158 | ··<p><code> |
148 | 159 | <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">"filename"</span>·<span·class="htp-attrib">...</span>></span><br> | |
160 | <br> | ||
149 | </code></p> | 161 | </code></p> |
150 | <P> | 162 | <P> |
151 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the | 163 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the |
152 | information·is·displayed.··In·anything·other·than·byte·format,·the·information | 164 | information·is·displayed.··In·anything·other·than·byte·format,·the·information |
153 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number | 165 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number |
154 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional | 166 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional |
155 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no | 167 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no |
Offset 178, 14 lines modified | Offset 190, 16 lines modified | ||
178 | <P> | 190 | <P> |
179 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are | 191 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are |
180 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros | 192 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros |
181 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it | 193 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it |
182 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer | 194 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer |
183 | available.··So: | 195 | available.··So: |
184 | ··<p><code> | 196 | ··<p><code> |
197 | · ·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
198 | · ·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> | ||
185 | </code></p> | 199 | </code></p> |
186 | <P> | 200 | <P> |
187 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included | 201 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included |
188 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the | 202 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the |
189 | second·statement·will·fail.) | 203 | second·statement·will·fail.) |
190 | <P> | 204 | <P> |
191 | <h3><a·name="template">TEMPLATE</a></h3> | 205 | <h3><a·name="template">TEMPLATE</a></h3> |
Offset 1, 37 lines modified | Offset 1, 50 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]_\x8f_\x8i_\x8l_\x8e·execute="command-line" | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················(output="filename"·|·redirect)·[noerror]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="includefilename"·[parameters | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················...]> | ||
8 | ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·name> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·size[·= | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················(byte|kbyte|mbyte|gbyte)·]·[precision=n]> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·time[·="format"·]> | ||
12 | · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·date[·="format"·]> | ||
13 | · | 4 | ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· · ·a·is·expanded·at·time·1. |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·b·is·expanded·at·time·0. | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[ | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
8 | ·HTP·Tags·················· ·contents·of·b:· ·b·is·expanded·at·time·0. | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················time·1. | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at | ||
12 | · ···_\x8D_\x8E_\x8F···················time·2. | ||
13 | ·[>]·_\x8F_\x8I_\x8L_\x8E·················· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the | ||
14 | · ···_\x8I_\x8F····················<_.[_.[_.r_.e_.f_.]_.] | 14 | · ···_\x8I_\x8F····················2nd·time·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>. |
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
17 | · ···_\x8I_\x8M_\x8 | 16 | · ···_\x8I_\x8M_\x8G···················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing |
18 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············purpose.·The·output·file's·name,·the·current·date |
19 | · ···_\x8O_\x8 | 18 | · ···_\x8O_\x8P_.T···················and·time,·and·the·contents·of·another·file·may·be |
20 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················included.·Another·file's·time,·date,·or·size·may·be |
21 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················added·to·the·output·file·as·well. |
22 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················As·with·all·HTML,·these·tags·do·not·have·to·be·on |
23 | · ···_\x8U_\x8N_\x8 | 22 | · ···_\x8U_\x8N_\x8D_.E_.F·················their·own·line,·so·the·following·is·perfectly |
24 | · ···_\x8U_\x8 | 23 | · ···_\x8U_\x8N_.S_.E_.T·················acceptable: |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·[NOT]·conditional> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·block·#1 | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················[ | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················<ELSEIF·[NOT]·conditional> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·block·#2 | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················... | ||
30 | ····························] | ||
31 | ····························[ | ||
32 | ····························<ELSE> | ||
33 | ···························· · ·block·#3 | ||
34 | ····························] | ||
35 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
25 | 36 | ····························*\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* | |
26 | 37 | ····························To·include·information·about·another·file,·such·as | |
27 | 38 | ····························an·archive·file·or·graphic·image,·specify·its·name | |
28 | 39 | ····························with·the·NAME·attribute·followed·by·the·type·of | |
29 | 40 | ····························information·to·be·displayed: | |
30 | ···························· | 41 | ····························<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="filename"·...> |
31 | ····························For·file·size·information,·the·value·BYTE,·KBYTE, | 42 | ····························For·file·size·information,·the·value·BYTE,·KBYTE, |
32 | ····························etc.·dictates·how·the·information·is·displayed.·In | 43 | ····························etc.·dictates·how·the·information·is·displayed.·In |
33 | ····························anything·other·than·byte·format,·the·information·is | 44 | ····························anything·other·than·byte·format,·the·information·is |
34 | ····························displayed·in·floating-point·notation.·The·amount·of | 45 | ····························displayed·in·floating-point·notation.·The·amount·of |
35 | ····························precision·(the·number·of·digits·to·the·right·of·the | 46 | ····························precision·(the·number·of·digits·to·the·right·of·the |
36 | ····························decimal·point)·can·be·set·with·the·optional | 47 | ····························decimal·point)·can·be·set·with·the·optional |
37 | ····························PRECISION·attribute.·The·default·precision·is·zero | 48 | ····························PRECISION·attribute.·The·default·precision·is·zero |
Offset 62, 14 lines modified | Offset 75, 17 lines modified | ||
62 | ····························Additional·parameters·can·be·set·in·the·FILE | 75 | ····························Additional·parameters·can·be·set·in·the·FILE |
63 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that | 76 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that |
64 | ····························are·"passed"·to·the·included·file.·The·macros·are | 77 | ····························are·"passed"·to·the·included·file.·The·macros·are |
65 | ····························available·only·to·the·include·file·(and·any·macros | 78 | ····························available·only·to·the·include·file·(and·any·macros |
66 | ····························or·included·files·it·holds).·After·the·file·is | 79 | ····························or·included·files·it·holds).·After·the·file·is |
67 | ····························completely·included,·the·macros·are·no·longer | 80 | ····························completely·included,·the·macros·are·no·longer |
68 | ····························available.·So: | 81 | ····························available.·So: |
82 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim | ||
83 | ····························Nelson"·email="jnelson@crl.com"> | ||
84 | ···························· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
69 | ····························Macros·named·"name"·and·"email"·are·set,·and | 85 | ····························Macros·named·"name"·and·"email"·are·set,·and |
70 | ····························available·inside·the·included·file.·They·are·not | 86 | ····························available·inside·the·included·file.·They·are·not |
71 | ····························available,·however,·past·the·tag·(which·is·why·the | 87 | ····························available,·however,·past·the·tag·(which·is·why·the |
72 | ····························second·statement·will·fail.) | 88 | ····························second·statement·will·fail.) |
73 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* | 89 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* |
74 | ····························A·template·file·is·nothing·more·than·a·default | 90 | ····························A·template·file·is·nothing·more·than·a·default |
75 | ····························include·file,·one·that·is·included·once·the·input | 91 | ····························include·file,·one·that·is·included·once·the·input |
Offset 114, 16 lines modified | Offset 114, 16 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="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">"filename"</span>·<span·class="htp-attrib">...</span>></span><br> | ||
122 | <br> | 121 | · ·File·image.gif·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-att[·...·truncated·by·diffoscope;·len:·79,·SHA:·e4ed6b1f235253074ec5d21b19ddd13b675ed539d7cc3e36566b2b24ac034363·...·]<br> |
122 | · ·Last·modified·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>></span><br> | ||
123 | </code></p> | 123 | </code></p> |
124 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
125 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building | 125 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building |
126 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. | 126 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. |
127 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A | 127 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A |
128 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal | 128 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal |
129 | string: | 129 | string: |
Offset 131, 14 lines modified | Offset 131, 36 lines modified | ||
131 | · ·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | 131 | · ·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> |
132 | · ·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> | 132 | · ·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> |
133 | </code></p> | 133 | </code></p> |
134 | <P> | 134 | <P> |
135 | and·a·defined·operator·is·a·test·of·a·macro's·existance: | 135 | and·a·defined·operator·is·a·test·of·a·macro's·existance: |
136 | <P> | 136 | <P> |
137 | ··<p><code> | 137 | ··<p><code> |
138 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> | ||
139 | ·<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> | ||
140 | <br> | ||
141 | ·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> | ||
142 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
143 | ·(no·URL·replacement).<br> | ||
144 | <br> | ||
145 | ·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> | ||
146 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
147 | <br> | ||
148 | ·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> | ||
149 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
150 | ·will·not·be·added.<br> | ||
151 | <br> | ||
152 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
153 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
154 | ·<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> | ||
155 | <br> | ||
156 | ·<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> | ||
157 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
158 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
159 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
138 | </code></p> | 160 | </code></p> |
139 | <P> | 161 | <P> |
140 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the | 162 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the |
141 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that | 163 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that |
142 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the | 164 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the |
143 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block | 165 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block |
144 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. | 166 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. |
Offset 1, 36 lines modified | Offset 1, 73 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··············<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·File·image.gif·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif" |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················SIZE=KBYTE> kilobytes |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
6 | · | 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
7 | ·_. | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············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 |
8 | · | 10 | · ···_.B_.L_.O_.C_.K·················blocks·for·conditional·processing.·The·basic·form |
9 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············is·shown·above. |
10 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················"Conditional"·is·either·a·"compare"·or·"is·defined" |
11 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················operation.·A·compare·operator·is·a·test·of·the |
12 | · | 14 | ·[>]·_.I_.F····················value·of·a·macro·against·a·literal·string: |
13 | · ···_\x8 | 15 | · ···_\x8I_.N_.C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim |
14 | · | 16 | · ···_.I_.M_.G···················Nelson"·email="jnelson@crl.com"> |
15 | · ···_\x8I_\x8 | 17 | · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L·············· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> |
16 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················and·a·defined·operator·is·a·test·of·a·macro's |
17 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················existance: |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ | ||
21 | · ···_\x8S_\x8E_\x8T···················"·path="/var/www/my.domain/"> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················var/www/other.domain/"> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·the·local·filename·"logo.gif"·will·be·used·to | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················determine·image·dimensions | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·(no·URL·replacement). | ||
18 | · ···_\x8O_\x8P_\x8T···················If·the·NOT·tag·is·present·in·the·IF·markup,·the | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················evaluation·of·the·conditional·is·reversed.·The | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················first·IF·or·ELSEIF·condition·that·evaluates·to·true | ||
21 | · ···_\x8S_\x8E_\x8T···················is·chosen.·If·none·of·the·conditions·is·true·the | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················ELSE·block·is·taken·if·it·is·present.·A·conditional | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················be·nested. | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
31 | ····························my.domain.org/logo.gif"> | ||
32 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
33 | ····························will·be·used. | ||
34 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
35 | ····························other.domain.org/logo.gif"> | ||
36 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
37 | ····························so·the·image·dimensions | ||
38 | ···························· ·will·not·be·added. | ||
39 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
40 | ····························precedence: | ||
41 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
42 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
43 | ····························test/"> | ||
44 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
45 | ····························src="/test/image.gif"> are·mapped·to | ||
46 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
47 | ····························image.gif,·resp. | ||
48 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
49 | ····························swapped,·the·second | ||
50 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
51 | ····························image.gif. | ||
52 | ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the | ||
53 | ····························evaluation·of·the·conditional·is·reversed.·The | ||
54 | ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true | ||
55 | ····························is·chosen.·If·none·of·the·conditions·is·true·the | ||
56 | ····························ELSE·block·is·taken·if·it·is·present.·A·conditional | ||
57 | ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can | ||
58 | ····························be·nested. | ||
Offset 114, 15 lines modified | Offset 114, 15 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="i | 121 | <span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="h[·...·truncated·by·diffoscope;·len:·45,·SHA:·498d0b1b49fab3aaa82ce4e5058178838ceebe5f133c09d49e055a5382e050d8·...·]<span·class="ebnf">]</span>></span><br> |
122 | <br> | 122 | <br> |
123 | </code></p> | 123 | </code></p> |
124 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
125 | <P> | 125 | <P> |
126 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local | 126 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local |
127 | file·system.··declares·an·URL·replacement·that·is·used·for | 127 | file·system.··declares·an·URL·replacement·that·is·used·for |
128 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions | 128 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1" | ||
5 | ·_\x8 | 4 | ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="imageurl"·[·path="path/in/ |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················local/filesystem"·]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
8 | ·HTP·Tags··················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the | 8 | ·HTP·Tags··················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············local·file·system.·declares·an·URL·replacement·that | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············local·file·system.·declares·an·URL·replacement·that |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option |
12 | · ···_\x8D_\x8E_\x8F···················is·enabled.·Beacause·htp·can't·lookup·files·in·the | 12 | · ···_\x8D_\x8E_\x8F···················is·enabled.·Beacause·htp·can't·lookup·files·in·the |
Offset 114, 15 lines modified | Offset 114, 15 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span> | 121 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> |
122 | </code></p> | 122 | </code></p> |
123 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
124 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified | 124 | <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 | 125 | 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 | 126 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially |
127 | useful·if·the·image·may·change·frequently.·</P> | 127 | useful·if·the·image·may·change·frequently.·</P> |
128 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup | 128 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup |
Offset 1, 11 lines modified | Offset 1, 11 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·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················specified·image's·width·and·height·to·the·tag | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················specified·image's·width·and·height·to·the·tag |
8 | ·HTP·Tags··················automatically.·This·has·the·advantage·of·not·having | 8 | ·HTP·Tags··················automatically.·This·has·the·advantage·of·not·having |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············to·determine·each·image's·size·manually,·which·is | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············to·determine·each·image's·size·manually,·which·is |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················especially·useful·if·the·image·may·change | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················especially·useful·if·the·image·may·change |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············frequently. | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············frequently. |
Offset 113, 32 lines modified | Offset 113, 27 lines modified | ||
113 | file</a>.··</p> | 113 | file</a>.··</p> |
114 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing | 114 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing |
115 | variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp | 115 | variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp |
116 | encounters·a·blockdef·tag·it·will·automatically·search·for·the | 116 | encounters·a·blockdef·tag·it·will·automatically·search·for·the |
117 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block | 117 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block |
118 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> | 118 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> |
119 | ··<p><code> | 119 | ··<p><code> |
120 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="htp-attrib">[APPEND]</span>·<span·class="htp-attrib">[EXPAND]</span>></span><br> | ||
121 | <font·size="-2"> 2.·</font>text·block<br> | ||
120 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>></span><br> | ||
121 | <font·size="-2"> 2.·</font> · ·<span·class="htp-tag"><b></span><span·class="htp-tag"><i></span><br> | ||
122 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
123 | <font·size="-2"> 4.·</font> · ·<span·class="htp-tag"></i></span><span·class="htp-tag"></b></span><br> | ||
124 | <font·size="-2"> | 122 | <font·size="-2"> 3.·</font><span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>></span><br> |
125 | <font·size="-2"> | 123 | <font·size="-2"> 4.·</font><br> |
126 | <font·size="-2"> 7.·</font> ·This·is·<span·class="htp-tag"><bolditalic></span>bold·and·italic<span·class="htp-tag"></bolditalic></span><br> | ||
127 | </code></p> | 124 | </code></p> |
128 | <h2>Using·parameters</h2> | 125 | <h2>Using·parameters</h2> |
129 | <p>·More·sophisticated·tags·accept·parameters.··The | 126 | <p>·More·sophisticated·tags·accept·parameters.··The |
130 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be | 127 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be |
131 | named·and·expanded·inside·the·<code>def</code>·or | 128 | named·and·expanded·inside·the·<code>def</code>·or |
132 | <code>blockdef</code>·block:·</p> | 129 | <code>blockdef</code>·block:·</p> |
133 | ··<p><code> | 130 | ··<p><code> |
131 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[GLOBAL]</span>></span><br> | ||
134 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="htp-attrib">[APPEND]</span>·<span·class="htp-attrib">[EXPAND]</span>></span><br> | ||
135 | <font·size="-2"> 2.·</font>text·block<br> | ||
136 | <font·size="-2"> 3.·</font><span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>></span><br> | ||
137 | <font·size="-2"> | 132 | <font·size="-2"> 2.·</font><br> |
138 | </code></p> | 133 | </code></p> |
139 | <h2>Saving·blocks·for·later</h2> | 134 | <h2>Saving·blocks·for·later</h2> |
140 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by | 135 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by |
141 | the·template·file.··The·normal·htp·files·should·just·define·macros | 136 | the·template·file.··The·normal·htp·files·should·just·define·macros |
142 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block | 137 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block |
143 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this | 138 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this |
144 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to | 139 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to |
Offset 173, 16 lines modified | Offset 168, 15 lines modified | ||
173 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be | 168 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be |
174 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the | 169 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the |
175 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you | 170 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you |
176 | use·expand·in·a·block·around·it.</p> | 171 | use·expand·in·a·block·around·it.</p> |
177 | <p>To·close·this·example·we·show·how·to·expand·the | 172 | <p>To·close·this·example·we·show·how·to·expand·the |
178 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> | 173 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> |
179 | ··<p><code> | 174 | ··<p><code> |
175 | <font·size="-2"> 1.·</font> · ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
180 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[GLOBAL]</span>></span><br> | ||
181 | <font·size="-2"> 2.·</font><br> | ||
182 | </code></p> | 176 | </code></p> |
183 | <p> | 177 | <p> |
184 | The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether | 178 | The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether |
185 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is | 179 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is |
186 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards | 180 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards |
187 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This | 181 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This |
188 | repeats·until·sect-${sect-ctr}·is·not·defined. | 182 | repeats·until·sect-${sect-ctr}·is·not·defined. |
Offset 35, 32 lines modified | Offset 35, 27 lines modified | ||
35 | ····························Often·you·want·to·define·tags·that·have·an·opening | 35 | ····························Often·you·want·to·define·tags·that·have·an·opening |
36 | ····························and·a·closing·variant.·For·this·purpose·you·should | 36 | ····························and·a·closing·variant.·For·this·purpose·you·should |
37 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a | 37 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a |
38 | ····························blockdef·tag·it·will·automatically·search·for·the | 38 | ····························blockdef·tag·it·will·automatically·search·for·the |
39 | ····························matching·closing·tag·and·put·everything·between | 39 | ····························matching·closing·tag·and·put·everything·between |
40 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an | 40 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an |
41 | ····························example·for·this. | 41 | ····························example·for·this. |
42 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="bolditalic"> | ||
43 | ···························· 2.· · ·<b><i> | ||
44 | ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> | ||
45 | ···························· 4.· · ·</i></b> | ||
46 | ···························· 5.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
47 | ···························· 6. | ||
48 | ···························· 7.· ·This·is·<bolditalic>bold·and·italic</ | ||
49 | ····························bolditalic> | ||
50 | ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
51 | ····························More·sophisticated·tags·accept·parameters.·The | ||
52 | ····························option·parameter·lets·multiple·metatag·parameters | ||
53 | ····························be·named·and·expanded·inside·the·def·or·blockdef | ||
54 | ····························block: | ||
55 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND] | 42 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND] |
56 | ····························[EXPAND]> | 43 | ····························[EXPAND]> |
57 | ···························· 2.·text·block | 44 | ···························· 2.·text·block |
58 | ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> | 45 | ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> |
59 | ···························· 4. | 46 | ···························· 4. |
47 | ····························*\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* | ||
48 | ····························More·sophisticated·tags·accept·parameters.·The | ||
49 | ····························option·parameter·lets·multiple·metatag·parameters | ||
50 | ····························be·named·and·expanded·inside·the·def·or·blockdef | ||
51 | ····························block: | ||
52 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_\x8E_\x8T·macroname1="macrovalue1" | ||
53 | ····························[macroname2="macrovalue2"·...]·[GLOBAL]> | ||
54 | ···························· 2. | ||
60 | ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8* | 55 | ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8* |
61 | ····························When·you·are·using·templates,·the·html·should·only | 56 | ····························When·you·are·using·templates,·the·html·should·only |
62 | ····························be·written·by·the·template·file.·The·normal·htp | 57 | ····························be·written·by·the·template·file.·The·normal·htp |
63 | ····························files·should·just·define·macros·that·are·used·later | 58 | ····························files·should·just·define·macros·that·are·used·later |
64 | ····························in·the·template.·So·you·may·want·to·write·block | 59 | ····························in·the·template.·So·you·may·want·to·write·block |
65 | ····························tags·that·just·save·the·block·in·a·macro·for·later | 60 | ····························tags·that·just·save·the·block·in·a·macro·for·later |
66 | ····························use.·Although·this·is·possible·with·htp·it·is·quite | 61 | ····························use.·Although·this·is·possible·with·htp·it·is·quite |
Offset 99, 17 lines modified | Offset 94, 15 lines modified | ||
99 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it | 94 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it |
100 | ····························would·be·expanded·when·defining·the·sect-1·macro | 95 | ····························would·be·expanded·when·defining·the·sect-1·macro |
101 | ····························and·when·using·it·later·in·the·template.·Generally | 96 | ····························and·when·using·it·later·in·the·template.·Generally |
102 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use | 97 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use |
103 | ····························expand·in·a·block·around·it. | 98 | ····························expand·in·a·block·around·it. |
104 | ····························To·close·this·example·we·show·how·to·expand·the | 99 | ····························To·close·this·example·we·show·how·to·expand·the |
105 | ····························sect-${sect-ctr}·blocks·in·the·template: | 100 | ····························sect-${sect-ctr}·blocks·in·the·template: |
106 | ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·ma | 101 | ···························· 1.· · ·<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·emailaddr="jnelson@crl.com"> |
107 | ····························[macroname2="macrovalue2"·...]·[GLOBAL]> | ||
108 | ···························· 2. | ||
109 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the | 102 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the |
110 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined | 103 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined |
111 | ····························the·body·is·evaluated,·which·expands·the·macro·and | 104 | ····························the·body·is·evaluated,·which·expands·the·macro·and |
112 | ····························increases·sect-ctr.·Afterwards·the·while·condition | 105 | ····························increases·sect-ctr.·Afterwards·the·while·condition |
113 | ····························is·checked·again·to·check·for·sect-2·macro.·This | 106 | ····························is·checked·again·to·check·for·sect-2·macro.·This |
114 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. | 107 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. |
115 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* | 108 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* |
Offset 114, 21 lines modified | Offset 114, 18 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">APPEND</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>></span><br> | ||
122 | text·block<br> | ||
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 | 123 | <span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>></span><br> | |
126 | <br> | 124 | <br> |
127 | ·This·is·<span·class="htp-tag"><bolditalic></span>bold·and·italic<span·class="htp-tag"></bolditalic></span><br> | ||
128 | </code></p> | 125 | </code></p> |
129 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
130 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing | 127 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing |
131 | options·inside·the·actual·document·being·processed.··The·options·are | 128 | options·inside·the·actual·document·being·processed.··The·options·are |
132 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not | 129 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not |
133 | preceded·by·a·‘-’·character. | 130 | preceded·by·a·‘-’·character. |
134 | <P> | 131 | <P> |
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\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.O_.U_.T_.P_.U_.T·FILE="outputfilename"·[APPEND] |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[EXPAND]> |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················text·block | ||
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 | · | 7 | ·_.U_.s_.a_.g_.e·····················<_.[_.[_.r_.e_.f_.]_.]_./_.O_.U_.T_.P_.U_.T> |
8 | ·HTP·Tags | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·This·is·<bolditalic>bold·and·italic</bolditalic> | ||
11 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
12 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify |
13 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············processing·options·inside·the·actual·document·being |
14 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················processed.·The·options·are·used·exactly·as·they |
15 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················would·be·on·the·command-line,·although·they·are·not |
16 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F····················preceded·by·a·‘-’·character. |
17 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C···················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 |
18 | · | 16 | · ···_.I_.M_.G···················_\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. |
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 30, 16 lines modified | Offset 30, 14 lines modified | ||
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
Offset 114, 21 lines modified | Offset 114, 19 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>></span><br> | ||
122 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>></span>;<br> | ||
121 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>></span><br> | ||
122 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>></span><br> | ||
123 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> | ||
124 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>></span><br> | ||
125 | · · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
126 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
127 | ·<span·class="htp-tag"><<a·href=" | 123 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> |
124 | <br> | ||
125 | ·<span·class="htp-tag"><sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>></span><br> | ||
128 | </code></p> | 126 | </code></p> |
129 | <h2>synopsis</h2> | 127 | <h2>synopsis</h2> |
130 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary | 128 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary |
131 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the | 129 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the |
132 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> | 130 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> |
133 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you | 131 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you |
134 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text | 132 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text |
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:·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]_\x8 | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_.e_.f·name="sharedimg"·option="name·alt"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">; | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
8 | ·HTP·Tags··················global> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
10 | · | 7 | ·_.U_.s_.a_.g_.e····················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
11 | · | 8 | ·HTP·Tags |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
12 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
13 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary |
14 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················files·besides·the·main·HTML·file.·The·text·between |
15 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················this·tag·and·the·corresponding·</OUTPUT>·tag·is |
16 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F····················written·to·output·file. |
17 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C···················Normally·the·outputfile·is·cleared·before·writing |
18 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················to·it,·but·you·can·use·the·APPEND·attribute·to |
19 | · | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············extend·an·existing·file.·The·text·written·to·the |
20 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················file·is·normally·not·expanded,·i.e.·all·tags·inside |
21 | · | 19 | ·[>]·_.O_.U_.T_.P_.U_.T················this·block·are·not·executed·but·written·unmodified |
22 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D |
23 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················attribute·to·override·this·behaviour. |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
Offset 114, 16 lines modified | Offset 114, 21 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>></span><br> | ||
122 | <br> | 121 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>></span><br> |
122 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>></span><br> | ||
123 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> | ||
124 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>></span><br> | ||
125 | · · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
126 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
127 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
123 | </code></p> | 128 | </code></p> |
124 | <h2>synopsis</h2> | 129 | <h2>synopsis</h2> |
125 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded | 130 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded |
126 | anywhere·in·the·HTML·document.··To·create·a·macro: | 131 | anywhere·in·the·HTML·document.··To·create·a·macro: |
127 | ··<p><code> | 132 | ··<p><code> |
128 | · ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | 133 | · ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> |
129 | </code></p> | 134 | </code></p> |
Offset 1, 36 lines modified | Offset 1, 41 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="macrovalue2"·...]·[GLOBAL]> | ||
6 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e··················· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="section"> |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
8 | ·HTP·Tags··················global> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
7 | · | 12 | · ···_.D_.E_.F···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
8 | · | 13 | · ···_.F_.I_.L_.E··················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be |
9 | · ···_\x8 | 14 | · ···_\x8I_.F····················expanded·anywhere·in·the·HTML·document.·To·create·a |
10 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················macro: |
11 | · ···_\x8 | 16 | · ···_\x8I_.M_.G··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_\x8E_\x8T·emailaddr="jnelson@crl.com"> |
12 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············The·macro·"emailaddr"·can·then·be·expanded·later. |
13 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a |
14 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················tag·(i.e.,·into·the·regular·text).·If·the·macro |
15 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················needs·to·be·expanded·inside·a·markup·tag,·use·the |
16 | · | 21 | ·[>]·_.S_.E_.T···················_\x8'_\x8$_\x8'·operator. |
17 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················Multiple·macros·can·be·declared·in·a·single·markup |
18 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················tag,·as·the·second·syntax·line·shows. |
19 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················SET·should·only·be·used·for·a·single·line's·worth |
20 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_\x8E·················of·text.·Multi-line·macros·can·be·defined·with·the |
21 | · | 26 | · ···_.<_.!_.-_.-_.-·················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the |
22 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················macro·contains·a·quotation·character·and·you·don't |
23 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················want·to·fool·around·with·special·escape·characters. |
24 | · | 29 | ·_.B_.u_.g_.s······················Macros·can·be·redefined·by·using·another·SET |
25 | 30 | ····························command·with·the·same·macro·name.·The·prior | |
26 | 31 | ····························definition·will·be·destroyed,·however.·Also,·the | |
27 | 32 | ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T | |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················tag. | ||
29 | 33 | ····························tag. | |
Offset 114, 17 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="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
121 | <span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>></span><br> | ||
122 | <span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
123 | <br> | ||
124 | </code></p> | 122 | </code></p> |
125 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
126 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags | 124 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags |
127 | created·by·<A·HREF="def.html">DEF</A>·and·<A | 125 | created·by·<A·HREF="def.html">DEF</A>·and·<A |
128 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF | 126 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF |
129 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by | 127 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by |
130 | htp·until·it·is·reassigned.··</P> | 128 | htp·until·it·is·reassigned.··</P> |
Offset 1, 20 lines modified | Offset 1, 20 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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··············<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·emailaddr="jnelson@crl.com"> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
7 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
8 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags |
9 | · | 7 | ·_.U_.s_.a_.g_.e·····················created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the |
10 | · | 8 | ·HTP·Tags··················UNDEF·command.·Once·removed,·the·metatag·will·no |
11 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············longer·be·recognized·by·htp·until·it·is·reassigned. |
12 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················Multiple·metatags·can·be·removed·by·placing·each |
13 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············name·as·an·attribute. |
12 | · ···_\x8D_\x8E_\x8F | ||
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 |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E |
Offset 25, 16 lines modified | Offset 25, 14 lines modified | ||
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, 37 lines modified | Offset 114, 45 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
122 | · ·block<br> | ||
121 | <span·class="htp-tag"><<a·href=" | 123 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> |
122 | <span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
123 | <br> | 124 | <br> |
124 | </code></p> | 125 | </code></p> |
125 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
126 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. | 127 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. |
127 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. | 128 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. |
128 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or | 129 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or |
129 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The | 130 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The |
130 | old·macro·definition·will·be·removed·automatically.) | 131 | old·macro·definition·will·be·removed·automatically.) |
131 | <P> | 132 | <P> |
132 | For·example: | 133 | For·example: |
133 | ··<p><code> | 134 | ··<p><code> |
134 | <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[noexpand]</span>></span><br> | ||
135 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
136 | <span·class="htp-tag">< | 135 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>></span><br> |
136 | ·<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> | ||
137 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
137 | <br> | 138 | <br> |
139 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span><br> | ||
140 | <br> | ||
141 | 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> | ||
142 | 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> | ||
143 | 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> | ||
138 | </code></p> | 144 | </code></p> |
139 | <P> | 145 | <P> |
140 | More·than·one·macro·may·be·removed·in·the·same·tag: | 146 | More·than·one·macro·may·be·removed·in·the·same·tag: |
141 | ··<p><code> | 147 | ··<p><code> |
142 | <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> | ||
143 | <span·class="htp-tag">< | 148 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> |
149 | · ·...<br> | ||
150 | · ·<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> | ||
151 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
144 | </code></p> | 152 | </code></p> |
145 | <p> | 153 | <p> |
146 | </td> | 154 | </td> |
147 | </tr> | 155 | </tr> |
148 | <tr> | 156 | <tr> |
149 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 157 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
150 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> | 158 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> |
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:·U\x8UN\x8NS\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8NS\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_.H_.I_.L_.E·[NOT]·conditional> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> | ||
6 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e··················· · ·block |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
7 | · | 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
8 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's |
9 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················definition.·The·macro·is·subsequently·not·available |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············for·use·in·the·pre-processed·files.·(Note·that |
11 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or |
12 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable. |
13 | · ···_\x8 | 14 | · ···_\x8I_.F····················The·old·macro·definition·will·be·removed |
14 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C···················automatically.) |
15 | · ···_\x8I_\x8 | 16 | · ···_\x8I_\x8M_.G···················For·example: |
16 | · ···_\x8I_\x8M_\x8G···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·macroname·[parameters·...]·[noexpand]> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<...·$macroname·...> | ||
18 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff> |
18 | · ···_\x8O_\x8P_\x8T··················· ·<a·href=$email>send·email</a> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> | ||
19 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F |
23 | ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T·················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················email="jnelson@crl.com"> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················email="jnelson@crl.com"> | ||
20 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················More·than·one·macro·may·be·removed·in·the·same·tag: |
21 | · ···_\x8S_\x8E_\x8T···················<a·href="mailto:$email">mailto·hyperlink</a> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················<a·href="http://$domain/~${username}/">another | ||
23 | ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T·················hyperlink</a> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i> |
30 | ···························· · ·... | ||
31 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
32 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
Offset 114, 18 lines modified | Offset 114, 15 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | · ·<span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>></span><br> | ||
121 | <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noexpand</span><span·class="ebnf">]</span>></span><br> | ||
122 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
123 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
124 | <br> | ||
125 | </code></p> | 122 | </code></p> |
126 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
127 | <strong>USE</strong>·will·expand·macros·that·have·been·previously | 124 | <strong>USE</strong>·will·expand·macros·that·have·been·previously |
128 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A | 125 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A |
129 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other | 126 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other |
130 | markup·tags. | 127 | markup·tags. |
131 | <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 135, 23 lines modified | Offset 132, 18 lines modified | ||
135 | attribute·to·prevent·further·expansion.··</p> | 132 | attribute·to·prevent·further·expansion.··</p> |
136 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros | 133 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros |
137 | for·the·expanded·macro.··This·is·only·valid·for·<A | 134 | for·the·expanded·macro.··This·is·only·valid·for·<A |
138 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A | 135 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A |
139 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For | 136 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For |
140 | example:</p> | 137 | example:</p> |
141 | ··<p><code> | 138 | ··<p><code> |
139 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> | ||
140 | <font·size="-2"> 2.·</font> · ·...<br> | ||
142 | <font·size="-2"> | 141 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> |
143 | <font·size="-2"> 2.·</font> ·<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> | ||
144 | <font·size="-2"> | 142 | <font·size="-2"> 4.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> |
145 | <font·size="-2"> 4.·</font><br> | ||
146 | <font·size="-2"> 5.·</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">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span><br> | ||
147 | <font·size="-2"> 6.·</font><br> | ||
148 | <font·size="-2"> 7.·</font>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> | ||
149 | <font·size="-2"> 8.·</font>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> | ||
150 | <font·size="-2"> 9.·</font>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> | ||
151 | </code></p> | 143 | </code></p> |
152 | <P> | 144 | <P> |
153 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on | 145 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on |
154 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and | 146 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and |
155 | the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8 | 147 | the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8 |
156 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is | 148 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is |
157 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. | 149 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. |
Offset 185, 14 lines modified | Offset 177, 15 lines modified | ||
185 | delimiting·the·text·as·if·it·were·additional·markup·attributes. | 177 | delimiting·the·text·as·if·it·were·additional·markup·attributes. |
186 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), | 178 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), |
187 | quotation·marks·are·not·automatically·supplied. | 179 | quotation·marks·are·not·automatically·supplied. |
188 | <P> | 180 | <P> |
189 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can | 181 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can |
190 | be·nested.··This·is·valid: | 182 | be·nested.··This·is·valid: |
191 | ··<p><code> | 183 | ··<p><code> |
184 | · ·<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> | ||
192 | </code></p> | 185 | </code></p> |
193 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined | 186 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined |
194 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX | 187 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX |
195 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand | 188 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand |
196 | value1. | 189 | value1. |
197 | <p> | 190 | <p> |
198 | </td> | 191 | </td> |
Offset 1, 46 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:·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_.]_.]_.u_. | 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···················<...·$macroname·...> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<...·${macroname}·...> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
8 | · | 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* |
9 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously |
10 | · | 7 | ·_.U_.s_.a_.g_.e·····················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be |
11 | · | 8 | ·HTP·Tags··················used·outside·of·other·markup·tags. |
12 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············If·you·USE·a·block·macro·the·value·of·expanded |
13 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················block·macros·will·be·further·parsed·by·htp.·This·is |
14 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············maybe·not·what·you·want,·for·example,·if·the·use·is |
15 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use |
16 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················the·noexpand·attribute·to·prevent·further |
17 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F····················expansion. |
18 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················USE·will·accept·additional·parameters,·which·are |
19 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················"local"·macros·for·the·expanded·macro.·This·is·only |
20 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T |
21 | · ···_\x8 | 18 | · ···_\x8O_.P_\x8T···················cannot·have·parameters·passed.·For·example: |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· 2.· · ·... | ||
21 | · ···_\x8S_\x8E_\x8T··················· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 4.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E> |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· 2.· ·<a·href=$email>send·email</a> | ||
24 | ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· 4. | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· 5.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· 6. | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· 7.·This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················email="jnelson@crl.com"> | ||
30 | ···························· 8.·But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> | ||
31 | ···························· 9.·And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff | ||
32 | ····························email="jnelson@crl.com"> | ||
33 | ···· | 23 | · ···_.U_.N_.S_.E_.T·················(See·below·for·a·description·of·the·'$'·operator.) |
34 | ·· | 24 | ·[>]·_.U_.S_.E_.,_.·_.$················The·example·on·line·7·works·because·"stuff"·has |
35 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················been·declared·as·a·block·macro,·and·the·tag·is |
36 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················passing·the·"email"·macro·to·the·"stuff"·macro. |
37 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················Line·8·fails·because·the·"email"·macro·is |
38 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················unavailable·once·the·block·macro·is·completely |
39 | · | 29 | ·_.B_.u_.g_.s······················expanded,·and·cannot·be·passed·to·a·SET·macro. |
40 | ····························Note·that·the·"email"·macro·is·available·to·other | 30 | ····························Note·that·the·"email"·macro·is·available·to·other |
41 | ····························macros·or·included·files·called·within·the·"stuff" | 31 | ····························macros·or·included·files·called·within·the·"stuff" |
42 | ····························block. | 32 | ····························block. |
43 | ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any | 33 | ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any |
44 | ····························other·standard·HTML·or·htp·tag,·the·'$'·operator | 34 | ····························other·standard·HTML·or·htp·tag,·the·'$'·operator |
45 | ····························must·be·used.·The·'$'·should·be·immediately | 35 | ····························must·be·used.·The·'$'·should·be·immediately |
46 | ····························followed·by·the·macro·name,·which·may·or·may·not·be | 36 | ····························followed·by·the·macro·name,·which·may·or·may·not·be |
Offset 65, 14 lines modified | Offset 55, 15 lines modified | ||
65 | ····························it·with·quotation·marks·to·prevent·spaces·from | 55 | ····························it·with·quotation·marks·to·prevent·spaces·from |
66 | ····························delimiting·the·text·as·if·it·were·additional·markup | 56 | ····························delimiting·the·text·as·if·it·were·additional·markup |
67 | ····························attributes.·If·the·'$'·macro·is·surrounded·by·other | 57 | ····························attributes.·If·the·'$'·macro·is·surrounded·by·other |
68 | ····························text·(as·in·the·two·examples·above),·quotation | 58 | ····························text·(as·in·the·two·examples·above),·quotation |
69 | ····························marks·are·not·automatically·supplied. | 59 | ····························marks·are·not·automatically·supplied. |
70 | ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a | 60 | ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a |
71 | ····························markup·tag·and·can·be·nested.·This·is·valid: | 61 | ····························markup·tag·and·can·be·nested.·This·is·valid: |
62 | ···························· · ·<${tagName}·${attrName}=${value$ctr}> | ||
72 | ····························The·tagName·macro·can·contain·any·tag·name,·even·a | 63 | ····························The·tagName·macro·can·contain·any·tag·name,·even·a |
73 | ····························self-defined·metatag.·Note·that·$ctr·is·expanded | 64 | ····························self-defined·metatag.·Note·that·$ctr·is·expanded |
74 | ····························before·the·valueX·macro·is·expanded,·so·assuming | 65 | ····························before·the·valueX·macro·is·expanded,·so·assuming |
75 | ····························that·ctr·was·set·to·1·it·will·expand·value1. | 66 | ····························that·ctr·was·set·to·1·it·will·expand·value1. |
Offset 114, 18 lines modified | Offset 114, 15 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | · ·<span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>></span><br> | ||
121 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
122 | · ·block<br> | ||
123 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
124 | <br> | ||
125 | </code></p> | 122 | </code></p> |
126 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
127 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. | 124 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. |
128 | The·basic·form·is·shown·above. | 125 | The·basic·form·is·shown·above. |
129 | <P> | 126 | <P> |
130 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 127 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
131 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. | 128 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. |
Offset 141, 14 lines modified | Offset 138, 15 lines modified | ||
141 | 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 | 138 | Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a |
142 | macro's·existance: | 139 | macro's·existance: |
143 | ··<p><code> | 140 | ··<p><code> |
144 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> | 141 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> |
145 | · ·...<br> | 142 | · ·...<br> |
146 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | 143 | · ·<span·class="htp-tag"><<a·href="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> |
147 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | 144 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> |
145 | ref="http://$domain/~${username}/">another·hyperlink<span·class="htp-tag"></a></span><br> | ||
148 | </code></p> | 146 | </code></p> |
149 | <P> | 147 | <P> |
150 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the | 148 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the |
151 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the | 149 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the |
152 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. | 150 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. |
153 | <P> | 151 | <P> |
154 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. | 152 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. |
Offset 1, 37 lines modified | Offset 1, 36 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr·home_url·login_name> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
8 | · | 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* |
9 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated |
10 | · | 7 | ·_.U_.s_.a_.g_.e·····················processing.·The·basic·form·is·shown·above. |
11 | · | 8 | ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined" |
12 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············operation.·A·compare·operator·is·a·test·of·the |
13 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················value·of·a·macro·against·a·literal·string.·If·the |
14 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············NOT·tag·is·present·in·the·WHILE·markup,·the |
15 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················evaluation·of·the·conditional·is·reversed: |
16 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E·················· ·<_\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> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a | ||
18 | · ···_\x8O_\x8P_\x8T···················macro's·existance: | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> | ||
17 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E················· · ·... |
18 | · ···_\x8 | 21 | · ···_\x8S_.E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a | ||
21 | · ···_\x8S_\x8E_\x8T···················macro's·existance: | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_.H_.I_.L_.E | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_.W_.H_.I_.L_.E> |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················ref="http://$domain/~${username}/">another | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················hyperlink</a> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·... | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
25 | ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
26 | · | 25 | ·[>]·_.W_.H_.I_.L_.E·················If·the·condition·is·true,·the·block·is·evaluated |
27 | · | 26 | · ···_.<_.!_.-_.-_.-·················and·afterwards·the·WHILE·tag·is·evaluated·again.·If |
28 | ·_\x8 | 27 | ·_\x8H_.i_.s_.t_.o_.r_.y···················the·'$'-operator·is·used·in·the·WHILE·tag·it·is |
29 | ·_\x8 | 28 | ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················also·reevaluated·on·each·iteration. |
30 | · | 29 | ·_.B_.u_.g_.s······················A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. |