| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | ·ed3039bcf0a32bef87918a6788bf0789·70332·debug·optional·htp-dbgsym_1.19-8_arm64.deb | 1 | ·ed3039bcf0a32bef87918a6788bf0789·70332·debug·optional·htp-dbgsym_1.19-8_arm64.deb |
| 2 | · | 2 | ·b3c2b458a3f467f48bd7e0e060ca75db·119104·web·optional·htp_1.19-8_arm64.deb |
| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary |
| 2 | -rw-r--r--···0········0········0·····36 | 2 | -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz |
| 3 | -rw-r--r--···0········0········0···11 | 3 | -rw-r--r--···0········0········0···115296·2020-06-14·23:21:19.000000·data.tar.xz |
| Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
| 1 | Package:·htp | 1 | Package:·htp |
| 2 | Version:·1.19-8 | 2 | Version:·1.19-8 |
| 3 | Architecture:·arm64 | 3 | Architecture:·arm64 |
| 4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> | 4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> |
| 5 | Installed-Size:·72 | 5 | Installed-Size:·729 |
| 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)···133504·2020-06-14·23:21:19.000000·./usr/bin/htp | 4 | -rwxr-xr-x···0·root·········(0)·root·········(0)···133504·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)····10205·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html |
| 9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp | 9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp |
| 10 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····8850·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html |
| 11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp | 11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp |
| 12 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 12 | -rw-r--r--···0·root·········(0)·root·········(0)····14251·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)····15599·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html | 17 | -rw-r--r--···0·root·········(0)·root·········(0)····15599·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html |
| 18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp | 18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp |
| 19 | -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright | 19 | -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright |
| 20 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 20 | -rw-r--r--···0·root·········(0)·root·········(0)····14489·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)····11172·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)····16735·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)·····9111·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)····1 | 50 | -rw-r--r--···0·root·········(0)·root·········(0)····12150·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)·····91 | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····9190·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)····1 | 54 | -rw-r--r--···0·root·········(0)·root·········(0)····10448·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)····18538·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)·····7 | 69 | -rw-r--r--···0·root·········(0)·root·········(0)·····7911·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html |
| 70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp | 70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp |
| 71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html | 71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html |
| 72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp | 72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp |
| 73 | -rw-r--r--···0·root·········(0)·root·········(0)·····8 | 73 | -rw-r--r--···0·root·········(0)·root·········(0)·····8851·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html |
| 74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp | 74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp |
| 75 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/ | 75 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/ |
| 76 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png | 76 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png |
| 77 | -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png | 77 | -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png |
| 78 | -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png | 78 | -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png |
| 79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png | 79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png |
| 80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png | 80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png |
| 81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png | 81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png |
| 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png | 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png |
| 83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png | 83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png |
| 84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png | 84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png |
| 85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl | 85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl |
| 86 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 86 | -rw-r--r--···0·root·········(0)·root·········(0)····10674·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)····10 | 88 | -rw-r--r--···0·root·········(0)·root·········(0)····10443·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)·····8 | 109 | -rw-r--r--···0·root·········(0)·root·········(0)·····8064·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)····1 | 111 | -rw-r--r--···0·root·········(0)·root·········(0)····11349·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)····142 | 115 | -rw-r--r--···0·root·········(0)·root·········(0)····14262·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)····1 | 117 | -rw-r--r--···0·root·········(0)·root·········(0)····10091·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, 30 lines modified | Offset 114, 50 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="c | 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</spa[·...·truncated·by·diffoscope;·len:·42,·SHA:·4a54333c1cb9a4ce3e81e5d67e1ed450ce90a4ccf2bf2f73df9b060600c2fba2·...·]></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> | ||
| 122 | <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> | ||
| 123 | </code></p> | 131 | </code></p> |
| 124 | <h2>synopsis</h2> | 132 | <h2>synopsis</h2> |
| 125 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A | 133 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A |
| 126 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. | 134 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. |
| 127 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the | 135 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the |
| 128 | filename·is·considered·in·all·comparisons. | 136 | filename·is·considered·in·all·comparisons. |
| 129 | <p> | 137 | <p> |
| 130 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT | 138 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT |
| 131 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to | 139 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to |
| 132 | be·overridden·on·specific·images·and·default·text·on·all·others. | 140 | be·overridden·on·specific·images·and·default·text·on·all·others. |
| 133 | <p> | 141 | <p> |
| 134 | For·example: | 142 | For·example: |
| 135 | ··<p><code> | 143 | ··<p><code> |
| 136 | <span·class=" | 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">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> |
| 145 | · ·block·#1<br> | ||
| 146 | [<br> | ||
| 147 | <span·class="htp-tag"><ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
| 148 | · ·block·#2<br> | ||
| 149 | ...<br> | ||
| 150 | ]<br> | ||
| 151 | [<br> | ||
| 152 | <span·class="htp-tag"><ELSE></span><br> | ||
| 153 | · ·block·#3<br> | ||
| 154 | ]<br> | ||
| 155 | <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> | ||
| 156 | <br> | ||
| 137 | </code></p> | 157 | </code></p> |
| 138 | <p> | 158 | <p> |
| 139 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT | 159 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT |
| 140 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not | 160 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not |
| 141 | changed. | 161 | changed. |
| 142 | <p> | 162 | <p> |
| 143 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, | 163 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, |
| Offset 1, 36 lines modified | Offset 1, 55 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<!---·comment·---> | ||
| 5 | ·_\x8 | 4 | ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·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> | ||
| 6 | · | 14 | · ···_.I_.F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 7 | · | 15 | · ···_.I_.N_.C···················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag |
| 8 | · | 16 | · ···_.I_.M_.G···················with·a·SRC·matching·the·ALTTEXT·NAME.·Since |
| 9 | · | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············relative·paths·can·be·used·to·point·to·the·same |
| 10 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················image,·only·the·filename·is·considered·in·all |
| 11 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················comparisons. |
| 12 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················When·an·IMG·tag·with·a·matching·source·is |
| 13 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················encountered,·htp·will·add·an·ALT·attribute·only·if |
| 14 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················one·is·not·already·present.·This·allows·for·ALT |
| 15 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················text·to·be·overridden·on·specific·images·and |
| 16 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················default·text·on·all·others. |
| 17 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················For·example: |
| 18 | · ···_\x8O_\x8P_\x8T···················<!---·This·comment·doesn't·appear·in·the·HTML·file | ||
| 19 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················<_.[_.[_.r_.e_.f_.]_.]_.I_.F·[NOT]·conditional> |
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·block·#1 | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················[ | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················<ELSEIF·[NOT]·conditional> | ||
| 30 | ···························· · ·block·#2 | ||
| 31 | ····························... | ||
| 32 | ····························] | ||
| 33 | ····························[ | ||
| 34 | ····························<ELSE> | ||
| 35 | ···························· · ·block·#3 | ||
| 36 | ····························] | ||
| 37 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
| 20 | 38 | ····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute | |
| 21 | 39 | ····························removes·any·ALT·mapping·for·this·image.·Successing | |
| 22 | 40 | ····························IMG·tags·with·a·matching·SRC·name·are·not·changed. | |
| 23 | 41 | ····························Since·this·is·useful·for·an·image·used·throughout·a | |
| 24 | 42 | ····························set·of·documents,·ALTTEXT·is·most·appropriate·in·an | |
| 25 | 43 | ····························_\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. | |
| 26 | 44 | ····························In·addition·to·ALTTEXT,·htp·can·also·automatically | |
| 27 | 45 | ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags. | |
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s | ||
| Offset 114, 24 lines modified | Offset 114, 18 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | 121 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp[·...·truncated·by·diffoscope;·len:·337,·SHA:·d7a67cdc30009747c591fedca1622f8f0f34daa8bb2e231517555532078af1de·...·]</span>></span><br> | |
| 122 | ·...·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span> ...<br> | ||
| 123 | <span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
| 122 | <br> | 124 | <br> |
| 123 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
| 124 | ·becomes·this·after·processing:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
| 125 | <br> | ||
| 126 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>></span><br> | ||
| 127 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
| 128 | <br> | ||
| 129 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
| 130 | ·remains·unchanged.<br> | ||
| 131 | </code></p> | 125 | </code></p> |
| 132 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
| 133 | <P> | 127 | <P> |
| 134 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which | 128 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which |
| 135 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be | 129 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be |
| 136 | multi-line·definitions. | 130 | multi-line·definitions. |
| 137 | </P> | 131 | </P> |
| Offset 1, 51 lines modified | Offset 1, 43 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="tagname"·[option="option1 |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·...·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> ... | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
| 8 | ·HTP·Tags | ||
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················logo"> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
| 8 | ·HTP·Tags·················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo"> | ||
| 10 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K | ||
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> | ||
| 12 | · ···_\x8D_\x8E_\x8F··················· ·will·also·have·an·ALT·attribute·appended·to·it | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
| 14 | · ···_\x8I_\x8F···················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click | ||
| 15 | · ···_\x8I_\x8N_\x8C···················here·for·more·information!"> | ||
| 16 | · ···_\x8I_\x8M_\x8G··················· ·remains·unchanged. | ||
| 17 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 18 | · | 10 | ·[>]·_.B_.L_.O_.C_.K·················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros, |
| 19 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be |
| 20 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················multi-line·definitions. |
| 21 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················Any·text·and·formatting·may·be·set·inside·the |
| 22 | · ···_\x8 | 14 | · ···_\x8I_.F····················block.·You·can·use·any·htp·or·user·defined·metatag |
| 23 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be |
| 24 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················expanded·before·the·block·is·USEd·except·if·you |
| 25 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter. |
| 26 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················The·block·macro·is·dereferenced·(expanded)·with·the |
| 27 | · | 19 | · ···_.O_.U_.T_.P_.U_.T················_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the |
| 28 | · | 20 | · ···_.Q_.U_.O_.T_.E·················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro. |
| 21 | · ···_\x8S_\x8E_\x8T | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
| 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
| 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
| 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
| Offset 126, 15 lines modified | Offset 126, 42 lines modified | ||
| 126 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it | 126 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it |
| 127 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block | 127 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block |
| 128 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and | 128 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and |
| 129 | </tagname>.··The·contents·of·this·block·are·automatically·stored | 129 | </tagname>.··The·contents·of·this·block·are·automatically·stored |
| 130 | in·the·block·macro·named·BLOCK. | 130 | in·the·block·macro·named·BLOCK. |
| 131 | <P>·For·example:</P> | 131 | <P>·For·example:</P> |
| 132 | ··<p><code> | 132 | ··<p><code> |
| 133 | <span·class=" | 133 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>></span><br> |
| 134 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
| 135 | · ·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> | ||
| 136 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 137 | ·<span·class="htp-tag"><<a·href="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> | ||
| 138 | · ·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> | ||
| 139 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 140 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>></span><br> | ||
| 141 | ·<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> | ||
| 142 | ·<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> | ||
| 143 | ·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> | ||
| 144 | ·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> | ||
| 145 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
| 146 | · ·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> | ||
| 147 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 148 | ·<span·class="htp-tag"><<a·href="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> | ||
| 149 | · ·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> | ||
| 150 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 151 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>></span><br> | ||
| 152 | · ·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> | ||
| 153 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 154 | ·<span·class="htp-tag"><<a·href="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> | ||
| 155 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
| 156 | · ·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> | ||
| 157 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 158 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>></span><br> | ||
| 159 | ·<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> | ||
| 160 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>></span><br> | ||
| 134 | </code></p> | 161 | </code></p> |
| 135 | <p> | 162 | <p> |
| 136 | All·block·metatags·have·the·implicit·option·<a | 163 | All·block·metatags·have·the·implicit·option·<a |
| 137 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents | 164 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents |
| 138 | of·the·block·before·the·definition·is·expanded. | 165 | of·the·block·before·the·definition·is·expanded. |
| 139 | </p> | 166 | </p> |
| 140 | <p> | 167 | <p> |
| Offset 8, 29 lines modified | Offset 8, 59 lines modified | ||
| 8 | ·HTP·Tags··················way·of·saying·it·creates·new·block·tags.·A·block | 8 | ·HTP·Tags··················way·of·saying·it·creates·new·block·tags.·A·block |
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············tag·is·a·tag·that·takes·a·whole·block·as·additional | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············tag·is·a·tag·that·takes·a·whole·block·as·additional |
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················parameter.·This·block·is·surrounded·by·<tagname> | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················parameter.·This·block·is·surrounded·by·<tagname> |
| 11 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············and·</tagname>.·The·contents·of·this·block·are | 11 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············and·</tagname>.·The·contents·of·this·block·are |
| 12 | · ···_\x8D_\x8E_\x8F···················automatically·stored·in·the·block·macro·named | 12 | · ···_\x8D_\x8E_\x8F···················automatically·stored·in·the·block·macro·named |
| 13 | · ···_\x8F_\x8I_\x8L_\x8E··················BLOCK. | 13 | · ···_\x8F_\x8I_\x8L_\x8E··················BLOCK. |
| 14 | · ···_\x8I_\x8F····················For·example: | 14 | · ···_\x8I_\x8F····················For·example: |
| 15 | · ···_\x8I_\x8N_\x8C···················<!---·This·comment·doesn't·appear·in·the·HTML·file | ||
| 16 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C··················· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·time="0"> |
| 16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
| 18 | · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand> | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
| 21 | · ···_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1"> | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b> | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand> | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand> | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
| 30 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 31 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand> | ||
| 32 | ···························· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
| 33 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
| 34 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e> | ||
| 36 | ···························· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
| 37 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
| 38 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 39 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2"> | ||
| 40 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
| 41 | ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e | ||
| 42 | ····························time>. | ||
| 43 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 44 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c> | ||
| 45 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d> | ||
| 46 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e> | ||
| 17 | 47 | ····························All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D, | |
| 18 | 48 | ····························which·tells·htp·to·expand·the·contents·of·the·block | |
| 19 | 49 | ····························before·the·definition·is·expanded. | |
| 20 | 50 | ····························A·more·thorough·discussion·and·more·elaborate | |
| 21 | 51 | ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. | |
| 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 | ||
| Offset 114, 96 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"><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> | ||
| 121 | ·<span·class="htp-tag"><<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
| 122 | <br> | ||
| 123 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
| 124 | ·becomes·this·after·processing:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
| 125 | <br> | ||
| 126 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>></span><br> | ||
| 127 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
| 128 | <br> | ||
| 129 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
| 130 | ·remains·unchanged.<br> | ||
| 131 | </code></p> | 122 | </code></p> |
| 132 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
| 133 | <p> | 124 | <p> |
| 134 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a | 125 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a |
| 135 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to | 126 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to |
| 136 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> | 127 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> |
| 137 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. | 128 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. |
| 138 | For·example: | 129 | For·example: |
| 139 | </p> | 130 | </p> |
| 140 | ··<p><code> | 131 | ··<p><code> |
| 132 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
| 141 | ·<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> | ||
| 142 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
| 143 | · ·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> | ||
| 144 | ·<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 | ·<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> | ||
| 146 | · ·b·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
| 147 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 148 | ·<span·class="htp-tag"><<a·href="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> | ||
| 149 | ·<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> | ||
| 150 | ·<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> | ||
| 151 | ·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> | ||
| 152 | ·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> | ||
| 153 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
| 154 | · ·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> | ||
| 155 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 156 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
| 157 | · ·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> | ||
| 158 | ·<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> | ||
| 159 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>></span><br> | ||
| 160 | · ·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> | ||
| 161 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 162 | ·<span·class="htp-tag"><<a·href="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> | ||
| 163 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
| 164 | · ·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> | ||
| 165 | ·<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> | ||
| 166 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>></span><br> | ||
| 167 | ·<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> | ||
| 168 | ·<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> | ||
| 169 | </code></p> | 133 | </code></p> |
| 170 | <P> | 134 | <P> |
| 171 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | 135 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to |
| 172 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | 136 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A |
| 173 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | 137 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster |
| 174 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing | 138 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing |
| 175 | tag·with·a·preceding·slash.·For·example: | 139 | tag·with·a·preceding·slash.·For·example: |
| 176 | </P> | 140 | </P> |
| 177 | ··<p><code> | 141 | ··<p><code> |
| 178 | <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> | ||
| 179 | ·  | 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<[·...·truncated·by·diffoscope;·len:·71,·SHA:·28526d0bf99971d7bbca4f5b780659f2fc5a9a67693a9248f8c16adc930803ff·...·]<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> | ||
| 180 | 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> | ||
| 181 | <span·class="htp-tag"><ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
| 182 | · ·block·#2<br> | ||
| 183 | ...<br> | ||
| 184 | ]<br> | ||
| 185 | [<br> | ||
| 186 | <span·class="htp-tag"><ELSE></span><br> | ||
| 187 | · ·block·#3<br> | ||
| 188 | ]<br> | ||
| 189 | <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> | ||
| 190 | <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> | ||
| 191 | </code></p> | 164 | </code></p> |
| 192 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, | 165 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, |
| 193 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> | 166 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> |
| 194 | <P> | 167 | <P> |
| 195 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were | 168 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were |
| 196 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with | 169 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with |
| 197 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their | 170 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their |
| 198 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) | 171 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) |
| 199 | </P> | 172 | </P> |
| 200 | ··<p><code> | 173 | ··<p><code> |
| 201 | · ·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
| 202 | 174 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>[·...·truncated·by·diffoscope;·len:·117,·SHA:·27e4f3684e92be27f5222155df1a3c3432e8ef881a5250721d08d15f00db7845·...·]</span>></span><br> | |
| 175 | <br> | ||
| 203 | </code></p> | 176 | </code></p> |
| 204 | <P> | 177 | <P> |
| 205 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is | 178 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is |
| 206 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are | 179 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are |
| 207 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the | 180 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the |
| 208 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a | 181 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a |
| 209 | parameter·is·required,·simply·expand·it·without·first·checking.··When | 182 | parameter·is·required,·simply·expand·it·without·first·checking.··When |
| Offset 1, 92 lines modified | Offset 1, 72 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<EM>File·"<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME>"·last·updated·<_\x8[ | ||
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM> | ||
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8a_\x8l_\x8t_\x8t_\x8e_\x8x_\x8t·name="logo.gif"·text="Company | ||
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················logo"> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
| 8 | ·HTP·Tags·················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo"> | ||
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | ||
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> | ||
| 12 | ·[>]·_\x8D_\x8E_\x8F··················· ·will·also·have·an·ALT·attribute·appended·to·it | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
| 14 | · ···_\x8I_\x8F···················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click | ||
| 15 | · ···_\x8I_\x8N_\x8C···················here·for·more·information!"> | ||
| 16 | · ···_\x8I_\x8M_\x8G··················· ·remains·unchanged. | ||
| 17 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 18 | · | 7 | ·_.U_.s_.a_.g_.e·····················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of |
| 19 | · | 8 | ·HTP·Tags··················saying·it·creates·new·tags.·The·mechanism·is·very |
| 20 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is |
| 21 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················not·used·to·expand·them.·Instead,·they·are·expanded |
| 22 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············by·their·own·name.·For·example: |
| 12 | ·[>]·_\x8D_\x8E_\x8F··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="0"> | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand> | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 30 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1"> | ||
| 31 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
| 32 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b> | ||
| 33 | ···························· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
| 34 | ···························· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand> | ||
| 35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand> | ||
| 36 | ···························· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
| 37 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
| 38 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 39 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand> | ||
| 40 | ···························· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
| 41 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
| 42 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 43 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e> | ||
| 44 | ···························· · ·e·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·noexpand> | ||
| 46 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 47 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2"> | ||
| 48 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
| 49 | ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e | ||
| 50 | ····························time>. | ||
| 51 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 52 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c> | ||
| 53 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d> | ||
| 54 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e> | ||
| 55 | ···· | 13 | · ···_.F_.I_.L_.E··················Some·metatags·will·require·an·opening·and·closing |
| 56 | ···· | 14 | · ···_.I_.F····················tag·(comparable·to |
| 57 | ···· | 15 | · ···_.I_.N_.C···················and |
| 58 | ···· | 16 | · ···_.I_.M_.G···················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. |
| 59 | ···· | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············Another·slightly·faster·alternative·is·to·use·two |
| 60 | ···· | 18 | · ···_.O_.P_.T···················metatags,·the·opening·tag·and·the·closing·tag·with |
| 61 | ···· | 19 | · ···_.O_.U_.T_.P_.U_.T················a·preceding·slash.·For·example: |
| 62 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·[NOT]·conditional> | ||
| 63 | ···························· · ·block·#1 | ||
| 64 | ····························[ | ||
| 65 | ····························<ELSEIF·[NOT]·conditional> | ||
| 66 | ···· | 20 | · ···_.Q_.U_.O_.T_.E················· ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="http://my.domain.org/ |
| 21 | · ···_\x8S_\x8E_\x8T···················"·path="/var/www/my.domain/"> | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················var/www/other.domain/"> | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·the·local·filename·"logo.gif"·will·be·used·to | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················determine·image·dimensions | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·(no·URL·replacement). | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s | ||
| 30 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 31 | ····························my.domain.org/logo.gif"> | ||
| 32 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
| 67 | ···························· | 33 | ····························will·be·used. |
| 68 | ····························] | ||
| 69 | ····························[ | ||
| 70 | ····························<ELSE> | ||
| 71 | ···························· · ·block·#3 | ||
| 72 | ····························] | ||
| 73 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
| 34 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 35 | ····························other.domain.org/logo.gif"> | ||
| 36 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
| 37 | ····························so·the·image·dimensions | ||
| 38 | ···························· ·will·not·be·added. | ||
| 39 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
| 40 | ····························precedence: | ||
| 41 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
| 42 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
| 43 | ····························test/"> | ||
| 44 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
| 45 | ····························src="/test/image.gif"> are·mapped·to | ||
| 46 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
| 47 | ····························image.gif,·resp. | ||
| 48 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
| 49 | ····························swapped,·the·second | ||
| 50 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
| 51 | ····························image.gif. | ||
| 74 | ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will | 52 | ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will |
| 75 | ····························check·for·matching·end·tag.·It·is·not·that·slower. | 53 | ····························check·for·matching·end·tag.·It·is·not·that·slower. |
| 76 | ····························Options·can·be·passed·to·a·metatag,·which·can·then | 54 | ····························Options·can·be·passed·to·a·metatag,·which·can·then |
| 77 | ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are | 55 | ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are |
| 78 | ····························parameterized·with·the·OPTION·attribute.·Multiple | 56 | ····························parameterized·with·the·OPTION·attribute.·Multiple |
| 79 | ····························options·can·be·listed·by·separating·their·name·with | 57 | ····························options·can·be·listed·by·separating·their·name·with |
| 80 | ····························a·space·(which·therefore·requires·they·be | 58 | ····························a·space·(which·therefore·requires·they·be |
| 81 | ····························surrounded·by·quotes.) | 59 | ····························surrounded·by·quotes.) |
| 82 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim | ||
| 83 | ····························Nelson"·email="jnelson@crl.com"> | ||
| 84 | ···························· | 60 | ····························<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·macroname1="macrovalue1" |
| 61 | ····························[macroname2="macrovalue2"·...]·[GLOBAL]> | ||
| 85 | ····························htp·will·do·very·specific·checking·of·parameters | 62 | ····························htp·will·do·very·specific·checking·of·parameters |
| 86 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all | 63 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all |
| 87 | ····························parameter·options·to·the·metatag·are·optional.·This | 64 | ····························parameter·options·to·the·metatag·are·optional.·This |
| 88 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify | 65 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify |
| 89 | ····························the·SIZE·option·is·defined·before·expanding·it·in | 66 | ····························the·SIZE·option·is·defined·before·expanding·it·in |
| Max diff block lines reached; 80/10626 bytes (0.75%) of diff not shown. | |||
| Offset 98, 22 lines modified | Offset 98, 28 lines modified | ||
| 98 | <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code> | 98 | <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code> |
| 99 | modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to | 99 | modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to |
| 100 | store·something·in·a·block·macro,·that·depends·on·the·current·value·of | 100 | store·something·in·a·block·macro,·that·depends·on·the·current·value·of |
| 101 | another·macro.··This·other·macro·may·no·longer·have·the·correct·value | 101 | another·macro.··This·other·macro·may·no·longer·have·the·correct·value |
| 102 | when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when | 102 | when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when |
| 103 | the·htp·tags·are·expanded:·</P> | 103 | the·htp·tags·are·expanded:·</P> |
| 104 | ··<p><code> | 104 | ··<p><code> |
| 105 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">execute</span>=<span·class="htp-string">"command-line"</span>·<span·class="htp-attrib">(output</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">|</span>·<span·class="htp-attrib">redirect)</span>·<span·class="htp-attrib">[noerror]</span>></span><br> | ||
| 106 | <font·size="-2"> 2.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"includefilename"</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>></span><br> | ||
| 105 | <font·size="-2"> | 107 | <font·size="-2"> 3.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>></span><br> |
| 108 | <font·size="-2"> 4.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">size[</span>·=<span·class="htp-value"></span>·<span·class="htp-attrib">(byte|kbyte|mbyte|gbyte)</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[precision</span>=<span·class="htp-value">n]</span>></span><br> | ||
| 109 | <font·size="-2"> 5.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">time[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>></span><br> | ||
| 110 | <font·size="-2"> 6.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">date[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>></span><br> | ||
| 111 | <font·size="-2"> 7.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>></span><br> | ||
| 112 | <font·size="-2"> 8.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>></span><br> | ||
| 106 | <font·size="-2"> | 113 | <font·size="-2"> 9.·</font><br> |
| 107 | <font·size="-2"> 3.·</font><span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>></span><br> | ||
| 108 | </code></p> | 114 | </code></p> |
| 109 | This·produces·the·following: | 115 | This·produces·the·following: |
| 110 | ··<p><code> | 116 | ··<p><code> |
| 111 | · ·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> | ||
| 112 | 117 | <span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>></span><br> | |
| 118 | <br> | ||
| 113 | </code></p> | 119 | </code></p> |
| 114 | <P> | 120 | <P> |
| 115 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a | 121 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a |
| 116 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded | 122 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded |
| 117 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it | 123 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it |
| 118 | is·used,·while·the·contents·of·b·are·already·expanded. | 124 | is·used,·while·the·contents·of·b·are·already·expanded. |
| 119 | </P> | 125 | </P> |
| Offset 24, 22 lines modified | Offset 24, 31 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]_\x8i_. | 31 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_.i_.l_.e·execute="command-line" |
| 32 | ····························(output="filename"·|·redirect)·[noerror]> | ||
| 33 | ···························· 2.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="includefilename" | ||
| 32 | ···························· | 34 | ····························[parameters·...]> |
| 33 | ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 35 | ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_.i_.l_.e·name> |
| 36 | ···························· 4.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·size[·= | ||
| 37 | ····························(byte|kbyte|mbyte|gbyte)·]·[precision=n]> | ||
| 38 | ···························· 5.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·time | ||
| 39 | ····························[·="format"·]> | ||
| 40 | ···························· 6.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·[·name="filename"·]·date | ||
| 41 | ····························[·="format"·]> | ||
| 42 | ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·search="searchpath"> | ||
| 43 | ···························· 8.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·template="templatefilename"> | ||
| 44 | ···························· 9. | ||
| 34 | ····························This·produces·the·following: | 45 | ····························This·produces·the·following: |
| 35 | ···························· · ·File·image.gif·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
| 36 | ····························SIZE=KBYTE> kilobytes | ||
| 37 | ···························· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
| 38 | ···························· | 46 | ····························<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="filename"·...> |
| 39 | ····························When·block·a·and·block·b·are·defined·in·lines·2- | 47 | ····························When·block·a·and·block·b·are·defined·in·lines·2- |
| 40 | ····························7·the·contents·of·a·are·taken·literally,·however, | 48 | ····························7·the·contents·of·a·are·taken·literally,·however, |
| 41 | ····························the·contents·for·b·are·already·expanded·so·the | 49 | ····························the·contents·for·b·are·already·expanded·so·the |
| 42 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it | 50 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it |
| 43 | ····························is·used,·while·the·contents·of·b·are·already | 51 | ····························is·used,·while·the·contents·of·b·are·already |
| 44 | ····························expanded. | 52 | ····························expanded. |
| 45 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with | 53 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with |
| Offset 114, 75 lines modified | Offset 114, 59 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>></span><br> | ||
| 122 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
| 123 | · ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
| 124 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 125 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
| 126 | · ·b·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
| 127 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 128 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>></span><br> | ||
| 129 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
| 130 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>></span><br> | ||
| 131 | ·contents·of·a:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 132 | ·contents·of·b:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 133 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
| 134 | · ·c·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
| 135 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 136 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
| 137 | · ·d·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 138 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 139 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>></span><br> | ||
| 140 | · ·e·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 141 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 142 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>></span><br> | ||
| 143 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
| 144 | · ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
| 145 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 146 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>></span><br> | ||
| 147 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>></span><br> | ||
| 148 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>></span><br> | ||
| 149 | </code></p> | ||
| 150 | <h2>synopsis</h2> | ||
| 151 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. | ||
| 152 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of | ||
| 153 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be | ||
| 154 | added·to·the·output·file·as·well. | ||
| 155 | <P> | ||
| 156 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the | ||
| 157 | following·is·perfectly·acceptable: | ||
| 158 | ··<p><code> | ||
| 159 | <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"> | 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> |
| 160 | · ·block·#1<br> | 122 | · ·block·#1<br> |
| 161 | [<br> | 123 | [<br> |
| 162 | <span·class="htp-tag"><ELSEIF·<span·class="htp-attrib"> | 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> |
| 163 | · ·block·#2<br> | 125 | · ·block·#2<br> |
| 164 | ...<br> | 126 | ...<br> |
| 165 | ]<br> | 127 | ]<br> |
| 166 | [<br> | 128 | [<br> |
| 167 | <span·class="htp-tag"><ELSE></span><br> | 129 | <span·class="htp-tag"><ELSE></span><br> |
| 168 | · ·block·#3<br> | 130 | · ·block·#3<br> |
| 169 | ]<br> | 131 | ]<br> |
| 170 | <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> | 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> |
| 171 | <br> | 133 | <br> |
| 172 | </code></p> | 134 | </code></p> |
| 135 | <h2>synopsis</h2> | ||
| 136 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. | ||
| 137 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of | ||
| 138 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be | ||
| 139 | added·to·the·output·file·as·well. | ||
| 140 | <P> | ||
| 141 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the | ||
| 142 | following·is·perfectly·acceptable: | ||
| 143 | ··<p><code> | ||
| 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">name</span>=<span·class="htp-string">"Jim"</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
| 145 | </code></p> | ||
| 173 | <P> | 146 | <P> |
| 174 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> | 147 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> |
| 175 | <P> | 148 | <P> |
| 176 | To·include·information·about·another·file,·such·as·an·archive·file·or | 149 | To·include·information·about·another·file,·such·as·an·archive·file·or |
| 177 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the | 150 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the |
| 178 | type·of·information·to·be·displayed: | 151 | type·of·information·to·be·displayed: |
| 179 | ··<p><code> | 152 | ··<p><code> |
| 180 | <span·class="htp-tag"><<a·href=" | 153 | <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> |
| 154 | · <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> | ||
| 155 | · <span·class="htp-tag"><tr></span><br> | ||
| 156 | · ·<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> | ||
| 157 | · ·<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> | ||
| 158 | · ·<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> | ||
| 159 | · <span·class="htp-tag"></tr></span><br> | ||
| 160 | · <span·class="htp-tag"></table></span><br> | ||
| 161 | <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> | ||
| 181 | <br> | 162 | <br> |
| 163 | paragraph<br> | ||
| 164 | <span·class="htp-tag"><imghr></span><br> | ||
| 165 | paragraph<br> | ||
| 182 | </code></p> | 166 | </code></p> |
| 183 | <P> | 167 | <P> |
| 184 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the | 168 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the |
| 185 | information·is·displayed.··In·anything·other·than·byte·format,·the·information | 169 | information·is·displayed.··In·anything·other·than·byte·format,·the·information |
| 186 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number | 170 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number |
| 187 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional | 171 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional |
| 188 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no | 172 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no |
| Offset 211, 15 lines modified | Offset 195, 21 lines modified | ||
| 211 | <P> | 195 | <P> |
| 212 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are | 196 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are |
| 213 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros | 197 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros |
| 214 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it | 198 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it |
| 215 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer | 199 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer |
| 216 | available.··So: | 200 | available.··So: |
| 217 | ··<p><code> | 201 | ··<p><code> |
| 218 | <span·class="htp-tag"><<a·href=" | 202 | <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> |
| 203 | <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> | ||
| 204 | <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> | ||
| 205 | <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> | ||
| 206 | <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> | ||
| 207 | <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> | ||
| 208 | <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> | ||
| 219 | <br> | 209 | <br> |
| 220 | </code></p> | 210 | </code></p> |
| 221 | <P> | 211 | <P> |
| 222 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included | 212 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included |
| 223 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the | 213 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the |
| 224 | second·statement·will·fail.) | 214 | second·statement·will·fail.) |
| 225 | <P> | 215 | <P> |
| Offset 1, 72 lines modified | Offset 1, 55 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·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.I_.F·[NOT]·conditional> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 8 | ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand> | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 11 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e··················· · ·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····················] | ||
| 12 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F> |
| 16 | · ···_\x8I_\x8M_\x8G | ||
| 13 | ·[>]·_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b> | ||
| 14 | · ···_\x8I_\x8F···················· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
| 15 | · ···_\x8I_\x8N_\x8C··················· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand> | ||
| 16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand> | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
| 18 | · ···_\x8O_\x8P_\x8T···················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand> | ||
| 21 | · ···_\x8S_\x8E_\x8T··················· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e> | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2"> | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
| 30 | ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e | ||
| 31 | ····························time>. | ||
| 32 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 33 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c> | ||
| 34 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d> | ||
| 35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e> | ||
| 36 | ···· | 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* |
| 37 | ···· | 18 | · ···_.O_.P_.T···················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing |
| 38 | ···· | 19 | · ···_.O_.U_.T_.P_.U_.T················purpose.·The·output·file's·name,·the·current·date |
| 39 | ···· | 20 | · ···_.Q_.U_.O_.T_.E·················and·time,·and·the·contents·of·another·file·may·be |
| 40 | ···· | 21 | · ···_.S_.E_.T···················included.·Another·file's·time,·date,·or·size·may·be |
| 41 | ···· | 22 | · ···_.U_.N_.D_.E_.F·················added·to·the·output·file·as·well. |
| 42 | ···· | 23 | · ···_.U_.N_.S_.E_.T·················As·with·all·HTML,·these·tags·do·not·have·to·be·on |
| 43 | ···· | 24 | · ···_.U_.S_.E_.,_.·_.$················their·own·line,·so·the·following·is·perfectly |
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················acceptable: | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
| 44 | ····························acceptable: | ||
| 45 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·[NOT]·conditional> | ||
| 46 | ···························· · ·block·#1 | ||
| 47 | ····························[ | ||
| 48 | ····························<ELSEIF·[NOT]·conditional> | ||
| 49 | ···························· · ·block·#2 | ||
| 50 | ····························... | ||
| 51 | ····························] | ||
| 52 | ····························[ | ||
| 53 | ····························<ELSE> | ||
| 54 | ···························· · ·block·#3 | ||
| 55 | ····························] | ||
| 56 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
| 57 | · | 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* |
| 58 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················To·include·information·about·another·file,·such·as |
| 59 | · | 29 | ·_.B_.u_.g_.s······················an·archive·file·or·graphic·image,·specify·its·name |
| 60 | ····························with·the·NAME·attribute·followed·by·the·type·of | 30 | ····························with·the·NAME·attribute·followed·by·the·type·of |
| 61 | ····························information·to·be·displayed: | 31 | ····························information·to·be·displayed: |
| 62 | ····························<_.[_.[_.r_.e_.f_.]_.] | 32 | ···························· <_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="imghr"> |
| 33 | ···························· · <table·border="0"·cellspacing="0" | ||
| 34 | ····························cellpadding="0"> | ||
| 35 | ···························· · <tr> | ||
| 36 | ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ | ||
| 63 | ···························· | 37 | ····························td> |
| 38 | ···························· · ·<td·width="95%" | ||
| 39 | ····························background="midsep.png"> </td> | ||
| 40 | ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ | ||
| 41 | ····························td> | ||
| 42 | ···························· · </tr> | ||
| 43 | ···························· · </table> | ||
| 44 | ···························· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
| 45 | ···························· paragraph | ||
| 46 | ···························· <imghr> | ||
| 47 | ···························· paragraph | ||
| 64 | ····························For·file·size·information,·the·value·BYTE,·KBYTE, | 48 | ····························For·file·size·information,·the·value·BYTE,·KBYTE, |
| 65 | ····························etc.·dictates·how·the·information·is·displayed.·In | 49 | ····························etc.·dictates·how·the·information·is·displayed.·In |
| 66 | ····························anything·other·than·byte·format,·the·information·is | 50 | ····························anything·other·than·byte·format,·the·information·is |
| 67 | ····························displayed·in·floating-point·notation.·The·amount·of | 51 | ····························displayed·in·floating-point·notation.·The·amount·of |
| 68 | ····························precision·(the·number·of·digits·to·the·right·of·the | 52 | ····························precision·(the·number·of·digits·to·the·right·of·the |
| 69 | ····························decimal·point)·can·be·set·with·the·optional | 53 | ····························decimal·point)·can·be·set·with·the·optional |
| 70 | ····························PRECISION·attribute.·The·default·precision·is·zero | 54 | ····························PRECISION·attribute.·The·default·precision·is·zero |
| Offset 97, 16 lines modified | Offset 80, 21 lines modified | ||
| 97 | ····························Additional·parameters·can·be·set·in·the·FILE | 80 | ····························Additional·parameters·can·be·set·in·the·FILE |
| 98 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that | 81 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that |
| 99 | ····························are·"passed"·to·the·included·file.·The·macros·are | 82 | ····························are·"passed"·to·the·included·file.·The·macros·are |
| 100 | ····························available·only·to·the·include·file·(and·any·macros | 83 | ····························available·only·to·the·include·file·(and·any·macros |
| 101 | ····························or·included·files·it·holds).·After·the·file·is | 84 | ····························or·included·files·it·holds).·After·the·file·is |
| 102 | ····························completely·included,·the·macros·are·no·longer | 85 | ····························completely·included,·the·macros·are·no·longer |
| 103 | ····························available.·So: | 86 | ····························available.·So: |
| 104 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1" | ||
| 105 | ····························[ | 87 | ····························<_.[_.[_.r_.e_.f_.]_.]_.O_.P_.T·(IMGXY|NOIMGXY)> |
| 88 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(QUIET|VERBOSE)> | ||
| 89 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)> | ||
| 90 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(PRECIOUS|NOPRECIOUS)> | ||
| 91 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)> | ||
| 92 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)> | ||
| 93 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)> | ||
| 106 | ····························Macros·named·"name"·and·"email"·are·set,·and | 94 | ····························Macros·named·"name"·and·"email"·are·set,·and |
| 107 | ····························available·inside·the·included·file.·They·are·not | 95 | ····························available·inside·the·included·file.·They·are·not |
| 108 | ····························available,·however,·past·the·tag·(which·is·why·the | 96 | ····························available,·however,·past·the·tag·(which·is·why·the |
| 109 | ····························second·statement·will·fail.) | 97 | ····························second·statement·will·fail.) |
| 110 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* | 98 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* |
| 111 | ····························A·template·file·is·nothing·more·than·a·default | 99 | ····························A·template·file·is·nothing·more·than·a·default |
| Offset 114, 57 lines modified | Offset 114, 33 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | · ·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> | ||
| 122 | 121 | <span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-[·...·truncated·by·diffoscope;·len:·220,·SHA:·e5a7c322d181671814f71219bc400fbb8062367de1eb28c68790a00a59fb83ef·...·]</span>></span><br> | |
| 122 | <br> | ||
| 123 | </code></p> | 123 | </code></p> |
| 124 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
| 125 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building | 125 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building |
| 126 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. | 126 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. |
| 127 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A | 127 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A |
| 128 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal | 128 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal |
| 129 | string: | 129 | string: |
| 130 | ··<p><code> | 130 | ··<p><code> |
| 131 | <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> | ||
| 132 | <br> | ||
| 133 | imageurl·url="other.domain.org/"·path="/var/www/other.domain/"><br> | ||
| 134 | <br> | ||
| 135 | 131 | <span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>></span><br> | |
| 136 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
| 137 | ·(no·URL·replacement).<br> | ||
| 138 | <br> | ||
| 139 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
| 140 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
| 141 | <br> | 132 | <br> |
| 142 | ·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> | ||
| 143 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
| 144 | ·will·not·be·added.<br> | ||
| 145 | <br> | ||
| 146 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
| 147 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
| 148 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
| 149 | <br> | ||
| 150 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
| 151 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
| 152 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
| 153 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
| 154 | </code></p> | 133 | </code></p> |
| 155 | <P> | 134 | <P> |
| 156 | and·a·defined·operator·is·a·test·of·a·macro's·existance: | 135 | and·a·defined·operator·is·a·test·of·a·macro's·existance: |
| 157 | <P> | 136 | <P> |
| 158 | ··<p><code> | 137 | ··<p><code> |
| 138 | <span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="htp-attrib">]</span>></span><br> | ||
| 159 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[GLOBAL]</span>></span><br> | ||
| 160 | <br> | ||
| 161 | <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> | ||
| 162 | <br> | 139 | <br> |
| 163 | ·This·is·<span·class="htp-tag"><bolditalic></span>bold·and·italic<span·class="htp-tag"></bolditalic></span><br> | ||
| 164 | </code></p> | 140 | </code></p> |
| 165 | <P> | 141 | <P> |
| 166 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the | 142 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the |
| 167 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that | 143 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that |
| 168 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the | 144 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the |
| 169 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block | 145 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block |
| 170 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. | 146 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. |
| Offset 1, 74 lines modified | Offset 1, 36 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·macroname1="increment1" |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················SIZE=KBYTE> kilobytes | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | ||
| 8 | · | 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* |
| 9 | · | 8 | ·HTP·Tags··················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building |
| 10 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············blocks·for·conditional·processing.·The·basic·form |
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················is·shown·above. |
| 12 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············"Conditional"·is·either·a·"compare"·or·"is·defined" |
| 13 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················operation.·A·compare·operator·is·a·test·of·the |
| 14 | · | 13 | · ···_.F_.I_.L_.E··················value·of·a·macro·against·a·literal·string: |
| 15 | · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1" | ||
| 16 | · ···_\x8I_\x8M_\x8G···················[macroname2="increment2"·...·]·[GLOBAL]> | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
| 18 | · | 14 | ·[>]·_.I_.F····················<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="filename"·...> |
| 15 | · ···_\x8I_\x8N_\x8C | ||
| 16 | · ···_\x8I_\x8M_\x8G···················and·a·defined·operator·is·a·test·of·a·macro's | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············existance: | ||
| 18 | · ···_\x8O_\x8P_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="imageurl"·[·path="path/in/ | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················o | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················local/filesystem"·]> |
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E |
| 21 | · ···_\x8S_\x8E_\x8T··················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·the·local·filename·"logo.gif"·will·be·used·to | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················determine·image·dimensions | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·(no·URL·replacement). | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················my.domain.org/logo.gif"> | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················will·be·used. | ||
| 30 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 31 | ····························other.domain.org/logo.gif"> | ||
| 32 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
| 33 | ····························so·the·image·dimensions | ||
| 34 | ···························· ·will·not·be·added. | ||
| 35 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
| 36 | ····························precedence: | ||
| 37 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
| 38 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
| 39 | ····························test/"> | ||
| 40 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
| 41 | ····························src="/test/image.gif"> are·mapped·to | ||
| 42 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
| 43 | ····························image.gif,·resp. | ||
| 44 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
| 45 | ····························swapped,·the·second | ||
| 46 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
| 47 | ····························image.gif. | ||
| 48 | ····························and·a·defined·operator·is·a·test·of·a·macro's | ||
| 49 | ····························existance: | ||
| 50 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_\x8E_\x8T·macroname1="macrovalue1" | ||
| 51 | ····························[macroname2="macrovalue2"·...]·[GLOBAL]> | ||
| 52 | ···························· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
| 53 | ···························· ·This·is·<bolditalic>bold·and·italic</bolditalic> | ||
| 54 | ···· | 21 | · ···_.S_.E_.T···················If·the·NOT·tag·is·present·in·the·IF·markup,·the |
| 55 | ···· | 22 | · ···_.U_.N_.D_.E_.F·················evaluation·of·the·conditional·is·reversed.·The |
| 56 | ···· | 23 | · ···_.U_.N_.S_.E_.T·················first·IF·or·ELSEIF·condition·that·evaluates·to·true |
| 57 | ···· | 24 | · ···_.U_.S_.E_.,_.·_.$················is·chosen.·If·none·of·the·conditions·is·true·the |
| 58 | ···· | 25 | · ···_.W_.H_.I_.L_.E·················ELSE·block·is·taken·if·it·is·present.·A·conditional |
| 59 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can |
| 60 | ····························be·nested. | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················be·nested. | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s | ||
| Offset 114, 16 lines modified | Offset 114, 16 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | · ·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
| 122 | 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"[·...·truncated·by·diffoscope;·len:·69,·SHA:·ea634dbab5ac4ccf4b06c709a9fcaf6deb645033f0530f94544de5e99f89a6df·...·]</span>></span><br> | |
| 122 | <br> | ||
| 123 | </code></p> | 123 | </code></p> |
| 124 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
| 125 | <P> | 125 | <P> |
| 126 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local | 126 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local |
| 127 | file·system.··declares·an·URL·replacement·that·is·used·for | 127 | file·system.··declares·an·URL·replacement·that·is·used·for |
| 128 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions | 128 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions |
| 129 | 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 137, 27 lines modified | Offset 137, 36 lines modified | ||
| 137 | 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 |
| 138 | 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. |
| 139 | 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 |
| 140 | looked·up·in·the·current·directory.</P> | 140 | looked·up·in·the·current·directory.</P> |
| 141 | <P> | 141 | <P> |
| 142 | For·example:</P> | 142 | For·example:</P> |
| 143 | ··<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> | ||
| 144 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>></span><br> | ||
| 145 | · <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> | ||
| 146 | · <span·class="htp-tag"><tr></span><br> | ||
| 147 | · ·<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> | ||
| 148 | · ·<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> | ||
| 149 | · ·<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> | ||
| 150 | · <span·class="htp-tag"></tr></span><br> | ||
| 151 | · <span·class="htp-tag"></table></span><br> | ||
| 152 | <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> | ||
| 153 | <br> | 146 | <br> |
| 154 | paragraph<br> | ||
| 155 | <span·class="htp-tag"><imghr></span><br> | ||
| 156 | paragraph<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> | ||
| 157 | </code></p> | 166 | </code></p> |
| 158 | <P> | 167 | <P> |
| 159 | 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 |
| 160 | an·undefine,·and·is·removed.</P> | 169 | an·undefine,·and·is·removed.</P> |
| 161 | <P> | 170 | <P> |
| 162 | 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 |
| 163 | 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, 49 lines modified | Offset 1, 66 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]_\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]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim | ||
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················Nelson"·email="jnelson@crl.com"> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
| 7 | ·_\x8 | 6 | ·_\x8T_.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* |
| 8 | · | 7 | ·_.U_.s_.a_.g_.e·····················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the |
| 9 | · | 8 | ·HTP·Tags··················local·file·system.·declares·an·URL·replacement·that |
| 10 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This |
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option |
| 12 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············is·enabled.·Beacause·htp·can't·lookup·files·in·the |
| 13 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················world·wide·web·you·have·to·map·absolute·image·URLs |
| 14 | · ···_\x8I_. | 13 | · ···_\x8F_.I_.L_.E··················to·a·directory·in·the·local·file·system. |
| 15 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F····················When·an·IMG·tag·is·encountered·where·htp·has·to |
| 16 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C···················insert·width·and·height·the·defined·URL |
| 17 | · | 16 | · ···_.I_.M_.G···················replacements·will·be·taken·into·account·(later |
| 18 | · | 17 | ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············definitions·take·precedence·to·earlier):·For·each |
| 19 | · ···_\x8O_\x8 | 18 | · ···_\x8O_\x8P_.T···················defined·imageurl·it·checks·(case-insensitive)·if·it |
| 20 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················is·a·prefix·of·the·image's·SRC·attribute.·If·it |
| 21 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················matches·this·prefix·is·replaced·by·the·given·PATH. |
| 22 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················If·no·IMAGEURL·matches·the·SRC·is·considered·as |
| 23 | · ···_\x8U_\x8N_\x8 | 22 | · ···_\x8U_\x8N_\x8D_.E_.F·················relative·link·and·looked·up·in·the·current |
| 24 | · ···_\x8U_\x8 | 23 | · ···_\x8U_\x8N_.S_.E_.T·················directory. |
| 25 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················For·example: |
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="imghr"> | ||
| 27 | · | 25 | · ···_.W_.H_.I_.L_.E················· ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="http://my.domain.org/ |
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················"·path="/var/www/my.domain/"> | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················var/www/other.domain/"> |
| 29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
| 30 | ···························· · | 30 | ···························· ·For·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="logo.gif"> |
| 31 | ···························· ·the·local·filename·"logo.gif"·will·be·used·to | ||
| 32 | ····························determine·image·dimensions | ||
| 33 | ···························· ·(no·URL·replacement). | ||
| 31 | ····························td> | ||
| 32 | ···························· · ·<td·width="95%" | ||
| 33 | ····························background="midsep.png"> </td> | ||
| 34 | ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ | ||
| 35 | ····························td> | ||
| 36 | ···························· · </tr> | ||
| 37 | ···························· · </table> | ||
| 38 | ···························· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
| 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/ | ||
| 39 | ···························· | 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/ | ||
| 40 | ···························· | 55 | ····························image.gif. |
| 41 | ···························· paragraph | ||
| 42 | ····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH | 56 | ····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH |
| 43 | ····························attribute,·it·is·treated·as·an·undefine,·and·is | 57 | ····························attribute,·it·is·treated·as·an·undefine,·and·is |
| 44 | ····························removed. | 58 | ····························removed. |
| 45 | ····························Since·you·usually·need·the·url·mapping·for·a·number | 59 | ····························Since·you·usually·need·the·url·mapping·for·a·number |
| 46 | ····························of·images·used·throughout·a·set·of·documents, | 60 | ····························of·images·used·throughout·a·set·of·documents, |
| 47 | ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 61 | ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
| 48 | ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file. | 62 | ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file. |
| Offset 114, 15 lines modified | Offset 114, 16 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | · · | 121 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt=[·...·truncated·by·diffoscope;·len:·49,·SHA:·cbeb3b7e30cb59830c6722d77e8ae7db5ad605df493df521d6f3ce6b7b5e3fb6·...·]<br> |
| 122 | LE·NAME="image.gif"·SIZE=KBYTE>·kilobytes<br> | ||
| 122 | · ·Last·modified·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>></span><br> | 123 | · ·Last·modified·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>></span>,·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>></span><br> |
| 123 | </code></p> | 124 | </code></p> |
| 124 | <h2>synopsis</h2> | 125 | <h2>synopsis</h2> |
| 125 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified | 126 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified |
| 126 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage | 127 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage |
| 127 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially | 128 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially |
| 128 | useful·if·the·image·may·change·frequently.·</P> | 129 | useful·if·the·image·may·change·frequently.·</P> |
| Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · · | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name>...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················SIZE=KBYTE> | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················LE·NAME="image.gif"·SIZE=KBYTE>·kilobytes |
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" |
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> |
| 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the |
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················specified·image's·width·and·height·to·the·tag | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················specified·image's·width·and·height·to·the·tag |
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············automatically.·This·has·the·advantage·of·not·having | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············automatically.·This·has·the·advantage·of·not·having |
| 12 | · ···_\x8D_\x8E_\x8F···················to·determine·each·image's·size·manually,·which·is | 12 | · ···_\x8D_\x8E_\x8F···················to·determine·each·image's·size·manually,·which·is |
| Offset 114, 52 lines modified | Offset 114, 42 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
| 121 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> | ||
| 122 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
| 123 | <br> | ||
| 124 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
| 125 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
| 126 | ·(no·URL·replacement).<br> | ||
| 127 | <br> | ||
| 128 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
| 129 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
| 130 | <br> | ||
| 131 | ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
| 132 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
| 133 | ·will·not·be·added.<br> | ||
| 134 | <br> | ||
| 135 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
| 136 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
| 137 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
| 138 | <br> | ||
| 139 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
| 140 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
| 141 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
| 142 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
| 143 | </code></p> | 122 | </code></p> |
| 144 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
| 145 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a | 124 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a |
| 146 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. | 125 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. |
| 147 | <P> | 126 | <P> |
| 148 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a | 127 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a |
| 149 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The | 128 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The |
| 150 | macroname·must·be·the·name·of·a·defined·macro·that·contains·an | 129 | macroname·must·be·the·name·of·a·defined·macro·that·contains·an |
| 151 | integer.··If·the·increment·is·ommitted·it·defaults·to·1. | 130 | integer.··If·the·increment·is·ommitted·it·defaults·to·1. |
| 152 | The·effect·of·this·operation·is·that·the·macro·is·redefined | 131 | The·effect·of·this·operation·is·that·the·macro·is·redefined |
| 153 | to·contain·the·sum·of·its·previous·value·and·its·increment. | 132 | to·contain·the·sum·of·its·previous·value·and·its·increment. |
| 154 | <P> | 133 | <P> |
| 155 | To·increment·or·decrement·a·variable·you·can·use·this·form: | 134 | To·increment·or·decrement·a·variable·you·can·use·this·form: |
| 156 | ··<p><code> | 135 | ··<p><code> |
| 157 | <span·class="htp-tag"><<a·href=" | 136 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>></span><br> |
| 137 | · <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> | ||
| 138 | · <span·class="htp-tag"><tr></span><br> | ||
| 139 | · ·<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> | ||
| 140 | · ·<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> | ||
| 141 | · ·<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> | ||
| 142 | · <span·class="htp-tag"></tr></span><br> | ||
| 143 | · <span·class="htp-tag"></table></span><br> | ||
| 144 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
| 158 | <br> | 145 | <br> |
| 146 | paragraph<br> | ||
| 147 | <span·class="htp-tag"><imghr></span><br> | ||
| 148 | paragraph<br> | ||
| 159 | </code></p> | 149 | </code></p> |
| 160 | <p> | 150 | <p> |
| 161 | Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It | 151 | Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It |
| 162 | may·give·weired·results·when·used·on·arbitrary·strings.··The·integer | 152 | may·give·weired·results·when·used·on·arbitrary·strings.··The·integer |
| 163 | values·are·limited·to·the·range·-2^31..2^31. | 153 | values·are·limited·to·the·range·-2^31..2^31. |
| 164 | <P> | 154 | <P> |
| 165 | Note·further·that·htp·wasn't·designed·to·do·extensive·calculations. | 155 | Note·further·that·htp·wasn't·designed·to·do·extensive·calculations. |
| Offset 1, 61 lines modified | Offset 1, 42 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name>...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················"·path="/var/www/my.domain/"> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················var/www/other.domain/"> | ||
| 8 | ·HTP·Tags | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·the·local·filename·"logo.gif"·will·be·used·to | ||
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············determine·image·dimensions | ||
| 12 | · ···_\x8D_\x8E_\x8F··················· ·(no·URL·replacement). | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
| 14 | · ···_\x8I_\x8F···················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 15 | ·[>]·_\x8I_\x8N_\x8C···················my.domain.org/logo.gif"> | ||
| 16 | · ···_\x8I_\x8M_\x8G··················· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············will·be·used. | ||
| 18 | · ···_\x8O_\x8P_\x8T | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················other.domain.org/logo.gif"> | ||
| 21 | · ···_\x8S_\x8E_\x8T··················· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················so·the·image·dimensions | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·will·not·be·added. | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················precedence: | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················test/"> | ||
| 30 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
| 31 | ····························src="/test/image.gif"> are·mapped·to | ||
| 32 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
| 33 | ····························image.gif,·resp. | ||
| 34 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
| 35 | ····························swapped,·the·second | ||
| 36 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
| 37 | ····························image.gif. | ||
| 38 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 39 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a |
| 40 | · | 7 | ·_.U_.s_.a_.g_.e·····················variable·or·for·variable·addition.·The·basic·form |
| 41 | 8 | ·HTP·Tags··················is·shown·above. | |
| 42 | ···· | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············The·"increment"·is·anything·that·evaluates·to·a |
| 43 | ···· | 10 | · ···_.B_.L_.O_.C_.K·················integer.·It·can·be·a·literal·string·or·a·macro |
| 44 | ···· | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············preceeded·by·the·'$'-operator.·The·macroname·must |
| 45 | ···· | 12 | · ···_.D_.E_.F···················be·the·name·of·a·defined·macro·that·contains·an |
| 46 | ···· | 13 | · ···_.F_.I_.L_.E··················integer.·If·the·increment·is·ommitted·it·defaults |
| 47 | ···· | 14 | · ···_.I_.F····················to·1.·The·effect·of·this·operation·is·that·the |
| 48 | ·· | 15 | ·[>]·_.I_.N_.C···················macro·is·redefined·to·contain·the·sum·of·its |
| 49 | ···· | 16 | · ···_.I_.M_.G···················previous·value·and·its·increment. |
| 50 | ···· | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············To·increment·or·decrement·a·variable·you·can·use |
| 51 | ···· | 18 | · ···_.O_.P_.T···················this·form: |
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="imghr"> | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · <table·border="0"·cellspacing="0" | ||
| 21 | · ···_\x8S_\x8E_\x8T···················cellpadding="0"> | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · <tr> | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················td> | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<td·width="95%" | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················background="midsep.png"> </td> | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················td> | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················ · </tr> | ||
| 30 | ···························· · </table> | ||
| 52 | ····························<_.[_.[_.r_.e_.f_.]_.] | 31 | ···························· <_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
| 32 | ···························· paragraph | ||
| 33 | ···························· <imghr> | ||
| 34 | ···························· paragraph | ||
| 53 | ····························Note·that·INC·doesn't·check·if·the·strings·really | 35 | ····························Note·that·INC·doesn't·check·if·the·strings·really |
| 54 | ····························denote·integers.·It·may·give·weired·results·when | 36 | ····························denote·integers.·It·may·give·weired·results·when |
| 55 | ····························used·on·arbitrary·strings.·The·integer·values·are | 37 | ····························used·on·arbitrary·strings.·The·integer·values·are |
| 56 | ····························limited·to·the·range·-2^31..2^31. | 38 | ····························limited·to·the·range·-2^31..2^31. |
| 57 | ····························Note·further·that·htp·wasn't·designed·to·do | 39 | ····························Note·further·that·htp·wasn't·designed·to·do |
| 58 | ····························extensive·calculations.·The·INC·tag·is·useful·in | 40 | ····························extensive·calculations.·The·INC·tag·is·useful·in |
| 59 | ····························conjunction·with·WHILE·to·iterate·over·the·defined | 41 | ····························conjunction·with·WHILE·to·iterate·over·the·defined |
| Offset 88, 15 lines modified | Offset 88, 38 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> | 95 | <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=[·...·truncated·by·diffoscope;·len:·17,·SHA:·caad84c8bc3777dc8199258e880f877b9b82b192a94413c7375c9beda919cf50·...·]</span>></span><br> |
| 96 | <font·size="-2"> 2.·</font><br> | ||
| 97 | <font·size="-2"> 3.·</font>rg/"·path="/var/www/my.domain/"><br> | ||
| 98 | <font·size="-2"> 4.·</font> ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
| 99 | <font·size="-2"> 5.·</font><br> | ||
| 100 | <font·size="-2"> 6.·</font> ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
| 101 | <font·size="-2"> 7.·</font> ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
| 102 | <font·size="-2"> 8.·</font> ·(no·URL·replacement).<br> | ||
| 103 | <font·size="-2"> 9.·</font><br> | ||
| 104 | <font·size="-2">10.·</font> ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
| 105 | <font·size="-2">11.·</font> ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
| 106 | <font·size="-2">12.·</font><br> | ||
| 107 | <font·size="-2">13.·</font> ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
| 108 | <font·size="-2">14.·</font> ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
| 109 | <font·size="-2">15.·</font> ·will·not·be·added.<br> | ||
| 110 | <font·size="-2">16.·</font><br> | ||
| 111 | <font·size="-2">17.·</font> ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
| 112 | <font·size="-2">18.·</font> ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
| 113 | <font·size="-2">19.·</font> ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
| 114 | <font·size="-2">20.·</font><br> | ||
| 115 | <font·size="-2">21.·</font> ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/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> | ||
| 116 | <font·size="-2">22.·</font> ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
| 117 | <font·size="-2">23.·</font> ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
| 118 | <font·size="-2">24.·</font> ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
| 96 | </code></p> | 119 | </code></p> |
| 97 | <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined. | 120 | <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined. |
| 98 | The·html·code·which·implements·this·rule·is·following·in·lines·2-8. | 121 | The·html·code·which·implements·this·rule·is·following·in·lines·2-8. |
| 99 | between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and | 122 | between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and |
| 100 | <code>/def</code></a>·tags.··You·don't·have·to·understand·this | 123 | <code>/def</code></a>·tags.··You·don't·have·to·understand·this |
| 101 | html·code,·but·you·should·understand·that·this·is·just·pure·html·to | 124 | html·code,·but·you·should·understand·that·this·is·just·pure·html·to |
| 102 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> | 125 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> |
| Offset 106, 37 lines modified | Offset 129, 41 lines modified | ||
| 106 | file</a>.··</p> | 129 | file</a>.··</p> |
| 107 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing | 130 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing |
| 108 | variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp | 131 | 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 |
| 109 | encounters·a·blockdef·tag·it·will·automatically·search·for·the | 132 | encounters·a·blockdef·tag·it·will·automatically·search·for·the |
| 110 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block | 133 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block |
| 111 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> | 134 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> |
| 112 | ··<p><code> | 135 | ··<p><code> |
| 136 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[GLOBAL]</span>></span><br> | ||
| 113 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[noexpand]</span>></span><br> | ||
| 114 | <font·size="-2"> 2.·</font><span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
| 115 | <font·size="-2"> 3.·</font><span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
| 116 | <font·size="-2"> | 137 | <font·size="-2"> 2.·</font><br> |
| 117 | </code></p> | 138 | </code></p> |
| 118 | <h2>Using·parameters</h2> | 139 | <h2>Using·parameters</h2> |
| 119 | <p>·More·sophisticated·tags·accept·parameters.··The | 140 | <p>·More·sophisticated·tags·accept·parameters.··The |
| 120 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be | 141 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be |
| 121 | named·and·expanded·inside·the·<code>def</code>·or | 142 | named·and·expanded·inside·the·<code>def</code>·or |
| 122 | <code>blockdef</code>·block:·</p> | 143 | <code>blockdef</code>·block:·</p> |
| 123 | ··<p><code> | 144 | ··<p><code> |
| 124 | <font·size="-2"> 1.·</font> · | 145 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class=[·...·truncated·by·diffoscope;·len:·23,·SHA:·65ab605041733f76eac1f1362a03862d56bf4f37c94ccc032e72ec0b87519952·...·]</span>></span><br> |
| 146 | <font·size="-2"> 2.·</font> · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>></span>;<br> | ||
| 147 | <font·size="-2"> 3.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
| 148 | <font·size="-2"> 4.·</font><br> | ||
| 149 | <font·size="-2"> 5.·</font> ·<span·class="htp-tag"><sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>></span><br> | ||
| 125 | </code></p> | 150 | </code></p> |
| 126 | <h2>Saving·blocks·for·later</h2> | 151 | <h2>Saving·blocks·for·later</h2> |
| 127 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by | 152 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by |
| 128 | the·template·file.··The·normal·htp·files·should·just·define·macros | 153 | the·template·file.··The·normal·htp·files·should·just·define·macros |
| 129 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block | 154 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block |
| 130 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this | 155 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this |
| 131 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to | 156 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to |
| 132 | do·this:</p> | 157 | do·this:</p> |
| 133 | ··<p><code> | 158 | ··<p><code> |
| 134 | <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> | ||
| 135 | <font·size="-2"> | 159 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>[·...·truncated·by·diffoscope;·len:·43,·SHA:·f499ced8d78ba43322f97136025f872f01b3bce144999f877c0dedb61116b591·...·]></span><br> |
| 160 | <font·size="-2"> 2.·</font><span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
| 161 | <font·size="-2"> 3.·</font><span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
| 162 | <font·size="-2"> 4.·</font><br> | ||
| 136 | </code></p> | 163 | </code></p> |
| 137 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a | 164 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a |
| 138 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is | 165 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is |
| 139 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is | 166 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is |
| 140 | build·from·this·counter.··So·the·first·section·is·stored·in·block | 167 | build·from·this·counter.··So·the·first·section·is·stored·in·block |
| 141 | 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 | 168 | 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 |
| 142 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally | 169 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally |
| Offset 155, 15 lines modified | Offset 182, 21 lines modified | ||
| 155 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be | 182 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be |
| 156 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the | 183 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the |
| 157 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you | 184 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you |
| 158 | use·expand·in·a·block·around·it.</p> | 185 | use·expand·in·a·block·around·it.</p> |
| 159 | <p>To·close·this·example·we·show·how·to·expand·the | 186 | <p>To·close·this·example·we·show·how·to·expand·the |
| 160 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> | 187 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> |
| 161 | ··<p><code> | 188 | ··<p><code> |
| 162 | <font·size="-2"> 1.·</font> | 189 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> |
| 190 | <font·size="-2"> 2.·</font> ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> | ||
| 191 | <font·size="-2"> 3.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
| 192 | <font·size="-2"> 4.·</font> · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
| 193 | <font·size="-2"> 5.·</font> · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> | ||
| 194 | <font·size="-2"> 6.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> | ||
| 195 | <font·size="-2"> 7.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> | ||
| 163 | </code></p> | 196 | </code></p> |
| 164 | <p> | 197 | <p> |
| 165 | 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 | 198 | 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 |
| 166 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is | 199 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is |
| 167 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards | 200 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards |
| 168 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This | 201 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This |
| 169 | repeats·until·sect-${sect-ctr}·is·not·defined. | 202 | repeats·until·sect-${sect-ctr}·is·not·defined. |
| Offset 9, 15 lines modified | Offset 9, 51 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.· | 16 | ·_\x8B_\x8u_\x8g_\x8s······················ 1.·<_.[_.[_.r_.e_.f_.]_.]_.Q_.U_.O_.T_.E·TAG·[ATTRIBUTE=VALUE·...]> |
| 17 | ···························· 2. | ||
| 18 | ···························· 3.·rg/"·path="/var/www/my.domain/"> | ||
| 19 | ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/ | ||
| 20 | ····························"·path="/var/www/other.domain/"> | ||
| 21 | ···························· 5. | ||
| 22 | ···························· 6.· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
| 23 | ···························· 7.· ·the·local·filename·"logo.gif"·will·be·used·to | ||
| 24 | ····························determine·image·dimensions | ||
| 25 | ···························· 8.· ·(no·URL·replacement). | ||
| 26 | ···························· 9. | ||
| 27 | ····························10.· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 28 | ····························my.domain.org/logo.gif"> | ||
| 29 | ····························11.· ·the·local·filename·"/var/www/my.domain/ | ||
| 30 | ····························logo.gif"·will·be·used. | ||
| 31 | ····························12. | ||
| 32 | ····························13.· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 33 | ····························other.domain.org/logo.gif"> | ||
| 34 | ····························14.· ·the·local·file·cannot·be·found·(no·prefix | ||
| 35 | ····························match),·so·the·image·dimensions | ||
| 36 | ····························15.· ·will·not·be·added. | ||
| 37 | ····························16. | ||
| 38 | ····························17.· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
| 39 | ····························precedence: | ||
| 40 | ····························18.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/ | ||
| 41 | ····························htdocs/"> | ||
| 42 | ····························19.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
| 43 | ····························test/"> | ||
| 44 | ····························20. | ||
| 45 | ····························21.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
| 46 | ····························src="/test/image.gif"> are·mapped·to | ||
| 47 | ····························22.· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
| 48 | ····························image.gif,·resp. | ||
| 49 | ····························23.· ·If·the·order·of·the·imageurl·lines·would·be | ||
| 50 | ····························swapped,·the·second | ||
| 51 | ····························24.· ·image·would·be·mapped·to·/var/www/htdocs/ | ||
| 52 | ····························test/image.gif. | ||
| 17 | ····························In·line·1·of·the·above·example·a·new·tag·named | 53 | ····························In·line·1·of·the·above·example·a·new·tag·named |
| 18 | ····························imghr·is·defined.·The·html·code·which·implements | 54 | ····························imghr·is·defined.·The·html·code·which·implements |
| 19 | ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[ | 55 | ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[ |
| 20 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to | 56 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to |
| 21 | ····························understand·this·html·code,·but·you·should | 57 | ····························understand·this·html·code,·but·you·should |
| 22 | ····························understand·that·this·is·just·pure·html·to·draw·the | 58 | ····························understand·that·this·is·just·pure·html·to·draw·the |
| 23 | ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line | 59 | ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line |
| Offset 28, 37 lines modified | Offset 64, 43 lines modified | ||
| 28 | ····························Often·you·want·to·define·tags·that·have·an·opening | 64 | ····························Often·you·want·to·define·tags·that·have·an·opening |
| 29 | ····························and·a·closing·variant.·For·this·purpose·you·should | 65 | ····························and·a·closing·variant.·For·this·purpose·you·should |
| 30 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a | 66 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a |
| 31 | ····························blockdef·tag·it·will·automatically·search·for·the | 67 | ····························blockdef·tag·it·will·automatically·search·for·the |
| 32 | ····························matching·closing·tag·and·put·everything·between | 68 | ····························matching·closing·tag·and·put·everything·between |
| 33 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an | 69 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an |
| 34 | ····························example·for·this. | 70 | ····························example·for·this. |
| 35 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 71 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_.E_.T·macroname1="macrovalue1" |
| 72 | ····························[macroname2="macrovalue2"·...]·[GLOBAL]> | ||
| 36 | ····························[noexpand]> | ||
| 37 | ···························· 2.·<...·$macroname·...> | ||
| 38 | ···························· 3.·<...·${macroname}·...> | ||
| 39 | ···························· | 73 | ···························· 2. |
| 40 | ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8* | 74 | ····························*\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* |
| 41 | ····························More·sophisticated·tags·accept·parameters.·The | 75 | ····························More·sophisticated·tags·accept·parameters.·The |
| 42 | ····························option·parameter·lets·multiple·metatag·parameters | 76 | ····························option·parameter·lets·multiple·metatag·parameters |
| 43 | ····························be·named·and·expanded·inside·the·def·or·blockdef | 77 | ····························be·named·and·expanded·inside·the·def·or·blockdef |
| 44 | ····························block: | 78 | ····························block: |
| 79 | ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name | ||
| 80 | ····························alt"> | ||
| 81 | ···························· 2.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/$ | ||
| 82 | ····························{name}"·alt="${alt}">; | ||
| 45 | ···························· | 83 | ···························· 3.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
| 84 | ···························· 4. | ||
| 85 | ···························· 5.· ·<sharedimg·name="bubble.gif"·alt="Bubble | ||
| 46 | ···························· | 86 | ····························image"> |
| 47 | ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8* | 87 | ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8* |
| 48 | ····························When·you·are·using·templates,·the·html·should·only | 88 | ····························When·you·are·using·templates,·the·html·should·only |
| 49 | ····························be·written·by·the·template·file.·The·normal·htp | 89 | ····························be·written·by·the·template·file.·The·normal·htp |
| 50 | ····························files·should·just·define·macros·that·are·used·later | 90 | ····························files·should·just·define·macros·that·are·used·later |
| 51 | ····························in·the·template.·So·you·may·want·to·write·block | 91 | ····························in·the·template.·So·you·may·want·to·write·block |
| 52 | ····························tags·that·just·save·the·block·in·a·macro·for·later | 92 | ····························tags·that·just·save·the·block·in·a·macro·for·later |
| 53 | ····························use.·Although·this·is·possible·with·htp·it·is·quite | 93 | ····························use.·Although·this·is·possible·with·htp·it·is·quite |
| 54 | ····························tricky,·so·here·we·present·the·way·to·do·this: | 94 | ····························tricky,·so·here·we·present·the·way·to·do·this: |
| 55 | ···························· 1.·<a·href="mailto:$email">mailto·hyperlink</a> | ||
| 56 | ···························· | 95 | ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·macroname·[parameters·...] |
| 96 | ····························[noexpand]> | ||
| 97 | ···························· 2.·<...·$macroname·...> | ||
| 98 | ···························· 3.·<...·${macroname}·...> | ||
| 57 | ···························· | 99 | ···························· 4. |
| 58 | ····························This·defines·a·block·macro·named·section.·This | 100 | ····························This·defines·a·block·macro·named·section.·This |
| 59 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the | 101 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the |
| 60 | ····························sections.·It·is·increased·for·every·section·(line | 102 | ····························sections.·It·is·increased·for·every·section·(line |
| 61 | ····························3)·and·then·the·block·macro·name·is·build·from·this | 103 | ····························3)·and·then·the·block·macro·name·is·build·from·this |
| 62 | ····························counter.·So·the·first·section·is·stored·in·block | 104 | ····························counter.·So·the·first·section·is·stored·in·block |
| 63 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ | 105 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ |
| 64 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these | 106 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these |
| Offset 81, 15 lines modified | Offset 123, 21 lines modified | ||
| 81 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it | 123 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it |
| 82 | ····························would·be·expanded·when·defining·the·sect-1·macro | 124 | ····························would·be·expanded·when·defining·the·sect-1·macro |
| 83 | ····························and·when·using·it·later·in·the·template.·Generally | 125 | ····························and·when·using·it·later·in·the·template.·Generally |
| 84 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use | 126 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use |
| 85 | ····························expand·in·a·block·around·it. | 127 | ····························expand·in·a·block·around·it. |
| 86 | ····························To·close·this·example·we·show·how·to·expand·the | 128 | ····························To·close·this·example·we·show·how·to·expand·the |
| 87 | ····························sect-${sect-ctr}·blocks·in·the·template: | 129 | ····························sect-${sect-ctr}·blocks·in·the·template: |
| 88 | ···························· 1.· | 130 | ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="header.hti"> |
| 131 | ···························· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
| 132 | ···························· 3.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
| 133 | ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
| 134 | ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
| 135 | ···························· 6.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> | ||
| 136 | ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> | ||
| 89 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the | 137 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the |
| 90 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined | 138 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined |
| 91 | ····························the·body·is·evaluated,·which·expands·the·macro·and | 139 | ····························the·body·is·evaluated,·which·expands·the·macro·and |
| 92 | ····························increases·sect-ctr.·Afterwards·the·while·condition | 140 | ····························increases·sect-ctr.·Afterwards·the·while·condition |
| 93 | ····························is·checked·again·to·check·for·sect-2·macro.·This | 141 | ····························is·checked·again·to·check·for·sect-2·macro.·This |
| 94 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. | 142 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. |
| 95 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* | 143 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* |
| Offset 114, 15 lines modified | Offset 114, 16 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | 121 | <span·class="htp-tag"><<a·href="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"[·...·truncated·by·diffoscope;·len:·69,·SHA:·ea634dbab5ac4ccf4b06c709a9fcaf6deb645033f0530f94544de5e99f89a6df·...·]</span>></span><br> | |
| 122 | <br> | ||
| 122 | </code></p> | 123 | </code></p> |
| 123 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
| 124 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing | 125 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing |
| 125 | options·inside·the·actual·document·being·processed.··The·options·are | 126 | options·inside·the·actual·document·being·processed.··The·options·are |
| 126 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not | 127 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not |
| 127 | preceded·by·a·‘-’·character. | 128 | preceded·by·a·‘-’·character. |
| 128 | <P> | 129 | <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:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.Q_.U_.O_.T_.E·TAG·[ATTRIBUTE=VALUE·...]> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e | ||
| 5 | ·_\x8 | 6 | ·_\x8T_.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* |
| 6 | ·_\x8 | 7 | ·_\x8U_.s_.a_.g_.e·····················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify |
| 7 | · | 8 | ·HTP·Tags··················processing·options·inside·the·actual·document·being |
| 8 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············processed.·The·options·are·used·exactly·as·they |
| 9 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················would·be·on·the·command-line,·although·they·are·not |
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············preceded·by·a·‘-’·character. |
| 11 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················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 |
| 12 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················_\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. |
| 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 26, 14 lines modified | Offset 26, 15 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 114, 16 lines modified | Offset 114, 19 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | <span·class="htp-tag"><<a·href=" | 121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span[·...·truncated·by·diffoscope;·len:·30,·SHA:·bf88f72162ceca1a5226a940941172852979163ed14c33dbc0e7b7890785fb95·...·]</span>></span><br> |
| 122 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>></span>;<br> | ||
| 123 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
| 122 | <br> | 124 | <br> |
| 125 | ·<span·class="htp-tag"><sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>></span><br> | ||
| 123 | </code></p> | 126 | </code></p> |
| 124 | <h2>synopsis</h2> | 127 | <h2>synopsis</h2> |
| 125 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary | 128 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary |
| 126 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the | 129 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the |
| 127 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> | 130 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> |
| 128 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you | 131 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you |
| 129 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text | 132 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text |
| Offset 1, 28 lines modified | Offset 1, 28 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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··············<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="sharedimg"·option="name·alt"> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="macrovalue2"·...]·[GLOBAL]> | ||
| 6 | ·_\x8 | 5 | ·_\x8L_.i_.c_.e_.n_.s_.e··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="/home/sharedimages/${name}" |
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">; | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
| 8 | ·HTP·Tags | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
| 7 | · | 10 | · ···_.B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 8 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary |
| 9 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················files·besides·the·main·HTML·file.·The·text·between |
| 10 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················this·tag·and·the·corresponding·</OUTPUT>·tag·is |
| 11 | · ···_\x8 | 14 | · ···_\x8I_.F····················written·to·output·file. |
| 12 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················Normally·the·outputfile·is·cleared·before·writing |
| 13 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················to·it,·but·you·can·use·the·APPEND·attribute·to |
| 14 | · ···_\x8I_\x8 | 17 | · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············extend·an·existing·file.·The·text·written·to·the |
| 15 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················file·is·normally·not·expanded,·i.e.·all·tags·inside |
| 16 | · | 19 | ·[>]·_.O_.U_.T_.P_.U_.T················this·block·are·not·executed·but·written·unmodified |
| 17 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D |
| 18 | · ···_\x8 | 21 | · ···_\x8S_.E_\x8T···················attribute·to·override·this·behaviour. |
| 19 | ·[>]·_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
| 21 | · ···_\x8S_\x8E_\x8T | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F |
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T |
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
| Offset 30, 14 lines modified | Offset 30, 17 lines modified | ||
| 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
| 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
| 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
| 33 | hosted·by | 33 | hosted·by |
| 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
| Offset 114, 21 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="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> | ||
| 122 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
| 121 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>></span><br> | ||
| 122 | · ·<span·class="htp-tag"><b></span><span·class="htp-tag"><i></span><br> | ||
| 123 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
| 124 | · ·<span·class="htp-tag"></i></span><span·class="htp-tag"></b></span><br> | ||
| 125 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
| 126 | <br> | 123 | <br> |
| 127 | · | 124 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> |
| 125 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
| 126 | ·(no·URL·replacement).<br> | ||
| 127 | <br> | ||
| 128 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
| 129 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
| 130 | <br> | ||
| 131 | ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
| 132 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
| 133 | ·will·not·be·added.<br> | ||
| 134 | <br> | ||
| 135 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
| 136 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
| 137 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
| 138 | <br> | ||
| 139 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
| 140 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
| 141 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
| 142 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
| 128 | </code></p> | 143 | </code></p> |
| 129 | <h2>synopsis</h2> | 144 | <h2>synopsis</h2> |
| 130 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise | 145 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise |
| 131 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a | 146 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a |
| 132 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early | 147 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early |
| 133 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still | 148 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still |
| 134 | done·inside·a·quote·block. | 149 | done·inside·a·quote·block. |
| Offset 1, 36 lines modified | Offset 1, 64 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]_\x8 | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.m_.a_.g_.e_.u_.r_.l·url="http://my.domain.org/ |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<b><i> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·</i></b> | ||
| 8 | ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T | ||
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·This·is·<bolditalic>bold·and·italic</bolditalic> | ||
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
| 12 | · ···_\x8D_\x8E_\x8F···················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E··················be·interpreted·by·HTP.·It·may·be·useful·in | ||
| 14 | · ···_\x8I_\x8F····················conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to | ||
| 15 | · ···_\x8I_\x8N_\x8C···················prevent·early·expansion·of·some·contained·blocks. | ||
| 16 | · | 5 | ·_.L_.i_.c_.e_.n_.s_.e···················"·path="/var/www/my.domain/"> |
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················var/www/other.domain/"> | ||
| 8 | ·HTP·Tags | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·the·local·filename·"logo.gif"·will·be·used·to | ||
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············determine·image·dimensions | ||
| 12 | · ···_\x8D_\x8E_\x8F··················· ·(no·URL·replacement). | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
| 14 | · ···_\x8I_\x8F···················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 15 | · ···_\x8I_\x8N_\x8C···················my.domain.org/logo.gif"> | ||
| 16 | · ···_\x8I_\x8M_\x8G··················· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············will·be·used. |
| 18 | · ···_\x8O_\x8P_\x8T | 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_. | 19 | · ···_\x8O_.U_.T_.P_.U_.T················ ·But·for·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="http:// |
| 20 | ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E·················other.domain.org/logo.gif"> | ||
| 21 | · ···_\x8S_\x8E_\x8T··················· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················so·the·image·dimensions | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·will·not·be·added. | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 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················· ·Order·is·important;·last·IMAGEURL·tag·takes |
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················precedence: | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················test/"> | ||
| 30 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
| 31 | ····························src="/test/image.gif"> are·mapped·to | ||
| 32 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
| 33 | ····························image.gif,·resp. | ||
| 34 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
| 35 | ····························swapped,·the·second | ||
| 36 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
| 37 | ····························image.gif. | ||
| 38 | ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
| 39 | ····························Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise | ||
| 40 | ····························be·interpreted·by·HTP.·It·may·be·useful·in | ||
| 41 | ····························conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to | ||
| 42 | ····························prevent·early·expansion·of·some·contained·blocks. | ||
| 43 | ····························Note·that·'$'·evaluation·is·still·done·inside·a | ||
| 44 | ····························quote·block. | ||
| Offset 114, 32 lines modified | Offset 114, 30 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
| 122 | · ·block<br> | ||
| 123 | <span·class="htp-tag"><<a·href=" | 121 | <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">][·...·truncated·by·diffoscope;·len:·101,·SHA:·902ed330c7bb28d683f1041df479321af5b8c2d9f1a54b32efac5fc90bf0c836·...·]>></span><br> |
| 122 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
| 123 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
| 124 | <br> | 124 | <br> |
| 125 | </code></p> | 125 | </code></p> |
| 126 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
| 127 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded | 127 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded |
| 128 | anywhere·in·the·HTML·document.··To·create·a·macro: | 128 | anywhere·in·the·HTML·document.··To·create·a·macro: |
| 129 | ··<p><code> | 129 | ··<p><code> |
| 130 | <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> | ||
| 131 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> | ||
| 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">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
| 133 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
| 130 | <span·class="htp-tag"><<a·href=" | 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">sect-ctr</span>></span><br> |
| 131 | ·<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> | ||
| 132 | <span·class="htp-tag"><<a·href=" | 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> |
| 136 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> | ||
| 133 | <br> | ||
| 134 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span><br> | ||
| 135 | <br> | ||
| 136 | 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> | ||
| 137 | 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> | ||
| 138 | 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> | ||
| 139 | </code></p> | 137 | </code></p> |
| 140 | <P> | 138 | <P> |
| 141 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> | 139 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> |
| 142 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular | 140 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular |
| 143 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the | 141 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the |
| 144 | <A·HREF="use.html">'$'</A>·operator. | 142 | <A·HREF="use.html">'$'</A>·operator. |
| 145 | <P> | 143 | <P> |
| Offset 1, 40 lines modified | Offset 1, 36 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\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_.s_.e·macroname·[parameters·...]·[noexpand]> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<...·$macroname·...> |
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················< | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<...·${macroname}·...> |
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e |
| 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be |
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················expanded·anywhere·in·the·HTML·document.·To·create·a | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················expanded·anywhere·in·the·HTML·document.·To·create·a |
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············macro: | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············macro: |
| 12 | · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
| 14 | · ···_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
| 15 | · ···_\x8I_\x8N_\x8C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
| 12 | · ···_\x8 | 16 | · ···_\x8I_.M_.G··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.n_.c·sect-ctr> |
| 13 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L·············· ·<_.[_.[_.r_.e_.f_.]_.]_./_.w_.h_.i_.l_.e> |
| 14 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="footer.hti"> |
| 15 | · ···_\x8I_\x8N_\x8C | ||
| 16 | · ···_\x8I_\x8M_\x8G···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
| 18 | · ···_\x8O_\x8P_\x8T···················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················email="jnelson@crl.com"> | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> | ||
| 21 | ·[>]·_\x8S_\x8E_\x8T···················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················email="jnelson@crl.com"> | ||
| 23 | · ···_\x8U_. | 19 | · ···_\x8O_.U_.T_.P_.U_.T················The·macro·"emailaddr"·can·then·be·expanded·later. |
| 24 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a |
| 25 | · | 21 | ·[>]·_.S_.E_.T···················tag·(i.e.,·into·the·regular·text).·If·the·macro |
| 26 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················needs·to·be·expanded·inside·a·markup·tag,·use·the |
| 27 | · | 23 | · ···_.U_.N_.S_.E_.T·················_\x8'_\x8$_\x8'·operator. |
| 28 | · | 24 | · ···_.U_.S_.E_.,_.·_.$················Multiple·macros·can·be·declared·in·a·single·markup |
| 29 | · | 25 | · ···_.W_.H_.I_.L_.E·················tag,·as·the·second·syntax·line·shows. |
| 30 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················SET·should·only·be·used·for·a·single·line's·worth |
| 31 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················of·text.·Multi-line·macros·can·be·defined·with·the |
| 32 | ·· | 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 |
| 33 | · | 29 | ·_.B_.u_.g_.s······················macro·contains·a·quotation·character·and·you·don't |
| 34 | ····························want·to·fool·around·with·special·escape·characters. | 30 | ····························want·to·fool·around·with·special·escape·characters. |
| 35 | ····························Macros·can·be·redefined·by·using·another·SET | 31 | ····························Macros·can·be·redefined·by·using·another·SET |
| 36 | ····························command·with·the·same·macro·name.·The·prior | 32 | ····························command·with·the·same·macro·name.·The·prior |
| 37 | ····························definition·will·be·destroyed,·however.·Also,·the | 33 | ····························definition·will·be·destroyed,·however.·Also,·the |
| 38 | ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T | 34 | ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T |
| 39 | ····························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·Wed·Sep·17,·2025 |
| 24 | ·</body> | 24 | ·</body> |
| 25 | </html> | 25 | </html> |
| Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
| 1 | ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* | 1 | ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 2 | Navigation·bar·[Photo] | 2 | Navigation·bar·[Photo] |
| 3 | _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020 | 3 | _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020 |
| 4 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243 | 4 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243 |
| 5 | ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242 | 5 | ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242 |
| 6 | =============================================================================== | 6 | =============================================================================== |
| 7 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 7 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
| 8 | last·updated· | 8 | last·updated·Wed·Sep·17,·2025 |
| Offset 5, 9 lines modified | Offset 5, 9 lines modified | ||
| 5 | <meta·name="Generator"·content="htp·1.19"> | 5 | <meta·name="Generator"·content="htp·1.19"> |
| 6 | </head> | 6 | </head> |
| 7 | <body> | 7 | <body> |
| 8 | This·page·was·produced·by·htp. | 8 | This·page·was·produced·by·htp. |
| 9 | <hr> | 9 | <hr> |
| 10 | Copyright·by·Joe·Doe, | 10 | Copyright·by·Joe·Doe, |
| 11 | <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>, | 11 | <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>, |
| 12 | last·updated· | 12 | last·updated·Wed·Sep·17,·2025 |
| 13 | </body> | 13 | </body> |
| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | This·page·was·produced·by·htp. | 1 | This·page·was·produced·by·htp. |
| 2 | =============================================================================== | 2 | =============================================================================== |
| 3 | Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated· | 3 | Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Wed·Sep·17,·2025 |
| Offset 13, 10 lines modified | Offset 13, 10 lines modified | ||
| 13 | <p> | 13 | <p> |
| 14 | As·you·can·see·the·file·contains·almost·only·the·contents. | 14 | As·you·can·see·the·file·contains·almost·only·the·contents. |
| 15 | </p> | 15 | </p> |
| 16 | ···</td></tr> | 16 | ···</td></tr> |
| 17 | ··</table> | 17 | ··</table> |
| 18 | ··<hr> | 18 | ··<hr> |
| 19 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> | 19 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> |
| 20 | ··last·updated· | 20 | ··last·updated·Wed·Sep·17,·2025 |
| 21 | ·</body> | 21 | ·</body> |
| 22 | </html> | 22 | </html> |
| Offset 1, 6 lines modified | Offset 1, 6 lines modified | ||
| 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8* | 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8* |
| 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. | 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. |
| 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e | 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e |
| 4 | =============================================================================== | 4 | =============================================================================== |
| 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
| 6 | last·updated· | 6 | last·updated·Wed·Sep·17,·2025 |
| Offset 13, 10 lines modified | Offset 13, 10 lines modified | ||
| 13 | ·<p> | 13 | ·<p> |
| 14 | ·As·you·can·see·the·file·contains·almost·only·the·contents. | 14 | ·As·you·can·see·the·file·contains·almost·only·the·contents. |
| 15 | ·</p> | 15 | ·</p> |
| 16 | ···</td></tr> | 16 | ···</td></tr> |
| 17 | ··</table> | 17 | ··</table> |
| 18 | ··<hr> | 18 | ··<hr> |
| 19 | ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br> | 19 | ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br> |
| 20 | ··last·updated· | 20 | ··last·updated·Wed·Sep·17,·2025 |
| 21 | ·</body> | 21 | ·</body> |
| 22 | </html> | 22 | </html> |
| Offset 1, 6 lines modified | Offset 1, 6 lines modified | ||
| 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8* | 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. | 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. |
| 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e | 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e |
| 4 | =============================================================================== | 4 | =============================================================================== |
| 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
| 6 | last·updated· | 6 | last·updated·Wed·Sep·17,·2025 |
| Offset 114, 17 lines modified | Offset 114, 15 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">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="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noexpand</span><span·class="ebnf">]</span>></span><br> | ||
| 122 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
| 123 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
| 124 | <br> | 122 | <br> |
| 125 | </code></p> | 123 | </code></p> |
| 126 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
| 127 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags | 125 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags |
| 128 | created·by·<A·HREF="def.html">DEF</A>·and·<A | 126 | created·by·<A·HREF="def.html">DEF</A>·and·<A |
| 129 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF | 127 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF |
| 130 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by | 128 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by |
| Offset 1, 21 lines modified | Offset 1, 21 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_.E_.T·macroname1="macrovalue1" |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· | 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··················<...·${macroname}·...> | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
| 8 | · | 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* |
| 9 | · | 8 | ·HTP·Tags··················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags |
| 10 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the |
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················UNDEF·command.·Once·removed,·the·metatag·will·no |
| 12 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············longer·be·recognized·by·htp·until·it·is·reassigned. |
| 13 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················Multiple·metatags·can·be·removed·by·placing·each |
| 14 | · ···_\x8I_. | 13 | · ···_\x8F_.I_.L_.E··················name·as·an·attribute. |
| 14 | · ···_\x8I_\x8F | ||
| 15 | · ···_\x8I_\x8N_\x8C | 15 | · ···_\x8I_\x8N_\x8C |
| 16 | · ···_\x8I_\x8M_\x8G | 16 | · ···_\x8I_\x8M_\x8G |
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L |
| 18 | · ···_\x8O_\x8P_\x8T | 18 | · ···_\x8O_\x8P_\x8T |
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T |
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E |
| 21 | · ···_\x8S_\x8E_\x8T | 21 | · ···_\x8S_\x8E_\x8T |
| Offset 27, 15 lines modified | Offset 27, 14 lines modified | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
| 29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
| 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
| 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
| 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
| 33 | hosted·by | 33 | hosted·by |
| 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
| 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
| 36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
| Offset 114, 44 lines modified | Offset 114, 46 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>></span><br> | ||
| 122 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>></span><br> | ||
| 121 | <span·class="htp-tag"><<a·href=" | 123 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> |
| 122 | <span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
| 123 | <br> | 124 | · ·<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> |
| 125 | · · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 126 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 127 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
| 124 | </code></p> | 128 | </code></p> |
| 125 | <h2>synopsis</h2> | 129 | <h2>synopsis</h2> |
| 126 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. | 130 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. |
| 127 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. | 131 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. |
| 128 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or | 132 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or |
| 129 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The | 133 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The |
| 130 | old·macro·definition·will·be·removed·automatically.) | 134 | old·macro·definition·will·be·removed·automatically.) |
| 131 | <P> | 135 | <P> |
| 132 | For·example: | 136 | For·example: |
| 133 | ··<p><code> | 137 | ··<p><code> |
| 138 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> | ||
| 139 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> | ||
| 140 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
| 141 | · ·<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> | ||
| 134 | <span·class="htp-tag"><<a·href=" | 142 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> |
| 135 | · ·block<br> | ||
| 136 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/ | 143 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> |
| 137 | <br> | 144 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> |
| 138 | </code></p> | 145 | </code></p> |
| 139 | <P> | 146 | <P> |
| 140 | More·than·one·macro·may·be·removed·in·the·same·tag: | 147 | More·than·one·macro·may·be·removed·in·the·same·tag: |
| 141 | ··<p><code> | 148 | ··<p><code> |
| 149 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>></span><br> | ||
| 150 | · ·...<br> | ||
| 142 | <span·class="htp-tag"><<a·href=" | 151 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> |
| 143 | ·<span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span>send·email<span·class="htp-tag"></a></span><br> | ||
| 144 | <span·class="htp-tag"><<a·href=" | 152 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> |
| 145 | <br> | ||
| 146 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span><br> | ||
| 147 | <br> | ||
| 148 | 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 | 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 | And·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
| 151 | </code></p> | 153 | </code></p> |
| 152 | <p> | 154 | <p> |
| 153 | </td> | 155 | </td> |
| 154 | </tr> | 156 | </tr> |
| 155 | <tr> | 157 | <tr> |
| 156 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 158 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
| 157 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> | 159 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> |
| Offset 1, 38 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:·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··············<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0"> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_.[_.[_.r_.e_.f_.]_.]_. | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="section"> |
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.n_.c·sect-ctr> |
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand | ||
| 8 | ·HTP·Tags··················global> | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> | ||
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
| 7 | · | 12 | · ···_.D_.E_.F···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 8 | · | 13 | · ···_.F_.I_.L_.E··················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's |
| 9 | · ···_\x8 | 14 | · ···_\x8I_.F····················definition.·The·macro·is·subsequently·not·available |
| 10 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················for·use·in·the·pre-processed·files.·(Note·that |
| 11 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or |
| 12 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable. |
| 13 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················The·old·macro·definition·will·be·removed |
| 14 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················automatically.) |
| 15 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················For·example: |
| 16 | · ···_\x8I_\x8M_\x8G···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·[NOT]·conditional> | ||
| 17 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="header.hti"> |
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
| 23 | ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
| 18 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.w_.h_.i_.l_.e> |
| 19 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="footer.hti"> |
| 20 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················More·than·one·macro·may·be·removed·in·the·same·tag: |
| 21 | · ···_\x8S_\x8E_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·stuff> | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<a·href=$email>send·email</a> | ||
| 23 | ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················email="jnelson@crl.com"> | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················ | 29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10"> |
| 30 | ···························· · ·... | ||
| 30 | ···························· | 31 | ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i> |
| 31 | ····························e | 32 | ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E> |
| Offset 114, 18 lines modified | Offset 114, 21 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
| 122 | 121 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> | |
| 122 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> | ||
| 123 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
| 124 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
| 125 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> | ||
| 123 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/ | 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> |
| 124 | <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">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> |
| 125 | </code></p> | 128 | </code></p> |
| 126 | <h2>synopsis</h2> | 129 | <h2>synopsis</h2> |
| 127 | <strong>USE</strong>·will·expand·macros·that·have·been·previously | 130 | <strong>USE</strong>·will·expand·macros·that·have·been·previously |
| 128 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A | 131 | declared·with·either·<A·HREF="set.html">SET</A>·or·<A |
| 129 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other | 132 | HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other |
| 130 | markup·tags. | 133 | markup·tags. |
| 131 | <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will | 134 | <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will |
| Offset 162, 21 lines modified | Offset 165, 18 lines modified | ||
| 162 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or | 165 | Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or |
| 163 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. | 166 | any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used. |
| 164 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or | 167 | The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or |
| 165 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it | 168 | may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it |
| 166 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further | 169 | replaces·the·macro·name·by·the·contents·of·the·macro·without·further |
| 167 | processing·the·contents. | 170 | processing·the·contents. |
| 168 | ··<p><code> | 171 | ··<p><code> |
| 169 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> | ||
| 170 | <font·size="-2"> 2.·</font> ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> | ||
| 171 | <font·size="-2"> | 172 | <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> |
| 172 | <font·size="-2"> | 173 | <font·size="-2"> 2.·</font> · ·...<br> |
| 173 | <font·size="-2"> | 174 | <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> |
| 174 | <font·size="-2"> | 175 | <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> |
| 175 | <font·size="-2"> 7.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> | ||
| 176 | </code></p> | 176 | </code></p> |
| 177 | <P> | 177 | <P> |
| 178 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and | 178 | The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and |
| 179 | should·never·cause·confusion·with·surrounding·text.··If·no·curly | 179 | should·never·cause·confusion·with·surrounding·text.··If·no·curly |
| 180 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation | 180 | braces·are·used·the·macro·name·consists·either·of·a·single·punctuation |
| 181 | character·or·the·maximum·sequence·of·letters,·digits,·"-" | 181 | character·or·the·maximum·sequence·of·letters,·digits,·"-" |
| 182 | and·"_"·that·follows·it. | 182 | and·"_"·that·follows·it. |
| 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:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_.i_.l_.e·include="header.hti"> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="1"> |
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_.[_.[_.r_.e_.f_.]_.]_. | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_.[_.[_.r_.e_.f_.]_.]_.w_.h_.i_.l_.e·sect-${sect-ctr}> |
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·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"> | ||
| 8 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 9 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously |
| 10 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be |
| 11 | · ···_\x8 | 14 | · ···_\x8I_.F····················used·outside·of·other·markup·tags. |
| 12 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················If·you·USE·a·block·macro·the·value·of·expanded |
| 13 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················block·macros·will·be·further·parsed·by·htp.·This·is |
| 14 | · ···_\x8I_\x8 | 17 | · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············maybe·not·what·you·want,·for·example,·if·the·use·is |
| 15 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use |
| 16 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················the·noexpand·attribute·to·prevent·further |
| 17 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················expansion. |
| 18 | · ···_\x8 | 21 | · ···_\x8S_.E_\x8T···················USE·will·accept·additional·parameters,·which·are |
| 19 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················"local"·macros·for·the·expanded·macro.·This·is·only |
| 20 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T |
| 21 | · | 24 | ·[>]·_.U_.S_.E_.,_.·_.$················cannot·have·parameters·passed.·For·example: |
| 22 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E················· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·stuff> |
| 23 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-················· 2.· ·<a·href=$email>send·email</a> |
| 24 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y··················· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> |
| 25 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t················· 4. |
| 26 | · | 29 | ·_.B_.u_.g_.s······················ 5.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> |
| 27 | 30 | ···························· 6. | |
| 28 | 31 | ···························· 7.·This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff | |
| 29 | 32 | ····························email="jnelson@crl.com"> | |
| 30 | ···························· 8.·But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> | 33 | ···························· 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 | 34 | ···························· 9.·And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff |
| 32 | ····························email="jnelson@crl.com"> | 35 | ····························email="jnelson@crl.com"> |
| 33 | ····························(See·below·for·a·description·of·the·'$'·operator.) | 36 | ····························(See·below·for·a·description·of·the·'$'·operator.) |
| 34 | ····························The·example·on·line·7·works·because·"stuff"·has | 37 | ····························The·example·on·line·7·works·because·"stuff"·has |
| 35 | ····························been·declared·as·a·block·macro,·and·the·tag·is | 38 | ····························been·declared·as·a·block·macro,·and·the·tag·is |
| 36 | ····························passing·the·"email"·macro·to·the·"stuff"·macro. | 39 | ····························passing·the·"email"·macro·to·the·"stuff"·macro. |
| Offset 43, 21 lines modified | Offset 46, 18 lines modified | ||
| 43 | ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any | 46 | ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any |
| 44 | ····························other·standard·HTML·or·htp·tag,·the·'$'·operator | 47 | ····························other·standard·HTML·or·htp·tag,·the·'$'·operator |
| 45 | ····························must·be·used.·The·'$'·should·be·immediately | 48 | ····························must·be·used.·The·'$'·should·be·immediately |
| 46 | ····························followed·by·the·macro·name,·which·may·or·may·not·be | 49 | ····························followed·by·the·macro·name,·which·may·or·may·not·be |
| 47 | ····························surrounded·by·curly·braces.·When·htp·encounters | 50 | ····························surrounded·by·curly·braces.·When·htp·encounters |
| 48 | ····························this·it·replaces·the·macro·name·by·the·contents·of | 51 | ····························this·it·replaces·the·macro·name·by·the·contents·of |
| 49 | ····························the·macro·without·further·processing·the·contents. | 52 | ····························the·macro·without·further·processing·the·contents. |
| 50 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> | ||
| 51 | ···························· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
| 52 | ···························· | 53 | ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i> |
| 53 | ···························· | 54 | ···························· 2.· · ·... |
| 54 | ···························· | 55 | ···························· 3.· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i> |
| 55 | ···························· | 56 | ···························· 4.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E> |
| 56 | ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> | ||
| 57 | ····························The·use·of·curly·braces·is·encouraged,·since·it·is | 57 | ····························The·use·of·curly·braces·is·encouraged,·since·it·is |
| 58 | ····························more·robust·and·should·never·cause·confusion·with | 58 | ····························more·robust·and·should·never·cause·confusion·with |
| 59 | ····························surrounding·text.·If·no·curly·braces·are·used·the | 59 | ····························surrounding·text.·If·no·curly·braces·are·used·the |
| 60 | ····························macro·name·consists·either·of·a·single·punctuation | 60 | ····························macro·name·consists·either·of·a·single·punctuation |
| 61 | ····························character·or·the·maximum·sequence·of·letters, | 61 | ····························character·or·the·maximum·sequence·of·letters, |
| 62 | ····························digits,·"-"·and·"_"·that·follows·it. | 62 | ····························digits,·"-"·and·"_"·that·follows·it. |
| 63 | ····························If·a·'$'·character·needs·to·be·kept·in·the·final | 63 | ····························If·a·'$'·character·needs·to·be·kept·in·the·final |
| Offset 114, 40 lines modified | Offset 114, 34 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | · ·<span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>></span><br> | ||
| 121 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>></span><br> | ||
| 122 | ·<span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span>send·email<span·class="htp-tag"></a></span><br> | ||
| 123 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 124 | <br> | ||
| 125 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span><br> | ||
| 126 | <br> | ||
| 127 | This·works:· · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
| 128 | But·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>></span><br> | ||
| 129 | And·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
| 130 | </code></p> | 122 | </code></p> |
| 131 | <h2>synopsis</h2> | 123 | <h2>synopsis</h2> |
| 132 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. | 124 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. |
| 133 | The·basic·form·is·shown·above. | 125 | The·basic·form·is·shown·above. |
| 134 | <P> | 126 | <P> |
| 135 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 127 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
| 136 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. | 128 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. |
| 137 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the | 129 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the |
| 138 | conditional·is·reversed: | 130 | conditional·is·reversed: |
| 139 | ··<p><code> | 131 | ··<p><code> |
| 140 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> | ||
| 141 | ·<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> | ||
| 142 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</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">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
| 144 | 132 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>></span><br> | |
| 133 | ·<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 | 134 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | |
| 135 | <br> | ||
| 136 | <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> | ||
| 137 | <br> | ||
| 138 | 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> | ||
| 146 | <span·class="htp-tag"><<a·href=" | 139 | 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> |
| 140 | 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> | ||
| 147 | </code></p> | 141 | </code></p> |
| 148 | <P> | 142 | <P> |
| 149 | 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 | 143 | 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 |
| 150 | macro's·existance: | 144 | macro's·existance: |
| 151 | ··<p><code> | 145 | ··<p><code> |
| 152 | · ·<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 | · ·<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> |
| 153 | </code></p> | 147 | </code></p> |
| Offset 1, 42 lines modified | Offset 1, 36 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url·login_name> | ||
| 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 | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················processing.·The·basic·form·is·shown·above. | ||
| 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 | ||
| 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 | ||
| 12 | · ···_\x8D_\x8E_\x8F···················evaluation·of·the·conditional·is·reversed: | ||
| 4 | · | 13 | · ···_.F_.I_.L_.E··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·stuff> |
| 5 | · | 14 | · ···_.I_.F···················· ·<a·href=$email>send·email</a> |
| 6 | · | 15 | · ···_.I_.N_.C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> |
| 7 | · | 16 | · ···_.I_.M_.G |
| 8 | · | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> |
| 9 | · ···_\x8 | 18 | · ···_\x8O_.P_\x8T |
| 10 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff |
| 11 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················email="jnelson@crl.com"> |
| 12 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> |
| 13 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff |
| 14 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················email="jnelson@crl.com"> |
| 15 | · ···_\x8I_\x8N_\x8C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
| 16 | · ···_\x8I_\x8M_\x8G···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············processing.·The·basic·form·is·shown·above. | ||
| 18 | · ···_\x8O_\x8P_\x8T···················"Conditional"·is·either·a·"compare"·or·"is·defined" | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················operation.·A·compare·operator·is·a·test·of·the | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················value·of·a·macro·against·a·literal·string.·If·the | ||
| 21 | · ···_\x8S_\x8E_\x8T···················NOT·tag·is·present·in·the·WHILE·markup,·the | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················evaluation·of·the·conditional·is·reversed: | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
| 25 | ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> | ||
| 30 | ···· | 24 | · ···_.U_.S_.E_.,_.·_.$················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a |
| 31 | ·· | 25 | ·[>]·_.W_.H_.I_.L_.E·················macro's·existance: |
| 32 | ···· | 26 | · ···_.<_.!_.-_.-_.-················· · ·<${tagName}·${attrName}=${value$ctr}> |
| 33 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················If·the·condition·is·true,·the·block·is·evaluated |
| 34 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················and·afterwards·the·WHILE·tag·is·evaluated·again.·If |
| 35 | · | 29 | ·_.B_.u_.g_.s······················the·'$'-operator·is·used·in·the·WHILE·tag·it·is |
| 36 | ····························also·reevaluated·on·each·iteration. | 30 | ····························also·reevaluated·on·each·iteration. |
| 37 | ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. | 31 | ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. |