Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | ·1a8788cd2ac27136c6252138442a392a·59372·debug·optional·htp-dbgsym_1.19-8_i386.deb | 1 | ·1a8788cd2ac27136c6252138442a392a·59372·debug·optional·htp-dbgsym_1.19-8_i386.deb |
2 | · | 2 | ·84ce0286038673e13f3a2adb4af5d2b0·121788·web·optional·htp_1.19-8_i386.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·····3620·2020-06-14·23:21:19.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0···11 | 3 | -rw-r--r--···0········0········0···117976·2020-06-14·23:21:19.000000·data.tar.xz |
Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
1 | Package:·htp | 1 | Package:·htp |
2 | Version:·1.19-8 | 2 | Version:·1.19-8 |
3 | Architecture:·i386 | 3 | Architecture:·i386 |
4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> | 4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> |
5 | Installed-Size:·6 | 5 | Installed-Size:·669 |
6 | Depends:·libc6·(>=·2.38) | 6 | Depends:·libc6·(>=·2.38) |
7 | Section:·web | 7 | Section:·web |
8 | Priority:·optional | 8 | Priority:·optional |
9 | Homepage:·http://htp.sourceforge.net | 9 | Homepage:·http://htp.sourceforge.net |
10 | Description:·nice·HTML·pre-processor | 10 | Description:·nice·HTML·pre-processor |
11 | ·htp·is·an·HTML·pre-processor.·It·is·designed·to·be·a·flexible·authoring·tool | 11 | ·htp·is·an·HTML·pre-processor.·It·is·designed·to·be·a·flexible·authoring·tool |
12 | ·that·can·easily·be·integrated·into·the·HTML·design·process. | 12 | ·that·can·easily·be·integrated·into·the·HTML·design·process. |
Offset 1, 27 lines modified | Offset 1, 27 lines modified | ||
1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./ | 1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./ |
2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/ | 2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/ |
3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/ |
4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····75284·2020-06-14·23:21:19.000000·./usr/bin/htp | 4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····75284·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)·····9546·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)·····9256·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)····10283·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)····13329·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html |
18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp | 18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp |
19 | -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright | 19 | -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright |
20 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 20 | -rw-r--r--···0·root·········(0)·root·········(0)····15199·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)····15732·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)····17565·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)····12309·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html |
49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp | 49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp |
50 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 50 | -rw-r--r--···0·root·········(0)·root·········(0)····12182·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html |
51 | -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp | 51 | -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp |
52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8 | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html |
53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp | 53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp |
54 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 54 | -rw-r--r--···0·root·········(0)·root·········(0)····10124·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)····15417·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html |
68 | -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz | 68 | -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz |
69 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 69 | -rw-r--r--···0·root·········(0)·root·········(0)·····9793·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html |
70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp | 70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp |
71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html | 71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html |
72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp | 72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp |
73 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 73 | -rw-r--r--···0·root·········(0)·root·········(0)·····8130·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html |
74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp | 74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp |
75 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/ | 75 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/ |
76 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png | 76 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png |
77 | -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png | 77 | -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png |
78 | -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png | 78 | -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png |
79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png | 79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png |
80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png | 80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png |
81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png | 81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png |
82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png | 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png |
83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png | 83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png |
84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png | 84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png |
85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl | 85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl |
86 | -rw-r--r--···0·root·········(0)·root·········(0)·····85 | 86 | -rw-r--r--···0·root·········(0)·root·········(0)·····7856·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)····10299·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)·····8009·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html |
110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp | 110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp |
111 | -rw-r--r--···0·root·········(0)·root·········(0)·····9 | 111 | -rw-r--r--···0·root·········(0)·root·········(0)·····9014·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)····13429·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html |
116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp | 116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp |
117 | -rw-r--r--···0·root·········(0)·root·········(0)·····9 | 117 | -rw-r--r--···0·root·········(0)·root·········(0)·····9446·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, 27 lines modified | Offset 114, 35 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">BLOCK</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"blockname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>></span><br> | ||
122 | text·block<br> | ||
123 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/BLOCK</a>></span><br> | ||
124 | <br> | ||
121 | </code></p> | 125 | </code></p> |
122 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
123 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A | 127 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A |
124 | 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. |
125 | 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 |
126 | filename·is·considered·in·all·comparisons. | 130 | filename·is·considered·in·all·comparisons. |
127 | <p> | 131 | <p> |
128 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT | 132 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT |
129 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to | 133 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to |
130 | be·overridden·on·specific·images·and·default·text·on·all·others. | 134 | be·overridden·on·specific·images·and·default·text·on·all·others. |
131 | <p> | 135 | <p> |
132 | For·example: | 136 | For·example: |
133 | ··<p><code> | 137 | ··<p><code> |
138 | <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="htp-attrib">[option</span>=<span·class="htp-string">"option1·[option2·...]"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[global]</span>·<span·class="htp-attrib">[expand]</span>></span><br> | ||
139 | ·...·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span> ...<br> | ||
140 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
141 | <br> | ||
134 | </code></p> | 142 | </code></p> |
135 | <p> | 143 | <p> |
136 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT | 144 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT |
137 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not | 145 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not |
138 | changed. | 146 | changed. |
139 | <p> | 147 | <p> |
140 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, | 148 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, |
Offset 1, 36 lines modified | Offset 1, 45 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8B_\x8L_\x8O_\x8C_\x8K·NAME="blockname"·[GLOBAL]·[EXPAND]> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················text·block | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8B_\x8L_\x8O_\x8C_\x8K> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
4 | · | 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 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 |
6 | · | 10 | · ···_.B_.L_.O_.C_.K·················with·a·SRC·matching·the·ALTTEXT·NAME.·Since |
7 | ·_. | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············relative·paths·can·be·used·to·point·to·the·same |
8 | · | 12 | · ···_.D_.E_.F···················image,·only·the·filename·is·considered·in·all |
9 | · | 13 | · ···_.F_.I_.L_.E··················comparisons. |
10 | · ···_\x8 | 14 | · ···_\x8I_.F····················When·an·IMG·tag·with·a·matching·source·is |
11 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················encountered,·htp·will·add·an·ALT·attribute·only·if |
12 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················one·is·not·already·present.·This·allows·for·ALT |
13 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············text·to·be·overridden·on·specific·images·and |
14 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················default·text·on·all·others. |
15 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················For·example: |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="tagname"·[option="option1 | ||
21 | · ···_\x8S_\x8E_\x8T···················[option2·...]"·]·[global]·[expand]> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·...·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> ... | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
16 | · ···_\x8I_\x8M_\x8G···················An·ALTTEXT·tag·with·a·name·but·no·text·attribute | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············removes·any·ALT·mapping·for·this·image.·Successing | ||
18 | · ···_\x8O_\x8P_\x8T···················IMG·tags·with·a·matching·SRC·name·are·not·changed. | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················Since·this·is·useful·for·an·image·used·throughout·a | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················set·of·documents,·ALTTEXT·is·most·appropriate·in·an | ||
21 | · ···_\x8S_\x8E_\x8T···················_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e. | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················In·addition·to·ALTTEXT,·htp·can·also·automatically | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags. | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 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 | ·_. | 25 | · ···_.W_.H_.I_.L_.E·················An·ALTTEXT·tag·with·a·name·but·no·text·attribute |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················removes·any·ALT·mapping·for·this·image.·Successing | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················IMG·tags·with·a·matching·SRC·name·are·not·changed. | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················Since·this·is·useful·for·an·image·used·throughout·a | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················set·of·documents,·ALTTEXT·is·most·appropriate·in·an | ||
30 | ····························_\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. | ||
31 | ····························In·addition·to·ALTTEXT,·htp·can·also·automatically | ||
32 | ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags. | ||
Offset 114, 14 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="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>></span><br> | ||
122 | · <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> | ||
123 | · <span·class="htp-tag"><p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</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">block</span>></span><br> | ||
125 | · <span·class="htp-tag"></p></span><br> | ||
126 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
127 | <br> | ||
128 | ·<span·class="htp-tag"><section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>></span><br> | ||
129 | · ·This·is·a·fancy·section.<br> | ||
130 | ·<span·class="htp-tag"></section></span><br> | ||
121 | </code></p> | 131 | </code></p> |
122 | <h2>synopsis</h2> | 132 | <h2>synopsis</h2> |
123 | <P> | 133 | <P> |
124 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which | 134 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which |
125 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be | 135 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be |
126 | multi-line·definitions. | 136 | multi-line·definitions. |
127 | </P> | 137 | </P> |
Offset 1, 42 lines modified | Offset 1, 52 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"·option="title"> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <h1><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·title></h1> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · <p·class="section"> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · · <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> | ||
8 | ·HTP·Tags·················· · </p> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
10 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<section·title="My·Section"> | ||
12 | · ···_\x8D_\x8E_\x8F··················· · ·This·is·a·fancy·section. | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· ·</section> | ||
4 | · | 14 | · ···_.I_.F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 15 | · ···_.I_.N_.C···················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros, |
6 | · | 16 | · ···_.I_.M_.G···················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be |
7 | ·_. | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············multi-line·definitions. |
8 | · | 18 | · ···_.O_.P_.T···················Any·text·and·formatting·may·be·set·inside·the |
9 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················block.·You·can·use·any·htp·or·user·defined·metatag |
10 | · | 20 | · ···_.Q_.U_.O_.T_.E·················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be |
11 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················expanded·before·the·block·is·USEd·except·if·you |
12 | · ···_\x8D_.E_.F | 22 | · ···_\x8U_.N_.D_.E_.F·················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter. |
13 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················The·block·macro·is·dereferenced·(expanded)·with·the |
14 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················_\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 |
15 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro. |
16 | · ···_\x8I_\x8M_\x8G | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
Offset 114, 24 lines modified | Offset 114, 38 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="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 | ·...·<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> | ||
124 | <br> | ||
121 | </code></p> | 125 | </code></p> |
122 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
123 | <strong>BLOCKDEF</strong>·creates·block·<A | 127 | <strong>BLOCKDEF</strong>·creates·block·<A |
124 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it | 128 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it |
125 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block | 129 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block |
126 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and | 130 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and |
127 | </tagname>.··The·contents·of·this·block·are·automatically·stored | 131 | </tagname>.··The·contents·of·this·block·are·automatically·stored |
128 | in·the·block·macro·named·BLOCK. | 132 | in·the·block·macro·named·BLOCK. |
129 | <P>·For·example:</P> | 133 | <P>·For·example:</P> |
130 | ··<p><code> | 134 | ··<p><code> |
135 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>></span><br> | ||
136 | · <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> | ||
137 | · <span·class="htp-tag"><p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>></span><br> | ||
138 | · · <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> | ||
139 | · <span·class="htp-tag"></p></span><br> | ||
140 | ·<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> | ||
141 | <br> | ||
142 | ·<span·class="htp-tag"><section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>></span><br> | ||
143 | · ·This·is·a·fancy·section.<br> | ||
144 | ·<span·class="htp-tag"></section></span><br> | ||
131 | </code></p> | 145 | </code></p> |
132 | <p> | 146 | <p> |
133 | All·block·metatags·have·the·implicit·option·<a | 147 | All·block·metatags·have·the·implicit·option·<a |
134 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents | 148 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents |
135 | of·the·block·before·the·definition·is·expanded. | 149 | of·the·block·before·the·definition·is·expanded. |
136 | </p> | 150 | </p> |
137 | <p> | 151 | <p> |
Offset 1, 36 lines modified | Offset 1, 51 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·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 | ||
4 | · | 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* |
5 | · | 10 | · ···_.B_.L_.O_.C_.K·················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy |
6 | · | 11 | ·[>]·_.B_.L_.O_.C_.K_.D_.E_.F··············way·of·saying·it·creates·new·block·tags.·A·block |
7 | · | 12 | · ···_.D_.E_.F···················tag·is·a·tag·that·takes·a·whole·block·as·additional |
8 | · | 13 | · ···_.F_.I_.L_.E··················parameter.·This·block·is·surrounded·by·<tagname> |
9 | · ···_\x8 | 14 | · ···_\x8I_.F····················and·</tagname>.·The·contents·of·this·block·are |
10 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················automatically·stored·in·the·block·macro·named |
11 | · | 16 | · ···_.I_.M_.G···················BLOCK. |
12 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············For·example: |
18 | · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"·option="title"> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · <h1><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·title></h1> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · <p·class="section"> | ||
21 | · ···_\x8S_\x8E_\x8T··················· · · <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · </p> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D, | ||
14 | · ···_\x8I_\x8F····················which·tells·htp·to·expand·the·contents·of·the·block | ||
15 | · ···_\x8I_\x8N_\x8C···················before·the·definition·is·expanded. | ||
16 | · ···_\x8I_\x8M_\x8G···················A·more·thorough·discussion·and·more·elaborate | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
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 | ·_. | 25 | · ···_.W_.H_.I_.L_.E················· ·<section·title="My·Section"> |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·This·is·a·fancy·section. | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·</section> | ||
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 114, 29 lines modified | Offset 114, 69 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>></span><br> | ||
122 | · ·<span·class="htp-tag"><font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>></span><br> | ||
123 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
124 | <br> | ||
125 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>></span><br> | ||
126 | · ·<span·class="htp-tag"></font></span><br> | ||
127 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
128 | <br> | ||
129 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
121 | </code></p> | 130 | </code></p> |
122 | <h2>synopsis</h2> | 131 | <h2>synopsis</h2> |
123 | <p> | 132 | <p> |
124 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful | 133 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful |
125 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. | 134 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. |
126 | Example: | 135 | Example: |
127 | </p> | 136 | </p> |
128 | ··<p><code> | 137 | ··<p><code> |
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> | ||
129 | </code></p> | 162 | </code></p> |
130 | <p> | 163 | <p> |
131 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you | 164 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you |
132 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something | 165 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something |
133 | like·this: | 166 | like·this: |
134 | </p> | 167 | </p> |
135 | ··<p><code> | 168 | ··<p><code> |
169 | · ·a·is·expanded·at·time·1.<br> | ||
170 | · ·b·is·expanded·at·time·0.<br> | ||
171 | ·contents·of·a:· ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
172 | ·contents·of·b:· ·b·is·expanded·at·time·0.<br> | ||
173 | · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.<br> | ||
174 | · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.<br> | ||
175 | · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
136 | </code></p> | 176 | </code></p> |
137 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the | 177 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the |
138 | reason·why·you·don't·want·to·include·this·block</p> | 178 | reason·why·you·don't·want·to·include·this·block</p> |
139 | <p> | 179 | <p> |
140 | </td> | 180 | </td> |
141 | </tr> | 181 | </tr> |
142 | <tr> | 182 | <tr> |
Offset 1, 36 lines modified | Offset 1, 84 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="bigfont"> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<font·size="+4"> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
8 | ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·</font> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F | ||
12 | · ···_\x8D_\x8E_\x8F··················· ·<bigfont>Some·large·text</bigfont> | ||
4 | · | 13 | · ···_.F_.I_.L_.E··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 14 | · ···_.I_.F····················This·is·a·simple·comment·that·is·not·included·in |
6 | · | 15 | · ···_.I_.N_.C···················the·output.·This·is·useful·when·commenting |
7 | · | 16 | · ···_.I_.M_.G···················metatags,·since·the·metatags·do·not·appear·the |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············output·either.·Example: | ||
18 | · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················SIZE"> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
21 | · ···_\x8S_\x8E_\x8T··················· · · · ·<FONT·SIZE=${size}> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
26 | ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-················· · · · ·</FONT> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
8 | ·HTP·Tags··················output·either.·Example: | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············Note·that·these·comments·should·not·include·<·or·>, | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················that·is·you·should·not·use·it·to·comment·out·htp | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············code.·For·that·purpose·use·something·like·this: | ||
12 | · ···_\x8D_\x8E_\x8F···················Make·sure·that·the·variable·is·never·defined·and | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················xyz·should·be·the·reason·why·you·don't·want·to | ||
14 | · ···_\x8I_\x8F····················include·this·block | ||
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8M_\x8G | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T | ||
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 | ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
31 | ····························title"> | ||
32 | ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
33 | ····························title"> | ||
34 | ···························· ·This·will·fail: | ||
35 | ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
36 | ····························TITLE="Another·title"> | ||
37 | ···························· ·Instead,·use·*·like·this: | ||
38 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
39 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
40 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
41 | ···························· · | ||
42 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
43 | ····························Note·that·these·comments·should·not·include·<·or·>, | ||
44 | ····························that·is·you·should·not·use·it·to·comment·out·htp | ||
45 | ····························code.·For·that·purpose·use·something·like·this: | ||
46 | ···························· · ·a·is·expanded·at·time·1. | ||
47 | ···························· · ·b·is·expanded·at·time·0. | ||
48 | ···························· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[ | ||
49 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
50 | ···························· ·contents·of·b:· ·b·is·expanded·at·time·0. | ||
51 | ···························· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at | ||
52 | ····························time·1. | ||
53 | ···························· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at | ||
54 | ····························time·2. | ||
55 | ···························· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the | ||
56 | ····························2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
57 | ····························Make·sure·that·the·variable·is·never·defined·and | ||
58 | ····························xyz·should·be·the·reason·why·you·don't·want·to | ||
59 | ····························include·this·block | ||
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 60 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 61 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
Offset 114, 43 lines modified | Offset 114, 77 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">"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 | <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> | ||
123 | <br> | ||
121 | </code></p> | 124 | </code></p> |
122 | <h2>synopsis</h2> | 125 | <h2>synopsis</h2> |
123 | <p> | 126 | <p> |
124 | <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 |
125 | 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 |
126 | <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> |
127 | 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. |
128 | For·example: | 131 | For·example: |
129 | </p> | 132 | </p> |
130 | ··<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> | ||
135 | · ·<span·class="htp-tag"><p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>></span><br> | ||
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> | ||
137 | <br> | ||
138 | · ·<span·class="htp-tag"><centered></span><br> | ||
139 | · ·This·text·is·centered.<br> | ||
131 | </code></p> | 140 | </code></p> |
132 | <P> | 141 | <P> |
133 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | 142 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to |
134 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | 143 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A |
135 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | 144 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster |
136 | 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 |
137 | tag·with·a·preceding·slash.·For·example: | 146 | tag·with·a·preceding·slash.·For·example: |
138 | </P> | 147 | </P> |
139 | ··<p><code> | 148 | ··<p><code> |
149 | <span·class="comment"><!---··This·comment·doesn't·appear·in·the·HTML·file·---></span><br> | ||
140 | </code></p> | 150 | </code></p> |
141 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, | 151 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, |
142 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> | 152 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> |
143 | <P> | 153 | <P> |
144 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were | 154 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were |
145 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with | 155 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with |
146 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their | 156 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their |
147 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) | 157 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) |
148 | </P> | 158 | </P> |
149 | ··<p><code> | 159 | ··<p><code> |
160 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·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> | ||
161 | · ·<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> | ||
162 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
163 | · ·<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> | ||
164 | · ·<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> | ||
165 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>></span><br> | ||
166 | · ·<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> | ||
167 | · · · ·<span·class="htp-tag"></FONT></span><br> | ||
168 | · ·<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> | ||
169 | ·<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> | ||
170 | <br> | ||
171 | ·<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> | ||
172 | <br> | ||
173 | ·<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> | ||
174 | <br> | ||
175 | ·This·will·fail:<br> | ||
176 | ·<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> | ||
177 | <br> | ||
178 | ·Instead,·use·*·like·this:<br> | ||
179 | ·<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> | ||
180 | · ·<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> | ||
181 | ·<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> | ||
182 | · ·<br> | ||
183 | ·<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> | ||
150 | </code></p> | 184 | </code></p> |
151 | <P> | 185 | <P> |
152 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is | 186 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is |
153 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are | 187 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are |
154 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the | 188 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the |
155 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a | 189 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a |
156 | parameter·is·required,·simply·expand·it·without·first·checking.··When | 190 | parameter·is·required,·simply·expand·it·without·first·checking.··When |
Offset 1, 36 lines modified | Offset 1, 76 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·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]_\x8/_\x8d_\x8e_\x8f> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
4 | · | 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of |
6 | · | 10 | · ···_.B_.L_.O_.C_.K·················saying·it·creates·new·tags.·The·mechanism·is·very |
7 | ·_. | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is |
8 | · | 12 | ·[>]·_.D_.E_.F···················not·used·to·expand·them.·Instead,·they·are·expanded |
9 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················by·their·own·name.·For·example: |
14 | · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="centered"> | ||
15 | · ···_\x8I_\x8N_\x8C··················· · ·<p·align=center> | ||
16 | · ···_\x8I_\x8M_\x8G··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T··················· · ·<centered> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·This·text·is·centered. | ||
10 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················Some·metatags·will·require·an·opening·and·closing |
11 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················tag·(comparable·to |
12 | · | 22 | · ···_.U_.N_.D_.E_.F·················and |
13 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. |
14 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················Another·slightly·faster·alternative·is·to·use·two |
15 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················metatags,·the·opening·tag·and·the·closing·tag·with |
16 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················a·preceding·slash.·For·example: |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················<!---·This·comment·doesn't·appear·in·the·HTML·file | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················---> | ||
17 | · | 29 | ·_.B_.u_.g_.s······················You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will |
18 | 30 | ····························check·for·matching·end·tag.·It·is·not·that·slower. | |
19 | 31 | ····························Options·can·be·passed·to·a·metatag,·which·can·then | |
20 | 32 | ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are | |
21 | 33 | ····························parameterized·with·the·OPTION·attribute.·Multiple | |
22 | 34 | ····························options·can·be·listed·by·separating·their·name·with | |
23 | 35 | ····························a·space·(which·therefore·requires·they·be | |
24 | 36 | ····························surrounded·by·quotes.) | |
37 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE | ||
38 | ····························SIZE"> | ||
39 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
40 | ···························· · · · ·<FONT·SIZE=${size}> | ||
41 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
42 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
43 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
44 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> | ||
45 | ···························· · · · ·</FONT> | ||
46 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
47 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
48 | ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
49 | ····························title"> | ||
50 | ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
51 | ····························title"> | ||
52 | ···························· ·This·will·fail: | ||
53 | ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" | ||
54 | ····························TITLE="Another·title"> | ||
55 | ···························· ·Instead,·use·*·like·this: | ||
56 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
57 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
58 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
59 | ···························· · | ||
60 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
25 | 61 | ····························htp·will·do·very·specific·checking·of·parameters | |
26 | 62 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all | |
27 | 63 | ····························parameter·options·to·the·metatag·are·optional.·This | |
28 | 64 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify | |
29 | 65 | ····························the·SIZE·option·is·defined·before·expanding·it·in | |
30 | ····························the·block.·If·a·parameter·is·required,·simply | 66 | ····························the·block.·If·a·parameter·is·required,·simply |
31 | ····························expand·it·without·first·checking.·When·htp·expands | 67 | ····························expand·it·without·first·checking.·When·htp·expands |
32 | ····························the·metatag·and·the·macro·is·not·defined,·it·will | 68 | ····························the·metatag·and·the·macro·is·not·defined,·it·will |
33 | ····························halt·processing·and·complain·with·an·error·message | 69 | ····························halt·processing·and·complain·with·an·error·message |
34 | ····························and·the·required·macro·name.·Normally·htp·will·not | 70 | ····························and·the·required·macro·name.·Normally·htp·will·not |
35 | ····························allow·parameters·not·listed·in·the·OPTION·attribute | 71 | ····························allow·parameters·not·listed·in·the·OPTION·attribute |
36 | ····························to·be·added·to·the·tag.·This·is·why·the·third | 72 | ····························to·be·added·to·the·tag.·This·is·why·the·third |
Offset 98, 17 lines modified | Offset 98, 52 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="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>></span><br> | ||
106 | <font·size="-2"> 2.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
107 | <font·size="-2"> 3.·</font> · ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
108 | <font·size="-2"> 4.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
109 | <font·size="-2"> 5.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
110 | <font·size="-2"> 6.·</font> · ·b·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
111 | <font·size="-2"> 7.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
112 | <font·size="-2"> 8.·</font> ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>></span><br> | ||
113 | <font·size="-2"> 9.·</font> ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
114 | <font·size="-2">10.·</font> ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>></span><br> | ||
115 | <font·size="-2">11.·</font> ·contents·of·a:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
116 | <font·size="-2">12.·</font> ·contents·of·b:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
117 | <font·size="-2">13.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
118 | <font·size="-2">14.·</font> · ·c·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
119 | <font·size="-2">15.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
120 | <font·size="-2">16.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
121 | <font·size="-2">17.·</font> · ·d·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
122 | <font·size="-2">18.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
123 | <font·size="-2">19.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>></span><br> | ||
124 | <font·size="-2">20.·</font> · ·e·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
125 | <font·size="-2">21.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
126 | <font·size="-2">22.·</font> ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>></span><br> | ||
127 | <font·size="-2">23.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
128 | <font·size="-2">24.·</font> · ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
129 | <font·size="-2">25.·</font> ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
130 | <font·size="-2">26.·</font> ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>></span><br> | ||
131 | <font·size="-2">27.·</font> ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>></span><br> | ||
132 | <font·size="-2">28.·</font> ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>></span><br> | ||
105 | </code></p> | 133 | </code></p> |
106 | This·produces·the·following: | 134 | This·produces·the·following: |
107 | ··<p><code> | 135 | ··<p><code> |
136 | · ·a·is·expanded·at·time·1.<br> | ||
137 | · ·b·is·expanded·at·time·0.<br> | ||
138 | ·contents·of·a:· ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
139 | ·contents·of·b:· ·b·is·expanded·at·time·0.<br> | ||
140 | · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.<br> | ||
141 | · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.<br> | ||
142 | · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
108 | </code></p> | 143 | </code></p> |
109 | <P> | 144 | <P> |
110 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a | 145 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a |
111 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded | 146 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded |
112 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it | 147 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it |
113 | is·used,·while·the·contents·of·b·are·already·expanded. | 148 | is·used,·while·the·contents·of·b·are·already·expanded. |
114 | </P> | 149 | </P> |
Offset 24, 15 lines modified | Offset 24, 58 lines modified | ||
24 | ····························However,·if·the·block·tag·is·marked·with·the·expand | 24 | ····························However,·if·the·block·tag·is·marked·with·the·expand |
25 | ····························modifier·it·is·expanded·immediately.·This·is·useful | 25 | ····························modifier·it·is·expanded·immediately.·This·is·useful |
26 | ····························if·you·want·to·store·something·in·a·block·macro, | 26 | ····························if·you·want·to·store·something·in·a·block·macro, |
27 | ····························that·depends·on·the·current·value·of·another·macro. | 27 | ····························that·depends·on·the·current·value·of·another·macro. |
28 | ····························This·other·macro·may·no·longer·have·the·correct | 28 | ····························This·other·macro·may·no·longer·have·the·correct |
29 | ····························value·when·the·macro·is·expanded.·Here·is·some·code | 29 | ····························value·when·the·macro·is·expanded.·Here·is·some·code |
30 | ····························that·demonstrate·when·the·htp·tags·are·expanded: | 30 | ····························that·demonstrate·when·the·htp·tags·are·expanded: |
31 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="0"> | ||
32 | ···························· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
33 | ···························· 3.· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
34 | ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
35 | ···························· 5.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand> | ||
36 | ···························· 6.· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
37 | ···························· 7.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
38 | ···························· 8.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1"> | ||
39 | ···························· 9.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
40 | ····························10.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b> | ||
41 | ····························11.· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
42 | ····························12.· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand> | ||
43 | ····························13.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand> | ||
44 | ····························14.· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
45 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
46 | ····························15.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
47 | ····························16.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand> | ||
48 | ····························17.· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
49 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
50 | ····························18.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
51 | ····························19.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e> | ||
52 | ····························20.· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
53 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
54 | ····························21.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
55 | ····························22.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2"> | ||
56 | ····························23.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
57 | ····························24.· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e | ||
58 | ····························time>. | ||
59 | ····························25.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
60 | ····························26.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c> | ||
61 | ····························27.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d> | ||
62 | ····························28.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e> | ||
31 | ····························This·produces·the·following: | 63 | ····························This·produces·the·following: |
64 | ···························· · ·a·is·expanded·at·time·1. | ||
65 | ···························· · ·b·is·expanded·at·time·0. | ||
66 | ···························· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[ | ||
67 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
68 | ···························· ·contents·of·b:· ·b·is·expanded·at·time·0. | ||
69 | ···························· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at | ||
70 | ····························time·1. | ||
71 | ···························· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at | ||
72 | ····························time·2. | ||
73 | ···························· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the | ||
74 | ····························2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
32 | ····························When·block·a·and·block·b·are·defined·in·lines·2- | 75 | ····························When·block·a·and·block·b·are·defined·in·lines·2- |
33 | ····························7·the·contents·of·a·are·taken·literally,·however, | 76 | ····························7·the·contents·of·a·are·taken·literally,·however, |
34 | ····························the·contents·for·b·are·already·expanded·so·the | 77 | ····························the·contents·for·b·are·already·expanded·so·the |
35 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it | 78 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it |
36 | ····························is·used,·while·the·contents·of·b·are·already | 79 | ····························is·used,·while·the·contents·of·b·are·already |
37 | ····························expanded. | 80 | ····························expanded. |
38 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with | 81 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with |
Offset 114, 32 lines modified | Offset 114, 44 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="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="ebnf">(</span><span·class="htp-attrib">output</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">|</span>·<span·class="htp-attrib">redirect</span><span·class="ebnf">)</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noerror</span><span·class="ebnf">]</span>></span><br> | ||
122 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"includefilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>></span><br> | ||
123 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>></span><br> | ||
124 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">size</span><span·class="ebnf">[</span>·=<span·class="htp-value"></span>·<span·class="ebnf">(</span><span·class="htp-attrib">byte</span><span·class="ebnf">|</span><span·class="htp-attrib">kbyte</span><span·class="ebnf">|</span><span·class="htp-attrib">mbyte</span><span·class="ebnf">|</span><span·class="htp-attrib">gbyte</span><span·class="ebnf">)</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">precision</span>=<span·class="htp-value">n<span·class="ebnf">]</span></span>></span><br> | ||
125 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">time</span><span·class="ebnf">[</span>·=<span·class="htp-string">"format"</span>·<span·class="ebnf">]</span>></span><br> | ||
126 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="ebnf">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="ebnf">]</span>·<span·class="htp-attrib">date</span><span·class="ebnf">[</span>·=<span·class="htp-string">"format"</span>·<span·class="ebnf">]</span>></span><br> | ||
127 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>></span><br> | ||
128 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>></span><br> | ||
129 | <br> | ||
121 | </code></p> | 130 | </code></p> |
122 | <h2>synopsis</h2> | 131 | <h2>synopsis</h2> |
123 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. | 132 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. |
124 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of | 133 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of |
125 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be | 134 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be |
126 | added·to·the·output·file·as·well. | 135 | added·to·the·output·file·as·well. |
127 | <P> | 136 | <P> |
128 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the | 137 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the |
129 | following·is·perfectly·acceptable: | 138 | following·is·perfectly·acceptable: |
130 | ··<p><code> | 139 | ··<p><code> |
140 | · ·<span·class="htp-tag"><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> | ||
131 | </code></p> | 141 | </code></p> |
132 | <P> | 142 | <P> |
133 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> | 143 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> |
134 | <P> | 144 | <P> |
135 | To·include·information·about·another·file,·such·as·an·archive·file·or | 145 | To·include·information·about·another·file,·such·as·an·archive·file·or |
136 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the | 146 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the |
137 | type·of·information·to·be·displayed: | 147 | type·of·information·to·be·displayed: |
138 | ··<p><code> | 148 | ··<p><code> |
149 | · ·File·image.gif·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>></span> kilobytes<br> | ||
150 | · ·Last·modified·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>></span><br> | ||
139 | </code></p> | 151 | </code></p> |
140 | <P> | 152 | <P> |
141 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the | 153 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the |
142 | information·is·displayed.··In·anything·other·than·byte·format,·the·information | 154 | information·is·displayed.··In·anything·other·than·byte·format,·the·information |
143 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number | 155 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number |
144 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional | 156 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional |
145 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no | 157 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no |
Offset 168, 14 lines modified | Offset 180, 27 lines modified | ||
168 | <P> | 180 | <P> |
169 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are | 181 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are |
170 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros | 182 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros |
171 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it | 183 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it |
172 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer | 184 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer |
173 | available.··So: | 185 | available.··So: |
174 | ··<p><code> | 186 | ··<p><code> |
187 | <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> | ||
188 | · ·block·#1<br> | ||
189 | [<br> | ||
190 | <span·class="htp-tag"><ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
191 | · ·block·#2<br> | ||
192 | ...<br> | ||
193 | ]<br> | ||
194 | [<br> | ||
195 | <span·class="htp-tag"><ELSE></span><br> | ||
196 | · ·block·#3<br> | ||
197 | ]<br> | ||
198 | <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> | ||
199 | <br> | ||
175 | </code></p> | 200 | </code></p> |
176 | <P> | 201 | <P> |
177 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included | 202 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included |
178 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the | 203 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the |
179 | second·statement·will·fail.) | 204 | second·statement·will·fail.) |
180 | <P> | 205 | <P> |
181 | <h3><a·name="template">TEMPLATE</a></h3> | 206 | <h3><a·name="template">TEMPLATE</a></h3> |
Offset 1, 36 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:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·execute="command-line" | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················(output="filename"·|·redirect)·[noerror]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="includefilename"·[parameters | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················...]> | ||
8 | ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·name> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·size[·= | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················(byte|kbyte|mbyte|gbyte)·]·[precision=n]> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·time[·="format"·]> | ||
12 | · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·date[·="format"·]> | ||
13 | ·[>]·_\x8F_\x8I_\x8L_\x8E··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·search="searchpath"> | ||
14 | · ···_\x8I_\x8F····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·template="templatefilename"> | ||
15 | · ···_\x8I_\x8N_\x8C | ||
4 | · | 16 | · ···_.I_.M_.G···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing |
6 | · | 18 | · ···_.O_.P_.T···················purpose.·The·output·file's·name,·the·current·date |
7 | · | 19 | · ···_.O_.U_.T_.P_.U_.T················and·time,·and·the·contents·of·another·file·may·be |
8 | · | 20 | · ···_.Q_.U_.O_.T_.E·················included.·Another·file's·time,·date,·or·size·may·be |
9 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················added·to·the·output·file·as·well. |
10 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················As·with·all·HTML,·these·tags·do·not·have·to·be·on |
11 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················their·own·line,·so·the·following·is·perfectly |
12 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················acceptable: |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<EM>File·"<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME>"·last·updated·<_\x8[ | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM> | ||
13 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················*\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* |
14 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················To·include·information·about·another·file,·such·as |
15 | · | 29 | ·_.B_.u_.g_.s······················an·archive·file·or·graphic·image,·specify·its·name |
16 | 30 | ····························with·the·NAME·attribute·followed·by·the·type·of | |
17 | 31 | ····························information·to·be·displayed: | |
32 | ···························· · ·File·image.gif·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
33 | ····························SIZE=KBYTE> kilobytes | ||
34 | ···························· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
35 | ····························TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
18 | 36 | ····························For·file·size·information,·the·value·BYTE,·KBYTE, | |
19 | 37 | ····························etc.·dictates·how·the·information·is·displayed.·In | |
20 | 38 | ····························anything·other·than·byte·format,·the·information·is | |
21 | 39 | ····························displayed·in·floating-point·notation.·The·amount·of | |
22 | 40 | ····························precision·(the·number·of·digits·to·the·right·of·the | |
23 | 41 | ····························decimal·point)·can·be·set·with·the·optional | |
24 | 42 | ····························PRECISION·attribute.·The·default·precision·is·zero | |
25 | 43 | ····························(0),·which·means·no·fractional·portion·is | |
26 | 44 | ····························displayed. | |
27 | 45 | ····························At·the·request·of·many·people,·the·TIME·and·DATE | |
28 | 46 | ····························attributes·will·now·accept·formatting·characters | |
29 | 47 | ····························that·are·passed·directly·into·the·ANSI·C·library | |
30 | ····························function.·This·allows·for·the·time·and·date·to·be | 48 | ····························function.·This·allows·for·the·time·and·date·to·be |
31 | ····························displayed·in·virtually·any·format.·Users·not | 49 | ····························displayed·in·virtually·any·format.·Users·not |
32 | ····························wishing·to·mess·around·with·this·should·stick·to | 50 | ····························wishing·to·mess·around·with·this·should·stick·to |
33 | ····························the·default·format,·which·is·used·if·no·formatting | 51 | ····························the·default·format,·which·is·used·if·no·formatting |
34 | ····························value·is·specified·(i.e.,·just·using·05:04:11·PM). | 52 | ····························value·is·specified·(i.e.,·just·using·05:04:11·PM). |
35 | ····························Consult·any·C·programmer's·guide·discussing·the | 53 | ····························Consult·any·C·programmer's·guide·discussing·the |
36 | ····························standard·C·library·function·strftime()·for | 54 | ····························standard·C·library·function·strftime()·for |
Offset 49, 14 lines modified | Offset 67, 27 lines modified | ||
49 | ····························Additional·parameters·can·be·set·in·the·FILE | 67 | ····························Additional·parameters·can·be·set·in·the·FILE |
50 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that | 68 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that |
51 | ····························are·"passed"·to·the·included·file.·The·macros·are | 69 | ····························are·"passed"·to·the·included·file.·The·macros·are |
52 | ····························available·only·to·the·include·file·(and·any·macros | 70 | ····························available·only·to·the·include·file·(and·any·macros |
53 | ····························or·included·files·it·holds).·After·the·file·is | 71 | ····························or·included·files·it·holds).·After·the·file·is |
54 | ····························completely·included,·the·macros·are·no·longer | 72 | ····························completely·included,·the·macros·are·no·longer |
55 | ····························available.·So: | 73 | ····························available.·So: |
74 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·[NOT]·conditional> | ||
75 | ···························· · ·block·#1 | ||
76 | ····························[ | ||
77 | ····························<ELSEIF·[NOT]·conditional> | ||
78 | ···························· · ·block·#2 | ||
79 | ····························... | ||
80 | ····························] | ||
81 | ····························[ | ||
82 | ····························<ELSE> | ||
83 | ···························· · ·block·#3 | ||
84 | ····························] | ||
85 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
56 | ····························Macros·named·"name"·and·"email"·are·set,·and | 86 | ····························Macros·named·"name"·and·"email"·are·set,·and |
57 | ····························available·inside·the·included·file.·They·are·not | 87 | ····························available·inside·the·included·file.·They·are·not |
58 | ····························available,·however,·past·the·tag·(which·is·why·the | 88 | ····························available,·however,·past·the·tag·(which·is·why·the |
59 | ····························second·statement·will·fail.) | 89 | ····························second·statement·will·fail.) |
60 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* | 90 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* |
61 | ····························A·template·file·is·nothing·more·than·a·default | 91 | ····························A·template·file·is·nothing·more·than·a·default |
62 | ····························include·file,·one·that·is·included·once·the·input | 92 | ····························include·file,·one·that·is·included·once·the·input |
Offset 114, 27 lines modified | Offset 114, 64 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="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
122 | · ·block·#1<br> | ||
123 | [<br> | ||
124 | <span·class="htp-tag"><ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
125 | · ·block·#2<br> | ||
126 | ...<br> | ||
127 | ]<br> | ||
128 | [<br> | ||
129 | <span·class="htp-tag"><ELSE></span><br> | ||
130 | · ·block·#3<br> | ||
131 | ]<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><br> | ||
133 | <br> | ||
121 | </code></p> | 134 | </code></p> |
122 | <h2>synopsis</h2> | 135 | <h2>synopsis</h2> |
123 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building | 136 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building |
124 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. | 137 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. |
125 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A | 138 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A |
126 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal | 139 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal |
127 | string: | 140 | string: |
128 | ··<p><code> | 141 | ··<p><code> |
142 | ·<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> | ||
143 | ·<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> | ||
144 | <br> | ||
145 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
146 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
147 | ·(no·URL·replacement).<br> | ||
148 | <br> | ||
149 | ·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> | ||
150 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
151 | <br> | ||
152 | ·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> | ||
153 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
154 | ·will·not·be·added.<br> | ||
155 | <br> | ||
156 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
157 | ·<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> | ||
158 | ·<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> | ||
159 | <br> | ||
160 | ·<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> | ||
161 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
162 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
163 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
129 | </code></p> | 164 | </code></p> |
130 | <P> | 165 | <P> |
131 | and·a·defined·operator·is·a·test·of·a·macro's·existance: | 166 | and·a·defined·operator·is·a·test·of·a·macro's·existance: |
132 | <P> | 167 | <P> |
133 | ··<p><code> | 168 | ··<p><code> |
169 | <span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[GLOBAL]</span>></span><br> | ||
170 | <br> | ||
134 | </code></p> | 171 | </code></p> |
135 | <P> | 172 | <P> |
136 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the | 173 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the |
137 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that | 174 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that |
138 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the | 175 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the |
139 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block | 176 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block |
140 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. | 177 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. |
Offset 1, 36 lines modified | Offset 1, 87 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·[NOT]·conditional> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block·#1 | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················[ | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<ELSEIF·[NOT]·conditional> | ||
8 | ·HTP·Tags·················· · ·block·#2 | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············... | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················] | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············[ | ||
12 | · ···_\x8D_\x8E_\x8F···················<ELSE> | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·block·#3 | ||
14 | ·[>]·_\x8I_\x8F····················] | ||
15 | · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
16 | · ···_\x8I_\x8M_\x8G | ||
4 | · | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 18 | · ···_.O_.P_.T···················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building |
6 | · | 19 | · ···_.O_.U_.T_.P_.U_.T················blocks·for·conditional·processing.·The·basic·form |
7 | · | 20 | · ···_.Q_.U_.O_.T_.E·················is·shown·above. |
8 | · | 21 | · ···_.S_.E_.T···················"Conditional"·is·either·a·"compare"·or·"is·defined" |
9 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················operation.·A·compare·operator·is·a·test·of·the |
10 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················value·of·a·macro·against·a·literal·string: |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················"·path="/var/www/my.domain/"> | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················var/www/other.domain/"> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············and·a·defined·operator·is·a·test·of·a·macro's | ||
12 | · ···_\x8D_\x8E_\x8F···················existance: | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················If·the·NOT·tag·is·present·in·the·IF·markup,·the | ||
14 | ·[>]·_\x8I_\x8F····················evaluation·of·the·conditional·is·reversed.·The | ||
15 | · ···_\x8I_\x8N_\x8C···················first·IF·or·ELSEIF·condition·that·evaluates·to·true | ||
16 | · ···_\x8I_\x8M_\x8G···················is·chosen.·If·none·of·the·conditions·is·true·the | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············ELSE·block·is·taken·if·it·is·present.·A·conditional | ||
18 | · ···_\x8O_\x8P_\x8T···················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················be·nested. | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·For·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="logo.gif"> |
30 | ···························· ·the·local·filename·"logo.gif"·will·be·used·to | ||
31 | ····························determine·image·dimensions | ||
32 | ···························· ·(no·URL·replacement). | ||
33 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
34 | ····························my.domain.org/logo.gif"> | ||
35 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
36 | ····························will·be·used. | ||
37 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
38 | ····························other.domain.org/logo.gif"> | ||
39 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
40 | ····························so·the·image·dimensions | ||
41 | ···························· ·will·not·be·added. | ||
42 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
43 | ····························precedence: | ||
44 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
45 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
46 | ····························test/"> | ||
47 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
48 | ····························src="/test/image.gif"> are·mapped·to | ||
49 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
50 | ····························image.gif,·resp. | ||
51 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
52 | ····························swapped,·the·second | ||
53 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
54 | ····························image.gif. | ||
55 | ····························and·a·defined·operator·is·a·test·of·a·macro's | ||
56 | ····························existance: | ||
57 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1" | ||
58 | ····························[macroname2="increment2"·...·]·[GLOBAL]> | ||
59 | ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the | ||
60 | ····························evaluation·of·the·conditional·is·reversed.·The | ||
61 | ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true | ||
62 | ····························is·chosen.·If·none·of·the·conditions·is·true·the | ||
63 | ····························ELSE·block·is·taken·if·it·is·present.·A·conditional | ||
64 | ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can | ||
65 | ····························be·nested. | ||
Offset 114, 14 lines modified | Offset 114, 16 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="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> | ||
122 | <br> | ||
121 | </code></p> | 123 | </code></p> |
122 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
123 | <P> | 125 | <P> |
124 | <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 |
125 | file·system.··declares·an·URL·replacement·that·is·used·for | 127 | file·system.··declares·an·URL·replacement·that·is·used·for |
126 | 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 |
127 | 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 135, 14 lines modified | Offset 137, 36 lines modified | ||
135 | checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC | 137 | checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC |
136 | attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH. | 138 | attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH. |
137 | If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and | 139 | If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and |
138 | looked·up·in·the·current·directory.</P> | 140 | looked·up·in·the·current·directory.</P> |
139 | <P> | 141 | <P> |
140 | For·example:</P> | 142 | For·example:</P> |
141 | ··<p><code> | 143 | ··<p><code> |
144 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> | ||
145 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
146 | <br> | ||
147 | ·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> | ||
148 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
149 | ·(no·URL·replacement).<br> | ||
150 | <br> | ||
151 | ·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> | ||
152 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
153 | <br> | ||
154 | ·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> | ||
155 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
156 | ·will·not·be·added.<br> | ||
157 | <br> | ||
158 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
159 | ·<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> | ||
160 | ·<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> | ||
161 | <br> | ||
162 | ·<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> | ||
163 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
164 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
165 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
142 | </code></p> | 166 | </code></p> |
143 | <P> | 167 | <P> |
144 | If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as | 168 | If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as |
145 | an·undefine,·and·is·removed.</P> | 169 | an·undefine,·and·is·removed.</P> |
146 | <P> | 170 | <P> |
147 | Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout | 171 | Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout |
148 | a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an | 172 | a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an |
Offset 1, 36 lines modified | Offset 1, 74 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="imageurl"·[·path="path/in/ | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················local/filesystem"·]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
4 | ·_\x8 | 7 | ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 8 | ·HTP·Tags··················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the |
6 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············local·file·system.·declares·an·URL·replacement·that |
7 | · | 10 | · ···_.B_.L_.O_.C_.K·················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This |
8 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option |
9 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················is·enabled.·Beacause·htp·can't·lookup·files·in·the |
10 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················world·wide·web·you·have·to·map·absolute·image·URLs |
11 | · ···_\x8 | 14 | · ···_\x8I_.F····················to·a·directory·in·the·local·file·system. |
12 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················When·an·IMG·tag·is·encountered·where·htp·has·to |
13 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················insert·width·and·height·the·defined·URL |
14 | · | 17 | ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············replacements·will·be·taken·into·account·(later |
15 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················definitions·take·precedence·to·earlier):·For·each |
16 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················defined·imageurl·it·checks·(case-insensitive)·if·it |
17 | · | 20 | · ···_.Q_.U_.O_.T_.E·················is·a·prefix·of·the·image's·SRC·attribute.·If·it |
18 | · ···_\x8 | 21 | · ···_\x8S_.E_\x8T···················matches·this·prefix·is·replaced·by·the·given·PATH. |
19 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················If·no·IMAGEURL·matches·the·SRC·is·considered·as |
20 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················relative·link·and·looked·up·in·the·current |
21 | · ···_\x8S_.E_. | 24 | · ···_\x8U_.S_.E_.,_.·_.$················directory. |
22 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················For·example: |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················"·path="/var/www/my.domain/"> | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················var/www/other.domain/"> | ||
30 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
31 | ···························· ·the·local·filename·"logo.gif"·will·be·used·to | ||
32 | ····························determine·image·dimensions | ||
33 | ···························· ·(no·URL·replacement). | ||
34 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
35 | ····························my.domain.org/logo.gif"> | ||
36 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
37 | ····························will·be·used. | ||
38 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
39 | ····························other.domain.org/logo.gif"> | ||
40 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
41 | ····························so·the·image·dimensions | ||
42 | ···························· ·will·not·be·added. | ||
43 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
44 | ····························precedence: | ||
45 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
46 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
47 | ····························test/"> | ||
48 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
49 | ····························src="/test/image.gif"> are·mapped·to | ||
50 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
51 | ····························image.gif,·resp. | ||
52 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
53 | ····························swapped,·the·second | ||
54 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
55 | ····························image.gif. | ||
23 | 56 | ····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH | |
24 | 57 | ····························attribute,·it·is·treated·as·an·undefine,·and·is | |
25 | 58 | ····························removed. | |
26 | 59 | ····························Since·you·usually·need·the·url·mapping·for·a·number | |
27 | 60 | ····························of·images·used·throughout·a·set·of·documents, | |
28 | 61 | ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | |
29 | 62 | ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file. | |
30 | ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also | 63 | ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also |
31 | ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to | 64 | ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to |
32 | ····························_\x8I_\x8M_\x8G·tags. | 65 | ····························_\x8I_\x8M_\x8G·tags. |
Offset 114, 14 lines modified | Offset 114, 16 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>></span><br> | ||
122 | <br> | ||
121 | </code></p> | 123 | </code></p> |
122 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
123 | <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 |
124 | 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 |
125 | 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 |
126 | useful·if·the·image·may·change·frequently.·</P> | 128 | useful·if·the·image·may·change·frequently.·</P> |
127 | <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, 39 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1" | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
4 | ·_\x8 | 7 | ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 8 | ·HTP·Tags··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the |
6 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············specified·image's·width·and·height·to·the·tag |
7 | · | 10 | · ···_.B_.L_.O_.C_.K·················automatically.·This·has·the·advantage·of·not·having |
8 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············to·determine·each·image's·size·manually,·which·is |
9 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················especially·useful·if·the·image·may·change |
10 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················frequently. |
11 | · ···_\x8 | 14 | · ···_\x8I_.F····················htp·adds·this·information·with·the·WIDTH·and·HEIGHT |
12 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················markup·attributes.·If·htp·detects·these·attributes |
13 | · | 16 | ·[>]·_.I_.M_.G···················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify |
14 | · ···_\x8I_\x8 | 17 | · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············the·values.·If·htp·cannot·find·the·image·file,·it |
15 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················will·issue·a·warning·but·not·halt·processing. |
16 | · | 19 | · ···_.O_.U_.T_.P_.U_.T················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG |
17 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················(Portable·Network·Graphics),·and·JFIF·(JPEG·File |
18 | · ···_\x8 | 21 | · ···_\x8S_.E_\x8T···················Interchange·Format)·are·supported. |
19 | · ···_\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 |
20 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················not·htp·actually·adds·this·information·as·it |
21 | · ···_\x8S_.E_. | 24 | · ···_\x8U_.S_.E_.,_.·_.$················executes. |
22 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················Since·htp·is·able·to·lookup·files·only·in·the·local |
23 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map |
24 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················URLs·to·local·files. |
25 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················htp·can·also·add·default·ALT·text·to·IMG·tags·using |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T. | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s······················_.A_.L_.T_.T_.E_.X_.T. |
Offset 114, 14 lines modified | Offset 114, 27 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>></span><br> | ||
122 | · <span·class="htp-tag"><table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>></span><br> | ||
123 | · <span·class="htp-tag"><tr></span><br> | ||
124 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
125 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>></span>&nbsp;<span·class="htp-tag"></td></span><br> | ||
126 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
127 | · <span·class="htp-tag"></tr></span><br> | ||
128 | · <span·class="htp-tag"></table></span><br> | ||
129 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
130 | <br> | ||
131 | paragraph<br> | ||
132 | <span·class="htp-tag"><imghr></span><br> | ||
133 | paragraph<br> | ||
121 | </code></p> | 134 | </code></p> |
122 | <h2>synopsis</h2> | 135 | <h2>synopsis</h2> |
123 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a | 136 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a |
124 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. | 137 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. |
125 | <P> | 138 | <P> |
126 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a | 139 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a |
127 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The | 140 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The |
Offset 1, 36 lines modified | Offset 1, 53 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]_\x8d_\x8e_\x8f·name="imghr"> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <table·border="0"·cellspacing="0" | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················cellpadding="0"> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · <tr> | ||
8 | ·HTP·Tags·················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············td> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<td·width="95%" | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············background="midsep.png"> </td> | ||
12 | · ···_\x8D_\x8E_\x8F··················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E··················td> | ||
14 | · ···_\x8I_\x8F···················· · </tr> | ||
15 | ·[>]·_\x8I_\x8N_\x8C··················· · </table> | ||
16 | · ···_\x8I_\x8M_\x8G··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
18 | · ···_\x8O_\x8P_\x8T··················· paragraph | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ <imghr> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· paragraph | ||
4 | · | 21 | · ···_.S_.E_.T···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
5 | · | 22 | · ···_.U_.N_.D_.E_.F·················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a |
6 | · | 23 | · ···_.U_.N_.S_.E_.T·················variable·or·for·variable·addition.·The·basic·form |
7 | ·_.U_. | 24 | · ···_.U_.S_.E_.,_.·_.$················is·shown·above. |
8 | ·H | 25 | · ···_.W_.H_.I_.L_.E·················The·"increment"·is·anything·that·evaluates·to·a |
9 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················integer.·It·can·be·a·literal·string·or·a·macro |
10 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················preceeded·by·the·'$'-operator.·The·macroname·must |
11 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················be·the·name·of·a·defined·macro·that·contains·an |
12 | · | 29 | ·_.B_.u_.g_.s······················integer.·If·the·increment·is·ommitted·it·defaults |
13 | 30 | ····························to·1.·The·effect·of·this·operation·is·that·the | |
14 | 31 | ····························macro·is·redefined·to·contain·the·sum·of·its | |
15 | 32 | ····························previous·value·and·its·increment. | |
16 | 33 | ····························To·increment·or·decrement·a·variable·you·can·use | |
17 | 34 | ····························this·form: | |
18 | 35 | ····························Note·that·INC·doesn't·check·if·the·strings·really | |
19 | 36 | ····························denote·integers.·It·may·give·weired·results·when | |
20 | 37 | ····························used·on·arbitrary·strings.·The·integer·values·are | |
21 | 38 | ····························limited·to·the·range·-2^31..2^31. | |
22 | 39 | ····························Note·further·that·htp·wasn't·designed·to·do | |
23 | 40 | ····························extensive·calculations.·The·INC·tag·is·useful·in | |
24 | 41 | ····························conjunction·with·WHILE·to·iterate·over·the·defined | |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················blocks. | ||
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 | 42 | ····························blocks. | |
Offset 88, 14 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="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="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(DEPEND|NODEPEND)</span>></span><br> | ||
98 | <font·size="-2"> 4.·</font><span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(PRECIOUS|NOPRECIOUS)</span>></span><br> | ||
99 | <font·size="-2"> 5.·</font><span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>></span><br> | ||
100 | <font·size="-2"> 6.·</font><span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="htp-value">(HTML|SQUARE|CURLY)</span>></span><br> | ||
101 | <font·size="-2"> 7.·</font><span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(XML|XML</span>=<span·class="htp-value">FALSE)</span>></span><br> | ||
102 | <font·size="-2"> 8.·</font><br> | ||
95 | </code></p> | 103 | </code></p> |
96 | <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. |
97 | 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. |
98 | 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 |
99 | <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 |
100 | 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 |
101 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> | 109 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> |
Offset 105, 14 lines modified | Offset 113, 16 lines modified | ||
105 | file</a>.··</p> | 113 | file</a>.··</p> |
106 | <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 |
107 | variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp | 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 |
108 | encounters·a·blockdef·tag·it·will·automatically·search·for·the | 116 | encounters·a·blockdef·tag·it·will·automatically·search·for·the |
109 | 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 |
110 | 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> |
111 | ··<p><code> | 119 | ··<p><code> |
120 | <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> | ||
121 | <font·size="-2"> 2.·</font><br> | ||
112 | </code></p> | 122 | </code></p> |
113 | <h2>Using·parameters</h2> | 123 | <h2>Using·parameters</h2> |
114 | <p>·More·sophisticated·tags·accept·parameters.··The | 124 | <p>·More·sophisticated·tags·accept·parameters.··The |
115 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be | 125 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be |
116 | named·and·expanded·inside·the·<code>def</code>·or | 126 | named·and·expanded·inside·the·<code>def</code>·or |
117 | <code>blockdef</code>·block:·</p> | 127 | <code>blockdef</code>·block:·</p> |
118 | ··<p><code> | 128 | ··<p><code> |
Offset 123, 14 lines modified | Offset 133, 17 lines modified | ||
123 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by | 133 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by |
124 | the·template·file.··The·normal·htp·files·should·just·define·macros | 134 | the·template·file.··The·normal·htp·files·should·just·define·macros |
125 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block | 135 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block |
126 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this | 136 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this |
127 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to | 137 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to |
128 | do·this:</p> | 138 | do·this:</p> |
129 | ··<p><code> | 139 | ··<p><code> |
140 | <font·size="-2"> 1.·</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">macroname</span>></span><br> | ||
141 | <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> | ||
142 | <font·size="-2"> 3.·</font><br> | ||
130 | </code></p> | 143 | </code></p> |
131 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a | 144 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a |
132 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is | 145 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is |
133 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is | 146 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is |
134 | build·from·this·counter.··So·the·first·section·is·stored·in·block | 147 | build·from·this·counter.··So·the·first·section·is·stored·in·block |
135 | 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 | 148 | 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 |
136 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally | 149 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally |
Offset 149, 15 lines modified | Offset 162, 23 lines modified | ||
149 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be | 162 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be |
150 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the | 163 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the |
151 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you | 164 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you |
152 | use·expand·in·a·block·around·it.</p> | 165 | use·expand·in·a·block·around·it.</p> |
153 | <p>To·close·this·example·we·show·how·to·expand·the | 166 | <p>To·close·this·example·we·show·how·to·expand·the |
154 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> | 167 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> |
155 | ··<p><code> | 168 | ··<p><code> |
156 | <font·size="-2"> 1.·</font> | 169 | <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> |
170 | <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> | ||
171 | <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> | ||
172 | <font·size="-2"> 4.·</font><br> | ||
173 | <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> | ||
174 | <font·size="-2"> 6.·</font><br> | ||
175 | <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> | ||
176 | <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> | ||
177 | <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> | ||
157 | </code></p> | 178 | </code></p> |
158 | <p> | 179 | <p> |
159 | 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 | 180 | 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 |
160 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is | 181 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is |
161 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards | 182 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards |
162 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This | 183 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This |
163 | repeats·until·sect-${sect-ctr}·is·not·defined. | 184 | repeats·until·sect-${sect-ctr}·is·not·defined. |
Offset 9, 15 lines modified | Offset 9, 23 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)> | ||
17 | ···························· 2.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(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)> | ||
23 | ···························· 8. | ||
16 | 24 | ····························In·line·1·of·the·above·example·a·new·tag·named | |
17 | ····························imghr·is·defined.·The·html·code·which·implements | 25 | ····························imghr·is·defined.·The·html·code·which·implements |
18 | ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[ | 26 | ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[ |
19 | ····························_\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 |
20 | ····························understand·this·html·code,·but·you·should | 28 | ····························understand·this·html·code,·but·you·should |
21 | ····························understand·that·this·is·just·pure·html·to·draw·the | 29 | ····························understand·that·this·is·just·pure·html·to·draw·the |
22 | ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line | 30 | ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line |
23 | ····························12·htp·will·replace·this·tag·with·the·corresponding | 31 | ····························12·htp·will·replace·this·tag·with·the·corresponding |
Offset 27, 14 lines modified | Offset 35, 16 lines modified | ||
27 | ····························Often·you·want·to·define·tags·that·have·an·opening | 35 | ····························Often·you·want·to·define·tags·that·have·an·opening |
28 | ····························and·a·closing·variant.·For·this·purpose·you·should | 36 | ····························and·a·closing·variant.·For·this·purpose·you·should |
29 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a | 37 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a |
30 | ····························blockdef·tag·it·will·automatically·search·for·the | 38 | ····························blockdef·tag·it·will·automatically·search·for·the |
31 | ····························matching·closing·tag·and·put·everything·between | 39 | ····························matching·closing·tag·and·put·everything·between |
32 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an | 40 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an |
33 | ····························example·for·this. | 41 | ····························example·for·this. |
42 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]> | ||
43 | ···························· 2. | ||
34 | ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8* | 44 | ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8* |
35 | ····························More·sophisticated·tags·accept·parameters.·The | 45 | ····························More·sophisticated·tags·accept·parameters.·The |
36 | ····························option·parameter·lets·multiple·metatag·parameters | 46 | ····························option·parameter·lets·multiple·metatag·parameters |
37 | ····························be·named·and·expanded·inside·the·def·or·blockdef | 47 | ····························be·named·and·expanded·inside·the·def·or·blockdef |
38 | ····························block: | 48 | ····························block: |
39 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_\x8E_\x8T·macroname1="macrovalue1" | 49 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_\x8E_\x8T·macroname1="macrovalue1" |
40 | ····························[macroname2="macrovalue2"·...]·[GLOBAL]> | 50 | ····························[macroname2="macrovalue2"·...]·[GLOBAL]> |
Offset 43, 14 lines modified | Offset 53, 17 lines modified | ||
43 | ····························When·you·are·using·templates,·the·html·should·only | 53 | ····························When·you·are·using·templates,·the·html·should·only |
44 | ····························be·written·by·the·template·file.·The·normal·htp | 54 | ····························be·written·by·the·template·file.·The·normal·htp |
45 | ····························files·should·just·define·macros·that·are·used·later | 55 | ····························files·should·just·define·macros·that·are·used·later |
46 | ····························in·the·template.·So·you·may·want·to·write·block | 56 | ····························in·the·template.·So·you·may·want·to·write·block |
47 | ····························tags·that·just·save·the·block·in·a·macro·for·later | 57 | ····························tags·that·just·save·the·block·in·a·macro·for·later |
48 | ····························use.·Although·this·is·possible·with·htp·it·is·quite | 58 | ····························use.·Although·this·is·possible·with·htp·it·is·quite |
49 | ····························tricky,·so·here·we·present·the·way·to·do·this: | 59 | ····························tricky,·so·here·we·present·the·way·to·do·this: |
60 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname> | ||
61 | ···························· 2.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> | ||
62 | ···························· 3. | ||
50 | ····························This·defines·a·block·macro·named·section.·This | 63 | ····························This·defines·a·block·macro·named·section.·This |
51 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the | 64 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the |
52 | ····························sections.·It·is·increased·for·every·section·(line | 65 | ····························sections.·It·is·increased·for·every·section·(line |
53 | ····························3)·and·then·the·block·macro·name·is·build·from·this | 66 | ····························3)·and·then·the·block·macro·name·is·build·from·this |
54 | ····························counter.·So·the·first·section·is·stored·in·block | 67 | ····························counter.·So·the·first·section·is·stored·in·block |
55 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ | 68 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ |
56 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these | 69 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these |
Offset 73, 16 lines modified | Offset 86, 25 lines modified | ||
73 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it | 86 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it |
74 | ····························would·be·expanded·when·defining·the·sect-1·macro | 87 | ····························would·be·expanded·when·defining·the·sect-1·macro |
75 | ····························and·when·using·it·later·in·the·template.·Generally | 88 | ····························and·when·using·it·later·in·the·template.·Generally |
76 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use | 89 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use |
77 | ····························expand·in·a·block·around·it. | 90 | ····························expand·in·a·block·around·it. |
78 | ····························To·close·this·example·we·show·how·to·expand·the | 91 | ····························To·close·this·example·we·show·how·to·expand·the |
79 | ····························sect-${sect-ctr}·blocks·in·the·template: | 92 | ····························sect-${sect-ctr}·blocks·in·the·template: |
80 | ···························· 1.· | 93 | ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff> |
94 | ···························· 2.· ·<a·href=$email>send·email</a> | ||
95 | ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
81 | ···························· | 96 | ···························· 4. |
97 | ···························· 5.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> | ||
98 | ···························· 6. | ||
99 | ···························· 7.·This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff | ||
100 | ····························email="jnelson@crl.com"> | ||
101 | ···························· 8.·But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> | ||
102 | ···························· 9.·And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff | ||
103 | ····························email="jnelson@crl.com"> | ||
82 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the | 104 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the |
83 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined | 105 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined |
84 | ····························the·body·is·evaluated,·which·expands·the·macro·and | 106 | ····························the·body·is·evaluated,·which·expands·the·macro·and |
85 | ····························increases·sect-ctr.·Afterwards·the·while·condition | 107 | ····························increases·sect-ctr.·Afterwards·the·while·condition |
86 | ····························is·checked·again·to·check·for·sect-2·macro.·This | 108 | ····························is·checked·again·to·check·for·sect-2·macro.·This |
87 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. | 109 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. |
88 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* | 110 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* |
Offset 114, 19 lines modified | Offset 114, 22 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>></span><br> | ||
122 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>></span>;<br> | ||
123 | 121 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">IMGXY</span><span·class="ebnf">|</span><span·class="htp-attrib">NOIMGXY</span><s[·...·truncated·by·diffoscope;·len:·24,·SHA:·0fcbb3ccab6e0e284157bbeae8d3c612b5c113dedf1d7dea45386c5b63c80ec0·...·]>></span><br> | |
122 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">QUIET</span><span·class="ebnf">|</span><span·class="htp-attrib">VERBOSE</span><span·class="ebnf">)</span>></span><br> | ||
123 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">DEPEND</span><span·class="ebnf">|</span><span·class="htp-attrib">NODEPEND</span><span·class="ebnf">)</span>></span><br> | ||
124 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">PRECIOUS</span><span·class="ebnf">|</span><span·class="htp-attrib">NOPRECIOUS</span><span·class="ebnf">)</span>></span><br> | ||
125 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>></span><br> | ||
126 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>></span><br> | ||
127 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>></span><br> | ||
124 | <br> | 128 | <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> | 129 | </code></p> |
127 | <h2>synopsis</h2> | 130 | <h2>synopsis</h2> |
128 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing | 131 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing |
129 | options·inside·the·actual·document·being·processed.··The·options·are | 132 | options·inside·the·actual·document·being·processed.··The·options·are |
130 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not | 133 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not |
131 | preceded·by·a·‘-’·character. | 134 | preceded·by·a·‘-’·character. |
132 | <P> | 135 | <P> |
Offset 1, 26 lines modified | Offset 1, 26 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
6 | ·_\x8 | 4 | ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············<_.[_.[_.r_.e_.f_.]_.]_.O_.P_.T·(IMGXY|NOIMGXY)> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(QUIET|VERBOSE)> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_.[_.[_.r_.e_.f_.]_.]_.O_.P_.T·(PRECIOUS|NOPRECIOUS)> |
8 | ·HTP·Tags | ||
9 | · | 8 | ·HTP·Tags··················<_.[_.[_.r_.e_.f_.]_.]_.O_.P_.T·(CONDENSE|SEMICONDENSE|NOCONDENSE)> |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F | ||
10 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
11 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify |
12 | · ···_\x8 | 14 | · ···_\x8I_.F····················processing·options·inside·the·actual·document·being |
13 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················processed.·The·options·are·used·exactly·as·they |
14 | · ···_\x8I_\x8 | 16 | · ···_\x8I_\x8M_.G···················would·be·on·the·command-line,·although·they·are·not |
15 | · ···_\x8I_\x8 | 17 | · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············preceded·by·a·‘-’·character. |
16 | · | 18 | ·[>]·_.O_.P_.T···················Click·here·for·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8n_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g |
17 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p. |
18 | ·[>]·_\x8O_\x8P_\x8T | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E |
21 | · ···_\x8S_\x8E_\x8T | 21 | · ···_\x8S_\x8E_\x8T |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
Offset 30, 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 |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
Offset 114, 21 lines modified | Offset 114, 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="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>></span><br> | ||
121 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">IMGXY</span><span·class="ebnf">|</span><span·class="htp-attrib">NOIMGXY</span><span·class="ebnf">)</span>></span><br> | ||
122 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">QUIET</span><span·class="ebnf">|</span><span·class="htp-attrib">VERBOSE</span><span·class="ebnf">)</span>></span><br> | ||
123 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">DEPEND</span><span·class="ebnf">|</span><span·class="htp-attrib">NODEPEND</span><span·class="ebnf">)</span>></span><br> | ||
124 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">PRECIOUS</span><span·class="ebnf">|</span><span·class="htp-attrib">NOPRECIOUS</span><span·class="ebnf">)</span>></span><br> | ||
125 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">CONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">SEMICONDENSE</span><span·class="ebnf">|</span><span·class="htp-attrib">NOCONDENSE</span><span·class="ebnf">)</span>></span><br> | ||
126 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="ebnf">(</span><span·class="htp-value">HTML<span·class="ebnf">|</span>SQUARE<span·class="ebnf">|</span>CURLY<span·class="ebnf">)</span></span>></span><br> | ||
127 | <span·class="htp-tag"><<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="ebnf">(</span><span·class="htp-attrib">XML</span><span·class="ebnf">|</span><span·class="htp-attrib">XML</span>=<span·class="htp-value">FALSE<span·class="ebnf">)</span></span>></span><br> | ||
128 | <br> | 122 | <br> |
129 | </code></p> | 123 | </code></p> |
130 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
131 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary | 125 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary |
132 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the | 126 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the |
133 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> | 127 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> |
134 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you | 128 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you |
Offset 1, 49 lines modified | Offset 1, 43 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_.U_.O_.T_.E·TAG·[ATTRIBUTE=VALUE·...]> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(QUIET|VERBOSE)> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)> | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(PRECIOUS|NOPRECIOUS)> | ||
8 | ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)> | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> | ||
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> | ||
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F | ||
12 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
13 | · | 7 | ·_.U_.s_.a_.g_.e·····················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary |
14 | · | 8 | ·HTP·Tags··················files·besides·the·main·HTML·file.·The·text·between |
15 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············this·tag·and·the·corresponding·</OUTPUT>·tag·is |
16 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················written·to·output·file. |
17 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············Normally·the·outputfile·is·cleared·before·writing |
18 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················to·it,·but·you·can·use·the·APPEND·attribute·to |
19 | · | 13 | · ···_.F_.I_.L_.E··················extend·an·existing·file.·The·text·written·to·the |
20 | · ···_\x8 | 14 | · ···_\x8I_.F····················file·is·normally·not·expanded,·i.e.·all·tags·inside |
21 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················this·block·are·not·executed·but·written·unmodified |
22 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D |
23 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············attribute·to·override·this·behaviour. |
18 | · ···_\x8O_\x8P_\x8T | ||
19 | ·[>]·_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
21 | · ···_\x8S_\x8E_\x8T | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
Offset 114, 19 lines modified | Offset 114, 16 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | <span·class="htp-tag"><<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>></span><br> | ||
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>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise | 125 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise |
129 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a | 126 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a |
130 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early | 127 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early |
131 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still | 128 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still |
132 | done·inside·a·quote·block. | 129 | done·inside·a·quote·block. |
Offset 1, 23 lines modified | Offset 1, 23 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e | ||
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> | ||
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">; | ||
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
8 | ·HTP·Tags | ||
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
10 | · | 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* |
11 | · | 7 | ·_.U_.s_.a_.g_.e·····················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise |
12 | · | 8 | ·HTP·Tags··················be·interpreted·by·HTP.·It·may·be·useful·in |
13 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to |
14 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················prevent·early·expansion·of·some·contained·blocks. |
15 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············Note·that·'$'·evaluation·is·still·done·inside·a |
16 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················quote·block. |
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F | ||
15 | · ···_\x8I_\x8N_\x8C | ||
16 | · ···_\x8I_\x8M_\x8G | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L |
18 | · ···_\x8O_\x8P_\x8T | 18 | · ···_\x8O_\x8P_\x8T |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T |
20 | ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E | 20 | ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E |
21 | · ···_\x8S_\x8E_\x8T | 21 | · ···_\x8S_\x8E_\x8T |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T |
Offset 26, 18 lines modified | Offset 26, 14 lines modified | ||
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
Offset 121, 17 lines modified | Offset 121, 21 lines modified | ||
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="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>></span><br> |
122 | <br> | 122 | <br> |
123 | </code></p> | 123 | </code></p> |
124 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
125 | <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 |
126 | anywhere·in·the·HTML·document.··To·create·a·macro: | 126 | anywhere·in·the·HTML·document.··To·create·a·macro: |
127 | ··<p><code> | 127 | ··<p><code> |
128 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>></span><br> | ||
129 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>></span><br> | ||
128 | <span·class="htp-tag"><<a·href=" | 130 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> |
129 | <span·class="htp-tag"><<a·href="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> | 131 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</s[·...·truncated·by·diffoscope;·len:·93,·SHA:·05dd2c1ccc0e36fcf06a3c69eeaaca4e9d64c83a140212ea83b1131fc204a442·...·]<br> |
132 | · · ·<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> | ||
133 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
134 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
131 | </code></p> | 135 | </code></p> |
132 | <P> | 136 | <P> |
133 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> | 137 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> |
134 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular | 138 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular |
135 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the | 139 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the |
136 | <A·HREF="use.html">'$'</A>·operator. | 140 | <A·HREF="use.html">'$'</A>·operator. |
137 | <P> | 141 | <P> |
Offset 4, 33 lines modified | Offset 4, 38 lines modified | ||
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_\x8E_\x8T·macroname1="macrovalue1" | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_\x8E_\x8T·macroname1="macrovalue1" |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="macrovalue2"·...]·[GLOBAL]> | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="macrovalue2"·...]·[GLOBAL]> |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
8 | ·HTP·Tags··················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be | 8 | ·HTP·Tags··················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············expanded·anywhere·in·the·HTML·document.·To·create·a | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············expanded·anywhere·in·the·HTML·document.·To·create·a |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················macro: | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················macro: |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_.[_.[_.r_.e_.f_.]_.]_. | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0"> |
12 | · ···_\x8D_\x8E_\x8F···················<_.[_.[_.r_.e_.f_.]_.]_. | 12 | · ···_\x8D_\x8E_\x8F··················· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="section"> |
13 | · ···_\x8F_\x8I_\x8L_\x8E | 13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.n_.c·sect-ctr> |
14 | · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
15 | · ···_\x8I_\x8N_\x8C···················global> | ||
16 | · ···_\x8I_\x8M_\x8G··················· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
18 | · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
14 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················The·macro·"emailaddr"·can·then·be·expanded·later. |
15 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a |
16 | · | 21 | ·[>]·_.S_.E_.T···················tag·(i.e.,·into·the·regular·text).·If·the·macro |
17 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················needs·to·be·expanded·inside·a·markup·tag,·use·the |
18 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················_\x8'_\x8$_\x8'·operator. |
19 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················Multiple·macros·can·be·declared·in·a·single·markup |
20 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_\x8E·················tag,·as·the·second·syntax·line·shows. |
21 | · | 26 | · ···_.<_.!_.-_.-_.-·················SET·should·only·be·used·for·a·single·line's·worth |
22 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················of·text.·Multi-line·macros·can·be·defined·with·the |
23 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the |
24 | · | 29 | ·_.B_.u_.g_.s······················macro·contains·a·quotation·character·and·you·don't |
25 | 30 | ····························want·to·fool·around·with·special·escape·characters. | |
26 | 31 | ····························Macros·can·be·redefined·by·using·another·SET | |
27 | 32 | ····························command·with·the·same·macro·name.·The·prior | |
28 | 33 | ····························definition·will·be·destroyed,·however.·Also,·the | |
29 | 34 | ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T | |
30 | ····························tag. | 35 | ····························tag. |
Offset 16, 10 lines modified | Offset 16, 10 lines modified | ||
16 | <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr> | 16 | <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr> |
17 | <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr> | 17 | <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr> |
18 | </table> | 18 | </table> |
19 | ···</td></tr> | 19 | ···</td></tr> |
20 | ··</table> | 20 | ··</table> |
21 | ··<hr> | 21 | ··<hr> |
22 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> | 22 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> |
23 | ··last·updated· | 23 | ··last·updated·Thu·Dec·05,·2024 |
24 | ·</body> | 24 | ·</body> |
25 | </html> | 25 | </html> |
Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
1 | ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* | 1 | ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* |
2 | Navigation·bar·[Photo] | 2 | Navigation·bar·[Photo] |
3 | _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020 | 3 | _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020 |
4 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243 | 4 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243 |
5 | ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242 | 5 | ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242 |
6 | =============================================================================== | 6 | =============================================================================== |
7 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 7 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
8 | last·updated· | 8 | last·updated·Thu·Dec·05,·2024 |
Offset 5, 9 lines modified | Offset 5, 9 lines modified | ||
5 | <meta·name="Generator"·content="htp·1.19"> | 5 | <meta·name="Generator"·content="htp·1.19"> |
6 | </head> | 6 | </head> |
7 | <body> | 7 | <body> |
8 | This·page·was·produced·by·htp. | 8 | This·page·was·produced·by·htp. |
9 | <hr> | 9 | <hr> |
10 | Copyright·by·Joe·Doe, | 10 | Copyright·by·Joe·Doe, |
11 | <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>, | 11 | <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>, |
12 | last·updated· | 12 | last·updated·Thu·Dec·05,·2024 |
13 | </body> | 13 | </body> |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | This·page·was·produced·by·htp. | 1 | This·page·was·produced·by·htp. |
2 | =============================================================================== | 2 | =============================================================================== |
3 | Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated· | 3 | Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Thu·Dec·05,·2024 |
Offset 13, 10 lines modified | Offset 13, 10 lines modified | ||
13 | <p> | 13 | <p> |
14 | As·you·can·see·the·file·contains·almost·only·the·contents. | 14 | As·you·can·see·the·file·contains·almost·only·the·contents. |
15 | </p> | 15 | </p> |
16 | ···</td></tr> | 16 | ···</td></tr> |
17 | ··</table> | 17 | ··</table> |
18 | ··<hr> | 18 | ··<hr> |
19 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> | 19 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> |
20 | ··last·updated· | 20 | ··last·updated·Thu·Dec·05,·2024 |
21 | ·</body> | 21 | ·</body> |
22 | </html> | 22 | </html> |
Offset 1, 6 lines modified | Offset 1, 6 lines modified | ||
1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8* | 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8* |
2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. | 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. |
3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e | 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e |
4 | =============================================================================== | 4 | =============================================================================== |
5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
6 | last·updated· | 6 | last·updated·Thu·Dec·05,·2024 |
Offset 13, 10 lines modified | Offset 13, 10 lines modified | ||
13 | ·<p> | 13 | ·<p> |
14 | ·As·you·can·see·the·file·contains·almost·only·the·contents. | 14 | ·As·you·can·see·the·file·contains·almost·only·the·contents. |
15 | ·</p> | 15 | ·</p> |
16 | ···</td></tr> | 16 | ···</td></tr> |
17 | ··</table> | 17 | ··</table> |
18 | ··<hr> | 18 | ··<hr> |
19 | ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br> | 19 | ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br> |
20 | ··last·updated· | 20 | ··last·updated·Thu·Dec·05,·2024 |
21 | ·</body> | 21 | ·</body> |
22 | </html> | 22 | </html> |
Offset 1, 6 lines modified | Offset 1, 6 lines modified | ||
1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8* | 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8* |
2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. | 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. |
3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e | 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e |
4 | =============================================================================== | 4 | =============================================================================== |
5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
6 | last·updated· | 6 | last·updated·Thu·Dec·05,·2024 |
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 | 121 | <span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>></span><br> | |
122 | <span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
123 | <br> | ||
122 | </code></p> | 124 | </code></p> |
123 | <h2>synopsis</h2> | 125 | <h2>synopsis</h2> |
124 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags | 126 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags |
125 | created·by·<A·HREF="def.html">DEF</A>·and·<A | 127 | created·by·<A·HREF="def.html">DEF</A>·and·<A |
126 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF | 128 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF |
127 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by | 129 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by |
128 | htp·until·it·is·reassigned.··</P> | 130 | htp·until·it·is·reassigned.··</P> |
Offset 1, 20 lines modified | Offset 1, 20 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.U_.N_.D_.E_.F·tagname> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·> | ||
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
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··················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags |
7 | ·_. | 9 | · ···_.A_.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 |
8 | · | 10 | · ···_.B_.L_.O_.C_.K·················UNDEF·command.·Once·removed,·the·metatag·will·no |
9 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············longer·be·recognized·by·htp·until·it·is·reassigned. |
10 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················Multiple·metatags·can·be·removed·by·placing·each |
11 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················name·as·an·attribute. |
12 | · ···_\x8D_\x8E_\x8F | ||
13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
14 | · ···_\x8I_\x8F | 14 | · ···_\x8I_\x8F |
15 | · ···_\x8I_\x8N_\x8C | 15 | · ···_\x8I_\x8N_\x8C |
16 | · ···_\x8I_\x8M_\x8G | 16 | · ···_\x8I_\x8M_\x8G |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L |
18 | · ···_\x8O_\x8P_\x8T | 18 | · ···_\x8O_\x8P_\x8T |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E |
Offset 25, 14 lines modified | Offset 25, 16 lines modified | ||
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
33 | hosted·by | 33 | hosted·by |
34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
Offset 114, 39 lines modified | Offset 114, 36 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="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 | 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> | |
126 | ·<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 | <span·class="htp-tag"><<a·href=" | 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> | ||
128 | </code></p> | 124 | </code></p> |
129 | <h2>synopsis</h2> | 125 | <h2>synopsis</h2> |
130 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. | 126 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. |
131 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. | 127 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. |
132 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or | 128 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or |
133 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The | 129 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The |
134 | old·macro·definition·will·be·removed·automatically.) | 130 | old·macro·definition·will·be·removed·automatically.) |
135 | <P> | 131 | <P> |
136 | For·example: | 132 | For·example: |
137 | ··<p><code> | 133 | ··<p><code> |
138 | <span·class="htp-tag"><<a·href=" | 134 | <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[noexpand]</span>></span><br> |
139 | · ·block<br> | ||
140 | <span·class="htp-tag"><<a· | 135 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> |
136 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
141 | <br> | 137 | <br> |
142 | </code></p> | 138 | </code></p> |
143 | <P> | 139 | <P> |
144 | More·than·one·macro·may·be·removed·in·the·same·tag: | 140 | More·than·one·macro·may·be·removed·in·the·same·tag: |
145 | ··<p><code> | 141 | ··<p><code> |
142 | · ·<span·class="htp-tag"><<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>></span><br> | ||
146 | </code></p> | 143 | </code></p> |
147 | <p> | 144 | <p> |
148 | </td> | 145 | </td> |
149 | </tr> | 146 | </tr> |
150 | <tr> | 147 | <tr> |
151 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 148 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
152 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> | 149 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> |
Offset 1, 46 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:·U\x8UN\x8NS\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8NS\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.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]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
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 | · | 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* |
12 | · | 8 | ·HTP·Tags··················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's |
13 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············definition.·The·macro·is·subsequently·not·available |
14 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················for·use·in·the·pre-processed·files.·(Note·that |
15 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or |
16 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable. |
17 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················The·old·macro·definition·will·be·removed |
18 | · ···_\x8 | 14 | · ···_\x8I_.F····················automatically.) |
19 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················For·example: |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·[NOT]·conditional> | ||
21 | · ···_\x8S_\x8E_\x8T··················· · ·block | ||
22 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·macroname·[parameters·...]·[noexpand]> |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<...·$macroname·...> | ||
18 | · ···_\x8O_\x8P_\x8T···················<...·${macroname}·...> | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················More·than·one·macro·may·be·removed·in·the·same·tag: | ||
21 | · ···_\x8S_\x8E_\x8T··················· · ·<${tagName}·${attrName}=${value$ctr}> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
23 | ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T | 23 | ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T |
24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
Offset 135, 18 lines modified | Offset 135, 23 lines modified | ||
135 | attribute·to·prevent·further·expansion.··</p> | 135 | attribute·to·prevent·further·expansion.··</p> |
136 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros | 136 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros |
137 | for·the·expanded·macro.··This·is·only·valid·for·<A | 137 | for·the·expanded·macro.··This·is·only·valid·for·<A |
138 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A | 138 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A |
139 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For | 139 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For |
140 | example:</p> | 140 | example:</p> |
141 | ··<p><code> | 141 | ··<p><code> |
142 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>></span><br> | ||
143 | <font·size="-2"> 2.·</font> · ·...<br> | ||
144 | <font·size="-2"> | 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> |
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> | ||
145 | <font·size="-2"> | 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> |
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> | ||
146 | </code></p> | 151 | </code></p> |
147 | <P> | 152 | <P> |
148 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on | 153 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on |
149 | 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 |
150 | 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 |
151 | 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 |
152 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. | 157 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. |
Offset 157, 18 lines modified | Offset 162, 16 lines modified | ||
157 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or | 162 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or |
158 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. | 163 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. |
159 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or | 164 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or |
160 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it | 165 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it |
161 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further | 166 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further |
162 | processing·the·contents. | 167 | processing·the·contents. |
163 | ··<p><code> | 168 | ··<p><code> |
169 | <font·size="-2"> 1.·</font><span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>></span>mailto·hyperlink<span·class="htp-tag"></a></span><br> | ||
170 | <font·size="-2"> 2.·</font><span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>></span>another·hyperlink<span·class="htp-tag"></a></span><br> | ||
164 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> | ||
165 | <font·size="-2"> 2.·</font> · ·...<br> | ||
166 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | ||
167 | <font·size="-2"> 4.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
168 | </code></p> | 171 | </code></p> |
169 | <P> | 172 | <P> |
170 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and | 173 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and |
171 | should·never·cause·confusion·with·surrounding·text.··If·no·curly | 174 | should·never·cause·confusion·with·surrounding·text.··If·no·curly |
172 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation | 175 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation |
173 | character·or·the·maximum·sequence·of·letters,·digits,·"-" | 176 | character·or·the·maximum·sequence·of·letters,·digits,·"-" |
174 | and·"_"·that·follows·it. | 177 | and·"_"·that·follows·it. |
Offset 182, 15 lines modified | Offset 185, 18 lines modified | ||
182 | delimiting·the·text·as·if·it·were·additional·markup·attributes. | 185 | delimiting·the·text·as·if·it·were·additional·markup·attributes. |
183 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), | 186 | If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above), |
184 | quotation·marks·are·not·automatically·supplied. | 187 | quotation·marks·are·not·automatically·supplied. |
185 | <P> | 188 | <P> |
186 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can | 189 | Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can |
187 | be·nested.··This·is·valid: | 190 | be·nested.··This·is·valid: |
188 | ··<p><code> | 191 | ··<p><code> |
189 | · | 192 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>></span><br> |
193 | · ·...<br> | ||
194 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | ||
195 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
190 | </code></p> | 196 | </code></p> |
191 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined | 197 | <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined |
192 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX | 198 | metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX |
193 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand | 199 | macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand |
194 | value1. | 200 | value1. |
195 | <p> | 201 | <p> |
196 | </td> | 202 | </td> |
Offset 15, 39 lines modified | Offset 15, 45 lines modified | ||
15 | · ···_\x8I_\x8N_\x8C···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use | 15 | · ···_\x8I_\x8N_\x8C···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use |
16 | · ···_\x8I_\x8M_\x8G···················the·noexpand·attribute·to·prevent·further | 16 | · ···_\x8I_\x8M_\x8G···················the·noexpand·attribute·to·prevent·further |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············expansion. | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············expansion. |
18 | · ···_\x8O_\x8P_\x8T···················USE·will·accept·additional·parameters,·which·are | 18 | · ···_\x8O_\x8P_\x8T···················USE·will·accept·additional·parameters,·which·are |
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················"local"·macros·for·the·expanded·macro.·This·is·only | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················"local"·macros·for·the·expanded·macro.·This·is·only |
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T |
21 | · ···_\x8S_\x8E_\x8T···················cannot·have·parameters·passed.·For·example: | 21 | · ···_\x8S_\x8E_\x8T···················cannot·have·parameters·passed.·For·example: |
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 1.· | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 1.·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff> |
23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· 2.· · | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· 2.· ·<a·href=$email>send·email</a> |
24 | ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ 3.· | 24 | ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ 3.·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k> |
25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· 4. | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· 4. |
26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· 5.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> | ||
27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· 6. | ||
28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· 7.·This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff | ||
29 | ·_\x8B_\x8u_\x8g_\x8s······················email="jnelson@crl.com"> | ||
30 | ···························· 8.·But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> | ||
31 | ···························· 9.·And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff | ||
32 | ····························email="jnelson@crl.com"> | ||
26 | 33 | ····························(See·below·for·a·description·of·the·'$'·operator.) | |
27 | 34 | ····························The·example·on·line·7·works·because·"stuff"·has | |
28 | 35 | ····························been·declared·as·a·block·macro,·and·the·tag·is | |
29 | 36 | ····························passing·the·"email"·macro·to·the·"stuff"·macro. | |
30 | ····························Line·8·fails·because·the·"email"·macro·is | 37 | ····························Line·8·fails·because·the·"email"·macro·is |
31 | ····························unavailable·once·the·block·macro·is·completely | 38 | ····························unavailable·once·the·block·macro·is·completely |
32 | ····························expanded,·and·cannot·be·passed·to·a·SET·macro. | 39 | ····························expanded,·and·cannot·be·passed·to·a·SET·macro. |
33 | ····························Note·that·the·"email"·macro·is·available·to·other | 40 | ····························Note·that·the·"email"·macro·is·available·to·other |
34 | ····························macros·or·included·files·called·within·the·"stuff" | 41 | ····························macros·or·included·files·called·within·the·"stuff" |
35 | ····························block. | 42 | ····························block. |
36 | ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any | 43 | ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any |
37 | ····························other·standard·HTML·or·htp·tag,·the·'$'·operator | 44 | ····························other·standard·HTML·or·htp·tag,·the·'$'·operator |
38 | ····························must·be·used.·The·'$'·should·be·immediately | 45 | ····························must·be·used.·The·'$'·should·be·immediately |
39 | ····························followed·by·the·macro·name,·which·may·or·may·not·be | 46 | ····························followed·by·the·macro·name,·which·may·or·may·not·be |
40 | ····························surrounded·by·curly·braces.·When·htp·encounters | 47 | ····························surrounded·by·curly·braces.·When·htp·encounters |
41 | ····························this·it·replaces·the·macro·name·by·the·contents·of | 48 | ····························this·it·replaces·the·macro·name·by·the·contents·of |
42 | ····························the·macro·without·further·processing·the·contents. | 49 | ····························the·macro·without·further·processing·the·contents. |
50 | ···························· 1.·<a·href="mailto:$email">mailto·hyperlink</a> | ||
51 | ···························· 2.·<a·href="http://$domain/~${username}/">another | ||
52 | ····························hyperlink</a> | ||
43 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> | ||
44 | ···························· 2.· · ·... | ||
45 | ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
46 | ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
47 | ····························The·use·of·curly·braces·is·encouraged,·since·it·is | 53 | ····························The·use·of·curly·braces·is·encouraged,·since·it·is |
48 | ····························more·robust·and·should·never·cause·confusion·with | 54 | ····························more·robust·and·should·never·cause·confusion·with |
49 | ····························surrounding·text.·If·no·curly·braces·are·used·the | 55 | ····························surrounding·text.·If·no·curly·braces·are·used·the |
50 | ····························macro·name·consists·either·of·a·single·punctuation | 56 | ····························macro·name·consists·either·of·a·single·punctuation |
51 | ····························character·or·the·maximum·sequence·of·letters, | 57 | ····························character·or·the·maximum·sequence·of·letters, |
52 | ····························digits,·"-"·and·"_"·that·follows·it. | 58 | ····························digits,·"-"·and·"_"·that·follows·it. |
53 | ····························If·a·'$'·character·needs·to·be·kept·in·the·final | 59 | ····························If·a·'$'·character·needs·to·be·kept·in·the·final |
Offset 59, 15 lines modified | Offset 65, 18 lines modified | ||
59 | ····························it·with·quotation·marks·to·prevent·spaces·from | 65 | ····························it·with·quotation·marks·to·prevent·spaces·from |
60 | ····························delimiting·the·text·as·if·it·were·additional·markup | 66 | ····························delimiting·the·text·as·if·it·were·additional·markup |
61 | ····························attributes.·If·the·'$'·macro·is·surrounded·by·other | 67 | ····························attributes.·If·the·'$'·macro·is·surrounded·by·other |
62 | ····························text·(as·in·the·two·examples·above),·quotation | 68 | ····························text·(as·in·the·two·examples·above),·quotation |
63 | ····························marks·are·not·automatically·supplied. | 69 | ····························marks·are·not·automatically·supplied. |
64 | ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a | 70 | ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a |
65 | ····························markup·tag·and·can·be·nested.·This·is·valid: | 71 | ····························markup·tag·and·can·be·nested.·This·is·valid: |
66 | ···························· · | 72 | ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10"> |
73 | ···························· · ·... | ||
74 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
75 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
67 | ····························The·tagName·macro·can·contain·any·tag·name,·even·a | 76 | ····························The·tagName·macro·can·contain·any·tag·name,·even·a |
68 | ····························self-defined·metatag.·Note·that·$ctr·is·expanded | 77 | ····························self-defined·metatag.·Note·that·$ctr·is·expanded |
69 | ····························before·the·valueX·macro·is·expanded,·so·assuming | 78 | ····························before·the·valueX·macro·is·expanded,·so·assuming |
70 | ····························that·ctr·was·set·to·1·it·will·expand·value1. | 79 | ····························that·ctr·was·set·to·1·it·will·expand·value1. |
Offset 114, 27 lines modified | Offset 114, 29 lines modified | ||
114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
115 | ··</table> | 115 | ··</table> |
116 | ··</div> | 116 | ··</div> |
117 | </td> | 117 | </td> |
118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
120 | ··<p><code> | 120 | ··<p><code> |
121 | · ·<span·class="htp-tag"><< | 121 | · ·<span·class="htp-tag"><<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>></span><br> |
122 | </code></p> | 122 | </code></p> |
123 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
124 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. | 124 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. |
125 | The·basic·form·is·shown·above. | 125 | The·basic·form·is·shown·above. |
126 | <P> | 126 | <P> |
127 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 127 | "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. | 128 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. |
129 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the | 129 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the |
130 | conditional·is·reversed: | 130 | conditional·is·reversed: |
131 | ··<p><code> | 131 | ··<p><code> |
132 | <span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>></span>mailto·hyperlink<span·class="htp-tag"></a></span><br> | ||
133 | <span·class="htp-tag">< | 132 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>></span><br> |
133 | · ·...<br> | ||
134 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | ||
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><br> | ||
134 | </code></p> | 136 | </code></p> |
135 | <P> | 137 | <P> |
136 | Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a | 138 | Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a |
137 | macro's·existance: | 139 | macro's·existance: |
138 | ··<p><code> | 140 | ··<p><code> |
139 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> | 141 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> |
140 | · ·...<br> | 142 | · ·...<br> |
Offset 1, 43 lines modified | Offset 1, 44 lines modified | ||
1 | [HTP] | 1 | [HTP] |
2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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·············· · ·<${tagName}·${attrName}=${value$ctr}> |
5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated |
7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················processing.·The·basic·form·is·shown·above. | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················processing.·The·basic·form·is·shown·above. |
8 | ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined" | 8 | ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined" |
9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············operation.·A·compare·operator·is·a·test·of·the | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············operation.·A·compare·operator·is·a·test·of·the |
10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················value·of·a·macro·against·a·literal·string.·If·the | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················value·of·a·macro·against·a·literal·string.·If·the |
11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············NOT·tag·is·present·in·the·WHILE·markup,·the | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············NOT·tag·is·present·in·the·WHILE·markup,·the |
12 | · ···_\x8D_\x8E_\x8F···················evaluation·of·the·conditional·is·reversed: | 12 | · ···_\x8D_\x8E_\x8F···················evaluation·of·the·conditional·is·reversed: |
13 | · ···_\x8F_\x8I_\x8L_\x8E··················<a·href="mailto:$email">mailto·hyperlink</a> | ||
14 | · ···_\x8I_\x8F····················<a·href="http://$domain/~${username}/">another | ||
15 | · ···_\x8I_\x8N_\x8C···················hyperlink</a> | ||
16 | · ···_\x8I_\x8M_\x8G···················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a | ||
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············macro's·existance: | ||
18 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E·················· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10"> |
19 | · ···_\x8 | 14 | · ···_\x8I_.F···················· · ·... |
20 | · ···_\x8 | 15 | · ···_\x8I_.N_.C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> |
21 | · ···_\x8 | 16 | · ···_\x8I_.M_.G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> |
17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a | ||
18 | · ···_\x8O_\x8P_\x8T···················macro's·existance: | ||
19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> | ||
20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·... | ||
21 | · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
22 | · ···_\x8U_\x8N_\x8 | 23 | · ···_\x8U_\x8N_\x8S_.E_.T·················If·the·condition·is·true,·the·block·is·evaluated |
23 | · ···_\x8U_\x8 | 24 | · ···_\x8U_\x8S_.E_.,_.·_.$················and·afterwards·the·WHILE·tag·is·evaluated·again.·If |
24 | · | 25 | ·[>]·_.W_.H_.I_.L_.E·················the·'$'-operator·is·used·in·the·WHILE·tag·it·is |
25 | · | 26 | · ···_.<_.!_.-_.-_.-·················also·reevaluated·on·each·iteration. |
26 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. |
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 |