| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | ·41252d36d829570b8ef8313e6397f41a·71320·debug·optional·htp-dbgsym_1.19-8_amd64.deb | 1 | ·41252d36d829570b8ef8313e6397f41a·71320·debug·optional·htp-dbgsym_1.19-8_amd64.deb |
| 2 | · | 2 | ·e2643b053425801e65d2fd954a768b38·115960·web·optional·htp_1.19-8_amd64.deb |
| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary |
| 2 | -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz |
| 3 | -rw-r--r--···0········0········0···112 | 3 | -rw-r--r--···0········0········0···112152·2020-06-14·23:21:19.000000·data.tar.xz |
| Offset 1, 12 lines modified | Offset 1, 12 lines modified | ||
| 1 | Package:·htp | 1 | Package:·htp |
| 2 | Version:·1.19-8 | 2 | Version:·1.19-8 |
| 3 | Architecture:·amd64 | 3 | Architecture:·amd64 |
| 4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> | 4 | Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com> |
| 5 | Installed-Size:·6 | 5 | Installed-Size:·611 |
| 6 | Depends:·libc6·(>=·2.38) | 6 | Depends:·libc6·(>=·2.38) |
| 7 | Section:·web | 7 | Section:·web |
| 8 | Priority:·optional | 8 | Priority:·optional |
| 9 | Homepage:·http://htp.sourceforge.net | 9 | Homepage:·http://htp.sourceforge.net |
| 10 | Description:·nice·HTML·pre-processor | 10 | Description:·nice·HTML·pre-processor |
| 11 | ·htp·is·an·HTML·pre-processor.·It·is·designed·to·be·a·flexible·authoring·tool | 11 | ·htp·is·an·HTML·pre-processor.·It·is·designed·to·be·a·flexible·authoring·tool |
| 12 | ·that·can·easily·be·integrated·into·the·HTML·design·process. | 12 | ·that·can·easily·be·integrated·into·the·HTML·design·process. |
| Offset 1, 27 lines modified | Offset 1, 27 lines modified | ||
| 1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./ | 1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./ |
| 2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/ | 2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/ |
| 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/ |
| 4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····72104·2020-06-14·23:21:19.000000·./usr/bin/htp | 4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····72104·2020-06-14·23:21:19.000000·./usr/bin/htp |
| 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/ |
| 6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/ | 6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/ |
| 7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/ | 7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/ |
| 8 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 8 | -rw-r--r--···0·root·········(0)·root·········(0)·····8180·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html |
| 9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp | 9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp |
| 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html |
| 11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp | 11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp |
| 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····7941·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html | 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····7941·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)·····7719·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html | 17 | -rw-r--r--···0·root·········(0)·root·········(0)·····7719·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html |
| 18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp | 18 | -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp |
| 19 | -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright | 19 | -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright |
| 20 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 20 | -rw-r--r--···0·root·········(0)·root·········(0)·····9953·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 34, 22 lines modified | Offset 34, 22 lines modified | ||
| 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)·····7909·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html | 39 | -rw-r--r--···0·root·········(0)·root·········(0)·····7909·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html |
| 40 | -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp | 40 | -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp |
| 41 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 41 | -rw-r--r--···0·root·········(0)·root·········(0)····12223·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)·····95 | 48 | -rw-r--r--···0·root·········(0)·root·········(0)·····7951·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)·····8626·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html | 50 | -rw-r--r--···0·root·········(0)·root·········(0)·····8626·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)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html |
| 53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp | 53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp |
| 54 | -rw-r--r--···0·root·········(0)·root·········(0)·····8142·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html | 54 | -rw-r--r--···0·root·········(0)·root·········(0)·····8142·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 |
| Offset 60, 36 lines modified | Offset 60, 36 lines modified | ||
| 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)····12226·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)·····7558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html | 69 | -rw-r--r--···0·root·········(0)·root·········(0)·····7558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html |
| 70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp | 70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp |
| 71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html | 71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html |
| 72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp | 72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp |
| 73 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 73 | -rw-r--r--···0·root·········(0)·root·········(0)·····7777·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)·····7503·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html | 86 | -rw-r--r--···0·root·········(0)·root·········(0)·····7503·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html |
| 87 | -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp | 87 | -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp |
| 88 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 88 | -rw-r--r--···0·root·········(0)·root·········(0)·····8234·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 104, 21 lines modified | Offset 104, 21 lines modified | ||
| 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)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html | 109 | -rw-r--r--···0·root·········(0)·root·········(0)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html |
| 110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp | 110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp |
| 111 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 111 | -rw-r--r--···0·root·········(0)·root·········(0)·····7689·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html |
| 112 | -rw-r--r--···0·root·········(0)·root·········(0)······658·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.htp | 112 | -rw-r--r--···0·root·········(0)·root·········(0)······658·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.htp |
| 113 | -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.html | 113 | -rw-r--r--···0·root·········(0)·root·········(0)·····7681·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.html |
| 114 | -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.htp | 114 | -rw-r--r--···0·root·········(0)·root·········(0)·····2959·2020-06-14·23:21:19.000000·./usr/share/doc/htp/usage.htp |
| 115 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 115 | -rw-r--r--···0·root·········(0)·root·········(0)····11930·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html |
| 116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp | 116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp |
| 117 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 117 | -rw-r--r--···0·root·········(0)·root·········(0)·····8001·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, 24 lines modified | Offset 114, 14 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>></span><br> | ||
| 122 | · <span·class="htp-tag"><h1></span><span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>></span><span·class="htp-tag"></h1></span><br> | ||
| 123 | · <span·class="htp-tag"><p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>></span><br> | ||
| 124 | · · <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
| 125 | · <span·class="htp-tag"></p></span><br> | ||
| 126 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
| 127 | <br> | ||
| 128 | ·<span·class="htp-tag"><section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>></span><br> | ||
| 129 | · ·This·is·a·fancy·section.<br> | ||
| 130 | ·<span·class="htp-tag"></section></span><br> | ||
| 131 | </code></p> | 121 | </code></p> |
| 132 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
| 133 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A | 123 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A |
| 134 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. | 124 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. |
| 135 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the | 125 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the |
| 136 | filename·is·considered·in·all·comparisons. | 126 | filename·is·considered·in·all·comparisons. |
| 137 | <p> | 127 | <p> |
| Offset 1, 47 lines modified | Offset 1, 37 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | ******·htp·on-line·reference·:·ALTTEXT·****** | 2 | ******·htp·on-line·reference·:·ALTTEXT·****** |
| 3 | Table_of·········*****·syntax·***** | 3 | Table_of·········*****·syntax·***** |
| 4 | Contents········· ·<[[ref]]blockdef·name="section"·option="title"> | ||
| 5 | ·Introduction··· · <h1><[[ref]]use·title></h1> | ||
| 6 | ·License········ · <p·class="section"> | ||
| 7 | ·Tutorial······· · · <[[ref]]use·block> | ||
| 8 | ·Usage·········· · </p> | ||
| 9 | ·HTP·Tags······· ·<[[ref]]/blockdef> | ||
| 10 | ·[>]·ALTTEXT | ||
| 11 | · ···BLOCK······ ·<section·title="My·Section"> | ||
| 12 | · ···BLOCKDEF··· · ·This·is·a·fancy·section. | ||
| 13 | · ···DEF········ ·</section> | ||
| 14 | 4 | Contents·········*****·synopsis·***** | |
| 15 | · | 5 | ·Introduction···ALTTEXT·declares·an·ALT·attribute·for·any·IMG·tag·with·a·SRC |
| 16 | · | 6 | ·License········matching·the·ALTTEXT·NAME.·Since·relative·paths·can·be·used·to |
| 17 | · | 7 | ·Tutorial·······point·to·the·same·image,·only·the·filename·is·considered·in |
| 18 | · | 8 | ·Usage··········all·comparisons. |
| 19 | · | 9 | ·HTP·Tags·······When·an·IMG·tag·with·a·matching·source·is·encountered,·htp |
| 20 | · | 10 | ·[>]·ALTTEXT····will·add·an·ALT·attribute·only·if·one·is·not·already·present. |
| 21 | · ··· | 11 | · ···BLOCK······This·allows·for·ALT·text·to·be·overridden·on·specific·images |
| 22 | · ··· | 12 | · ···BLOCKDEF···and·default·text·on·all·others. |
| 23 | · ··· | 13 | · ···DEF········For·example: |
| 24 | · ··· | 14 | · ···FILE·······An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any |
| 25 | · ··· | 15 | · ···IF·········ALT·mapping·for·this·image.·Successing·IMG·tags·with·a |
| 26 | · ··· | 16 | · ···INC········matching·SRC·name·are·not·changed. |
| 27 | · ··· | 17 | · ···IMG········Since·this·is·useful·for·an·image·used·throughout·a·set·of |
| 28 | · | 18 | · ···IMAGEURL···documents,·ALTTEXT·is·most·appropriate·in·an·include_file·or·a |
| 29 | · | 19 | · ···OPT········default_file. |
| 30 | · | 20 | · ···OUTPUT·····In·addition·to·ALTTEXT,·htp·can·also·automatically·add·WIDTH |
| 31 | 21 | · ···QUOTE······and·HEIGHT·attributes·to·IMG·tags. | |
| 22 | · ···SET | ||
| 23 | · ···UNDEF | ||
| 24 | · ···UNSET | ||
| 25 | · ···USE,_$ | ||
| 26 | · ···WHILE | ||
| 27 | · ···<!--- | ||
| 28 | ·History | ||
| 29 | ·Wish_list | ||
| 30 | ·Bugs | ||
| Offset 114, 24 lines modified | Offset 114, 14 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>></span><br> | ||
| 122 | · <span·class="htp-tag"><h1></span><span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>></span><span·class="htp-tag"></h1></span><br> | ||
| 123 | · <span·class="htp-tag"><p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>></span><br> | ||
| 124 | · · <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>></span><br> | ||
| 125 | · <span·class="htp-tag"></p></span><br> | ||
| 126 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
| 127 | <br> | ||
| 128 | ·<span·class="htp-tag"><section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>></span><br> | ||
| 129 | · ·This·is·a·fancy·section.<br> | ||
| 130 | ·<span·class="htp-tag"></section></span><br> | ||
| 131 | </code></p> | 121 | </code></p> |
| 132 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
| 133 | <p> | 123 | <p> |
| 134 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a | 124 | <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 | 125 | 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> | 126 | <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. | 127 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. |
| Offset 143, 38 lines modified | Offset 133, 24 lines modified | ||
| 143 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | 133 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to |
| 144 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | 134 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A |
| 145 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | 135 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster |
| 146 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing | 136 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing |
| 147 | tag·with·a·preceding·slash.·For·example: | 137 | tag·with·a·preceding·slash.·For·example: |
| 148 | </P> | 138 | </P> |
| 149 | ··<p><code> | 139 | ··<p><code> |
| 150 | ·<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> | ||
| 151 | ·<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> | ||
| 152 | · ·<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> | ||
| 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-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>></span><br> | ||
| 154 | · · ·<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> | ||
| 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="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
| 157 | </code></p> | 140 | </code></p> |
| 158 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, | 141 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, |
| 159 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> | 142 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> |
| 160 | <P> | 143 | <P> |
| 161 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were | 144 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were |
| 162 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with | 145 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with |
| 163 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their | 146 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their |
| 164 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) | 147 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) |
| 165 | </P> | 148 | </P> |
| 166 | ··<p><code> | 149 | ··<p><code> |
| 167 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> | ||
| 168 | ·<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> | ||
| 169 | ·<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> | ||
| 170 | · ·<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> | ||
| 171 | · ·<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> | ||
| 172 | ·<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> | ||
| 173 | <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> | ||
| 174 | </code></p> | 150 | </code></p> |
| 175 | <P> | 151 | <P> |
| 176 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is | 152 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is |
| 177 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are | 153 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are |
| 178 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the | 154 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the |
| 179 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a | 155 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a |
| 180 | parameter·is·required,·simply·expand·it·without·first·checking.··When | 156 | parameter·is·required,·simply·expand·it·without·first·checking.··When |
| Offset 1, 61 lines modified | Offset 1, 37 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | ******·htp·on-line·reference·:·DEF,·/DEF·****** | 2 | ******·htp·on-line·reference·:·DEF,·/DEF·****** |
| 3 | Table_of·········*****·syntax·***** | 3 | Table_of·········*****·syntax·***** |
| 4 | Contents········· ·<[[ref]]blockdef·name="section"·option="title"> | ||
| 5 | ·Introduction··· · <h1><[[ref]]use·title></h1> | ||
| 6 | ·License········ · <p·class="section"> | ||
| 7 | ·Tutorial······· · · <[[ref]]use·block> | ||
| 8 | ·Usage·········· · </p> | ||
| 9 | ·HTP·Tags······· ·<[[ref]]/blockdef> | ||
| 10 | · ···ALTTEXT | ||
| 11 | · ···BLOCK······ ·<section·title="My·Section"> | ||
| 12 | · ···BLOCKDEF··· · ·This·is·a·fancy·section. | ||
| 13 | ·[>]·DEF········ ·</section> | ||
| 14 | 4 | Contents·········*****·synopsis·***** | |
| 15 | · | 5 | ·Introduction···DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it |
| 16 | · | 6 | ·License········creates·new·tags.·The·mechanism·is·very·similar·to·BLOCK |
| 17 | · | 7 | ·Tutorial·······macros,·except·that·the·USE·tag·is·not·used·to·expand·them. |
| 18 | · | 8 | ·Usage··········Instead,·they·are·expanded·by·their·own·name.·For·example: |
| 19 | · | 9 | ·HTP·Tags·······Some·metatags·will·require·an·opening·and·closing·tag |
| 20 | · ··· | 10 | · ···ALTTEXT····(comparable·to |
| 21 | · ··· | 11 | · ···BLOCK······and |
| 22 | · ··· | 12 | · ···BLOCKDEF···).·In·this·case,·you·should·use·the·BLOCKDEF·macro.·Another |
| 23 | · | 13 | ·[>]·DEF········slightly·faster·alternative·is·to·use·two·metatags,·the |
| 24 | · ··· | 14 | · ···FILE·······opening·tag·and·the·closing·tag·with·a·preceding·slash.·For |
| 25 | · ··· | 15 | · ···IF·········example: |
| 26 | · ···WHILE······ ·<[[ref]]set·sect-ctr="0"> | ||
| 27 | · ···<!---······ ·<[[ref]]blockdef·name="section"> | ||
| 28 | ·History········ · ·<[[ref]]inc·sect-ctr> | ||
| 29 | ·Wish_list······ · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global> | ||
| 30 | ·Bugs··········· · · ·<[[ref]]use·block·noexpand> | ||
| 31 | ················· · ·<[[ref]]/block> | ||
| 32 | ················· ·<[[ref]]/blockdef> | ||
| 33 | 16 | · ···INC········You·should·really·use·BLOCKDEF,·though,·as·it·will·check·for | |
| 34 | 17 | · ···IMG········matching·end·tag.·It·is·not·that·slower. | |
| 35 | 18 | · ···IMAGEURL···Options·can·be·passed·to·a·metatag,·which·can·then·expand·as | |
| 36 | 19 | · ···OPT········if·it·were·a·SET·macro.·Option·names·are·parameterized·with | |
| 37 | 20 | · ···OUTPUT·····the·OPTION·attribute.·Multiple·options·can·be·listed·by | |
| 38 | 21 | · ···QUOTE······separating·their·name·with·a·space·(which·therefore·requires | |
| 39 | 22 | · ···SET········they·be·surrounded·by·quotes.) | |
| 40 | ·················<[[ref]]file·include="header.hti"> | ||
| 41 | ················· ·<[[ref]]set·sect-ctr="1"> | ||
| 42 | ················· ·<[[ref]]while·sect-${sect-ctr}> | ||
| 43 | ················· · ·<[[ref]]use·sect-${sect-ctr}> | ||
| 44 | ················· · ·<[[ref]]inc·sect-ctr> | ||
| 45 | ················· ·<[[ref]]/while> | ||
| 46 | ·················<[[ref]]file·include="footer.hti"> | ||
| 47 | 23 | · ···UNDEF······htp·will·do·very·specific·checking·of·parameters·when·a | |
| 48 | 24 | · ···UNSET······metatag·is·invoked.·htp·assumes·that·all·parameter·options·to | |
| 49 | 25 | · ···USE,_$·····the·metatag·are·optional.·This·is·why·the·HEADERIMG·definition | |
| 50 | 26 | · ···WHILE······uses·IF·to·verify·the·SIZE·option·is·defined·before·expanding | |
| 51 | 27 | · ···<!---······it·in·the·block.·If·a·parameter·is·required,·simply·expand·it | |
| 52 | 28 | ·History········without·first·checking.·When·htp·expands·the·metatag·and·the | |
| 53 | 29 | ·Wish_list······macro·is·not·defined,·it·will·halt·processing·and·complain | |
| 54 | 30 | ·Bugs···········with·an·error·message·and·the·required·macro·name.·Normally | |
| 55 | ·················htp·will·not·allow·parameters·not·listed·in·the·OPTION | 31 | ·················htp·will·not·allow·parameters·not·listed·in·the·OPTION |
| 56 | ·················attribute·to·be·added·to·the·tag.·This·is·why·the·third | 32 | ·················attribute·to·be·added·to·the·tag.·This·is·why·the·third |
| 57 | ·················invocation·of·HEADERIMG·will·fail.·There·is·no·ALT·parameter | 33 | ·················invocation·of·HEADERIMG·will·fail.·There·is·no·ALT·parameter |
| 58 | ·················specified·in·the·OPTION·attribute.·However,·there·is·the | 34 | ·················specified·in·the·OPTION·attribute.·However,·there·is·the |
| 59 | ·················special·option·*,·which·matches·every·other·parameter.·It | 35 | ·················special·option·*,·which·matches·every·other·parameter.·It |
| 60 | ·················should·be·used·to·pass·all·other·options·to·another·tag. | 36 | ·················should·be·used·to·pass·all·other·options·to·another·tag. |
| 61 | ·················Metatags·can·be·removed·by·using·the·UNDEF·tag.·Note·that·both | 37 | ·················Metatags·can·be·removed·by·using·the·UNDEF·tag.·Note·that·both |
| Offset 132, 25 lines modified | Offset 132, 14 lines modified | ||
| 132 | <P> | 132 | <P> |
| 133 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> | 133 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> |
| 134 | <P> | 134 | <P> |
| 135 | To·include·information·about·another·file,·such·as·an·archive·file·or | 135 | To·include·information·about·another·file,·such·as·an·archive·file·or |
| 136 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the | 136 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the |
| 137 | type·of·information·to·be·displayed: | 137 | type·of·information·to·be·displayed: |
| 138 | ··<p><code> | 138 | ··<p><code> |
| 139 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>></span><br> | ||
| 140 | · ·<span·class="htp-tag"><font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>></span><br> | ||
| 141 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
| 142 | <br> | ||
| 143 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>></span><br> | ||
| 144 | · ·<span·class="htp-tag"></font></span><br> | ||
| 145 | ·<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> | ||
| 146 | <br> | ||
| 147 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
| 148 | his·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> | ||
| 149 | 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> | ||
| 150 | </code></p> | 139 | </code></p> |
| 151 | <P> | 140 | <P> |
| 152 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the | 141 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the |
| 153 | information·is·displayed.··In·anything·other·than·byte·format,·the·information | 142 | information·is·displayed.··In·anything·other·than·byte·format,·the·information |
| 154 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number | 143 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number |
| 155 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional | 144 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional |
| 156 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no | 145 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no |
| Offset 8, 41 lines modified | Offset 8, 30 lines modified | ||
| 8 | ·Usage··········date,·or·size·may·be·added·to·the·output·file·as·well. | 8 | ·Usage··········date,·or·size·may·be·added·to·the·output·file·as·well. |
| 9 | ·HTP·Tags·······As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own | 9 | ·HTP·Tags·······As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own |
| 10 | · ···ALTTEXT····line,·so·the·following·is·perfectly·acceptable: | 10 | · ···ALTTEXT····line,·so·the·following·is·perfectly·acceptable: |
| 11 | · ···BLOCK······****·NAME,·TIME,·SIZE·**** | 11 | · ···BLOCK······****·NAME,·TIME,·SIZE·**** |
| 12 | · ···BLOCKDEF···To·include·information·about·another·file,·such·as·an·archive | 12 | · ···BLOCKDEF···To·include·information·about·another·file,·such·as·an·archive |
| 13 | · ···DEF········file·or·graphic·image,·specify·its·name·with·the·NAME | 13 | · ···DEF········file·or·graphic·image,·specify·its·name·with·the·NAME |
| 14 | ·[>]·FILE·······attribute·followed·by·the·type·of·information·to·be·displayed: | 14 | ·[>]·FILE·······attribute·followed·by·the·type·of·information·to·be·displayed: |
| 15 | · ···IF········· ·<[[ref]]def·name="bigfont"> | ||
| 16 | · ···INC········ · ·<font·size="+4"> | ||
| 17 | · ···IMG········ ·<[[ref]]/def> | ||
| 18 | · ···IMAGEURL | ||
| 19 | · ···OPT········ ·<[[ref]]def·name="/bigfont"> | ||
| 20 | · ···OUTPUT····· · ·</font> | ||
| 21 | · ···QUOTE······ ·<[[ref]]/def> | ||
| 22 | · ···SET | ||
| 23 | · ···UNDEF······ ·<bigfont>Some·large·text</bigfont> | ||
| 24 | · ···UNSET······his·fails:·<[[ref]]use·email> | ||
| 25 | · ···USE,_$·····And·this·fails:·<[[ref]]use·morestuff·email="jnelson@crl.com"> | ||
| 26 | · ··· | 15 | · ···IF·········For·file·size·information,·the·value·BYTE,·KBYTE,·etc. |
| 27 | · ··· | 16 | · ···INC········dictates·how·the·information·is·displayed.·In·anything·other |
| 28 | · | 17 | · ···IMG········than·byte·format,·the·information·is·displayed·in·floating- |
| 29 | · | 18 | · ···IMAGEURL···point·notation.·The·amount·of·precision·(the·number·of·digits |
| 30 | · | 19 | · ···OPT········to·the·right·of·the·decimal·point)·can·be·set·with·the |
| 31 | 20 | · ···OUTPUT·····optional·PRECISION·attribute.·The·default·precision·is·zero | |
| 32 | 21 | · ···QUOTE······(0),·which·means·no·fractional·portion·is·displayed. | |
| 33 | 22 | · ···SET········At·the·request·of·many·people,·the·TIME·and·DATE·attributes | |
| 34 | 23 | · ···UNDEF······will·now·accept·formatting·characters·that·are·passed·directly | |
| 35 | 24 | · ···UNSET······into·the·ANSI·C·library·function.·This·allows·for·the·time·and | |
| 36 | 25 | · ···USE,_$·····date·to·be·displayed·in·virtually·any·format.·Users·not | |
| 37 | 26 | · ···WHILE······wishing·to·mess·around·with·this·should·stick·to·the·default | |
| 38 | 27 | · ···<!---······format,·which·is·used·if·no·formatting·value·is·specified | |
| 39 | 28 | ·History········(i.e.,·just·using·05:04:11·PM). | |
| 40 | 29 | ·Wish_list······Consult·any·C·programmer's·guide·discussing·the·standard·C | |
| 41 | 30 | ·Bugs···········library·function·strftime()·for·information·on·how·to·build·a | |
| 42 | ·················format·string.·If·unsure,·ask·an·experienced·C·programmer·for | 31 | ·················format·string.·If·unsure,·ask·an·experienced·C·programmer·for |
| 43 | ·················help,·or·consider·just·sticking·to·the·default·formatting. | 32 | ·················help,·or·consider·just·sticking·to·the·default·formatting. |
| 44 | ·················****·INCLUDE·**** | 33 | ·················****·INCLUDE·**** |
| 45 | ·················INCLUDE·files·are·pre-processed·as·any·other·file.·The | 34 | ·················INCLUDE·files·are·pre-processed·as·any·other·file.·The |
| 46 | ·················resulting·text·is·incorporated·into·the·HTML·output·as·if·the | 35 | ·················resulting·text·is·incorporated·into·the·HTML·output·as·if·the |
| 47 | ·················file·had·been·copied·into·the·source·at·the·same·location·as | 36 | ·················file·had·been·copied·into·the·source·at·the·same·location·as |
| 48 | ·················the·FILE·markup·tag. | 37 | ·················the·FILE·markup·tag. |
| Offset 127, 21 lines modified | Offset 127, 14 lines modified | ||
| 127 | string: | 127 | string: |
| 128 | ··<p><code> | 128 | ··<p><code> |
| 129 | </code></p> | 129 | </code></p> |
| 130 | <P> | 130 | <P> |
| 131 | and·a·defined·operator·is·a·test·of·a·macro's·existance: | 131 | and·a·defined·operator·is·a·test·of·a·macro's·existance: |
| 132 | <P> | 132 | <P> |
| 133 | ··<p><code> | 133 | ··<p><code> |
| 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">sect-ctr</span>=<span·class="htp-string">"0"</span>></span><br> | ||
| 135 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>></span><br> | ||
| 136 | · ·<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> | ||
| 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-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>></span><br> | ||
| 138 | · · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</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="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
| 141 | </code></p> | 134 | </code></p> |
| 142 | <P> | 135 | <P> |
| 143 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the | 136 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the |
| 144 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that | 137 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that |
| 145 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the | 138 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the |
| 146 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block | 139 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block |
| 147 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. | 140 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. |
| Offset 4, 47 lines modified | Offset 4, 40 lines modified | ||
| 4 | Contents·········*****·synopsis·***** | 4 | Contents·········*****·synopsis·***** |
| 5 | ·Introduction···IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building·blocks·for | 5 | ·Introduction···IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building·blocks·for |
| 6 | ·License········conditional·processing.·The·basic·form·is·shown·above. | 6 | ·License········conditional·processing.·The·basic·form·is·shown·above. |
| 7 | ·Tutorial·······"Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 7 | ·Tutorial·······"Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
| 8 | ·Usage··········A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a | 8 | ·Usage··········A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a |
| 9 | ·HTP·Tags·······literal·string: | 9 | ·HTP·Tags·······literal·string: |
| 10 | · ···ALTTEXT····and·a·defined·operator·is·a·test·of·a·macro's·existance: | 10 | · ···ALTTEXT····and·a·defined·operator·is·a·test·of·a·macro's·existance: |
| 11 | · ···BLOCK······ ·<[[ref]]set·sect-ctr="0"> | ||
| 12 | · ···BLOCKDEF··· ·<[[ref]]blockdef·name="section"> | ||
| 13 | · ···DEF········ · ·<[[ref]]inc·sect-ctr> | ||
| 14 | · ···FILE······· · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global> | ||
| 15 | ·[>]·IF········· · · ·<[[ref]]use·block·noexpand> | ||
| 16 | · ···INC········ · ·<[[ref]]/block> | ||
| 17 | · ···IMG········ ·<[[ref]]/blockdef> | ||
| 18 | · ··· | 11 | · ···BLOCK······If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of |
| 19 | · ··· | 12 | · ···BLOCKDEF···the·conditional·is·reversed.·The·first·IF·or·ELSEIF·condition |
| 20 | · ··· | 13 | · ···DEF········that·evaluates·to·true·is·chosen.·If·none·of·the·conditions·is |
| 21 | · ··· | 14 | · ···FILE·······true·the·ELSE·block·is·taken·if·it·is·present.·A·conditional |
| 22 | · | 15 | ·[>]·IF·········block·must·be·closed·with·the·/IF·tag.·IF·tags·can·be·nested. |
| 16 | · ···INC | ||
| 17 | · ···IMG | ||
| 18 | · ···IMAGEURL | ||
| 19 | · ···OPT | ||
| 20 | · ···OUTPUT | ||
| 21 | · ···QUOTE | ||
| 22 | · ···SET | ||
| 23 | · ···UNDEF | 23 | · ···UNDEF |
| 24 | · ···UNSET | 24 | · ···UNSET |
| 25 | · ···USE,_$ | 25 | · ···USE,_$ |
| 26 | · ···WHILE | 26 | · ···WHILE |
| 27 | · ···<!--- | 27 | · ···<!--- |
| 28 | ·History | 28 | ·History |
| 29 | ·Wish_list | 29 | ·Wish_list |
| 30 | ·Bugs | 30 | ·Bugs |
| 31 | ··page_source | 31 | ··page_source |
| 32 | ··htp_project | 32 | ··htp_project |
| 33 | ··htp_homepage | 33 | ··htp_homepage |
| 34 | hosted·by | 34 | hosted·by |
| 35 | Sourceforge | 35 | Sourceforge |
| 36 | HTML·coding | 36 | HTML·coding |
| 37 | [Powered_by_htp] | 37 | [Powered_by_htp] |
| Offset 112, 27 lines modified | Offset 112, 23 lines modified | ||
| 112 | </code></p> | 112 | </code></p> |
| 113 | <h2>Using·parameters</h2> | 113 | <h2>Using·parameters</h2> |
| 114 | <p>·More·sophisticated·tags·accept·parameters.··The | 114 | <p>·More·sophisticated·tags·accept·parameters.··The |
| 115 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be | 115 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be |
| 116 | named·and·expanded·inside·the·<code>def</code>·or | 116 | named·and·expanded·inside·the·<code>def</code>·or |
| 117 | <code>blockdef</code>·block:·</p> | 117 | <code>blockdef</code>·block:·</p> |
| 118 | ··<p><code> | 118 | ··<p><code> |
| 119 | <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">"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> | ||
| 120 | <font·size="-2"> 2.·</font> · ·This·tag·will·fail:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">name</span>></span><br> | ||
| 121 | </code></p> | 119 | </code></p> |
| 122 | <h2>Saving·blocks·for·later</h2> | 120 | <h2>Saving·blocks·for·later</h2> |
| 123 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by | 121 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by |
| 124 | the·template·file.··The·normal·htp·files·should·just·define·macros | 122 | the·template·file.··The·normal·htp·files·should·just·define·macros |
| 125 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block | 123 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block |
| 126 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this | 124 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this |
| 127 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to | 125 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to |
| 128 | do·this:</p> | 126 | do·this:</p> |
| 129 | ··<p><code> | 127 | ··<p><code> |
| 130 | <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> | ||
| 131 | <font·size="-2"> 2.·</font><span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>></span>another·hyperlink<span·class="htp-tag"></a></span><br> | ||
| 132 | </code></p> | 128 | </code></p> |
| 133 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a | 129 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a |
| 134 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is | 130 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is |
| 135 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is | 131 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is |
| 136 | build·from·this·counter.··So·the·first·section·is·stored·in·block | 132 | build·from·this·counter.··So·the·first·section·is·stored·in·block |
| 137 | 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 | 133 | 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 |
| 138 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally | 134 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally |
| Offset 25, 27 lines modified | Offset 25, 21 lines modified | ||
| 25 | ·················automatically·search·for·the·matching·closing·tag·and·put | 25 | ·················automatically·search·for·the·matching·closing·tag·and·put |
| 26 | ·················everything·between·these·tags·in·a·block·macro·named·block. | 26 | ·················everything·between·these·tags·in·a·block·macro·named·block. |
| 27 | ·················Here·is·an·example·for·this. | 27 | ·················Here·is·an·example·for·this. |
| 28 | ·················*****·Using·parameters·***** | 28 | ·················*****·Using·parameters·***** |
| 29 | ·················More·sophisticated·tags·accept·parameters.·The·option | 29 | ·················More·sophisticated·tags·accept·parameters.·The·option |
| 30 | ·················parameter·lets·multiple·metatag·parameters·be·named·and | 30 | ·················parameter·lets·multiple·metatag·parameters·be·named·and |
| 31 | ·················expanded·inside·the·def·or·blockdef·block: | 31 | ·················expanded·inside·the·def·or·blockdef·block: |
| 32 | ················· 1.· · ·<[[ref]]FILE·INCLUDE="include.hti"·name="Jim·Nelson" | ||
| 33 | ·················email="jnelson@crl.com"> | ||
| 34 | ················· 2.· · ·This·tag·will·fail:·<[[ref]]USE·name> | ||
| 35 | ·················*****·Saving·blocks·for·later·***** | 32 | ·················*****·Saving·blocks·for·later·***** |
| 36 | ·················When·you·are·using·templates,·the·html·should·only·be·written | 33 | ·················When·you·are·using·templates,·the·html·should·only·be·written |
| 37 | ·················by·the·template·file.·The·normal·htp·files·should·just·define | 34 | ·················by·the·template·file.·The·normal·htp·files·should·just·define |
| 38 | ·················macros·that·are·used·later·in·the·template.·So·you·may·want·to | 35 | ·················macros·that·are·used·later·in·the·template.·So·you·may·want·to |
| 39 | ·················write·block·tags·that·just·save·the·block·in·a·macro·for·later | 36 | ·················write·block·tags·that·just·save·the·block·in·a·macro·for·later |
| 40 | ·················use.·Although·this·is·possible·with·htp·it·is·quite·tricky,·so | 37 | ·················use.·Although·this·is·possible·with·htp·it·is·quite·tricky,·so |
| 41 | ·················here·we·present·the·way·to·do·this: | 38 | ·················here·we·present·the·way·to·do·this: |
| 42 | ················· 1.·<a·href="mailto:$email">mailto·hyperlink</a> | ||
| 43 | ················· 2.·<a·href="http://$domain/~${username}/">another·hyperlink</ | ||
| 44 | ·················a> | ||
| 45 | ·················This·defines·a·block·macro·named·section.·This·macro·uses·a | 39 | ·················This·defines·a·block·macro·named·section.·This·macro·uses·a |
| 46 | ·················counter·sect-ctr·that·enumerates·the·sections.·It·is·increased | 40 | ·················counter·sect-ctr·that·enumerates·the·sections.·It·is·increased |
| 47 | ·················for·every·section·(line·3)·and·then·the·block·macro·name·is | 41 | ·················for·every·section·(line·3)·and·then·the·block·macro·name·is |
| 48 | ·················build·from·this·counter.·So·the·first·section·is·stored·in | 42 | ·················build·from·this·counter.·So·the·first·section·is·stored·in |
| 49 | ·················block·sect-1,·the·second·in·sect-2·and·so·on.·The·[ | 43 | ·················block·sect-1,·the·second·in·sect-2·and·so·on.·The·[ |
| 50 | ·················[ref]]global·flag·in·line·4·tells·htp·that·these·macros·should | 44 | ·················[ref]]global·flag·in·line·4·tells·htp·that·these·macros·should |
| 51 | ·················be·defined·globally·for·the·remaining·run.·Otherwise·they | 45 | ·················be·defined·globally·for·the·remaining·run.·Otherwise·they |
| Offset 114, 21 lines modified | Offset 114, 14 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | · ·a·is·expanded·at·time·1.<br> | ||
| 122 | · ·b·is·expanded·at·time·0.<br> | ||
| 123 | ·contents·of·a:· ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
| 124 | ·contents·of·b:· ·b·is·expanded·at·time·0.<br> | ||
| 125 | · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.<br> | ||
| 126 | · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.<br> | ||
| 127 | · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
| 128 | </code></p> | 121 | </code></p> |
| 129 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
| 130 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary | 123 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary |
| 131 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the | 124 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the |
| 132 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> | 125 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> |
| 133 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you | 126 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you |
| 134 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text | 127 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text |
| Offset 1, 49 lines modified | Offset 1, 41 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | ******·htp·on-line·reference·:·OUTPUT·****** | 2 | ******·htp·on-line·reference·:·OUTPUT·****** |
| 3 | Table_of·········*****·syntax·***** | 3 | Table_of·········*****·syntax·***** |
| 4 | Contents·········*****·synopsis·***** | ||
| 4 | Contents········· · ·a·is·expanded·at·time·1. | ||
| 5 | ·Introduction··· · ·b·is·expanded·at·time·0. | ||
| 6 | ·License········ ·contents·of·a:· ·a·is·expanded·at·time·<[[ref]]use·time>. | ||
| 7 | ·Tutorial······· ·contents·of·b:· ·b·is·expanded·at·time·0. | ||
| 8 | ·Usage·········· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1. | ||
| 9 | ·HTP·Tags······· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2. | ||
| 10 | · ···ALTTEXT···· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·< | ||
| 11 | · ···BLOCK······[[ref]]use·time>. | ||
| 12 | · ···BLOCKDEF···*****·synopsis·***** | ||
| 13 | · | 5 | ·Introduction···The·OUTPUT·tag·can·be·used·to·create·auxillary·files·besides |
| 14 | · | 6 | ·License········the·main·HTML·file.·The·text·between·this·tag·and·the |
| 15 | · | 7 | ·Tutorial·······corresponding·</OUTPUT>·tag·is·written·to·output·file. |
| 16 | · | 8 | ·Usage··········Normally·the·outputfile·is·cleared·before·writing·to·it,·but |
| 17 | · | 9 | ·HTP·Tags·······you·can·use·the·APPEND·attribute·to·extend·an·existing·file. |
| 18 | · ··· | 10 | · ···ALTTEXT····The·text·written·to·the·file·is·normally·not·expanded,·i.e. |
| 19 | · ··· | 11 | · ···BLOCK······all·tags·inside·this·block·are·not·executed·but·written |
| 20 | · | 12 | · ···BLOCKDEF···unmodified·to·the·file.·However,·you·can·use·the·EXPAND |
| 21 | · ··· | 13 | · ···DEF········attribute·to·override·this·behaviour. |
| 14 | · ···FILE | ||
| 15 | · ···IF | ||
| 16 | · ···INC | ||
| 17 | · ···IMG | ||
| 18 | · ···IMAGEURL | ||
| 19 | · ···OPT | ||
| 20 | ·[>]·OUTPUT | ||
| 21 | · ···QUOTE | ||
| 22 | · ···SET | 22 | · ···SET |
| 23 | · ···UNDEF | 23 | · ···UNDEF |
| 24 | · ···UNSET | 24 | · ···UNSET |
| 25 | · ···USE,_$ | 25 | · ···USE,_$ |
| 26 | · ···WHILE | 26 | · ···WHILE |
| 27 | · ···<!--- | 27 | · ···<!--- |
| 28 | ·History | 28 | ·History |
| 29 | ·Wish_list | 29 | ·Wish_list |
| 30 | ·Bugs | 30 | ·Bugs |
| 31 | ··page_source | 31 | ··page_source |
| 32 | ··htp_project | 32 | ··htp_project |
| 33 | ··htp_homepage | 33 | ··htp_homepage |
| 34 | hosted·by | 34 | hosted·by |
| 35 | Sourceforge | 35 | Sourceforge |
| 36 | HTML·coding | 36 | HTML·coding |
| 37 | [Powered_by_htp] | 37 | [Powered_by_htp] |
| Offset 119, 25 lines modified | Offset 119, 14 lines modified | ||
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | </code></p> | 121 | </code></p> |
| 122 | <h2>synopsis</h2> | 122 | <h2>synopsis</h2> |
| 123 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded | 123 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded |
| 124 | anywhere·in·the·HTML·document.··To·create·a·macro: | 124 | anywhere·in·the·HTML·document.··To·create·a·macro: |
| 125 | ··<p><code> | 125 | ··<p><code> |
| 126 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>></span><br> | ||
| 127 | · ·<span·class="htp-tag"><font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>></span><br> | ||
| 128 | ·<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> | ||
| 129 | <br> | ||
| 130 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>></span><br> | ||
| 131 | · ·<span·class="htp-tag"></font></span><br> | ||
| 132 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
| 133 | <br> | ||
| 134 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
| 135 | his·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> | ||
| 136 | 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> | ||
| 137 | </code></p> | 126 | </code></p> |
| 138 | <P> | 127 | <P> |
| 139 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> | 128 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> |
| 140 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular | 129 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular |
| 141 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the | 130 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the |
| 142 | <A·HREF="use.html">'$'</A>·operator. | 131 | <A·HREF="use.html">'$'</A>·operator. |
| 143 | <P> | 132 | <P> |
| Offset 1, 48 lines modified | Offset 1, 37 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | ******·htp·on-line·reference·:·SET·****** | 2 | ******·htp·on-line·reference·:·SET·****** |
| 3 | Table_of·········*****·syntax·***** | 3 | Table_of·········*****·syntax·***** |
| 4 | Contents·········*****·synopsis·***** | 4 | Contents·········*****·synopsis·***** |
| 5 | ·Introduction···SET·creates·a·macro·definition·that·can·later·be·expanded | 5 | ·Introduction···SET·creates·a·macro·definition·that·can·later·be·expanded |
| 6 | ·License········anywhere·in·the·HTML·document.·To·create·a·macro: | 6 | ·License········anywhere·in·the·HTML·document.·To·create·a·macro: |
| 7 | ·Tutorial······· ·<[[ref]]def·name="bigfont"> | ||
| 8 | ·Usage·········· · ·<font·size="+4"> | ||
| 9 | ·HTP·Tags······· ·<[[ref]]/def> | ||
| 10 | · ···ALTTEXT | ||
| 11 | · ···BLOCK······ ·<[[ref]]def·name="/bigfont"> | ||
| 12 | · ···BLOCKDEF··· · ·</font> | ||
| 13 | · ···DEF········ ·<[[ref]]/def> | ||
| 14 | · ···FILE | ||
| 15 | · ···IF········· ·<bigfont>Some·large·text</bigfont> | ||
| 16 | · ···INC········his·fails:·<[[ref]]use·email> | ||
| 17 | · ···IMG········And·this·fails:·<[[ref]]use·morestuff·email="jnelson@crl.com"> | ||
| 18 | · | 7 | ·Tutorial·······The·macro·"emailaddr"·can·then·be·expanded·later.·The·USE·tag |
| 19 | · | 8 | ·Usage··········is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the |
| 20 | · | 9 | ·HTP·Tags·······regular·text).·If·the·macro·needs·to·be·expanded·inside·a |
| 21 | · ··· | 10 | · ···ALTTEXT····markup·tag,·use·the·'$'·operator. |
| 22 | · | 11 | · ···BLOCK······Multiple·macros·can·be·declared·in·a·single·markup·tag,·as·the |
| 23 | · ··· | 12 | · ···BLOCKDEF···second·syntax·line·shows. |
| 24 | · ··· | 13 | · ···DEF········SET·should·only·be·used·for·a·single·line's·worth·of·text. |
| 25 | · ··· | 14 | · ···FILE·······Multi-line·macros·can·be·defined·with·the·BLOCK·tag.·The·BLOCK |
| 26 | · ··· | 15 | · ···IF·········tag·is·also·useful·if·the·macro·contains·a·quotation·character |
| 27 | · ··· | 16 | · ···INC········and·you·don't·want·to·fool·around·with·special·escape |
| 28 | · | 17 | · ···IMG········characters. |
| 29 | · | 18 | · ···IMAGEURL···Macros·can·be·redefined·by·using·another·SET·command·with·the |
| 30 | · | 19 | · ···OPT········same·macro·name.·The·prior·definition·will·be·destroyed, |
| 31 | 20 | · ···OUTPUT·····however.·Also,·the·macro·can·be·removed·(destroyed)·with·the | |
| 32 | ·················UNSET·tag. | ||
| 21 | · ···QUOTE······UNSET·tag. | ||
| 22 | ·[>]·SET | ||
| 23 | · ···UNDEF | ||
| 24 | · ···UNSET | ||
| 25 | · ···USE,_$ | ||
| 26 | · ···WHILE | ||
| 27 | · ···<!--- | ||
| 28 | ·History | ||
| 29 | ·Wish_list | ||
| 30 | ·Bugs | ||
| 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·Fri·Nov·20,·2026 |
| 24 | ·</body> | 24 | ·</body> |
| 25 | </html> | 25 | </html> |
| Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
| 1 | ···············******·Jochen·Hoenicke·****** | 1 | ···············******·Jochen·Hoenicke·****** |
| 2 | Navigation·bar·[Photo] | 2 | Navigation·bar·[Photo] |
| 3 | Main···········Room:··Bld.52·00-020 | 3 | Main···········Room:··Bld.52·00-020 |
| 4 | Example········Phone:·+49·761·203-8243 | 4 | Example········Phone:·+49·761·203-8243 |
| 5 | ···············Fax:···+49·761·203-8242 | 5 | ···············Fax:···+49·761·203-8242 |
| 6 | =============================================================================== | 6 | =============================================================================== |
| 7 | Copyright·by·Joe_Doe. | 7 | Copyright·by·Joe_Doe. |
| 8 | last·updated· | 8 | last·updated·Fri·Nov·20,·2026 |
| Offset 5, 9 lines modified | Offset 5, 9 lines modified | ||
| 5 | <meta·name="Generator"·content="htp·1.19"> | 5 | <meta·name="Generator"·content="htp·1.19"> |
| 6 | </head> | 6 | </head> |
| 7 | <body> | 7 | <body> |
| 8 | This·page·was·produced·by·htp. | 8 | This·page·was·produced·by·htp. |
| 9 | <hr> | 9 | <hr> |
| 10 | Copyright·by·Joe·Doe, | 10 | Copyright·by·Joe·Doe, |
| 11 | <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>, | 11 | <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>, |
| 12 | last·updated· | 12 | last·updated·Fri·Nov·20,·2026 |
| 13 | </body> | 13 | </body> |
| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | This·page·was·produced·by·htp. | 1 | This·page·was·produced·by·htp. |
| 2 | =============================================================================== | 2 | =============================================================================== |
| 3 | Copyright·by·Joe·Doe,·webmaster@domain.com,·last·updated· | 3 | Copyright·by·Joe·Doe,·webmaster@domain.com,·last·updated·Fri·Nov·20,·2026 |
| Offset 13, 10 lines modified | Offset 13, 10 lines modified | ||
| 13 | <p> | 13 | <p> |
| 14 | As·you·can·see·the·file·contains·almost·only·the·contents. | 14 | As·you·can·see·the·file·contains·almost·only·the·contents. |
| 15 | </p> | 15 | </p> |
| 16 | ···</td></tr> | 16 | ···</td></tr> |
| 17 | ··</table> | 17 | ··</table> |
| 18 | ··<hr> | 18 | ··<hr> |
| 19 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> | 19 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> |
| 20 | ··last·updated· | 20 | ··last·updated·Fri·Nov·20,·2026 |
| 21 | ·</body> | 21 | ·</body> |
| 22 | </html> | 22 | </html> |
| Offset 1, 6 lines modified | Offset 1, 6 lines modified | ||
| 1 | Navigation·bar·*****·Here·is·the·content·***** | 1 | Navigation·bar·*****·Here·is·the·content·***** |
| 2 | Main···········As·you·can·see·the·file·contains·almost·only·the·contents. | 2 | Main···········As·you·can·see·the·file·contains·almost·only·the·contents. |
| 3 | Example | 3 | Example |
| 4 | =============================================================================== | 4 | =============================================================================== |
| 5 | Copyright·by·Joe_Doe. | 5 | Copyright·by·Joe_Doe. |
| 6 | last·updated· | 6 | last·updated·Fri·Nov·20,·2026 |
| Offset 13, 10 lines modified | Offset 13, 10 lines modified | ||
| 13 | ·<p> | 13 | ·<p> |
| 14 | ·As·you·can·see·the·file·contains·almost·only·the·contents. | 14 | ·As·you·can·see·the·file·contains·almost·only·the·contents. |
| 15 | ·</p> | 15 | ·</p> |
| 16 | ···</td></tr> | 16 | ···</td></tr> |
| 17 | ··</table> | 17 | ··</table> |
| 18 | ··<hr> | 18 | ··<hr> |
| 19 | ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br> | 19 | ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br> |
| 20 | ··last·updated· | 20 | ··last·updated·Fri·Nov·20,·2026 |
| 21 | ·</body> | 21 | ·</body> |
| 22 | </html> | 22 | </html> |
| Offset 1, 6 lines modified | Offset 1, 6 lines modified | ||
| 1 | Navigation·bar·*****·Here·are·the·contents·***** | 1 | Navigation·bar·*****·Here·are·the·contents·***** |
| 2 | Main···········As·you·can·see·the·file·contains·almost·only·the·contents. | 2 | Main···········As·you·can·see·the·file·contains·almost·only·the·contents. |
| 3 | Example | 3 | Example |
| 4 | =============================================================================== | 4 | =============================================================================== |
| 5 | Copyright·by·Joe_Doe. | 5 | Copyright·by·Joe_Doe. |
| 6 | last·updated· | 6 | last·updated·Fri·Nov·20,·2026 |
| Offset 124, 32 lines modified | Offset 124, 18 lines modified | ||
| 124 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. | 124 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. |
| 125 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or | 125 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or |
| 126 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The | 126 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The |
| 127 | old·macro·definition·will·be·removed·automatically.) | 127 | old·macro·definition·will·be·removed·automatically.) |
| 128 | <P> | 128 | <P> |
| 129 | For·example: | 129 | For·example: |
| 130 | ··<p><code> | 130 | ··<p><code> |
| 131 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>></span><br> | ||
| 132 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>></span><br> | ||
| 133 | · ·<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> | ||
| 134 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>></span><br> | ||
| 135 | · · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 136 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 137 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
| 138 | </code></p> | 131 | </code></p> |
| 139 | <P> | 132 | <P> |
| 140 | More·than·one·macro·may·be·removed·in·the·same·tag: | 133 | More·than·one·macro·may·be·removed·in·the·same·tag: |
| 141 | ··<p><code> | 134 | ··<p><code> |
| 142 | <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> | ||
| 143 | ·<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> | ||
| 144 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
| 145 | · ·<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> | ||
| 146 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> | ||
| 147 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> | ||
| 148 | <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> | ||
| 149 | </code></p> | 135 | </code></p> |
| 150 | <p> | 136 | <p> |
| 151 | </td> | 137 | </td> |
| 152 | </tr> | 138 | </tr> |
| 153 | <tr> | 139 | <tr> |
| 154 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 140 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
| 155 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> | 141 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> |
| Offset 5, 50 lines modified | Offset 5, 36 lines modified | ||
| 5 | ·Introduction···UNSET·removes·(or·deletes)·a·macro·and·it's·definition.·The | 5 | ·Introduction···UNSET·removes·(or·deletes)·a·macro·and·it's·definition.·The |
| 6 | ·License········macro·is·subsequently·not·available·for·use·in·the·pre- | 6 | ·License········macro·is·subsequently·not·available·for·use·in·the·pre- |
| 7 | ·Tutorial·······processed·files.·(Note·that·simply·redefining·the·macro·with | 7 | ·Tutorial·······processed·files.·(Note·that·simply·redefining·the·macro·with |
| 8 | ·Usage··········another·SET·or·BLOCK·definition·with·the·same·name·is | 8 | ·Usage··········another·SET·or·BLOCK·definition·with·the·same·name·is |
| 9 | ·HTP·Tags·······acceptable.·The·old·macro·definition·will·be·removed | 9 | ·HTP·Tags·······acceptable.·The·old·macro·definition·will·be·removed |
| 10 | · ···ALTTEXT····automatically.) | 10 | · ···ALTTEXT····automatically.) |
| 11 | · ···BLOCK······For·example: | 11 | · ···BLOCK······For·example: |
| 12 | · ···BLOCKDEF··· ·<[[ref]]set·sect-ctr="0"> | ||
| 13 | · ···DEF········ ·<[[ref]]blockdef·name="section"> | ||
| 14 | · ···FILE······· · ·<[[ref]]inc·sect-ctr> | ||
| 15 | · ···IF········· · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global> | ||
| 16 | · ···INC········ · · ·<[[ref]]use·block·noexpand> | ||
| 17 | · ···IMG········ · ·<[[ref]]/block> | ||
| 18 | · ···IMAGEURL··· ·<[[ref]]/blockdef> | ||
| 19 | · ··· | 12 | · ···BLOCKDEF···More·than·one·macro·may·be·removed·in·the·same·tag: |
| 20 | · ···OUTPUT·····<[[ref]]file·include="header.hti"> | ||
| 21 | · ···QUOTE······ ·<[[ref]]set·sect-ctr="1"> | ||
| 22 | · ···SET········ ·<[[ref]]while·sect-${sect-ctr}> | ||
| 23 | · ···UNDEF······ · ·<[[ref]]use·sect-${sect-ctr}> | ||
| 24 | ·[>]·UNSET······ · ·<[[ref]]inc·sect-ctr> | ||
| 25 | · ···USE,_$····· ·<[[ref]]/while> | ||
| 26 | · ··· | 13 | · ···DEF |
| 14 | · ···FILE | ||
| 15 | · ···IF | ||
| 16 | · ···INC | ||
| 17 | · ···IMG | ||
| 18 | · ···IMAGEURL | ||
| 19 | · ···OPT | ||
| 20 | · ···OUTPUT | ||
| 21 | · ···QUOTE | ||
| 22 | · ···SET | ||
| 23 | · ···UNDEF | ||
| 24 | ·[>]·UNSET | ||
| 25 | · ···USE,_$ | ||
| 26 | · ···WHILE | ||
| 27 | · ···<!--- | 27 | · ···<!--- |
| 28 | ·History | 28 | ·History |
| 29 | ·Wish_list | 29 | ·Wish_list |
| 30 | ·Bugs | 30 | ·Bugs |
| 31 | ··page_source | 31 | ··page_source |
| 32 | ··htp_project | 32 | ··htp_project |
| 33 | ··htp_homepage | 33 | ··htp_homepage |
| 34 | hosted·by | 34 | hosted·by |
| 35 | Sourceforge | 35 | Sourceforge |
| 36 | HTML·coding | 36 | HTML·coding |
| 37 | [Powered_by_htp] | 37 | [Powered_by_htp] |
| Offset 131, 21 lines modified | Offset 131, 14 lines modified | ||
| 131 | attribute·to·prevent·further·expansion.··</p> | 131 | attribute·to·prevent·further·expansion.··</p> |
| 132 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros | 132 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros |
| 133 | for·the·expanded·macro.··This·is·only·valid·for·<A | 133 | for·the·expanded·macro.··This·is·only·valid·for·<A |
| 134 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A | 134 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A |
| 135 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For | 135 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For |
| 136 | example:</p> | 136 | example:</p> |
| 137 | ··<p><code> | 137 | ··<p><code> |
| 138 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>></span><br> | ||
| 139 | <font·size="-2"> 2.·</font> ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>></span><br> | ||
| 140 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> | ||
| 141 | <font·size="-2"> 4.·</font> · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>></span><br> | ||
| 142 | <font·size="-2"> 5.·</font> · · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 143 | <font·size="-2"> 6.·</font> · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 144 | <font·size="-2"> 7.·</font> ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
| 145 | </code></p> | 138 | </code></p> |
| 146 | <P> | 139 | <P> |
| 147 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on | 140 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on |
| 148 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and | 141 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and |
| 149 | the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8 | 142 | the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8 |
| 150 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is | 143 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is |
| 151 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. | 144 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. |
| Offset 10, 35 lines modified | Offset 10, 28 lines modified | ||
| 10 | · ···ALTTEXT····want,·for·example,·if·the·use·is·inside·a·block·which·expands | 10 | · ···ALTTEXT····want,·for·example,·if·the·use·is·inside·a·block·which·expands |
| 11 | · ···BLOCK······itself.·You·can·use·the·noexpand·attribute·to·prevent·further | 11 | · ···BLOCK······itself.·You·can·use·the·noexpand·attribute·to·prevent·further |
| 12 | · ···BLOCKDEF···expansion. | 12 | · ···BLOCKDEF···expansion. |
| 13 | · ···DEF········USE·will·accept·additional·parameters,·which·are·"local" | 13 | · ···DEF········USE·will·accept·additional·parameters,·which·are·"local" |
| 14 | · ···FILE·······macros·for·the·expanded·macro.·This·is·only·valid·for·BLOCK | 14 | · ···FILE·······macros·for·the·expanded·macro.·This·is·only·valid·for·BLOCK |
| 15 | · ···IF·········macros.·Macros·created·using·SET·cannot·have·parameters | 15 | · ···IF·········macros.·Macros·created·using·SET·cannot·have·parameters |
| 16 | · ···INC········passed.·For·example: | 16 | · ···INC········passed.·For·example: |
| 17 | · ···IMG········ 1.· ·<[[ref]]set·sect-ctr="0"> | ||
| 18 | · ···IMAGEURL··· 2.· ·<[[ref]]blockdef·name="section"> | ||
| 19 | · ···OPT········ 3.· · ·<[[ref]]inc·sect-ctr> | ||
| 20 | · ···OUTPUT····· 4.· · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global> | ||
| 21 | · ···QUOTE······ 5.· · · ·<[[ref]]use·block·noexpand> | ||
| 22 | · ···SET········ 6.· · ·<[[ref]]/block> | ||
| 23 | · ···UNDEF······ 7.· ·<[[ref]]/blockdef> | ||
| 24 | · ··· | 17 | · ···IMG········(See·below·for·a·description·of·the·'$'·operator.)·The·example |
| 25 | · | 18 | · ···IMAGEURL···on·line·7·works·because·"stuff"·has·been·declared·as·a·block |
| 26 | · ··· | 19 | · ···OPT········macro,·and·the·tag·is·passing·the·"email"·macro·to·the·"stuff" |
| 27 | · ··· | 20 | · ···OUTPUT·····macro.·Line·8·fails·because·the·"email"·macro·is·unavailable |
| 28 | · | 21 | · ···QUOTE······once·the·block·macro·is·completely·expanded,·and·cannot·be |
| 29 | · | 22 | · ···SET········passed·to·a·SET·macro. |
| 30 | · | 23 | · ···UNDEF······Note·that·the·"email"·macro·is·available·to·other·macros·or |
| 31 | 24 | · ···UNSET······included·files·called·within·the·"stuff"·block. | |
| 32 | 25 | ·[>]·USE,_$·····Inside·a·markup·tag,·like·IMG,·A·(anchor),·or·any·other | |
| 33 | 26 | · ···WHILE······standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.·The | |
| 34 | 27 | · ···<!---······'$'·should·be·immediately·followed·by·the·macro·name,·which | |
| 35 | 28 | ·History········may·or·may·not·be·surrounded·by·curly·braces.·When·htp | |
| 36 | 29 | ·Wish_list······encounters·this·it·replaces·the·macro·name·by·the·contents·of | |
| 37 | 30 | ·Bugs···········the·macro·without·further·processing·the·contents. | |
| 38 | ················· 1.·<[[ref]]file·include="header.hti"> | 31 | ················· 1.·<[[ref]]file·include="header.hti"> |
| 39 | ················· 2.· ·<[[ref]]set·sect-ctr="1"> | 32 | ················· 2.· ·<[[ref]]set·sect-ctr="1"> |
| 40 | ················· 3.· ·<[[ref]]while·sect-${sect-ctr}> | 33 | ················· 3.· ·<[[ref]]while·sect-${sect-ctr}> |
| 41 | ················· 4.· · ·<[[ref]]use·sect-${sect-ctr}> | 34 | ················· 4.· · ·<[[ref]]use·sect-${sect-ctr}> |
| 42 | ················· 5.· · ·<[[ref]]inc·sect-ctr> | 35 | ················· 5.· · ·<[[ref]]inc·sect-ctr> |
| 43 | ················· 6.· ·<[[ref]]/while> | 36 | ················· 6.· ·<[[ref]]/while> |
| 44 | ················· 7.·<[[ref]]file·include="footer.hti"> | 37 | ················· 7.·<[[ref]]file·include="footer.hti"> |
| Offset 124, 33 lines modified | Offset 124, 19 lines modified | ||
| 124 | The·basic·form·is·shown·above. | 124 | The·basic·form·is·shown·above. |
| 125 | <P> | 125 | <P> |
| 126 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 126 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
| 127 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. | 127 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. |
| 128 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the | 128 | If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the |
| 129 | conditional·is·reversed: | 129 | conditional·is·reversed: |
| 130 | ··<p><code> | 130 | ··<p><code> |
| 131 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>></span><br> | ||
| 132 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>></span><br> | ||
| 133 | · ·<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> | ||
| 134 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>></span><br> | ||
| 135 | · · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 136 | · ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 137 | ·<span·class="htp-tag"><<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>></span><br> | ||
| 138 | </code></p> | 131 | </code></p> |
| 139 | <P> | 132 | <P> |
| 140 | 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 | 133 | 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 |
| 141 | macro's·existance: | 134 | macro's·existance: |
| 142 | ··<p><code> | 135 | ··<p><code> |
| 143 | <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> | ||
| 144 | ·<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> | ||
| 145 | ·<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> | ||
| 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">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
| 147 | · ·<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> | ||
| 148 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> | ||
| 149 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> | ||
| 150 | </code></p> | 136 | </code></p> |
| 151 | <P> | 137 | <P> |
| 152 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the | 138 | If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the |
| 153 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the | 139 | WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the |
| 154 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. | 140 | WHILE·tag·it·is·also·reevaluated·on·each·iteration. |
| 155 | <P> | 141 | <P> |
| 156 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. | 142 | A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag. |
| Offset 4, 48 lines modified | Offset 4, 34 lines modified | ||
| 4 | Contents·········*****·synopsis·***** | 4 | Contents·········*****·synopsis·***** |
| 5 | ·Introduction···WHILE·is·the·building·block·for·repeated·processing.·The·basic | 5 | ·Introduction···WHILE·is·the·building·block·for·repeated·processing.·The·basic |
| 6 | ·License········form·is·shown·above. | 6 | ·License········form·is·shown·above. |
| 7 | ·Tutorial·······"Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 7 | ·Tutorial·······"Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
| 8 | ·Usage··········A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a | 8 | ·Usage··········A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a |
| 9 | ·HTP·Tags·······literal·string.·If·the·NOT·tag·is·present·in·the·WHILE·markup, | 9 | ·HTP·Tags·······literal·string.·If·the·NOT·tag·is·present·in·the·WHILE·markup, |
| 10 | · ···ALTTEXT····the·evaluation·of·the·conditional·is·reversed: | 10 | · ···ALTTEXT····the·evaluation·of·the·conditional·is·reversed: |
| 11 | · ···BLOCK······ ·<[[ref]]set·sect-ctr="0"> | ||
| 12 | · ···BLOCKDEF··· ·<[[ref]]blockdef·name="section"> | ||
| 13 | · ···DEF········ · ·<[[ref]]inc·sect-ctr> | ||
| 14 | · ···FILE······· · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global> | ||
| 15 | · ···IF········· · · ·<[[ref]]use·block·noexpand> | ||
| 16 | · ···INC········ · ·<[[ref]]/block> | ||
| 17 | · ···IMG········ ·<[[ref]]/blockdef> | ||
| 18 | · ··· | 11 | · ···BLOCK······Just·as·with·[[ref]]IF·you·can·also·check·for·a·macro's |
| 12 | · ···BLOCKDEF···existance: | ||
| 19 | · ···OPT········existance: | ||
| 20 | · ···OUTPUT·····<[[ref]]file·include="header.hti"> | ||
| 21 | · ···QUOTE······ ·<[[ref]]set·sect-ctr="1"> | ||
| 22 | · ···SET········ ·<[[ref]]while·sect-${sect-ctr}> | ||
| 23 | · ···UNDEF······ · ·<[[ref]]use·sect-${sect-ctr}> | ||
| 24 | · ···UNSET······ · ·<[[ref]]inc·sect-ctr> | ||
| 25 | · ···USE,_$····· ·<[[ref]]/while> | ||
| 26 | ·[>]·WHILE······<[[ref]]file·include="footer.hti"> | ||
| 27 | · ··· | 13 | · ···DEF········If·the·condition·is·true,·the·block·is·evaluated·and |
| 28 | · | 14 | · ···FILE·······afterwards·the·WHILE·tag·is·evaluated·again.·If·the·'$'- |
| 29 | · | 15 | · ···IF·········operator·is·used·in·the·WHILE·tag·it·is·also·reevaluated·on |
| 30 | · | 16 | · ···INC········each·iteration. |
| 31 | 17 | · ···IMG········A·loop·block·must·be·closed·with·the·/WHILE·tag. | |
| 18 | · ···IMAGEURL | ||
| 19 | · ···OPT | ||
| 20 | · ···OUTPUT | ||
| 21 | · ···QUOTE | ||
| 22 | · ···SET | ||
| 23 | · ···UNDEF | ||
| 24 | · ···UNSET | ||
| 25 | · ···USE,_$ | ||
| 26 | ·[>]·WHILE | ||
| 27 | · ···<!--- | ||
| 28 | ·History | ||
| 29 | ·Wish_list | ||
| 30 | ·Bugs | ||