Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·0aabb37b25ed3d803941384048571f25·70324·debug·optional·htp-dbgsym_1.19-8_arm64.deb | 1 | ·0aabb37b25ed3d803941384048571f25·70324·debug·optional·htp-dbgsym_1.19-8_arm64.deb |
2 | · | 2 | ·c336132fb10e07e2411bdb1c1348fd83·116708·web·optional·htp_1.19-8_arm64.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····36 | 2 | -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···112 | 3 | -rw-r--r--···0········0········0···112900·2020-06-14·23:21:19.000000·data.tar.xz |
Offset 1, 27 lines modified | Offset 1, 27 lines modified | ||
1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./ | 1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./ |
2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/ | 2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/ |
3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/ |
4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····67896·2020-06-14·23:21:19.000000·./usr/bin/htp | 4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····67896·2020-06-14·23:21:19.000000·./usr/bin/htp |
5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/ |
6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/ | 6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/ |
7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/ | 7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/ |
8 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 8 | -rw-r--r--···0·root·········(0)·root·········(0)·····8817·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html |
9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp | 9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp |
10 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····8850·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html |
11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp | 11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp |
12 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····8667·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)·····9786·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)····14282·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html |
21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp | 21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp |
22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html | 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html |
23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp | 23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp |
24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/ | 24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/ |
25 | -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub | 25 | -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub |
26 | -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti | 26 | -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti |
27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt | 27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt |
Offset 32, 64 lines modified | Offset 32, 64 lines modified | ||
32 | -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp | 32 | -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp |
33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html | 33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html |
34 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp | 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp |
35 | -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def | 35 | -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def |
36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html | 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html |
37 | -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp | 37 | -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp |
38 | -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt | 38 | -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt |
39 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 39 | -rw-r--r--···0·root·········(0)·root·········(0)····13011·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)····14294·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)·····8992·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)·····9424·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)·····8662·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html |
53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp | 53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp |
54 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 54 | -rw-r--r--···0·root·········(0)·root·········(0)·····8798·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)····16631·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)·····8632·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)·····8 | 73 | -rw-r--r--···0·root·········(0)·root·········(0)·····8360·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)·····8008·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html | 86 | -rw-r--r--···0·root·········(0)·root·········(0)·····8008·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)·····9189·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)·····8015·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)····10372·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)····13265·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html |
116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp | 116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp |
117 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 117 | -rw-r--r--···0·root·········(0)·root·········(0)····10388·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, 17 lines modified | Offset 114, 17 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>></span><br> | ||
122 | 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-att[·...·truncated·by·diffoscope;·len:·149,·SHA:·49dfd84ac7aca5220a5f1bed63f440279d146be0ec423b34a57498d1917cf24e·...·]<br> | |
122 | text·block<br> | ||
123 | <span·class="htp-tag"><<a·href="block | 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> | 124 | <br> |
125 | </code></p> | 125 | </code></p> |
126 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
127 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A | 127 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A |
128 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. | 128 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. |
129 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the | 129 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the |
130 | filename·is·considered·in·all·comparisons. | 130 | filename·is·considered·in·all·comparisons. |
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:·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_\x8d_\x8e_\x8f·name="tagname"·[option="option1 | ||
5 | ·_\x8 | 4 | ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············<_.[_.[_.r_.e_.f_.]_.]_.B_.L_.O_.C_.K·NAME="blockname"·[GLOBAL]·[EXPAND]> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················text·block | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_.[_.[_.r_.e_.f_.]_.]_./_.B_.L_.O_.C_.K> |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
8 | ·HTP·Tags | ||
9 | · | 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
10 | · | 9 | ·[>]·_.A_.L_.T_.T_.E_.X_.T···············A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················with·a·SRC·matching·the·ALTTEXT·NAME.·Since |
12 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············relative·paths·can·be·used·to·point·to·the·same |
13 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················image,·only·the·filename·is·considered·in·all |
14 | · ···_\x8I_. | 13 | · ···_\x8F_.I_.L_.E··················comparisons. |
15 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F····················When·an·IMG·tag·with·a·matching·source·is |
16 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C···················encountered,·htp·will·add·an·ALT·attribute·only·if |
17 | · ···_\x8I_\x8M_\x8 | 16 | · ···_\x8I_\x8M_\x8G···················one·is·not·already·present.·This·allows·for·ALT |
18 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············text·to·be·overridden·on·specific·images·and |
19 | · ···_\x8O_\x8 | 18 | · ···_\x8O_\x8P_.T···················default·text·on·all·others. |
20 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················For·example: |
21 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················<!---·comment·---> |
22 | · ···_\x8 | 21 | · ···_\x8S_.E_.T |
23 | · ···_\x8U_\x8N_\x8 | 22 | · ···_\x8U_\x8N_\x8D_.E_.F·················An·ALTTEXT·tag·with·a·name·but·no·text·attribute |
24 | · ···_\x8U_\x8 | 23 | · ···_\x8U_\x8N_.S_.E_.T·················removes·any·ALT·mapping·for·this·image.·Successing |
25 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················IMG·tags·with·a·matching·SRC·name·are·not·changed. |
26 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················Since·this·is·useful·for·an·image·used·throughout·a |
27 | · | 26 | · ···_.<_.!_.-_.-_.-·················set·of·documents,·ALTTEXT·is·most·appropriate·in·an |
28 | ·_\x8 | 27 | ·_\x8H_.i_.s_.t_.o_.r_.y···················_\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. |
29 | ·_\x8 | 28 | ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················In·addition·to·ALTTEXT,·htp·can·also·automatically |
30 | · | 29 | ·_.B_.u_.g_.s······················add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags. |
Offset 114, 24 lines modified | Offset 114, 18 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | 121 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp[·...·truncated·by·diffoscope;·len:·337,·SHA:·d7a67cdc30009747c591fedca1622f8f0f34daa8bb2e231517555532078af1de·...·]</span>></span><br> | |
122 | ·...·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span> ...<br> | ||
123 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
122 | <br> | 124 | <br> |
123 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
124 | ·becomes·this·after·processing:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
125 | <br> | ||
126 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>></span><br> | ||
127 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
128 | <br> | ||
129 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
130 | ·remains·unchanged.<br> | ||
131 | </code></p> | 125 | </code></p> |
132 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
133 | <P> | 127 | <P> |
134 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which | 128 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which |
135 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be | 129 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be |
136 | multi-line·definitions. | 130 | multi-line·definitions. |
137 | </P> | 131 | </P> |
Offset 1, 51 lines modified | Offset 1, 43 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="tagname"·[option="option1 |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·...·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> ... | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
8 | ·HTP·Tags | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················logo"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
8 | ·HTP·Tags·················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo"> | ||
10 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> | ||
12 | · ···_\x8D_\x8E_\x8F··················· ·will·also·have·an·ALT·attribute·appended·to·it | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F···················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click | ||
15 | · ···_\x8I_\x8N_\x8C···················here·for·more·information!"> | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·remains·unchanged. | ||
17 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
18 | · | 10 | ·[>]·_.B_.L_.O_.C_.K·················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros, |
19 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be |
20 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················multi-line·definitions. |
21 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················Any·text·and·formatting·may·be·set·inside·the |
22 | · ···_\x8 | 14 | · ···_\x8I_.F····················block.·You·can·use·any·htp·or·user·defined·metatag |
23 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be |
24 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················expanded·before·the·block·is·USEd·except·if·you |
25 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter. |
26 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················The·block·macro·is·dereferenced·(expanded)·with·the |
27 | · | 19 | · ···_.O_.U_.T_.P_.U_.T················_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the |
28 | · | 20 | · ···_.Q_.U_.O_.T_.E·················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro. |
21 | · ···_\x8S_\x8E_\x8T | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
Offset 114, 36 lines modified | Offset 114, 31 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="comment"><!---··This·comment·doesn't·appear·in·the·HTML·file·---></span><br> | ||
121 | ·<span·class="htp-tag"><<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
122 | <br> | ||
123 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
124 | ·becomes·this·after·processing:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
125 | <br> | ||
126 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>></span><br> | ||
127 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
128 | <br> | ||
129 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
130 | ·remains·unchanged.<br> | ||
131 | </code></p> | 122 | </code></p> |
132 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
133 | <strong>BLOCKDEF</strong>·creates·block·<A | 124 | <strong>BLOCKDEF</strong>·creates·block·<A |
134 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it | 125 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it |
135 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block | 126 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block |
136 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and | 127 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and |
137 | </tagname>.··The·contents·of·this·block·are·automatically·stored | 128 | </tagname>.··The·contents·of·this·block·are·automatically·stored |
138 | in·the·block·macro·named·BLOCK. | 129 | in·the·block·macro·named·BLOCK. |
139 | <P>·For·example:</P> | 130 | <P>·For·example:</P> |
140 | ··<p><code> | 131 | ··<p><code> |
141 | <span·class=" | 132 | · ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>></span><br> |
133 | · ·<span·class="htp-tag"><p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>></span><br> | ||
134 | · ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
142 | <br> | 135 | <br> |
136 | · ·<span·class="htp-tag"><centered></span><br> | ||
137 | · ·This·text·is·centered.<br> | ||
143 | </code></p> | 138 | </code></p> |
144 | <p> | 139 | <p> |
145 | All·block·metatags·have·the·implicit·option·<a | 140 | All·block·metatags·have·the·implicit·option·<a |
146 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents | 141 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents |
147 | of·the·block·before·the·definition·is·expanded. | 142 | of·the·block·before·the·definition·is·expanded. |
148 | </p> | 143 | </p> |
149 | <p> | 144 | <p> |
Offset 1, 43 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·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<!---·This·comment·doesn't·appear·in·the·HTML·file |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················---> |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
8 | ·HTP·Tags·················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo"> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | ||
11 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> | ||
12 | · ···_\x8D_\x8E_\x8F··················· ·will·also·have·an·ALT·attribute·appended·to·it | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F···················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click | ||
15 | · ···_\x8I_\x8N_\x8C···················here·for·more·information!"> | ||
16 | · ···_\x8I_\x8M_\x8G··················· ·remains·unchanged. | ||
17 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
18 | · | 7 | ·_.U_.s_.a_.g_.e·····················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy |
19 | · | 8 | ·HTP·Tags··················way·of·saying·it·creates·new·block·tags.·A·block |
20 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············tag·is·a·tag·that·takes·a·whole·block·as·additional |
21 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················parameter.·This·block·is·surrounded·by·<tagname> |
22 | · | 11 | ·[>]·_.B_.L_.O_.C_.K_.D_.E_.F··············and·</tagname>.·The·contents·of·this·block·are |
23 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················automatically·stored·in·the·block·macro·named |
24 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················BLOCK. |
25 | · ···_\x8 | 14 | · ···_\x8I_.F····················For·example: |
26 | · ···_\x8 | 15 | · ···_\x8I_.N_.C··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="centered"> |
16 | · ···_\x8I_\x8M_\x8G··················· · ·<p·align=center> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<centered> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·This·text·is·centered. | ||
21 | · ···_\x8S_\x8E_\x8T···················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D, | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················which·tells·htp·to·expand·the·contents·of·the·block | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················before·the·definition·is·expanded. | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················A·more·thorough·discussion·and·more·elaborate | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. | ||
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 | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D, | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················which·tells·htp·to·expand·the·contents·of·the·block | ||
30 | ····························before·the·definition·is·expanded. | ||
31 | ····························A·more·thorough·discussion·and·more·elaborate | ||
32 | ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. | ||
Offset 124, 35 lines modified | Offset 124, 37 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=" | 131 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</spa[·...·truncated·by·diffoscope;·len:·42,·SHA:·4a54333c1cb9a4ce3e81e5d67e1ed450ce90a4ccf2bf2f73df9b060600c2fba2·...·]></span><br> |
132 | · <span·class="htp-tag"><h1></span><span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>></span><span·class="htp-tag"></h1></span><br> | ||
133 | · <span·class="htp-tag"><p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>></span><br> | ||
134 | · · <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
135 | · <span·class="htp-tag"></p></span><br> | ||
136 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
137 | <br> | ||
138 | ·<span·class="htp-tag"><section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>></span><br> | ||
139 | · ·This·is·a·fancy·section.<br> | ||
140 | ·<span·class="htp-tag"></section></span><br> | ||
132 | </code></p> | 141 | </code></p> |
133 | <p> | 142 | <p> |
134 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you | 143 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you |
135 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something | 144 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something |
136 | like·this: | 145 | like·this: |
137 | </p> | 146 | </p> |
138 | ··<p><code> | 147 | ··<p><code> |
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">"centered"</span>></span><br> | ||
139 | <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> | ||
140 | · ·block·#1<br> | ||
141 | [<br> | ||
142 | <span·class="htp-tag">< | 149 | · ·<span·class="htp-tag"><p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>></span><br> |
143 | · ·block·#2<br> | ||
144 | ...<br> | ||
145 | ]<br> | ||
146 | [<br> | ||
147 | <span·class="htp-tag"><ELSE></span><br> | ||
148 | · ·block·#3<br> | ||
149 | ]<br> | ||
150 | <span·class="htp-tag"><<a·href=" | 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> | 151 | <br> |
152 | · ·<span·class="htp-tag"><centered></span><br> | ||
153 | · ·This·text·is·centered.<br> | ||
152 | </code></p> | 154 | </code></p> |
153 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the | 155 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the |
154 | reason·why·you·don't·want·to·include·this·block</p> | 156 | reason·why·you·don't·want·to·include·this·block</p> |
155 | <p> | 157 | <p> |
156 | </td> | 158 | </td> |
157 | </tr> | 159 | </tr> |
158 | <tr> | 160 | <tr> |
Offset 4, 33 lines modified | Offset 4, 34 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·············· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="section"·option="title"> |
12 | · ···_\x8D_\x8E_\x8F··················· · <h1><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·title></h1> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · <p·class="section"> | ||
14 | · ···_\x8I_\x8F···················· · · <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> | ||
12 | · ···_\x8 | 15 | · ···_\x8I_.N_.C··················· · </p> |
16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T··················· ·<section·title="My·Section"> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·This·is·a·fancy·section. | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·</section> | ||
13 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················Note·that·these·comments·should·not·include·<·or·>, |
14 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················that·is·you·should·not·use·it·to·comment·out·htp |
15 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················code.·For·that·purpose·use·something·like·this: |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="centered"> | ||
16 | · ···_\x8I_\x8M_\x8G···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·[NOT]·conditional> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·block·#1 | ||
18 | · ···_\x8O_\x8P_\x8T···················[ | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················<ELSEIF·[NOT]·conditional> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·block·#2 | ||
21 | · ···_\x8S_\x8E_\x8T···················... | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················] | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················[ | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················<ELSE> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · · | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<p·align=center> |
26 | ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-·················] | ||
27 | · | 26 | ·[>]·_.<_.!_.-_.-_.-················· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
28 | ·_\x8 | 27 | ·_\x8H_.i_.s_.t_.o_.r_.y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<centered> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ · ·This·text·is·centered. | ||
29 | 30 | ····························Make·sure·that·the·variable·is·never·defined·and | |
30 | ····························xyz·should·be·the·reason·why·you·don't·want·to | 31 | ····························xyz·should·be·the·reason·why·you·don't·want·to |
31 | ····························include·this·block | 32 | ····························include·this·block |
Offset 114, 60 lines modified | Offset 114, 62 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="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>></span><br> |
122 | ·...<br> | ||
123 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>></span><br> | ||
122 | </code></p> | 124 | </code></p> |
123 | <h2>synopsis</h2> | 125 | <h2>synopsis</h2> |
124 | <p> | 126 | <p> |
125 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a | 127 | <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 | 128 | 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> | 129 | <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. | 130 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. |
129 | For·example: | 131 | For·example: |
130 | </p> | 132 | </p> |
131 | ··<p><code> | 133 | ··<p><code> |
134 | · ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>></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">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
133 | · ·block·#1<br> | ||
134 | [<br> | ||
135 | <span·class="htp-tag">< | 135 | · ·<span·class="htp-tag"><p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>></span><br> |
136 | · ·block·#2<br> | ||
137 | ...<br> | ||
138 | ]<br> | ||
139 | [<br> | ||
140 | <span·class="htp-tag"><ELSE></span><br> | ||
141 | · ·block·#3<br> | ||
142 | ]<br> | ||
143 | <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><br> |
144 | <br> | 137 | <br> |
138 | · ·<span·class="htp-tag"><centered></span><br> | ||
139 | · ·This·text·is·centered.<br> | ||
145 | </code></p> | 140 | </code></p> |
146 | <P> | 141 | <P> |
147 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | 142 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to |
148 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | 143 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A |
149 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | 144 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster |
150 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing | 145 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing |
151 | tag·with·a·preceding·slash.·For·example: | 146 | tag·with·a·preceding·slash.·For·example: |
152 | </P> | 147 | </P> |
153 | ··<p><code> | 148 | ··<p><code> |
154 | 149 | <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>=<sp[·...·truncated·by·diffoscope;·len:·156,·SHA:·889d86af3ed6b274f68bf09b65c0ef72336a2bb3d417973f3444f20c2be001b9·...·]>></span><br> | |
150 | <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> | ||
151 | <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> | ||
152 | <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> | ||
153 | <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> | ||
154 | <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> | ||
155 | <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> | ||
156 | <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> | ||
157 | <br> | ||
155 | </code></p> | 158 | </code></p> |
156 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, | 159 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, |
157 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> | 160 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> |
158 | <P> | 161 | <P> |
159 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were | 162 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were |
160 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with | 163 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with |
161 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their | 164 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their |
162 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) | 165 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) |
163 | </P> | 166 | </P> |
164 | ··<p><code> | 167 | ··<p><code> |
168 | · ·<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> | ||
165 | · ·<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> | ||
166 | · ·This·tag·will·fail:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">name</span>></span><br> | ||
167 | </code></p> | 169 | </code></p> |
168 | <P> | 170 | <P> |
169 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is | 171 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is |
170 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are | 172 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are |
171 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the | 173 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the |
172 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a | 174 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a |
173 | parameter·is·required,·simply·expand·it·without·first·checking.··When | 175 | parameter·is·required,·simply·expand·it·without·first·checking.··When |
Offset 1, 50 lines modified | Offset 1, 54 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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··············< | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.i_.f·disabled_because_xyz> |
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[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f> | ||
6 | ·_\x8 | 7 | ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
7 | · | 8 | ·HTP·Tags··················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of |
8 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············saying·it·creates·new·tags.·The·mechanism·is·very |
9 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············not·used·to·expand·them.·Instead,·they·are·expanded |
11 | · | 12 | ·[>]·_.D_.E_.F···················by·their·own·name.·For·example: |
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="centered"> | ||
12 | ·[>]·_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·[NOT]·conditional> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·block·#1 | ||
14 | · ···_\x8I_\x8F···················· | 14 | · ···_\x8I_\x8F···················· · ·<p·align=center> |
15 | · ···_\x8I_\x8N_\x8C···················<ELSEIF·[NOT]·conditional> | ||
16 | · ···_\x8I_\x8M_\x8G··················· · ·block·#2 | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············... | ||
18 | · ···_\x8O_\x8P_\x8T···················] | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················[ | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<ELSE> | ||
21 | · ···_\x8S_\x8E_\x8T··················· · ·block·#3 | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················] | ||
23 | · ···_\x8 | 15 | · ···_\x8I_.N_.C··················· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
24 | · ···_\x8 | 16 | · ···_\x8I_.M_.G |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<centered> | ||
18 | · ···_\x8O_\x8P_\x8T··················· · ·This·text·is·centered. | ||
25 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················Some·metatags·will·require·an·opening·and·closing |
26 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················tag·(comparable·to |
27 | · | 21 | · ···_.S_.E_.T···················and |
28 | · | 22 | · ···_.U_.N_.D_.E_.F·················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. |
29 | · | 23 | · ···_.U_.N_.S_.E_.T·················Another·slightly·faster·alternative·is·to·use·two |
30 | ···· | 24 | · ···_.U_.S_.E_.,_.·_.$················metatags,·the·opening·tag·and·the·closing·tag·with |
31 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················a·preceding·slash.·For·example: |
32 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·execute="command-line" |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················(output="filename"·|·redirect)·[noerror]> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="includefilename"·[parameters | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················...]> | ||
30 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·name> | ||
31 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·size[·= | ||
32 | ····························(byte|kbyte|mbyte|gbyte)·]·[precision=n]> | ||
33 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·time[·="format"·]> | ||
34 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·date[·="format"·]> | ||
35 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·search="searchpath"> | ||
36 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·template="templatefilename"> | ||
33 | ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will | 37 | ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will |
34 | ····························check·for·matching·end·tag.·It·is·not·that·slower. | 38 | ····························check·for·matching·end·tag.·It·is·not·that·slower. |
35 | ····························Options·can·be·passed·to·a·metatag,·which·can·then | 39 | ····························Options·can·be·passed·to·a·metatag,·which·can·then |
36 | ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are | 40 | ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are |
37 | ····························parameterized·with·the·OPTION·attribute.·Multiple | 41 | ····························parameterized·with·the·OPTION·attribute.·Multiple |
38 | ····························options·can·be·listed·by·separating·their·name·with | 42 | ····························options·can·be·listed·by·separating·their·name·with |
39 | ····························a·space·(which·therefore·requires·they·be | 43 | ····························a·space·(which·therefore·requires·they·be |
40 | ····························surrounded·by·quotes.) | 44 | ····························surrounded·by·quotes.) |
45 | ···························· · ·<EM>File·"<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME>"·last·updated·<_\x8[ | ||
46 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM> | ||
41 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim | ||
42 | ····························Nelson"·email="jnelson@crl.com"> | ||
43 | ···························· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
44 | ····························htp·will·do·very·specific·checking·of·parameters | 47 | ····························htp·will·do·very·specific·checking·of·parameters |
45 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all | 48 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all |
46 | ····························parameter·options·to·the·metatag·are·optional.·This | 49 | ····························parameter·options·to·the·metatag·are·optional.·This |
47 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify | 50 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify |
48 | ····························the·SIZE·option·is·defined·before·expanding·it·in | 51 | ····························the·SIZE·option·is·defined·before·expanding·it·in |
49 | ····························the·block.·If·a·parameter·is·required,·simply | 52 | ····························the·block.·If·a·parameter·is·required,·simply |
50 | ····························expand·it·without·first·checking.·When·htp·expands | 53 | ····························expand·it·without·first·checking.·When·htp·expands |
Offset 98, 31 lines modified | Offset 98, 42 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">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>></span><br> | ||
106 | <font·size="-2"> 2.·</font> · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>></span><br> | ||
107 | <font·size="-2"> 3.·</font> · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
105 | <font·size="-2"> | 108 | <font·size="-2"> 4.·</font> · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> |
109 | <font·size="-2"> 5.·</font> · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>></span><br> | ||
110 | <font·size="-2"> 6.·</font> · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>></span><br> | ||
111 | <font·size="-2"> 7.·</font> · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>></span><br> | ||
106 | <font·size="-2"> 2.·</font> · ·block·#1<br> | ||
107 | <font·size="-2"> 3.·</font>[<br> | ||
108 | <font·size="-2"> 4.·</font><span·class="htp-tag"><ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
109 | <font·size="-2"> 5.·</font> · ·block·#2<br> | ||
110 | <font·size="-2"> 6.·</font>...<br> | ||
111 | <font·size="-2"> 7.·</font>]<br> | ||
112 | <font·size="-2"> 8.·</font>[<br> | ||
113 | <font·size="-2"> | 112 | <font·size="-2"> 8.·</font> · · · ·<span·class="htp-tag"></FONT></span><br> |
114 | <font·size="-2"> | 113 | <font·size="-2"> 9.·</font> · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> |
114 | <font·size="-2">10.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>></span><br> | ||
115 | <font·size="-2">11.·</font> | 115 | <font·size="-2">11.·</font><br> |
116 | <font·size="-2">12.·</font><span·class="htp-tag"><<a· | 116 | <font·size="-2">12.·</font> ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-strin[·...·truncated·by·diffoscope;·len:·18,·SHA:·435c6f93893994632ade0a72ca3275f54aca7c06a8d81edee81355cdd4c90637·...·]>></span><br> |
117 | <font·size="-2">13.·</font><br> | 117 | <font·size="-2">13.·</font><br> |
118 | <font·size="-2">14.·</font> ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>></span><br> | ||
119 | <font·size="-2">15.·</font><br> | ||
120 | <font·size="-2">16.·</font> ·This·will·fail:<br> | ||
121 | <font·size="-2">17.·</font> ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>></span><br> | ||
122 | <font·size="-2">18.·</font><br> | ||
123 | <font·size="-2">19.·</font> ·Instead,·use·*·like·this:<br> | ||
124 | <font·size="-2">20.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>></span><br> | ||
125 | <font·size="-2">21.·</font> · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>></span><br> | ||
126 | <font·size="-2">22.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>></span><br> | ||
127 | <font·size="-2">23.·</font> · ·<br> | ||
128 | <font·size="-2">24.·</font> ·<span·class="htp-tag"><MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>></span><br> | ||
118 | </code></p> | 129 | </code></p> |
119 | This·produces·the·following: | 130 | This·produces·the·following: |
120 | ··<p><code> | 131 | ··<p><code> |
121 | · ·<span·class="htp-tag"><<a·href="i | 132 | · ·<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"·><i[·...·truncated·by·diffoscope;·len:·328,·SHA:·e864eee6ccd16b7b75055c400688199d4ea02648d6f6a07f2646cfd218160191·...·]></span><br> |
122 | </code></p> | 133 | </code></p> |
123 | <P> | 134 | <P> |
124 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a | 135 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a |
125 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded | 136 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded |
126 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it | 137 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it |
127 | is·used,·while·the·contents·of·b·are·already·expanded. | 138 | is·used,·while·the·contents·of·b·are·already·expanded. |
128 | </P> | 139 | </P> |
Offset 24, 29 lines modified | Offset 24, 45 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]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC | ||
32 | ····························TITLE·SIZE"> | ||
31 | ···························· | 33 | ···························· 2.· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·size> |
34 | ···························· 3.· · · · ·<FONT·SIZE=${size}> | ||
35 | ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
36 | ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
37 | ···························· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
38 | ···························· 7.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
32 | ···························· 2.· · ·block·#1 | ||
33 | ···························· 3.·[ | ||
34 | ···························· 4.·<ELSEIF·[NOT]·conditional> | ||
35 | ···························· 5.· · ·block·#2 | ||
36 | ···························· 6.·... | ||
37 | ···························· 7.·] | ||
38 | ···························· 8.· | 39 | ···························· 8.· · · · ·</FONT> |
39 | ···························· 9.·<ELSE> | ||
40 | ···························· | 40 | ···························· 9.· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F> |
41 | ····························10.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
41 | ····························11. | 42 | ····························11. |
42 | ····························12.·< | 43 | ····························12.· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A |
44 | ····························title"> | ||
43 | ····························13. | 45 | ····························13. |
46 | ····························14.· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
47 | ····························title"> | ||
48 | ····························15. | ||
49 | ····························16.· ·This·will·fail: | ||
50 | ····························17.· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
51 | ····························TITLE="Another·title"> | ||
52 | ····························18. | ||
53 | ····························19.· ·Instead,·use·*·like·this: | ||
54 | ····························20.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
55 | ····························21.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
56 | ····························22.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
57 | ····························23.· · | ||
58 | ····························24.· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
44 | ····························This·produces·the·following: | 59 | ····························This·produces·the·following: |
45 | ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_. | 60 | ···························· · ·<EM>File·"<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME>"·last·updated·<_.[ |
61 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM> | ||
46 | ····························When·block·a·and·block·b·are·defined·in·lines·2- | 62 | ····························When·block·a·and·block·b·are·defined·in·lines·2- |
47 | ····························7·the·contents·of·a·are·taken·literally,·however, | 63 | ····························7·the·contents·of·a·are·taken·literally,·however, |
48 | ····························the·contents·for·b·are·already·expanded·so·the | 64 | ····························the·contents·for·b·are·already·expanded·so·the |
49 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it | 65 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it |
50 | ····························is·used,·while·the·contents·of·b·are·already | 66 | ····························is·used,·while·the·contents·of·b·are·already |
51 | ····························expanded. | 67 | ····························expanded. |
52 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with | 68 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with |
Offset 131, 45 lines modified | Offset 131, 25 lines modified | ||
131 | 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 |
132 | 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 |
133 | added·to·the·output·file·as·well. | 133 | added·to·the·output·file·as·well. |
134 | <P> | 134 | <P> |
135 | 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 |
136 | following·is·perfectly·acceptable: | 136 | following·is·perfectly·acceptable: |
137 | ··<p><code> | 137 | ··<p><code> |
138 | · ·<span·class="htp-tag"><<a·href="i | 138 | · ·<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"·><i[·...·truncated·by·diffoscope;·len:·328,·SHA:·e864eee6ccd16b7b75055c400688199d4ea02648d6f6a07f2646cfd218160191·...·]></span><br> |
139 | </code></p> | 139 | </code></p> |
140 | <P> | 140 | <P> |
141 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> | 141 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> |
142 | <P> | 142 | <P> |
143 | To·include·information·about·another·file,·such·as·an·archive·file·or | 143 | To·include·information·about·another·file,·such·as·an·archive·file·or |
144 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the | 144 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the |
145 | type·of·information·to·be·displayed: | 145 | type·of·information·to·be·displayed: |
146 | ··<p><code> | 146 | ··<p><code> |
147 | <span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>></span><br> | ||
147 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> | ||
148 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
149 | <br> | 148 | <br> |
150 | ·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> | ||
151 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
152 | ·(no·URL·replacement).<br> | ||
153 | <br> | ||
154 | ·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> | ||
155 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
156 | <br> | ||
157 | ·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> | ||
158 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
159 | ·will·not·be·added.<br> | ||
160 | <br> | ||
161 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
162 | ·<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> | ||
163 | ·<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> | ||
164 | <br> | ||
165 | ·<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> | ||
166 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
167 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
168 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
169 | </code></p> | 149 | </code></p> |
170 | <P> | 150 | <P> |
171 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the | 151 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the |
172 | information·is·displayed.··In·anything·other·than·byte·format,·the·information | 152 | information·is·displayed.··In·anything·other·than·byte·format,·the·information |
173 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number | 153 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number |
174 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional | 154 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional |
175 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no | 155 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no |
Offset 198, 15 lines modified | Offset 178, 16 lines modified | ||
198 | <P> | 178 | <P> |
199 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are | 179 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are |
200 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros | 180 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros |
201 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it | 181 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it |
202 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer | 182 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer |
203 | available.··So: | 183 | available.··So: |
204 | ··<p><code> | 184 | ··<p><code> |
205 | 185 | <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="htp-attrib">[</span>·<span·cla[·...·truncated·by·diffoscope;·len:·113,·SHA:·2b0cbcace7e121b70e0d0fd885d64360a056137b5ec7cac94cd7521c0544fbda·...·]</span>></span><br> | |
186 | <br> | ||
206 | </code></p> | 187 | </code></p> |
207 | <P> | 188 | <P> |
208 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included | 189 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included |
209 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the | 190 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the |
210 | second·statement·will·fail.) | 191 | second·statement·will·fail.) |
211 | <P> | 192 | <P> |
212 | <h3><a·name="template">TEMPLATE</a></h3> | 193 | <h3><a·name="template">TEMPLATE</a></h3> |
Offset 17, 55 lines modified | Offset 17, 23 lines modified | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············purpose.·The·output·file's·name,·the·current·date | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············purpose.·The·output·file's·name,·the·current·date |
18 | · ···_\x8O_\x8P_\x8T···················and·time,·and·the·contents·of·another·file·may·be | 18 | · ···_\x8O_\x8P_\x8T···················and·time,·and·the·contents·of·another·file·may·be |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················included.·Another·file's·time,·date,·or·size·may·be | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················included.·Another·file's·time,·date,·or·size·may·be |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················added·to·the·output·file·as·well. | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················added·to·the·output·file·as·well. |
21 | · ···_\x8S_\x8E_\x8T···················As·with·all·HTML,·these·tags·do·not·have·to·be·on | 21 | · ···_\x8S_\x8E_\x8T···················As·with·all·HTML,·these·tags·do·not·have·to·be·on |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················their·own·line,·so·the·following·is·perfectly | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················their·own·line,·so·the·following·is·perfectly |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················acceptable: | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················acceptable: |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_.[_.[_.r_.e_.f_.]_.]_. | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<EM>File·"<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME>"·last·updated·<_.[ |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM> | ||
25 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················*\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 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················To·include·information·about·another·file,·such·as |
27 | ·_\x8 | 28 | ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················an·archive·file·or·graphic·image,·specify·its·name |
28 | ·_\x8 | 29 | ·_\x8B_.u_.g_.s······················with·the·NAME·attribute·followed·by·the·type·of |
29 | 30 | ····························information·to·be·displayed: | |
31 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="filename"·...> | ||
30 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ | ||
31 | ····························"·path="/var/www/my.domain/"> | ||
32 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
33 | ····························var/www/other.domain/"> | ||
34 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
35 | ···························· ·the·local·filename·"logo.gif"·will·be·used·to | ||
36 | ····························determine·image·dimensions | ||
37 | ···························· ·(no·URL·replacement). | ||
38 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
39 | ····························my.domain.org/logo.gif"> | ||
40 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
41 | ····························will·be·used. | ||
42 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
43 | ····························other.domain.org/logo.gif"> | ||
44 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
45 | ····························so·the·image·dimensions | ||
46 | ···························· ·will·not·be·added. | ||
47 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
48 | ····························precedence: | ||
49 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
50 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
51 | ····························test/"> | ||
52 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
53 | ····························src="/test/image.gif"> are·mapped·to | ||
54 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
55 | ····························image.gif,·resp. | ||
56 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
57 | ····························swapped,·the·second | ||
58 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
59 | ····························image.gif. | ||
60 | ····························For·file·size·information,·the·value·BYTE,·KBYTE, | 32 | ····························For·file·size·information,·the·value·BYTE,·KBYTE, |
61 | ····························etc.·dictates·how·the·information·is·displayed.·In | 33 | ····························etc.·dictates·how·the·information·is·displayed.·In |
62 | ····························anything·other·than·byte·format,·the·information·is | 34 | ····························anything·other·than·byte·format,·the·information·is |
63 | ····························displayed·in·floating-point·notation.·The·amount·of | 35 | ····························displayed·in·floating-point·notation.·The·amount·of |
64 | ····························precision·(the·number·of·digits·to·the·right·of·the | 36 | ····························precision·(the·number·of·digits·to·the·right·of·the |
65 | ····························decimal·point)·can·be·set·with·the·optional | 37 | ····························decimal·point)·can·be·set·with·the·optional |
66 | ····························PRECISION·attribute.·The·default·precision·is·zero | 38 | ····························PRECISION·attribute.·The·default·precision·is·zero |
Offset 96, 15 lines modified | Offset 64, 17 lines modified | ||
96 | ····························Additional·parameters·can·be·set·in·the·FILE | 64 | ····························Additional·parameters·can·be·set·in·the·FILE |
97 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that | 65 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that |
98 | ····························are·"passed"·to·the·included·file.·The·macros·are | 66 | ····························are·"passed"·to·the·included·file.·The·macros·are |
99 | ····························available·only·to·the·include·file·(and·any·macros | 67 | ····························available·only·to·the·include·file·(and·any·macros |
100 | ····························or·included·files·it·holds).·After·the·file·is | 68 | ····························or·included·files·it·holds).·After·the·file·is |
101 | ····························completely·included,·the·macros·are·no·longer | 69 | ····························completely·included,·the·macros·are·no·longer |
102 | ····························available.·So: | 70 | ····························available.·So: |
103 | ···························· | 71 | ····························<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="imageurl"·[·path="path/in/ |
72 | ····························local/filesystem"·]> | ||
104 | ····························Macros·named·"name"·and·"email"·are·set,·and | 73 | ····························Macros·named·"name"·and·"email"·are·set,·and |
105 | ····························available·inside·the·included·file.·They·are·not | 74 | ····························available·inside·the·included·file.·They·are·not |
106 | ····························available,·however,·past·the·tag·(which·is·why·the | 75 | ····························available,·however,·past·the·tag·(which·is·why·the |
107 | ····························second·statement·will·fail.) | 76 | ····························second·statement·will·fail.) |
108 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* | 77 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* |
109 | ····························A·template·file·is·nothing·more·than·a·default | 78 | ····························A·template·file·is·nothing·more·than·a·default |
110 | ····························include·file,·one·that·is·included·once·the·input | 79 | ····························include·file,·one·that·is·included·once·the·input |
Offset 114, 62 lines modified | Offset 114, 31 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="ebnf">]</span>></span><br> | ||
121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>></span><br> | ||
122 | · ·<span·class="htp-tag"><font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>></span><br> | ||
123 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
124 | <br> | 122 | <br> |
125 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>></span><br> | ||
126 | · ·<span·class="htp-tag"></font></span><br> | ||
127 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
128 | <br> | ||
129 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
130 | </code></p> | 123 | </code></p> |
131 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
132 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building | 125 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building |
133 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. | 126 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. |
134 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A | 127 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A |
135 | 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 |
136 | string: | 129 | string: |
137 | ··<p><code> | 130 | ··<p><code> |
131 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
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·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>></span><br> | ||
139 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>></span><br> | ||
140 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
141 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
142 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>></span><br> | ||
143 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>></span><br> | ||
144 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>></span><br> | ||
145 | · · · ·<span·class="htp-tag"></FONT></span><br> | ||
146 | · ·<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> | ||
147 | ·<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> | ||
148 | <br> | ||
149 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>></span><br> | ||
150 | <br> | ||
151 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>></span><br> | ||
152 | <br> | ||
153 | ·This·will·fail:<br> | ||
154 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>></span><br> | ||
155 | <br> | ||
156 | ·Instead,·use·*·like·this:<br> | ||
157 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>></span><br> | ||
158 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>></span><br> | ||
159 | ·<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> | ||
160 | · ·<br> | ||
161 | ·<span·class="htp-tag"><MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>></span><br> | ||
162 | </code></p> | 132 | </code></p> |
163 | <P> | 133 | <P> |
164 | and·a·defined·operator·is·a·test·of·a·macro's·existance: | 134 | and·a·defined·operator·is·a·test·of·a·macro's·existance: |
165 | <P> | 135 | <P> |
166 | ··<p><code> | 136 | ··<p><code> |
137 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>></span><br> | ||
167 | · ·<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> | ||
168 | · ·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> | ||
169 | </code></p> | 138 | </code></p> |
170 | <P> | 139 | <P> |
171 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the | 140 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the |
172 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that | 141 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that |
173 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the | 142 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the |
174 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block | 143 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block |
175 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. | 144 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. |
Offset 1, 71 lines modified | Offset 1, 36 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="imageurl"·[·path="path/in/ |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················local/filesystem"·]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<font·size="+4"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
8 | ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·</font> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F | ||
12 | · ···_\x8D_\x8E_\x8F··················· ·<bigfont>Some·large·text</bigfont> | ||
13 | · | 7 | ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
14 | · | 8 | ·HTP·Tags··················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building |
15 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············blocks·for·conditional·processing.·The·basic·form |
16 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················is·shown·above. |
17 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············"Conditional"·is·either·a·"compare"·or·"is·defined" |
18 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················operation.·A·compare·operator·is·a·test·of·the |
19 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················value·of·a·macro·against·a·literal·string: |
14 | ·[>]·_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE | ||
21 | · ···_\x8S_\x8E_\x8T···················SIZE"> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · · · ·<FONT·SIZE=${size}> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · · · ·</FONT> | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
30 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
31 | ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
32 | ····························title"> | ||
33 | ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
34 | ····························title"> | ||
35 | ···························· ·This·will·fail: | ||
36 | ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
37 | ····························TITLE="Another·title"> | ||
38 | ···························· ·Instead,·use·*·like·this: | ||
39 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
40 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
41 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
42 | ···························· · | ||
43 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
44 | ···· | 15 | · ···_.I_.N_.C···················and·a·defined·operator·is·a·test·of·a·macro's |
45 | ···· | 16 | · ···_.I_.M_.G···················existance: |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i="1"·j="-1"> | ||
46 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim | ||
47 | ····························Nelson"·email="jnelson@crl.com"> | ||
48 | ···························· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
49 | ···· | 18 | · ···_.O_.P_.T···················If·the·NOT·tag·is·present·in·the·IF·markup,·the |
50 | ···· | 19 | · ···_.O_.U_.T_.P_.U_.T················evaluation·of·the·conditional·is·reversed.·The |
51 | ···· | 20 | · ···_.Q_.U_.O_.T_.E·················first·IF·or·ELSEIF·condition·that·evaluates·to·true |
52 | ···· | 21 | · ···_.S_.E_.T···················is·chosen.·If·none·of·the·conditions·is·true·the |
53 | ···· | 22 | · ···_.U_.N_.D_.E_.F·················ELSE·block·is·taken·if·it·is·present.·A·conditional |
54 | ···· | 23 | · ···_.U_.N_.S_.E_.T·················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can |
55 | ····························be·nested. | ||
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 | ||
Offset 114, 15 lines modified | Offset 114, 16 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | 121 | <span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-[·...·truncated·by·diffoscope;·len:·226,·SHA:·74f7db62c0fba2f5387a1162b1c4210aad9ac85211330b473faaa5f0ba25aaba·...·]>></span><br> | |
122 | <br> | ||
122 | </code></p> | 123 | </code></p> |
123 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
124 | <P> | 125 | <P> |
125 | <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 |
126 | file·system.··declares·an·URL·replacement·that·is·used·for | 127 | file·system.··declares·an·URL·replacement·that·is·used·for |
127 | 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 |
128 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is | 129 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is |
Offset 1, 36 lines modified | Offset 1, 38 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·macroname1="increment1" |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
5 | ·_\x8 | 7 | ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
6 | · | 8 | ·HTP·Tags··················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the |
7 | ·_. | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············local·file·system.·declares·an·URL·replacement·that |
8 | · | 10 | · ···_.B_.L_.O_.C_.K·················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This |
9 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option |
10 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················is·enabled.·Beacause·htp·can't·lookup·files·in·the |
11 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················world·wide·web·you·have·to·map·absolute·image·URLs |
12 | · ···_\x8 | 14 | · ···_\x8I_.F····················to·a·directory·in·the·local·file·system. |
13 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················When·an·IMG·tag·is·encountered·where·htp·has·to |
14 | · ···_\x8I_\x8 | 16 | · ···_\x8I_\x8M_.G···················insert·width·and·height·the·defined·URL |
15 | · | 17 | ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············replacements·will·be·taken·into·account·(later |
16 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················definitions·take·precedence·to·earlier):·For·each |
17 | · | 19 | · ···_.O_.U_.T_.P_.U_.T················defined·imageurl·it·checks·(case-insensitive)·if·it |
18 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················is·a·prefix·of·the·image's·SRC·attribute.·If·it |
19 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················matches·this·prefix·is·replaced·by·the·given·PATH. |
20 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················If·no·IMAGEURL·matches·the·SRC·is·considered·as |
21 | · ···_\x8S_.E_.T | 23 | · ···_\x8U_.N_.S_.E_.T·················relative·link·and·looked·up·in·the·current |
22 | · ···_\x8U_\x8 | 24 | · ···_\x8U_\x8S_.E_.,_.·_.$················directory. |
23 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················For·example: |
24 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i="1"·j="-1"> |
25 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH |
26 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················attribute,·it·is·treated·as·an·undefine,·and·is |
27 | ·_\x8 | 29 | ·_\x8B_.u_.g_.s······················removed. |
28 | 30 | ····························Since·you·usually·need·the·url·mapping·for·a·number | |
29 | 31 | ····························of·images·used·throughout·a·set·of·documents, | |
30 | ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 32 | ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
31 | ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file. | 33 | ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file. |
32 | ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also | 34 | ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also |
33 | ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to | 35 | ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to |
34 | ····························_\x8I_\x8M_\x8G·tags. | 36 | ····························_\x8I_\x8M_\x8G·tags. |
Offset 114, 15 lines modified | Offset 114, 16 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | 121 | <span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="ht[·...·truncated·by·diffoscope;·len:·107,·SHA:·740e3678a54262ae7e935c56adcf6951fd349f71b8bc40dcdfc39aff17f970de·...·]>></span><br> | |
122 | <br> | ||
122 | </code></p> | 123 | </code></p> |
123 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
124 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified | 125 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified |
125 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage | 126 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage |
126 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially | 127 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially |
127 | useful·if·the·image·may·change·frequently.·</P> | 128 | useful·if·the·image·may·change·frequently.·</P> |
128 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup | 129 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup |
Offset 1, 36 lines modified | Offset 1, 38 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.i_.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 | ||
5 | ·_\x8 | 7 | ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
6 | · | 8 | ·HTP·Tags··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the |
7 | ·_. | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············specified·image's·width·and·height·to·the·tag |
8 | · | 10 | · ···_.B_.L_.O_.C_.K·················automatically.·This·has·the·advantage·of·not·having |
9 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············to·determine·each·image's·size·manually,·which·is |
10 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················especially·useful·if·the·image·may·change |
11 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················frequently. |
12 | · ···_\x8 | 14 | · ···_\x8I_.F····················htp·adds·this·information·with·the·WIDTH·and·HEIGHT |
13 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················markup·attributes.·If·htp·detects·these·attributes |
14 | · | 16 | ·[>]·_.I_.M_.G···················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify |
15 | · ···_\x8I_\x8 | 17 | · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············the·values.·If·htp·cannot·find·the·image·file,·it |
16 | · | 18 | · ···_.O_.P_.T···················will·issue·a·warning·but·not·halt·processing. |
17 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG |
18 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················(Portable·Network·Graphics),·and·JFIF·(JPEG·File |
19 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················Interchange·Format)·are·supported. |
20 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or |
21 | · ···_\x8S_.E_.T | 23 | · ···_\x8U_.N_.S_.E_.T·················not·htp·actually·adds·this·information·as·it |
22 | · ···_\x8U_\x8 | 24 | · ···_\x8U_\x8S_.E_.,_.·_.$················executes. |
23 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················Since·htp·is·able·to·lookup·files·only·in·the·local |
24 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map |
25 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················URLs·to·local·files. |
26 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················htp·can·also·add·default·ALT·text·to·IMG·tags·using |
27 | ·_\x8 | 29 | ·_\x8B_.u_.g_.s······················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T. |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | ||
Offset 114, 16 lines modified | Offset 114, 15 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
121 | · ·<span·class="htp-tag"><<a·href="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> | ||
122 | · ·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> | ||
123 | </code></p> | 122 | </code></p> |
124 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
125 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a | 124 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a |
126 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. | 125 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. |
127 | <P> | 126 | <P> |
128 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a | 127 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a |
129 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The | 128 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The |
Offset 1, 38 lines modified | Offset 1, 36 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················Nelson"·email="jnelson@crl.com"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
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··················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a |
9 | · | 7 | ·_.U_.s_.a_.g_.e·····················variable·or·for·variable·addition.·The·basic·form |
10 | · | 8 | ·HTP·Tags··················is·shown·above. |
11 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············The·"increment"·is·anything·that·evaluates·to·a |
12 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················integer.·It·can·be·a·literal·string·or·a·macro |
13 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············preceeded·by·the·'$'-operator.·The·macroname·must |
14 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················be·the·name·of·a·defined·macro·that·contains·an |
15 | · | 13 | · ···_.F_.I_.L_.E··················integer.·If·the·increment·is·ommitted·it·defaults |
16 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F····················to·1.·The·effect·of·this·operation·is·that·the |
17 | · | 15 | ·[>]·_.I_.N_.C···················macro·is·redefined·to·contain·the·sum·of·its |
18 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················previous·value·and·its·increment. |
19 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············To·increment·or·decrement·a·variable·you·can·use |
20 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················this·form: |
21 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i="1"·j="-1"> |
22 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················Note·that·INC·doesn't·check·if·the·strings·really |
23 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················denote·integers.·It·may·give·weired·results·when |
24 | · ···_\x8U_\x8 | 22 | · ···_\x8U_\x8N_.D_.E_.F·················used·on·arbitrary·strings.·The·integer·values·are |
25 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················limited·to·the·range·-2^31..2^31. |
26 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················Note·further·that·htp·wasn't·designed·to·do |
27 | · | 25 | · ···_.W_.H_.I_.L_.E·················extensive·calculations.·The·INC·tag·is·useful·in |
28 | · | 26 | · ···_.<_.!_.-_.-_.-·················conjunction·with·WHILE·to·iterate·over·the·defined |
29 | ·_\x8 | 27 | ·_\x8H_.i_.s_.t_.o_.r_.y···················blocks. |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | ||
Offset 88, 18 lines modified | Offset 88, 22 lines modified | ||
88 | <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and | 88 | <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and |
89 | undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P> | 89 | undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P> |
90 | <P> | 90 | <P> |
91 | As·an·example·we·show·how·to·define·a·tag·that·builds·a | 91 | As·an·example·we·show·how·to·define·a·tag·that·builds·a |
92 | fancy·horizontal·rule·out·of·several·images. | 92 | fancy·horizontal·rule·out·of·several·images. |
93 | </P> | 93 | </P> |
94 | ··<p><code> | 94 | ··<p><code> |
95 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="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> | ||
96 | <font·size="-2"> | 95 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(IMGXY|NOIMGXY)</span>></span><br> |
96 | <font·size="-2"> 2.·</font><span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(QUIET|VERBOSE)</span>></span><br> | ||
97 | <font·size="-2"> 3.·</font><span·class="htp-tag"><<a·href="o | 97 | <font·size="-2"> 3.·</font><span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(DEPEND|NODEPEND)</span>></span><br> |
98 | <font·size="-2"> 4.·</font><span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(PRECIOUS|NOPRECIOUS)</span>></span><br> | ||
99 | <font·size="-2"> 5.·</font><span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>></span><br> | ||
100 | <font·size="-2"> 6.·</font><span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="htp-value">(HTML|SQUARE|CURLY)</span>></span><br> | ||
101 | <font·size="-2"> 7.·</font><span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(XML|XML</span>=<span·class="htp-value">FALSE)</span>></span><br> | ||
98 | <font·size="-2"> | 102 | <font·size="-2"> 8.·</font><br> |
99 | </code></p> | 103 | </code></p> |
100 | <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined. | 104 | <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined. |
101 | The·html·code·which·implements·this·rule·is·following·in·lines·2-8. | 105 | The·html·code·which·implements·this·rule·is·following·in·lines·2-8. |
102 | between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and | 106 | between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and |
103 | <code>/def</code></a>·tags.··You·don't·have·to·understand·this | 107 | <code>/def</code></a>·tags.··You·don't·have·to·understand·this |
104 | html·code,·but·you·should·understand·that·this·is·just·pure·html·to | 108 | html·code,·but·you·should·understand·that·this·is·just·pure·html·to |
105 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> | 109 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> |
Offset 109, 39 lines modified | Offset 113, 44 lines modified | ||
109 | file</a>.··</p> | 113 | file</a>.··</p> |
110 | <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 |
111 | variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp | 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 |
112 | encounters·a·blockdef·tag·it·will·automatically·search·for·the | 116 | encounters·a·blockdef·tag·it·will·automatically·search·for·the |
113 | 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 |
114 | 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> |
115 | ··<p><code> | 119 | ··<p><code> |
116 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href=" | 120 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>></span><br> |
121 | <font·size="-2"> 2.·</font> · ·<span·class="htp-tag"><b></span><span·class="htp-tag"><i></span><br> | ||
122 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
123 | <font·size="-2"> 4.·</font> · ·<span·class="htp-tag"></i></span><span·class="htp-tag"></b></span><br> | ||
124 | <font·size="-2"> 5.·</font> ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
117 | <font·size="-2"> | 125 | <font·size="-2"> 6.·</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> | ||
118 | </code></p> | 127 | </code></p> |
119 | <h2>Using·parameters</h2> | 128 | <h2>Using·parameters</h2> |
120 | <p>·More·sophisticated·tags·accept·parameters.··The | 129 | <p>·More·sophisticated·tags·accept·parameters.··The |
121 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be | 130 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be |
122 | named·and·expanded·inside·the·<code>def</code>·or | 131 | named·and·expanded·inside·the·<code>def</code>·or |
123 | <code>blockdef</code>·block:·</p> | 132 | <code>blockdef</code>·block:·</p> |
124 | ··<p><code> | 133 | ··<p><code> |
134 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>></span><br> | ||
135 | <font·size="-2"> 2.·</font> · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>></span>;<br> | ||
125 | <font·size="-2"> | 136 | <font·size="-2"> 3.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> |
126 | <font·size="-2"> 2.·</font><span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
127 | <font·size="-2"> | 137 | <font·size="-2"> 4.·</font><br> |
138 | <font·size="-2"> 5.·</font> ·<span·class="htp-tag"><sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>></span><br> | ||
128 | </code></p> | 139 | </code></p> |
129 | <h2>Saving·blocks·for·later</h2> | 140 | <h2>Saving·blocks·for·later</h2> |
130 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by | 141 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by |
131 | the·template·file.··The·normal·htp·files·should·just·define·macros | 142 | the·template·file.··The·normal·htp·files·should·just·define·macros |
132 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block | 143 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block |
133 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this | 144 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this |
134 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to | 145 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to |
135 | do·this:</p> | 146 | do·this:</p> |
136 | ··<p><code> | 147 | ··<p><code> |
148 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="htp-attrib">[ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...]</span>></span><br> | ||
137 | <font·size="-2"> 1.·</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">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[noexpand]</span>></span><br> | ||
138 | <font·size="-2"> 2.·</font><span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
139 | <font·size="-2"> 3.·</font><span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
140 | <font·size="-2"> | 149 | <font·size="-2"> 2.·</font><br> |
141 | </code></p> | 150 | </code></p> |
142 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a | 151 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a |
143 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is | 152 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is |
144 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is | 153 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is |
145 | build·from·this·counter.··So·the·first·section·is·stored·in·block | 154 | build·from·this·counter.··So·the·first·section·is·stored·in·block |
146 | sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag | 155 | sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag |
147 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally | 156 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally |
Offset 160, 18 lines modified | Offset 169, 21 lines modified | ||
160 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be | 169 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be |
161 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the | 170 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the |
162 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you | 171 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you |
163 | use·expand·in·a·block·around·it.</p> | 172 | use·expand·in·a·block·around·it.</p> |
164 | <p>To·close·this·example·we·show·how·to·expand·the | 173 | <p>To·close·this·example·we·show·how·to·expand·the |
165 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> | 174 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> |
166 | ··<p><code> | 175 | ··<p><code> |
167 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
168 | <font·size="-2"> | 176 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> |
177 | <font·size="-2"> 2.·</font> ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> | ||
178 | <font·size="-2"> 3.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
179 | <font·size="-2"> 4.·</font> · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
180 | <font·size="-2"> 5.·</font> · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> | ||
169 | <font·size="-2"> | 181 | <font·size="-2"> 6.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> |
170 | <font·size="-2"> | 182 | <font·size="-2"> 7.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> |
171 | </code></p> | 183 | </code></p> |
172 | <p> | 184 | <p> |
173 | The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether | 185 | The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether |
174 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is | 186 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is |
175 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards | 187 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards |
176 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This | 188 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This |
177 | repeats·until·sect-${sect-ctr}·is·not·defined. | 189 | repeats·until·sect-${sect-ctr}·is·not·defined. |
Offset 9, 19 lines modified | Offset 9, 22 lines modified | ||
9 | · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality. | 9 | · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality. |
10 | · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[ | 10 | · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[ |
11 | ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[ | 11 | ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[ |
12 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag. | 12 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag. |
13 | ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that | 13 | ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that |
14 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several | 14 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several |
15 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images. | 15 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images. |
16 | ·_\x8B_\x8u_\x8g_\x8s······················ 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(IMGXY|NOIMGXY)> | ||
16 | ·_\x8B_\x8u_\x8g_\x8s······················ 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND] | ||
17 | ····························[EXPAND]> | ||
18 | ···························· 2.·text·block | ||
19 | ···························· | 17 | ···························· 2.·<_.[_.[_.r_.e_.f_.]_.]_.O_.P_.T·(QUIET|VERBOSE)> |
18 | ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)> | ||
19 | ···························· 4.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(PRECIOUS|NOPRECIOUS)> | ||
20 | ···························· 5.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)> | ||
21 | ···························· 6.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> | ||
22 | ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> | ||
20 | ···························· | 23 | ···························· 8. |
21 | ····························In·line·1·of·the·above·example·a·new·tag·named | 24 | ····························In·line·1·of·the·above·example·a·new·tag·named |
22 | ····························imghr·is·defined.·The·html·code·which·implements | 25 | ····························imghr·is·defined.·The·html·code·which·implements |
23 | ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[ | 26 | ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[ |
24 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to | 27 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to |
25 | ····························understand·this·html·code,·but·you·should | 28 | ····························understand·this·html·code,·but·you·should |
26 | ····························understand·that·this·is·just·pure·html·to·draw·the | 29 | ····························understand·that·this·is·just·pure·html·to·draw·the |
27 | ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line | 30 | ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line |
Offset 32, 38 lines modified | Offset 35, 45 lines modified | ||
32 | ····························Often·you·want·to·define·tags·that·have·an·opening | 35 | ····························Often·you·want·to·define·tags·that·have·an·opening |
33 | ····························and·a·closing·variant.·For·this·purpose·you·should | 36 | ····························and·a·closing·variant.·For·this·purpose·you·should |
34 | ····························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 |
35 | ····························blockdef·tag·it·will·automatically·search·for·the | 38 | ····························blockdef·tag·it·will·automatically·search·for·the |
36 | ····························matching·closing·tag·and·put·everything·between | 39 | ····························matching·closing·tag·and·put·everything·between |
37 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an | 40 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an |
38 | ····························example·for·this. | 41 | ····························example·for·this. |
39 | ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_. | 42 | ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="bolditalic"> |
40 | ···························· | 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> | ||
41 | ···························· | 47 | ···························· 6. |
48 | ···························· 7.· ·This·is·<bolditalic>bold·and·italic</ | ||
49 | ····························bolditalic> | ||
42 | ····························*\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* | 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* |
43 | ····························More·sophisticated·tags·accept·parameters.·The | 51 | ····························More·sophisticated·tags·accept·parameters.·The |
44 | ····························option·parameter·lets·multiple·metatag·parameters | 52 | ····························option·parameter·lets·multiple·metatag·parameters |
45 | ····························be·named·and·expanded·inside·the·def·or·blockdef | 53 | ····························be·named·and·expanded·inside·the·def·or·blockdef |
46 | ····························block: | 54 | ····························block: |
55 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name | ||
56 | ····························alt"> | ||
57 | ···························· 2.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/$ | ||
58 | ····························{name}"·alt="${alt}">; | ||
47 | ···························· | 59 | ···························· 3.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
48 | ···························· 2.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> | ||
49 | ···························· | 60 | ···························· 4. |
61 | ···························· 5.· ·<sharedimg·name="bubble.gif"·alt="Bubble | ||
62 | ····························image"> | ||
50 | ····························*\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* | 63 | ····························*\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* |
51 | ····························When·you·are·using·templates,·the·html·should·only | 64 | ····························When·you·are·using·templates,·the·html·should·only |
52 | ····························be·written·by·the·template·file.·The·normal·htp | 65 | ····························be·written·by·the·template·file.·The·normal·htp |
53 | ····························files·should·just·define·macros·that·are·used·later | 66 | ····························files·should·just·define·macros·that·are·used·later |
54 | ····························in·the·template.·So·you·may·want·to·write·block | 67 | ····························in·the·template.·So·you·may·want·to·write·block |
55 | ····························tags·that·just·save·the·block·in·a·macro·for·later | 68 | ····························tags·that·just·save·the·block·in·a·macro·for·later |
56 | ····························use.·Although·this·is·possible·with·htp·it·is·quite | 69 | ····························use.·Although·this·is·possible·with·htp·it·is·quite |
57 | ····························tricky,·so·here·we·present·the·way·to·do·this: | 70 | ····························tricky,·so·here·we·present·the·way·to·do·this: |
71 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]> | ||
58 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·macroname·[parameters·...] | ||
59 | ····························[noexpand]> | ||
60 | ···························· 2.·<...·$macroname·...> | ||
61 | ···························· 3.·<...·${macroname}·...> | ||
62 | ···························· | 72 | ···························· 2. |
63 | ····························This·defines·a·block·macro·named·section.·This | 73 | ····························This·defines·a·block·macro·named·section.·This |
64 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the | 74 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the |
65 | ····························sections.·It·is·increased·for·every·section·(line | 75 | ····························sections.·It·is·increased·for·every·section·(line |
66 | ····························3)·and·then·the·block·macro·name·is·build·from·this | 76 | ····························3)·and·then·the·block·macro·name·is·build·from·this |
67 | ····························counter.·So·the·first·section·is·stored·in·block | 77 | ····························counter.·So·the·first·section·is·stored·in·block |
68 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ | 78 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ |
69 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these | 79 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these |
Offset 86, 18 lines modified | Offset 96, 21 lines modified | ||
86 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it | 96 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it |
87 | ····························would·be·expanded·when·defining·the·sect-1·macro | 97 | ····························would·be·expanded·when·defining·the·sect-1·macro |
88 | ····························and·when·using·it·later·in·the·template.·Generally | 98 | ····························and·when·using·it·later·in·the·template.·Generally |
89 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use | 99 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use |
90 | ····························expand·in·a·block·around·it. | 100 | ····························expand·in·a·block·around·it. |
91 | ····························To·close·this·example·we·show·how·to·expand·the | 101 | ····························To·close·this·example·we·show·how·to·expand·the |
92 | ····························sect-${sect-ctr}·blocks·in·the·template: | 102 | ····························sect-${sect-ctr}·blocks·in·the·template: |
93 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 103 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_.i_.l_.e·include="header.hti"> |
94 | ···························· 2.· · | 104 | ···························· 2.· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="1"> |
105 | ···························· 3.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
106 | ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
107 | ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
95 | ···························· | 108 | ···························· 6.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.w_.h_.i_.l_.e> |
96 | ···························· | 109 | ···························· 7.·<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="footer.hti"> |
97 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the | 110 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the |
98 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined | 111 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined |
99 | ····························the·body·is·evaluated,·which·expands·the·macro·and | 112 | ····························the·body·is·evaluated,·which·expands·the·macro·and |
100 | ····························increases·sect-ctr.·Afterwards·the·while·condition | 113 | ····························increases·sect-ctr.·Afterwards·the·while·condition |
101 | ····························is·checked·again·to·check·for·sect-2·macro.·This | 114 | ····························is·checked·again·to·check·for·sect-2·macro.·This |
102 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. | 115 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. |
103 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* | 116 | ····························*\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, 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="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>></span><br> | ||
122 | · ·<span·class="htp-tag"><b></span><span·class="htp-tag"><i></span><br> | ||
123 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
124 | · ·<span·class="htp-tag"></i></span><span·class="htp-tag"></b></span><br> | ||
125 | ·<span·class="htp-tag"><<a·href=" | 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> |
126 | <br> | 124 | <br> |
127 | · | 125 | ·<span·class="htp-tag"><sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>></span><br> |
128 | </code></p> | 126 | </code></p> |
129 | <h2>synopsis</h2> | 127 | <h2>synopsis</h2> |
130 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing | 128 | <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 | 129 | 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 | 130 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not |
133 | preceded·by·a·‘-’·character. | 131 | preceded·by·a·‘-’·character. |
134 | <P> | 132 | <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·············· ·<_\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··················· · ·< | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="/home/sharedimages/${name}" |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">; | ||
6 | ·_\x8 | 7 | ·_\x8U_.s_.a_.g_.e····················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
8 | ·HTP·Tags | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·</i></b> | ||
8 | ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·This·is·<bolditalic>bold·and·italic</bolditalic> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
12 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify |
13 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················processing·options·inside·the·actual·document·being |
14 | · ···_\x8I_. | 13 | · ···_\x8F_.I_.L_.E··················processed.·The·options·are·used·exactly·as·they |
15 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F····················would·be·on·the·command-line,·although·they·are·not |
16 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C···················preceded·by·a·‘-’·character. |
17 | · ···_\x8I_\x8M_\x8 | 16 | · ···_\x8I_\x8M_\x8G···················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 | · | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p. |
18 | ·[>]·_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | 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, 15 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, 15 lines modified | Offset 114, 17 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href=" | 121 | <span·class="htp-tag"><<a·href="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·clas[·...·truncated·by·diffoscope;·len:·76,·SHA:·46ff7804ef069d85cba2bf15cb70635d22cb55380e32a8f999903f9676263656·...·]</span><span·class="ebnf">]</span>></span><br> |
122 | text·block<br> | ||
123 | <span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>></span><br> | ||
122 | <br> | 124 | <br> |
123 | </code></p> | 125 | </code></p> |
124 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
125 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary | 127 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary |
126 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the | 128 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the |
127 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> | 129 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> |
128 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you | 130 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you |
Offset 1, 27 lines modified | Offset 1, 27 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]_\x8O_.U_.T_.P_.U_.T·FILE="outputfilename"·[APPEND] |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="macrovalue2"·...]·[GLOBAL]> | ||
6 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e···················[EXPAND]> |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················text·block | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> | ||
8 | ·HTP·Tags | ||
7 | ·_. | 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* |
8 | · | 10 | · ···_.B_.L_.O_.C_.K·················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary |
9 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············files·besides·the·main·HTML·file.·The·text·between |
10 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················this·tag·and·the·corresponding·</OUTPUT>·tag·is |
11 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················written·to·output·file. |
12 | · ···_\x8 | 14 | · ···_\x8I_.F····················Normally·the·outputfile·is·cleared·before·writing |
13 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················to·it,·but·you·can·use·the·APPEND·attribute·to |
14 | · ···_\x8I_\x8 | 16 | · ···_\x8I_\x8M_.G···················extend·an·existing·file.·The·text·written·to·the |
15 | · ···_\x8I_\x8 | 17 | · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············file·is·normally·not·expanded,·i.e.·all·tags·inside |
16 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················this·block·are·not·executed·but·written·unmodified |
17 | · | 19 | ·[>]·_.O_.U_.T_.P_.U_.T················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D |
18 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················attribute·to·override·this·behaviour. |
19 | ·[>]·_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T | 21 | · ···_\x8S_\x8E_\x8T |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
Offset 30, 14 lines modified | Offset 30, 16 lines modified | ||
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
Offset 114, 31 lines modified | Offset 114, 24 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <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> | ||
121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>></span><br> | ||
122 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>></span>;<br> | ||
123 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
124 | <br> | 122 | <br> |
125 | ·<span·class="htp-tag"><sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>></span><br> | ||
126 | </code></p> | 123 | </code></p> |
127 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
128 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded | 125 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded |
129 | anywhere·in·the·HTML·document.··To·create·a·macro: | 126 | anywhere·in·the·HTML·document.··To·create·a·macro: |
130 | ··<p><code> | 127 | ··<p><code> |
131 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>></span><br> | ||
132 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>></span><br> | ||
133 | 128 | <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> | |
129 | <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> | ||
130 | <br> | ||
134 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>></span><br> | ||
135 | · · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
136 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
137 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
138 | </code></p> | 131 | </code></p> |
139 | <P> | 132 | <P> |
140 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> | 133 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> |
141 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular | 134 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular |
142 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the | 135 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the |
143 | <A·HREF="use.html">'$'</A>·operator. | 136 | <A·HREF="use.html">'$'</A>·operator. |
144 | <P> | 137 | <P> |
Offset 1, 44 lines modified | Offset 1, 36 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·macroname1="macrovalue1" |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="macrovalue2"·...]·[GLOBAL]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">; | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
8 | ·HTP·Tags | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
10 | · | 7 | ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
11 | · | 8 | ·HTP·Tags··················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be |
12 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············expanded·anywhere·in·the·HTML·document.·To·create·a |
13 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················macro: |
14 | · ···_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0"> | ||
15 | · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> | ||
16 | · ···_\x8I_\x8M_\x8G··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
18 | · ···_\x8O_\x8P_\x8T···················global> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
20 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············<_.[_.[_.r_.e_.f_.]_.]_.U_.N_.D_.E_.F·tagname> |
21 | · | 12 | · ···_.D_.E_.F···················<_.[_.[_.r_.e_.f_.]_.]_.U_.N_.D_.E_.F·tagname1·tagname2·...·> |
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
22 | · ···_\x8 | 14 | · ···_\x8I_.F····················The·macro·"emailaddr"·can·then·be·expanded·later. |
23 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a |
24 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················tag·(i.e.,·into·the·regular·text).·If·the·macro |
25 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············needs·to·be·expanded·inside·a·markup·tag,·use·the |
26 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················_\x8'_\x8$_\x8'·operator. |
27 | · | 19 | · ···_.O_.U_.T_.P_.U_.T················Multiple·macros·can·be·declared·in·a·single·markup |
28 | · | 20 | · ···_.Q_.U_.O_.T_.E·················tag,·as·the·second·syntax·line·shows. |
29 | · | 21 | ·[>]·_.S_.E_.T···················SET·should·only·be·used·for·a·single·line's·worth |
30 | ···· | 22 | · ···_.U_.N_.D_.E_.F·················of·text.·Multi-line·macros·can·be·defined·with·the |
31 | ···· | 23 | · ···_.U_.N_.S_.E_.T·················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the |
32 | ···· | 24 | · ···_.U_.S_.E_.,_.·_.$················macro·contains·a·quotation·character·and·you·don't |
33 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················want·to·fool·around·with·special·escape·characters. |
34 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················Macros·can·be·redefined·by·using·another·SET |
35 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················command·with·the·same·macro·name.·The·prior |
36 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················definition·will·be·destroyed,·however.·Also,·the |
37 | · | 29 | ·_.B_.u_.g_.s······················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T |
38 | ····························tag. | 30 | ····························tag. |
Offset 114, 21 lines modified | Offset 114, 17 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | ·<span·class="htp-tag"><<a·href="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 | 121 | <span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>></span><br> | |
122 | <span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
123 | <br> | ||
124 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>></span><br> | ||
125 | · · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
126 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
127 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
128 | </code></p> | 124 | </code></p> |
129 | <h2>synopsis</h2> | 125 | <h2>synopsis</h2> |
130 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags | 126 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags |
131 | created·by·<A·HREF="def.html">DEF</A>·and·<A | 127 | created·by·<A·HREF="def.html">DEF</A>·and·<A |
132 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF | 128 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF |
133 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by | 129 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by |
134 | htp·until·it·is·reassigned.··</P> | 130 | htp·until·it·is·reassigned.··</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:·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·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·macroname> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·macroname1·macroname2·...·> |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
8 | ·HTP·Tags··················global> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
12 | · | 7 | ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
13 | · | 8 | ·HTP·Tags··················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags |
14 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the |
15 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················UNDEF·command.·Once·removed,·the·metatag·will·no |
16 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············longer·be·recognized·by·htp·until·it·is·reassigned. |
17 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················Multiple·metatags·can·be·removed·by·placing·each |
18 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················name·as·an·attribute. |
14 | · ···_\x8I_\x8F | ||
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8M_\x8G | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | 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 27, 19 lines modified | Offset 27, 14 lines modified | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
Offset 128, 21 lines modified | Offset 128, 31 lines modified | ||
128 | 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. |
129 | (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 |
130 | <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 |
131 | old·macro·definition·will·be·removed·automatically.) | 131 | old·macro·definition·will·be·removed·automatically.) |
132 | <P> | 132 | <P> |
133 | For·example: | 133 | For·example: |
134 | ··<p><code> | 134 | ··<p><code> |
135 | <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> | ||
136 | <span·class="htp-tag">< | 135 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> |
136 | · ·block<br> | ||
137 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
138 | <br> | ||
137 | </code></p> | 139 | </code></p> |
138 | <P> | 140 | <P> |
139 | More·than·one·macro·may·be·removed·in·the·same·tag: | 141 | More·than·one·macro·may·be·removed·in·the·same·tag: |
140 | ··<p><code> | 142 | ··<p><code> |
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">stuff</span>></span><br> | ||
144 | ·<span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span>send·email<span·class="htp-tag"></a></span><br> | ||
145 | <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 | <br> | ||
147 | <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> | ||
148 | <br> | ||
149 | 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> | ||
141 | 150 | 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> | |
151 | 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> | ||
142 | </code></p> | 152 | </code></p> |
143 | <p> | 153 | <p> |
144 | </td> | 154 | </td> |
145 | </tr> | 155 | </tr> |
146 | <tr> | 156 | <tr> |
147 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 157 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
148 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> | 158 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> |
Offset 10, 27 lines modified | Offset 10, 38 lines modified | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················definition.·The·macro·is·subsequently·not·available | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················definition.·The·macro·is·subsequently·not·available |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············for·use·in·the·pre-processed·files.·(Note·that | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············for·use·in·the·pre-processed·files.·(Note·that |
12 | · ···_\x8D_\x8E_\x8F···················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or | 12 | · ···_\x8D_\x8E_\x8F···················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable. | 13 | · ···_\x8F_\x8I_\x8L_\x8E··················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable. |
14 | · ···_\x8I_\x8F····················The·old·macro·definition·will·be·removed | 14 | · ···_\x8I_\x8F····················The·old·macro·definition·will·be·removed |
15 | · ···_\x8I_\x8N_\x8C···················automatically.) | 15 | · ···_\x8I_\x8N_\x8C···················automatically.) |
16 | · ···_\x8I_\x8M_\x8G···················For·example: | 16 | · ···_\x8I_\x8M_\x8G···················For·example: |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<a·href="mailto:$email">mailto·hyperlink</a> | ||
18 | · ···_\x8O_\x8P_\x8T···················<a·href="http://$domain/~${username}/">another | ||
19 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·[NOT]·conditional> |
18 | · ···_\x8O_\x8P_\x8T··················· · ·block | ||
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 | ||
20 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················More·than·one·macro·may·be·removed·in·the·same·tag: |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·stuff> | ||
23 | ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<a·href=$email>send·email</a> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
21 | · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url·login_name> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·morestuff=$email> |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8 | 28 | ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················This·works:· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·stuff |
29 | ·_\x8B_\x8u_\x8g_\x8s······················email="jnelson@crl.com"> | ||
30 | ····························But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> | ||
31 | ····························And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff | ||
32 | ····························email="jnelson@crl.com"> | ||
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="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="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> | ||
122 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> | ||
123 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
124 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
125 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> | ||
126 | 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> | |
127 | < | 124 | <br> |
128 | </code></p> | 125 | </code></p> |
129 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
130 | <strong>USE</strong>·will·expand·macros·that·have·been·previously | 127 | <strong>USE</strong>·will·expand·macros·that·have·been·previously |
131 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A | 128 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A |
132 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other | 129 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other |
133 | markup·tags. | 130 | markup·tags. |
134 | <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will | 131 | <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will |
Offset 138, 18 lines modified | Offset 135, 23 lines modified | ||
138 | attribute·to·prevent·further·expansion.··</p> | 135 | attribute·to·prevent·further·expansion.··</p> |
139 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros | 136 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros |
140 | for·the·expanded·macro.··This·is·only·valid·for·<A | 137 | for·the·expanded·macro.··This·is·only·valid·for·<A |
141 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A | 138 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A |
142 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For | 139 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For |
143 | example:</p> | 140 | example:</p> |
144 | ··<p><code> | 141 | ··<p><code> |
145 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href=" | 142 | <font·size="-2"> 1.·</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">stuff</span>></span><br> |
146 | <font·size="-2"> 2.·</font> · · | 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> |
147 | <font·size="-2"> 3.·</font><span·class="htp-tag"><<a·href=" | 144 | <font·size="-2"> 3.·</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> |
148 | <font·size="-2"> 4.·</font><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> | ||
149 | </code></p> | 151 | </code></p> |
150 | <P> | 152 | <P> |
151 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on | 153 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on |
152 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and | 154 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and |
153 | the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8 | 155 | the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8 |
154 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is | 156 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is |
155 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. | 157 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. |
Offset 1, 36 lines modified | Offset 1, 40 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\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··················· · | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E> |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
8 | ·HTP·Tags·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> | ||
11 | · | 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
12 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously |
13 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be |
14 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············used·outside·of·other·markup·tags. |
15 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················If·you·USE·a·block·macro·the·value·of·expanded |
16 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················block·macros·will·be·further·parsed·by·htp.·This·is |
17 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F····················maybe·not·what·you·want,·for·example,·if·the·use·is |
18 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use |
19 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················the·noexpand·attribute·to·prevent·further |
20 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············expansion. |
21 | · ···_\x8 | 18 | · ···_\x8O_.P_\x8T···················USE·will·accept·additional·parameters,·which·are |
22 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················"local"·macros·for·the·expanded·macro.·This·is·only |
23 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T |
24 | · | 21 | · ···_.S_.E_.T···················cannot·have·parameters·passed.·For·example: |
25 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F················· 1.·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff> |
26 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T················· 2.· ·<a·href=$email>send·email</a> |
27 | · | 24 | ·[>]·_.U_.S_.E_.,_.·_.$················ 3.·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k> |
28 | · | 25 | · ···_.W_.H_.I_.L_.E················· 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"> | ||
29 | 33 | ····························(See·below·for·a·description·of·the·'$'·operator.) | |
30 | ····························The·example·on·line·7·works·because·"stuff"·has | 34 | ····························The·example·on·line·7·works·because·"stuff"·has |
31 | ····························been·declared·as·a·block·macro,·and·the·tag·is | 35 | ····························been·declared·as·a·block·macro,·and·the·tag·is |
32 | ····························passing·the·"email"·macro·to·the·"stuff"·macro. | 36 | ····························passing·the·"email"·macro·to·the·"stuff"·macro. |
33 | ····························Line·8·fails·because·the·"email"·macro·is | 37 | ····························Line·8·fails·because·the·"email"·macro·is |
34 | ····························unavailable·once·the·block·macro·is·completely | 38 | ····························unavailable·once·the·block·macro·is·completely |
35 | ····························expanded,·and·cannot·be·passed·to·a·SET·macro. | 39 | ····························expanded,·and·cannot·be·passed·to·a·SET·macro. |
36 | ····························Note·that·the·"email"·macro·is·available·to·other | 40 | ····························Note·that·the·"email"·macro·is·available·to·other |
Offset 114, 15 lines modified | Offset 114, 23 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>></span><br> | ||
122 | ·<span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span>send·email<span·class="htp-tag"></a></span><br> | ||
123 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
124 | <br> | ||
125 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span><br> | ||
126 | <br> | ||
127 | This·works:· · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
121 | 128 | But·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>></span><br> | |
129 | And·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
122 | </code></p> | 130 | </code></p> |
123 | <h2>synopsis</h2> | 131 | <h2>synopsis</h2> |
124 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. | 132 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. |
125 | The·basic·form·is·shown·above. | 133 | The·basic·form·is·shown·above. |
126 | <P> | 134 | <P> |
127 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 135 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
128 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. | 136 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. |
Offset 1, 36 lines modified | Offset 1, 46 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<a·href=$email>send·email</a> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
8 | ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············email="jnelson@crl.com"> | ||
12 | · ···_\x8D_\x8E_\x8F···················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff | ||
14 | · ···_\x8I_\x8F····················email="jnelson@crl.com"> | ||
5 | · | 15 | · ···_.I_.N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
6 | · | 16 | · ···_.I_.M_.G···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated |
7 | ·_. | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············processing.·The·basic·form·is·shown·above. |
8 | · | 18 | · ···_.O_.P_.T···················"Conditional"·is·either·a·"compare"·or·"is·defined" |
9 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················operation.·A·compare·operator·is·a·test·of·the |
10 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················value·of·a·macro·against·a·literal·string.·If·the |
11 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················NOT·tag·is·present·in·the·WHILE·markup,·the |
12 | · ···_\x8D_.E_.F | 22 | · ···_\x8U_.N_.D_.E_.F·················evaluation·of·the·conditional·is·reversed: |
13 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T················· · ·<${tagName}·${attrName}=${value$ctr}> |
14 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a |
15 | · | 25 | ·[>]·_.W_.H_.I_.L_.E·················macro's·existance: |
16 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> |
17 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y··················· · ·... |
18 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> |
19 | · | 29 | ·_.B_.u_.g_.s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> |
20 | 30 | ····························If·the·condition·is·true,·the·block·is·evaluated | |
21 | 31 | ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If | |
22 | 32 | ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is | |
23 | 33 | ····························also·reevaluated·on·each·iteration. | |
24 | 34 | ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. | |
25 | ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | ||