| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | ·0a346d805562f91401fac54b33b36b46·70264·debug·optional·htp-dbgsym_1.19-8_arm64.deb | 1 | ·0a346d805562f91401fac54b33b36b46·70264·debug·optional·htp-dbgsym_1.19-8_arm64.deb |
| 2 | · | 2 | ·7e726892ef60fe7225a4fc8f824337ea·116168·web·optional·htp_1.19-8_arm64.deb |
| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary |
| 2 | -rw-r--r--···0········0········0·····361 | 2 | -rw-r--r--···0········0········0·····3612·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···112364·2020-06-14·23:21:19.000000·data.tar.xz |
| Offset 1, 27 lines modified | Offset 1, 27 lines modified | ||
| 1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./ | 1 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./ |
| 2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/ | 2 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/ |
| 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/ |
| 4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····67896·2020-06-14·23:21:19.000000·./usr/bin/htp | 4 | -rwxr-xr-x···0·root·········(0)·root·········(0)····67896·2020-06-14·23:21:19.000000·./usr/bin/htp |
| 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/ |
| 6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/ | 6 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/ |
| 7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/ | 7 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/ |
| 8 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 8 | -rw-r--r--···0·root·········(0)·root·········(0)····10305·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html |
| 9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp | 9 | -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp |
| 10 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 10 | -rw-r--r--···0·root·········(0)·root·········(0)·····8633·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html |
| 11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp | 11 | -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp |
| 12 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 12 | -rw-r--r--···0·root·········(0)·root·········(0)·····9780·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)····1 | 17 | -rw-r--r--···0·root·········(0)·root·········(0)····15289·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)····131 | 20 | -rw-r--r--···0·root·········(0)·root·········(0)····13188·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html |
| 21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp | 21 | -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp |
| 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html | 22 | -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html |
| 23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp | 23 | -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp |
| 24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/ | 24 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/ |
| 25 | -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub | 25 | -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub |
| 26 | -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti | 26 | -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti |
| 27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt | 27 | -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt |
| Offset 32, 64 lines modified | Offset 32, 64 lines modified | ||
| 32 | -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp | 32 | -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp |
| 33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html | 33 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html |
| 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp | 34 | -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp |
| 35 | -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def | 35 | -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def |
| 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html | 36 | -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html |
| 37 | -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp | 37 | -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp |
| 38 | -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt | 38 | -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt |
| 39 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 39 | -rw-r--r--···0·root·········(0)·root·········(0)·····8380·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)····16752·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)····1 | 48 | -rw-r--r--···0·root·········(0)·root·········(0)····12294·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html |
| 49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp | 49 | -rw-r--r--···0·root·········(0)·root·········(0)······932·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.htp |
| 50 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 50 | -rw-r--r--···0·root·········(0)·root·········(0)····12418·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)·····9 | 52 | -rw-r--r--···0·root·········(0)·root·········(0)·····9343·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html |
| 53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp | 53 | -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp |
| 54 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 54 | -rw-r--r--···0·root·········(0)·root·········(0)····15082·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html |
| 55 | -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp | 55 | -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp |
| 56 | -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.html | 56 | -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.html |
| 57 | -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.htp | 57 | -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.htp |
| 58 | -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.html | 58 | -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.html |
| 59 | -rw-r--r--···0·root·········(0)·root·········(0)·······78·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.htp | 59 | -rw-r--r--···0·root·········(0)·root·········(0)·······78·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.htp |
| 60 | -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.html | 60 | -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.html |
| 61 | -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.htp | 61 | -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.htp |
| 62 | -rw-r--r--···0·root·········(0)·root·········(0)····10774·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.html | 62 | -rw-r--r--···0·root·········(0)·root·········(0)····10774·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.html |
| 63 | -rw-r--r--···0·root·········(0)·root·········(0)······454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.htp | 63 | -rw-r--r--···0·root·········(0)·root·········(0)······454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.htp |
| 64 | -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.def | 64 | -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.def |
| 65 | -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.html | 65 | -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.html |
| 66 | -rw-r--r--···0·root·········(0)·root·········(0)······388·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.htp | 66 | -rw-r--r--···0·root·········(0)·root·········(0)······388·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.htp |
| 67 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 67 | -rw-r--r--···0·root·········(0)·root·········(0)····13628·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html |
| 68 | -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz | 68 | -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz |
| 69 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 69 | -rw-r--r--···0·root·········(0)·root·········(0)·····7911·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html |
| 70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp | 70 | -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp |
| 71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html | 71 | -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html |
| 72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp | 72 | -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp |
| 73 | -rw-r--r--···0·root·········(0)·root·········(0)·····8 | 73 | -rw-r--r--···0·root·········(0)·root·········(0)·····8130·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html |
| 74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp | 74 | -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp |
| 75 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/ | 75 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/ |
| 76 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png | 76 | -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png |
| 77 | -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png | 77 | -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png |
| 78 | -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png | 78 | -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png |
| 79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png | 79 | -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png |
| 80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png | 80 | -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png |
| 81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png | 81 | -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png |
| 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png | 82 | -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png |
| 83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png | 83 | -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png |
| 84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png | 84 | -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png |
| 85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl | 85 | -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl |
| 86 | -rw-r--r--···0·root·········(0)·root·········(0)·····7 | 86 | -rw-r--r--···0·root·········(0)·root·········(0)·····7856·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html |
| 87 | -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp | 87 | -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp |
| 88 | -rw-r--r--···0·root·········(0)·root·········(0)····· | 88 | -rw-r--r--···0·root·········(0)·root·········(0)·····9301·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html |
| 89 | -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp | 89 | -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp |
| 90 | -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css | 90 | -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css |
| 91 | -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html | 91 | -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html |
| 92 | -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz | 92 | -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz |
| 93 | -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def | 93 | -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def |
| 94 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/ | 94 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/ |
| 95 | -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti | 95 | -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti |
| Offset 102, 23 lines modified | Offset 102, 23 lines modified | ||
| 102 | -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp | 102 | -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp |
| 103 | -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html | 103 | -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html |
| 104 | -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp | 104 | -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp |
| 105 | -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt | 105 | -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt |
| 106 | -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt | 106 | -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt |
| 107 | -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html | 107 | -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html |
| 108 | -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp | 108 | -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp |
| 109 | -rw-r--r--···0·root·········(0)·root·········(0)·····8 | 109 | -rw-r--r--···0·root·········(0)·root·········(0)·····8009·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html |
| 110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp | 110 | -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp |
| 111 | -rw-r--r--···0·root·········(0)·root·········(0)····10 | 111 | -rw-r--r--···0·root·········(0)·root·········(0)····10320·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)····12088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html |
| 116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp | 116 | -rw-r--r--···0·root·········(0)·root·········(0)·····3300·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.htp |
| 117 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 117 | -rw-r--r--···0·root·········(0)·root·········(0)····11518·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, 61 lines modified | Offset 114, 40 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>></span><br> | ||
| 121 | · ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>></span><br> | ||
| 122 | · ·<span·class="htp-tag"><p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>></span><br> | ||
| 123 | 122 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | |
| 124 | <br> | 123 | <br> |
| 125 | · ·<span·class="htp-tag"><centered></span><br> | ||
| 126 | · ·This·text·is·centered.<br> | ||
| 127 | pand><br> | ||
| 128 | · ·b·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
| 129 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 130 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>></span><br> | ||
| 131 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
| 132 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>></span><br> | ||
| 133 | ·contents·of·a:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 134 | ·contents·of·b:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 135 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
| 136 | · ·c·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
| 137 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 138 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
| 139 | · ·d·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 140 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 141 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>></span><br> | ||
| 142 | · ·e·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 143 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><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">time</span>=<span·class="htp-string">"2"</span>></span><br> | ||
| 145 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
| 146 | · ·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> | ||
| 147 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 148 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>></span><br> | ||
| 149 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>></span><br> | ||
| 150 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>></span><br> | ||
| 151 | </code></p> | 124 | </code></p> |
| 152 | <h2>synopsis</h2> | 125 | <h2>synopsis</h2> |
| 153 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A | 126 | <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A |
| 154 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. | 127 | HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME. |
| 155 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the | 128 | Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the |
| 156 | filename·is·considered·in·all·comparisons. | 129 | filename·is·considered·in·all·comparisons. |
| 157 | <p> | 130 | <p> |
| 158 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT | 131 | When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT |
| 159 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to | 132 | attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to |
| 160 | be·overridden·on·specific·images·and·default·text·on·all·others. | 133 | be·overridden·on·specific·images·and·default·text·on·all·others. |
| 161 | <p> | 134 | <p> |
| 162 | For·example: | 135 | For·example: |
| 163 | ··<p><code> | 136 | ··<p><code> |
| 164 | <span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="htp-attrib">[APPEND]</span>·<span·class="htp-attrib">[EXPAND]</span>></span><br> | ||
| 165 | te | 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·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</spa[·...·truncated·by·diffoscope;·len:·53,·SHA:·047e33cf2322d17f44a1acfcd954d713d7476e0dfcf2ae6f01e5aa7170a23ff8·...·]<br> |
| 138 | · <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> | ||
| 139 | · <span·class="htp-tag"><p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>></span><br> | ||
| 140 | · · <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> | ||
| 141 | · <span·class="htp-tag"></p></span><br> | ||
| 166 | <span·class="htp-tag"><<a·href="o | 142 | ·<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> |
| 167 | <br> | 143 | <br> |
| 144 | ·<span·class="htp-tag"><section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>></span><br> | ||
| 145 | · ·This·is·a·fancy·section.<br> | ||
| 146 | ·<span·class="htp-tag"></section></span><br> | ||
| 168 | </code></p> | 147 | </code></p> |
| 169 | <p> | 148 | <p> |
| 170 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT | 149 | An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT |
| 171 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not | 150 | mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not |
| 172 | changed. | 151 | changed. |
| 173 | <p> | 152 | <p> |
| 174 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, | 153 | Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents, |
| Offset 1, 61 lines modified | Offset 1, 36 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="tagname"·[option="option1 |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]> |
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> |
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e |
| 8 | ·HTP·Tags·················· · ·<centered> | ||
| 9 | ·[>]·_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·This·text·is·centered. | ||
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················pand> | ||
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
| 12 | · ···_\x8D_\x8E_\x8F··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 13 | · | 8 | ·HTP·Tags··················*.**.**.**.**.*·s.sy.yn.no.op.ps.si.is.s·*.**.**.**.**.* |
| 9 | ·[>]·_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag | ||
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················with·a·SRC·matching·the·ALTTEXT·NAME.·Since | ||
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············relative·paths·can·be·used·to·point·to·the·same | ||
| 12 | · ···_\x8D_\x8E_\x8F···················image,·only·the·filename·is·considered·in·all | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E··················comparisons. | ||
| 14 | · ···_\x8I_\x8F····················When·an·IMG·tag·with·a·matching·source·is | ||
| 15 | · ···_\x8I_\x8N_\x8C···················encountered,·htp·will·add·an·ALT·attribute·only·if | ||
| 16 | · ···_\x8I_\x8M_\x8G···················one·is·not·already·present.·This·allows·for·ALT | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············text·to·be·overridden·on·specific·images·and | ||
| 18 | · ···_\x8O_\x8P_\x8T···················default·text·on·all·others. | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················For·example: | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"·option="title"> | ||
| 14 | · ···_\x8 | 21 | · ···_\x8S_.E_.T··················· · <h1><_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·title></h1> |
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · <p·class="section"> | ||
| 15 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T················· · · <_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·block> |
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · </p> | ||
| 16 | · ···_\x8I_\x8M_\x8G··················· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand> | ||
| 18 | · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand> | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
| 21 | · ···_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand> | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_.d_.e_.f> |
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<section·title="My·Section"> | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·This·is·a·fancy·section. | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·</section> | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e> | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 30 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2"> | ||
| 31 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
| 32 | ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e | ||
| 33 | ····························time>. | ||
| 34 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c> | ||
| 36 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d> | ||
| 37 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e> | ||
| 38 | ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
| 39 | ····························A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag | ||
| 40 | ····························with·a·SRC·matching·the·ALTTEXT·NAME.·Since | ||
| 41 | ····························relative·paths·can·be·used·to·point·to·the·same | ||
| 42 | ····························image,·only·the·filename·is·considered·in·all | ||
| 43 | ····························comparisons. | ||
| 44 | ····························When·an·IMG·tag·with·a·matching·source·is | ||
| 45 | ····························encountered,·htp·will·add·an·ALT·attribute·only·if | ||
| 46 | ····························one·is·not·already·present.·This·allows·for·ALT | ||
| 47 | ····························text·to·be·overridden·on·specific·images·and | ||
| 48 | ····························default·text·on·all·others. | ||
| 49 | ····························For·example: | ||
| 50 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND] | ||
| 51 | ····························[EXPAND]> | ||
| 52 | ····························text·block | ||
| 53 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> | ||
| 54 | ····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute | 30 | ····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute |
| 55 | ····························removes·any·ALT·mapping·for·this·image.·Successing | 31 | ····························removes·any·ALT·mapping·for·this·image.·Successing |
| 56 | ····························IMG·tags·with·a·matching·SRC·name·are·not·changed. | 32 | ····························IMG·tags·with·a·matching·SRC·name·are·not·changed. |
| 57 | ····························Since·this·is·useful·for·an·image·used·throughout·a | 33 | ····························Since·this·is·useful·for·an·image·used·throughout·a |
| 58 | ····························set·of·documents,·ALTTEXT·is·most·appropriate·in·an | 34 | ····························set·of·documents,·ALTTEXT·is·most·appropriate·in·an |
| 59 | ····························_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e. | 35 | ····························_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e. |
| 60 | ····························In·addition·to·ALTTEXT,·htp·can·also·automatically | 36 | ····························In·addition·to·ALTTEXT,·htp·can·also·automatically |
| Offset 114, 42 lines modified | Offset 114, 17 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>></span><br> | ||
| 121 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>></span><br> | ||
| 122 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
| 123 | · ·a·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
| 124 | 122 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | |
| 123 | <br> | ||
| 125 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
| 126 | · ·b·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
| 127 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 128 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>></span><br> | ||
| 129 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
| 130 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>></span><br> | ||
| 131 | ·contents·of·a:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 132 | ·contents·of·b:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 133 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
| 134 | · ·c·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>></span><br> | ||
| 135 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 136 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>></span><br> | ||
| 137 | · ·d·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 138 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 139 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>></span><br> | ||
| 140 | · ·e·is·expanded·at·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>;·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>></span><br> | ||
| 141 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 142 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>></span><br> | ||
| 143 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>></span><br> | ||
| 144 | · ·a·is·defined·for·the·2nd·time·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>></span>.<br> | ||
| 145 | ·<span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | ||
| 146 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>></span><br> | ||
| 147 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>></span><br> | ||
| 148 | ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>></span><br> | ||
| 149 | </code></p> | 124 | </code></p> |
| 150 | <h2>synopsis</h2> | 125 | <h2>synopsis</h2> |
| 151 | <P> | 126 | <P> |
| 152 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which | 127 | <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which |
| 153 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be | 128 | are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be |
| 154 | multi-line·definitions. | 129 | multi-line·definitions. |
| 155 | </P> | 130 | </P> |
| Offset 1, 64 lines modified | Offset 1, 36 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="tagname"·[option="option1 |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]> | ||
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 8 | ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand> | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
| 10 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1"> | ||
| 12 | · ···_\x8D_\x8E_\x8F··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b> | ||
| 14 | · ···_\x8I_\x8F···················· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
| 15 | · ···_\x8I_\x8N_\x8C··················· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand> | ||
| 16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand> | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
| 18 | · ···_\x8O_\x8P_\x8T···················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a> | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand> | ||
| 21 | · ···_\x8S_\x8E_\x8T··················· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e> | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[ | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> | ||
| 27 | ·_\x8 | 6 | ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2"> | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a> | ||
| 30 | ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e | ||
| 31 | ····························time>. | ||
| 32 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 33 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c> | ||
| 34 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d> | ||
| 35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e> | ||
| 36 | 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | |
| 37 | ···· | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros, |
| 38 | ·· | 10 | ·[>]·_.B_.L_.O_.C_.K·················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be |
| 39 | ···· | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············multi-line·definitions. |
| 40 | ···· | 12 | · ···_.D_.E_.F···················Any·text·and·formatting·may·be·set·inside·the |
| 41 | ···· | 13 | · ···_.F_.I_.L_.E··················block.·You·can·use·any·htp·or·user·defined·metatag |
| 42 | ···· | 14 | · ···_.I_.F····················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be |
| 43 | ···· | 15 | · ···_.I_.N_.C···················expanded·before·the·block·is·USEd·except·if·you |
| 44 | ···· | 16 | · ···_.I_.M_.G···················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter. |
| 45 | ···· | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············The·block·macro·is·dereferenced·(expanded)·with·the |
| 46 | ···· | 18 | · ···_.O_.P_.T···················_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the |
| 47 | ···· | 19 | · ···_.O_.U_.T_.P_.U_.T················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro. |
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
| 21 | · ···_\x8S_\x8E_\x8T | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s | ||
| Offset 114, 48 lines modified | Offset 114, 36 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | <span·class="htp-tag"><<a·href=" | 121 | ·<span·class="htp-tag"><<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=[·...·truncated·by·diffoscope;·len:·39,·SHA:·138ba34b5292b3e7451f200f072f3b0027941410b118e78a3f2cd3ad3de9d343·...·]</span>></span><br> |
| 122 | <br> | 122 | <br> |
| 123 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
| 124 | ·becomes·this·after·processing:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
| 125 | <br> | ||
| 126 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>></span><br> | ||
| 127 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
| 128 | <br> | ||
| 129 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
| 130 | ·remains·unchanged.<br> | ||
| 123 | </code></p> | 131 | </code></p> |
| 124 | <h2>synopsis</h2> | 132 | <h2>synopsis</h2> |
| 125 | <strong>BLOCKDEF</strong>·creates·block·<A | 133 | <strong>BLOCKDEF</strong>·creates·block·<A |
| 126 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it | 134 | HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it |
| 127 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block | 135 | creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block |
| 128 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and | 136 | as·additional·parameter.··This·block·is·surrounded·by·<tagname>·and |
| 129 | </tagname>.··The·contents·of·this·block·are·automatically·stored | 137 | </tagname>.··The·contents·of·this·block·are·automatically·stored |
| 130 | in·the·block·macro·named·BLOCK. | 138 | in·the·block·macro·named·BLOCK. |
| 131 | <P>·For·example:</P> | 139 | <P>·For·example:</P> |
| 132 | ··<p><code> | 140 | ··<p><code> |
| 133 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> | ||
| 134 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
| 135 | <br> | ||
| 136 | 141 | <span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>></span><br> | |
| 137 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
| 138 | ·(no·URL·replacement).<br> | ||
| 139 | <br> | ||
| 140 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
| 141 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
| 142 | <br> | ||
| 143 | ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
| 144 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
| 145 | ·will·not·be·added.<br> | ||
| 146 | <br> | ||
| 147 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
| 148 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
| 149 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
| 150 | <br> | 142 | <br> |
| 151 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
| 152 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
| 153 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
| 154 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
| 155 | </code></p> | 143 | </code></p> |
| 156 | <p> | 144 | <p> |
| 157 | All·block·metatags·have·the·implicit·option·<a | 145 | All·block·metatags·have·the·implicit·option·<a |
| 158 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents | 146 | href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents |
| 159 | of·the·block·before·the·definition·is·expanded. | 147 | of·the·block·before·the·definition·is·expanded. |
| 160 | </p> | 148 | </p> |
| 161 | <p> | 149 | <p> |
| Offset 1, 59 lines modified | Offset 1, 36 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.a_.l_.t_.t_.e_.x_.t·name="logo.gif"·text="Company |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················logo"> |
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l |
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
| 8 | ·HTP·Tags·················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo"> | ||
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | ||
| 11 | ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> | ||
| 12 | · ···_\x8D_\x8E_\x8F··················· ·will·also·have·an·ALT·attribute·appended·to·it | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
| 14 | · ···_\x8I_\x8F···················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click | ||
| 15 | · ···_\x8I_\x8N_\x8C···················here·for·more·information!"> | ||
| 16 | · ···_\x8I_\x8M_\x8G··················· ·remains·unchanged. | ||
| 7 | ·_. | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 8 | · | 18 | · ···_.O_.P_.T···················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy |
| 9 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················way·of·saying·it·creates·new·block·tags.·A·block |
| 10 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················tag·is·a·tag·that·takes·a·whole·block·as·additional |
| 11 | · | 21 | · ···_.S_.E_.T···················parameter.·This·block·is·surrounded·by·<tagname> |
| 12 | · ···_\x8D_.E_.F | 22 | · ···_\x8U_.N_.D_.E_.F·················and·</tagname>.·The·contents·of·this·block·are |
| 13 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················automatically·stored·in·the·block·macro·named |
| 14 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················BLOCK. |
| 15 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················For·example: |
| 16 | · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············"·path="/var/www/my.domain/"> | ||
| 18 | · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················var/www/other.domain/"> | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | ||
| 21 | · ···_\x8S_\x8E_\x8T··················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·the·local·filename·"logo.gif"·will·be·used·to | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················determine·image·dimensions | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·(no·URL·replacement). | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="filename"·...> |
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················my.domain.org/logo.gif"> | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················will·be·used. | ||
| 30 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 31 | ····························other.domain.org/logo.gif"> | ||
| 32 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
| 33 | ····························so·the·image·dimensions | ||
| 34 | ···························· ·will·not·be·added. | ||
| 35 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
| 36 | ····························precedence: | ||
| 37 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
| 38 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
| 39 | ····························test/"> | ||
| 40 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
| 41 | ····························src="/test/image.gif"> are·mapped·to | ||
| 42 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
| 43 | ····························image.gif,·resp. | ||
| 44 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
| 45 | ····························swapped,·the·second | ||
| 46 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
| 47 | ····························image.gif. | ||
| 48 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D, |
| 49 | · | 29 | ·_.B_.u_.g_.s······················which·tells·htp·to·expand·the·contents·of·the·block |
| 50 | ····························before·the·definition·is·expanded. | 30 | ····························before·the·definition·is·expanded. |
| 51 | ····························A·more·thorough·discussion·and·more·elaborate | 31 | ····························A·more·thorough·discussion·and·more·elaborate |
| 52 | ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. | 32 | ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section. |
| Offset 114, 58 lines modified | Offset 114, 81 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | <span·class="htp-tag"><<a·href=" | 121 | · ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>></span><br> |
| 122 | · ·<span·class="htp-tag"><p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>></span><br> | ||
| 123 | · ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
| 122 | <br> | 124 | <br> |
| 125 | · ·<span·class="htp-tag"><centered></span><br> | ||
| 126 | · ·This·text·is·centered.<br> | ||
| 123 | </code></p> | 127 | </code></p> |
| 124 | <h2>synopsis</h2> | 128 | <h2>synopsis</h2> |
| 125 | <p> | 129 | <p> |
| 126 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful | 130 | This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful |
| 127 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. | 131 | when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. |
| 128 | Example: | 132 | Example: |
| 129 | </p> | 133 | </p> |
| 130 | ··<p><code> | 134 | ··<p><code> |
| 135 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>></span><br> | ||
| 131 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib" | 136 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>></span><br> |
| 137 | · · · ·<span·class="htp-tag"><FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>></span><br> | ||
| 138 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
| 139 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>></span><br> | ||
| 140 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>></span><br> | ||
| 141 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>></span><br> | ||
| 142 | · · · ·<span·class="htp-tag"></FONT></span><br> | ||
| 143 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
| 132 | · ·block·#1<br> | ||
| 133 | [<br> | ||
| 134 | <span·class="htp-tag"><ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
| 135 | · ·block·#2<br> | ||
| 136 | ...<br> | ||
| 137 | ]<br> | ||
| 138 | [<br> | ||
| 139 | <span·class="htp-tag"><ELSE></span><br> | ||
| 140 | · ·block·#3<br> | ||
| 141 | ]<br> | ||
| 142 | <span·class="htp-tag"><<a·href=" | 144 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>></span><br> |
| 143 | <br> | 145 | <br> |
| 146 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>></span><br> | ||
| 147 | <br> | ||
| 148 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>></span><br> | ||
| 149 | <br> | ||
| 150 | ·This·will·fail:<br> | ||
| 151 | ·<span·class="htp-tag"><HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>></span><br> | ||
| 152 | <br> | ||
| 153 | ·Instead,·use·*·like·this:<br> | ||
| 154 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>></span><br> | ||
| 155 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>></span><br> | ||
| 156 | ·<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> | ||
| 157 | · ·<br> | ||
| 158 | ·<span·class="htp-tag"><MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>></span><br> | ||
| 144 | </code></p> | 159 | </code></p> |
| 145 | <p> | 160 | <p> |
| 146 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you | 161 | Note·that·these·comments·should·not·include·<·or·>,·that·is·you |
| 147 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something | 162 | should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something |
| 148 | like·this: | 163 | like·this: |
| 149 | </p> | 164 | </p> |
| 150 | ··<p><code> | 165 | ··<p><code> |
| 166 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> | ||
| 167 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
| 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·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>></span><br> | ||
| 152 | · <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> | ||
| 153 | · <span·class="htp-tag"><p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</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><br> | ||
| 155 | · <span·class="htp-tag"></p></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 | <br> | 168 | <br> |
| 158 | ·<span·class="htp-tag"><section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>></span><br> | ||
| 159 | · ·This·is·a·fancy·section.<br> | ||
| 160 | ·<span·class="htp-tag"></section></span><br> | ||
| 161 | il | 169 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> |
| 170 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
| 171 | ·(no·URL·replacement).<br> | ||
| 172 | <br> | ||
| 173 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
| 174 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
| 175 | <br> | ||
| 176 | ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
| 177 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
| 178 | ·will·not·be·added.<br> | ||
| 179 | <br> | ||
| 180 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
| 181 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
| 182 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
| 162 | <br> | 183 | <br> |
| 163 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
| 164 | ·remains· | 184 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·hr[·...·truncated·by·diffoscope;·len:·208,·SHA:·69312e15342ced3880f84236554db8f087f87eb40c499e282a4a124346fbb782·...·]<br> |
| 185 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
| 186 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
| 187 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
| 165 | </code></p> | 188 | </code></p> |
| 166 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the | 189 | <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the |
| 167 | reason·why·you·don't·want·to·include·this·block</p> | 190 | reason·why·you·don't·want·to·include·this·block</p> |
| 168 | <p> | 191 | <p> |
| 169 | </td> | 192 | </td> |
| 170 | </tr> | 193 | </tr> |
| 171 | <tr> | 194 | <tr> |
| Offset 1, 48 lines modified | Offset 1, 87 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="centered"> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<p·align=center> |
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
| 8 | ·HTP·Tags·················· · ·<centered> | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·This·text·is·centered. | ||
| 6 | · | 10 | · ···_.B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 7 | ·_. | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············This·is·a·simple·comment·that·is·not·included·in |
| 8 | · | 12 | · ···_.D_.E_.F···················the·output.·This·is·useful·when·commenting |
| 9 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················metatags,·since·the·metatags·do·not·appear·the |
| 10 | · ···_\x8 | 14 | · ···_\x8I_.F····················output·either.·Example: |
| 15 | · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE | ||
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·[NOT]·conditional> | ||
| 12 | · ···_\x8D_\x8E_\x8F··················· · ·block·#1 | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E··················[ | ||
| 14 | · ···_\x8I_\x8F····················<ELSEIF·[NOT]·conditional> | ||
| 15 | · ···_\x8I_\x8N_\x8C··················· · ·block·#2 | ||
| 16 | · ···_\x8I_\x8M_\x8G··················· | 16 | · ···_\x8I_\x8M_\x8G···················SIZE"> |
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············] | ||
| 18 | · ···_\x8O_\x8P_\x8T···················[ | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················<ELSE> | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·block·#3 | ||
| 21 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·size> |
| 18 | · ···_\x8O_\x8P_\x8T··················· · · · ·<FONT·SIZE=${size}> | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> | ||
| 21 | · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················<_.[_.[_.r_.e_.f_.]_.]_. | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·size> |
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················Note·that·these·comments·should·not·include·<·or·>, | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················that·is·you·should·not·use·it·to·comment·out·htp | ||
| 26 | ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-·················code.·For·that·purpose·use·something·like·this: | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"·option="title"> | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · <h1><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·title></h1> | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················ · <p·class="section"> | ||
| 30 | ···· | 23 | · ···_.U_.N_.S_.E_.T················· · · · ·</FONT> |
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
| 26 | ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8- | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················title"> | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s | ||
| 30 | ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized | ||
| 31 | ···························· | 31 | ····························title"> |
| 32 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> | ||
| 33 | ···························· ·<section·title="My·Section"> | ||
| 34 | ···························· · | 32 | ···························· ·This·will·fail: |
| 35 | ···························· ·</section> | ||
| 36 | ···························· | 33 | ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" |
| 34 | ····························TITLE="Another·title"> | ||
| 35 | ···························· ·Instead,·use·*·like·this: | ||
| 36 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | ||
| 37 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | ||
| 38 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | ||
| 39 | ···························· · | ||
| 40 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | ||
| 41 | ····························Note·that·these·comments·should·not·include·<·or·>, | ||
| 42 | ····························that·is·you·should·not·use·it·to·comment·out·htp | ||
| 43 | ····························code.·For·that·purpose·use·something·like·this: | ||
| 44 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ | ||
| 45 | ····························"·path="/var/www/my.domain/"> | ||
| 46 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
| 47 | ····························var/www/other.domain/"> | ||
| 37 | ···························· ·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="logo.gif | 48 | ···························· ·For·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="logo.gif"> |
| 38 | ····························he | 49 | ···························· ·the·local·filename·"logo.gif"·will·be·used·to |
| 50 | ····························determine·image·dimensions | ||
| 51 | ···························· ·(no·URL·replacement). | ||
| 52 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 53 | ····························my.domain.org/logo.gif"> | ||
| 54 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
| 39 | ···························· | 55 | ····························will·be·used. |
| 56 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 57 | ····························other.domain.org/logo.gif"> | ||
| 58 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
| 59 | ····························so·the·image·dimensions | ||
| 60 | ···························· ·will·not·be·added. | ||
| 61 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
| 62 | ····························precedence: | ||
| 63 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
| 64 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
| 65 | ····························test/"> | ||
| 66 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
| 67 | ····························src="/test/image.gif"> are·mapped·to | ||
| 68 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
| 69 | ····························image.gif,·resp. | ||
| 70 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
| 71 | ····························swapped,·the·second | ||
| 72 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
| 73 | ····························image.gif. | ||
| 40 | ····························Make·sure·that·the·variable·is·never·defined·and | 74 | ····························Make·sure·that·the·variable·is·never·defined·and |
| 41 | ····························xyz·should·be·the·reason·why·you·don't·want·to | 75 | ····························xyz·should·be·the·reason·why·you·don't·want·to |
| 42 | ····························include·this·block | 76 | ····························include·this·block |
| Offset 114, 72 lines modified | Offset 114, 64 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | ·<span·class="htp-tag"><<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
| 122 | <br> | ||
| 121 | <span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string"> | 123 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> |
| 124 | ·becomes·this·after·processing:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>></span><br> | ||
| 125 | <br> | ||
| 126 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>></span><br> | ||
| 127 | ·will·also·have·an·ALT·attribute·appended·to·it<br> | ||
| 122 | <br> | 128 | <br> |
| 129 | ·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>></span><br> | ||
| 130 | ·remains·unchanged.<br> | ||
| 123 | </code></p> | 131 | </code></p> |
| 124 | <h2>synopsis</h2> | 132 | <h2>synopsis</h2> |
| 125 | <p> | 133 | <p> |
| 126 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a | 134 | <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a |
| 127 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to | 135 | fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to |
| 128 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> | 136 | <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a> |
| 129 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. | 137 | tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name. |
| 130 | For·example: | 138 | For·example: |
| 131 | </p> | 139 | </p> |
| 132 | ··<p><code> | 140 | ··<p><code> |
| 141 | <span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>></span><br> | ||
| 133 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
| 134 | · ·block·#1<br> | ||
| 135 | [<br> | ||
| 136 | <span·class="htp-tag"><ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
| 137 | · ·block·#2<br> | ||
| 138 | ...<br> | ||
| 139 | ]<br> | ||
| 140 | [<br> | ||
| 141 | <span·class="htp-tag"><ELSE></span><br> | ||
| 142 | · ·block·#3<br> | ||
| 143 | ]<br> | ||
| 144 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
| 145 | <br> | 142 | <br> |
| 146 | </code></p> | 143 | </code></p> |
| 147 | <P> | 144 | <P> |
| 148 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to | 145 | Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to |
| 149 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A | 146 | <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A |
| 150 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster | 147 | HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster |
| 151 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing | 148 | alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing |
| 152 | tag·with·a·preceding·slash.·For·example: | 149 | tag·with·a·preceding·slash.·For·example: |
| 153 | </P> | 150 | </P> |
| 154 | ··<p><code> | 151 | ··<p><code> |
| 152 | · ·a·is·expanded·at·time·1.<br> | ||
| 153 | · ·b·is·expanded·at·time·0.<br> | ||
| 154 | ·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> | ||
| 155 | ·contents·of·b:· ·b·is·expanded·at·time·0.<br> | ||
| 156 | · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.<br> | ||
| 157 | · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.<br> | ||
| 158 | · ·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> | ||
| 155 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>></span><br> | ||
| 156 | · <span·class="htp-tag"><table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>></span><br> | ||
| 157 | · <span·class="htp-tag"><tr></span><br> | ||
| 158 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
| 159 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>></span>&nbsp;<span·class="htp-tag"></td></span><br> | ||
| 160 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
| 161 | · <span·class="htp-tag"></tr></span><br> | ||
| 162 | · <span·class="htp-tag"></table></span><br> | ||
| 163 | <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> | ||
| 164 | <br> | ||
| 165 | paragraph<br> | ||
| 166 | <span·class="htp-tag"><imghr></span><br> | ||
| 167 | paragraph<br> | ||
| 168 | </code></p> | 159 | </code></p> |
| 169 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, | 160 | <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though, |
| 170 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> | 161 | as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p> |
| 171 | <P> | 162 | <P> |
| 172 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were | 163 | Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were |
| 173 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with | 164 | a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with |
| 174 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their | 165 | the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their |
| 175 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) | 166 | name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.) |
| 176 | </P> | 167 | </P> |
| 177 | ··<p><code> | 168 | ··<p><code> |
| 178 | · ·<span·class="htp-tag"><<a·href="i | 169 | · ·<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"</spa[·...·truncated·by·diffoscope;·len:·82,·SHA:·f10013f1915e5fb49e1a117707cfc6dc276a5c04c15664a63cad48e7f2a319f5·...·]"</span>></span><br> |
| 170 | · ·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> | ||
| 179 | </code></p> | 171 | </code></p> |
| 180 | <P> | 172 | <P> |
| 181 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is | 173 | htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is |
| 182 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are | 174 | invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are |
| 183 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the | 175 | optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the |
| 184 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a | 176 | SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a |
| 185 | parameter·is·required,·simply·expand·it·without·first·checking.··When | 177 | parameter·is·required,·simply·expand·it·without·first·checking.··When |
| Offset 1, 64 lines modified | Offset 1, 60 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.a_.l_.t_.t_.e_.x_.t·name="logo.gif"·text="Company |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················logo"> |
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
| 8 | ·HTP·Tags·················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo"> | ||
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | ||
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> | ||
| 12 | ·[>]·_\x8D_\x8E_\x8F··················· ·will·also·have·an·ALT·attribute·appended·to·it | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
| 14 | · ···_\x8I_\x8F···················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click | ||
| 15 | · ···_\x8I_\x8N_\x8C···················here·for·more·information!"> | ||
| 16 | · ···_\x8I_\x8M_\x8G··················· ·remains·unchanged. | ||
| 6 | · | 17 | · ···_.I_.M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 7 | · | 18 | · ···_.O_.P_.T···················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of |
| 8 | · | 19 | · ···_.O_.U_.T_.P_.U_.T················saying·it·creates·new·tags.·The·mechanism·is·very |
| 9 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is |
| 10 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················not·used·to·expand·them.·Instead,·they·are·expanded |
| 11 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················by·their·own·name.·For·example: |
| 12 | ·[>]·_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·[NOT]·conditional> | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·block·#1 | ||
| 14 | · ···_\x8I_\x8F····················[ | ||
| 15 | · ···_\x8I_\x8N_\x8C···················<ELSEIF·[NOT]·conditional> | ||
| 16 | · ···_\x8I_\x8M_\x8G··················· · ·block·#2 | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············... | ||
| 18 | · ···_\x8O_\x8P_\x8T···················] | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················[ | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<ELSE> | ||
| 21 | · ···_\x8S_\x8E_\x8T··················· · ·block·#3 | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················] | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.m_.g·src="filename"·...> |
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················Some·metatags·will·require·an·opening·and·closing | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················Some·metatags·will·require·an·opening·and·closing |
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················tag·(comparable·to | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················tag·(comparable·to |
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················and | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················and |
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. |
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················Another·slightly·faster·alternative·is·to·use·two | 29 | ·_\x8B_\x8u_\x8g_\x8s······················Another·slightly·faster·alternative·is·to·use·two |
| 30 | ····························metatags,·the·opening·tag·and·the·closing·tag·with | 30 | ····························metatags,·the·opening·tag·and·the·closing·tag·with |
| 31 | ····························a·preceding·slash.·For·example: | 31 | ····························a·preceding·slash.·For·example: |
| 32 | ···························· · ·a·is·expanded·at·time·1. | ||
| 33 | ···························· · ·b·is·expanded·at·time·0. | ||
| 34 | ···························· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[ | ||
| 32 | ···························· | 35 | ····························_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>. |
| 36 | ···························· ·contents·of·b:· ·b·is·expanded·at·time·0. | ||
| 37 | ···························· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at | ||
| 33 | ···························· · <table·border="0"·cellspacing="0" | ||
| 34 | ····························cellpadding="0"> | ||
| 35 | ···························· · <tr> | ||
| 36 | ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ | ||
| 37 | ····························t | 38 | ····························time·1. |
| 39 | ···························· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at | ||
| 38 | ···························· · ·<td·width="95%" | ||
| 39 | ····························background="midsep.png"> </td> | ||
| 40 | ···························· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ | ||
| 41 | ····························t | 40 | ····························time·2. |
| 41 | ···························· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the | ||
| 42 | ···························· · </tr> | ||
| 43 | ···························· · </table> | ||
| 44 | ···························· | 42 | ····························2nd·time·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>. |
| 45 | ···························· paragraph | ||
| 46 | ···························· <imghr> | ||
| 47 | ···························· paragraph | ||
| 48 | ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will | 43 | ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will |
| 49 | ····························check·for·matching·end·tag.·It·is·not·that·slower. | 44 | ····························check·for·matching·end·tag.·It·is·not·that·slower. |
| 50 | ····························Options·can·be·passed·to·a·metatag,·which·can·then | 45 | ····························Options·can·be·passed·to·a·metatag,·which·can·then |
| 51 | ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are | 46 | ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are |
| 52 | ····························parameterized·with·the·OPTION·attribute.·Multiple | 47 | ····························parameterized·with·the·OPTION·attribute.·Multiple |
| 53 | ····························options·can·be·listed·by·separating·their·name·with | 48 | ····························options·can·be·listed·by·separating·their·name·with |
| 54 | ····························a·space·(which·therefore·requires·they·be | 49 | ····························a·space·(which·therefore·requires·they·be |
| 55 | ····························surrounded·by·quotes.) | 50 | ····························surrounded·by·quotes.) |
| 56 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_. | 51 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_.I_.L_.E·INCLUDE="include.hti"·name="Jim |
| 52 | ····························Nelson"·email="jnelson@crl.com"> | ||
| 53 | ···························· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
| 57 | ····························htp·will·do·very·specific·checking·of·parameters | 54 | ····························htp·will·do·very·specific·checking·of·parameters |
| 58 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all | 55 | ····························when·a·metatag·is·invoked.·htp·assumes·that·all |
| 59 | ····························parameter·options·to·the·metatag·are·optional.·This | 56 | ····························parameter·options·to·the·metatag·are·optional.·This |
| 60 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify | 57 | ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify |
| 61 | ····························the·SIZE·option·is·defined·before·expanding·it·in | 58 | ····························the·SIZE·option·is·defined·before·expanding·it·in |
| 62 | ····························the·block.·If·a·parameter·is·required,·simply | 59 | ····························the·block.·If·a·parameter·is·required,·simply |
| 63 | ····························expand·it·without·first·checking.·When·htp·expands | 60 | ····························expand·it·without·first·checking.·When·htp·expands |
| Offset 98, 38 lines modified | Offset 98, 21 lines modified | ||
| 98 | <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code> | 98 | <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code> |
| 99 | modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to | 99 | modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to |
| 100 | store·something·in·a·block·macro,·that·depends·on·the·current·value·of | 100 | store·something·in·a·block·macro,·that·depends·on·the·current·value·of |
| 101 | another·macro.··This·other·macro·may·no·longer·have·the·correct·value | 101 | another·macro.··This·other·macro·may·no·longer·have·the·correct·value |
| 102 | when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when | 102 | when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when |
| 103 | the·htp·tags·are·expanded:·</P> | 103 | the·htp·tags·are·expanded:·</P> |
| 104 | ··<p><code> | 104 | ··<p><code> |
| 105 | <font·size="-2"> 1.·</font><span·class="comment"><!---··This·comment·doesn't·appear·in·the·HTML·file·---></span><br> | ||
| 105 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>></span><br> | ||
| 106 | <font·size="-2"> 2.·</font> ·...<br> | ||
| 107 | <font·size="-2"> 3.·</font><span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>></span><br> | ||
| 108 | <font·size="-2"> 4.·</font>"+4"><br> | ||
| 109 | <font·size="-2"> 5.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
| 110 | <font·size="-2"> 6.·</font><br> | ||
| 111 | <font·size="-2"> 7.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>></span><br> | ||
| 112 | <font·size="-2"> 8.·</font> · ·<span·class="htp-tag"></font></span><br> | ||
| 113 | <font·size="-2"> 9.·</font> ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
| 114 | <font·size="-2">10.·</font><br> | ||
| 115 | <font·size="-2">11.·</font> ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
| 116 | </code></p> | 106 | </code></p> |
| 117 | This·produces·the·following: | 107 | This·produces·the·following: |
| 118 | ··<p><code> | 108 | ··<p><code> |
| 119 | ·<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> | ||
| 120 | · <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> | ||
| 121 | · <span·class="htp-tag"><p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>></span><br> | ||
| 122 | 109 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>></span><br> | |
| 123 | · | 110 | ·...<br> |
| 124 | 111 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>></span><br> | |
| 125 | <br> | ||
| 126 | ·<span·class="htp-tag"><section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>></span><br> | ||
| 127 | · ·This·is·a·fancy·section.<br> | ||
| 128 | ·<span·class="htp-tag"></section></span><br> | ||
| 129 | </code></p> | 112 | </code></p> |
| 130 | <P> | 113 | <P> |
| 131 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a | 114 | When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a |
| 132 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded | 115 | are·taken·literally,·however,·the·contents·for·b·are·already·expanded |
| 133 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it | 116 | so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it |
| 134 | is·used,·while·the·contents·of·b·are·already·expanded. | 117 | is·used,·while·the·contents·of·b·are·already·expanded. |
| 135 | </P> | 118 | </P> |
| Offset 24, 36 lines modified | Offset 24, 20 lines modified | ||
| 24 | ····························However,·if·the·block·tag·is·marked·with·the·expand | 24 | ····························However,·if·the·block·tag·is·marked·with·the·expand |
| 25 | ····························modifier·it·is·expanded·immediately.·This·is·useful | 25 | ····························modifier·it·is·expanded·immediately.·This·is·useful |
| 26 | ····························if·you·want·to·store·something·in·a·block·macro, | 26 | ····························if·you·want·to·store·something·in·a·block·macro, |
| 27 | ····························that·depends·on·the·current·value·of·another·macro. | 27 | ····························that·depends·on·the·current·value·of·another·macro. |
| 28 | ····························This·other·macro·may·no·longer·have·the·correct | 28 | ····························This·other·macro·may·no·longer·have·the·correct |
| 29 | ····························value·when·the·macro·is·expanded.·Here·is·some·code | 29 | ····························value·when·the·macro·is·expanded.·Here·is·some·code |
| 30 | ····························that·demonstrate·when·the·htp·tags·are·expanded: | 30 | ····························that·demonstrate·when·the·htp·tags·are·expanded: |
| 31 | ···························· 1.·<!---·This·comment·doesn't·appear·in·the·HTML | ||
| 31 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz> | ||
| 32 | ···························· 2.· ·... | ||
| 33 | ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f> | ||
| 34 | ···························· 4.·"+4"> | ||
| 35 | ···························· 5.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
| 36 | ···························· | 32 | ····························file·---> |
| 37 | ···························· 7.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
| 38 | ···························· 8.· · ·</font> | ||
| 39 | ···························· 9.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
| 40 | ····························10. | ||
| 41 | ····························11.· ·<bigfont>Some·large·text</bigfont> | ||
| 42 | ····························This·produces·the·following: | 33 | ····························This·produces·the·following: |
| 43 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"·option="title"> | ||
| 44 | ···························· · <h1><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·title></h1> | ||
| 45 | ···························· · <p·class="section"> | ||
| 46 | ···························· | 34 | ····························<_.[_.[_.r_.e_.f_.]_.]_.i_.f·disabled_because_xyz> |
| 47 | ···························· · | 35 | ···························· ·... |
| 48 | ···························· | 36 | ····························<_.[_.[_.r_.e_.f_.]_.]_./_.i_\x8f> |
| 49 | ···························· ·<section·title="My·Section"> | ||
| 50 | ···························· · ·This·is·a·fancy·section. | ||
| 51 | ···························· ·</section> | ||
| 52 | ····························When·block·a·and·block·b·are·defined·in·lines·2- | 37 | ····························When·block·a·and·block·b·are·defined·in·lines·2- |
| 53 | ····························7·the·contents·of·a·are·taken·literally,·however, | 38 | ····························7·the·contents·of·a·are·taken·literally,·however, |
| 54 | ····························the·contents·for·b·are·already·expanded·so·the | 39 | ····························the·contents·for·b·are·already·expanded·so·the |
| 55 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it | 40 | ····························macro·time·is·evaluated.·So·a·is·expanded·when·it |
| 56 | ····························is·used,·while·the·contents·of·b·are·already | 41 | ····························is·used,·while·the·contents·of·b·are·already |
| 57 | ····························expanded. | 42 | ····························expanded. |
| 58 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with | 43 | ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with |
| Offset 114, 40 lines modified | Offset 114, 42 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | <span·class="htp-tag"><<a·href="im | 121 | <span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>></span><br> |
| 122 | <br> | 122 | <br> |
| 123 | </code></p> | 123 | </code></p> |
| 124 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
| 125 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. | 125 | <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose. |
| 126 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of | 126 | The·output·file's·name,·the·current·date·and·time,·and·the·contents·of |
| 127 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be | 127 | another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be |
| 128 | added·to·the·output·file·as·well. | 128 | added·to·the·output·file·as·well. |
| 129 | <P> | 129 | <P> |
| 130 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the | 130 | As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the |
| 131 | following·is·perfectly·acceptable: | 131 | following·is·perfectly·acceptable: |
| 132 | ··<p><code> | 132 | ··<p><code> |
| 133 | · · | 133 | · ·a·is·expanded·at·time·1.<br> |
| 134 | · ·b·is·expanded·at·time·0.<br> | ||
| 135 | ·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> | ||
| 136 | ·contents·of·b:· ·b·is·expanded·at·time·0.<br> | ||
| 137 | · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.<br> | ||
| 138 | · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.<br> | ||
| 139 | · ·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> | ||
| 134 | </code></p> | 140 | </code></p> |
| 135 | <P> | 141 | <P> |
| 136 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> | 142 | <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3> |
| 137 | <P> | 143 | <P> |
| 138 | To·include·information·about·another·file,·such·as·an·archive·file·or | 144 | To·include·information·about·another·file,·such·as·an·archive·file·or |
| 139 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the | 145 | graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the |
| 140 | type·of·information·to·be·displayed: | 146 | type·of·information·to·be·displayed: |
| 141 | ··<p><code> | 147 | ··<p><code> |
| 148 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
| 142 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>></span><br> | ||
| 143 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>></span>;<br> | ||
| 144 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
| 145 | <br> | ||
| 146 | ·<span·class="htp-tag"><sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>></span><br> | ||
| 147 | </code></p> | 149 | </code></p> |
| 148 | <P> | 150 | <P> |
| 149 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the | 151 | For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the |
| 150 | information·is·displayed.··In·anything·other·than·byte·format,·the·information | 152 | information·is·displayed.··In·anything·other·than·byte·format,·the·information |
| 151 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number | 153 | is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number |
| 152 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional | 154 | of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional |
| 153 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no | 155 | PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no |
| Offset 176, 18 lines modified | Offset 178, 36 lines modified | ||
| 176 | <P> | 178 | <P> |
| 177 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are | 179 | Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are |
| 178 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros | 180 | interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros |
| 179 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it | 181 | are·available·only·to·the·include·file·(and·any·macros·or·included·files·it |
| 180 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer | 182 | holds).··After·the·file·is·completely·included,·the·macros·are·no·longer |
| 181 | available.··So: | 183 | available.··So: |
| 182 | ··<p><code> | 184 | ··<p><code> |
| 185 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> | ||
| 186 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
| 187 | <br> | ||
| 183 | ·<span·class="htp-tag"><<a·href=" | 188 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> |
| 184 | · ·...<br> | ||
| 185 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | ||
| 186 | · | 189 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> |
| 190 | ·(no·URL·replacement).<br> | ||
| 191 | <br> | ||
| 192 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
| 193 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
| 194 | <br> | ||
| 195 | ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
| 196 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
| 197 | ·will·not·be·added.<br> | ||
| 198 | <br> | ||
| 199 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
| 200 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
| 201 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
| 202 | <br> | ||
| 203 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
| 204 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
| 205 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
| 206 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
| 187 | </code></p> | 207 | </code></p> |
| 188 | <P> | 208 | <P> |
| 189 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included | 209 | Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included |
| 190 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the | 210 | file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the |
| 191 | second·statement·will·fail.) | 211 | second·statement·will·fail.) |
| 192 | <P> | 212 | <P> |
| 193 | <h3><a·name="template">TEMPLATE</a></h3> | 213 | <h3><a·name="template">TEMPLATE</a></h3> |
| Offset 1, 36 lines modified | Offset 1, 40 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8 | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="filename"·...> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e | ||
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················local/filesystem"·]> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
| 7 | ·_\x8 | 6 | ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 8 | · | 7 | ·_.U_.s_.a_.g_.e·····················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing |
| 9 | · | 8 | ·HTP·Tags··················purpose.·The·output·file's·name,·the·current·date |
| 10 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············and·time,·and·the·contents·of·another·file·may·be |
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················included.·Another·file's·time,·date,·or·size·may·be |
| 12 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············added·to·the·output·file·as·well. |
| 13 | · | 12 | · ···_.D_.E_.F···················As·with·all·HTML,·these·tags·do·not·have·to·be·on |
| 14 | · | 13 | ·[>]·_.F_.I_.L_.E··················their·own·line,·so·the·following·is·perfectly |
| 15 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F····················acceptable: |
| 15 | · ···_\x8I_\x8N_\x8C··················· · ·a·is·expanded·at·time·1. | ||
| 16 | · ···_\x8I_\x8M_\x8G··················· · ·b·is·expanded·at·time·0. | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[ | ||
| 16 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>. |
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·contents·of·b:· ·b·is·expanded·at·time·0. | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at | ||
| 21 | · ···_\x8S_\x8E_\x8T···················time·1. | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················time·2. | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
| 17 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················*\x8**\x8**\x8**\x8*·N\x8NA\x8AM\x8ME\x8E,\x8,·T\x8TI\x8IM\x8ME\x8E,\x8,·S\x8SI\x8IZ\x8ZE\x8E·*\x8**\x8**\x8**\x8* |
| 18 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················To·include·information·about·another·file,·such·as |
| 19 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················an·archive·file·or·graphic·image,·specify·its·name |
| 20 | · | 29 | ·_.B_.u_.g_.s······················with·the·NAME·attribute·followed·by·the·type·of |
| 21 | 30 | ····························information·to·be·displayed: | |
| 31 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················alt="${alt}">; | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
| 28 | 32 | ····························For·file·size·information,·the·value·BYTE,·KBYTE, | |
| 29 | 33 | ····························etc.·dictates·how·the·information·is·displayed.·In | |
| 30 | ····························anything·other·than·byte·format,·the·information·is | 34 | ····························anything·other·than·byte·format,·the·information·is |
| 31 | ····························displayed·in·floating-point·notation.·The·amount·of | 35 | ····························displayed·in·floating-point·notation.·The·amount·of |
| 32 | ····························precision·(the·number·of·digits·to·the·right·of·the | 36 | ····························precision·(the·number·of·digits·to·the·right·of·the |
| 33 | ····························decimal·point)·can·be·set·with·the·optional | 37 | ····························decimal·point)·can·be·set·with·the·optional |
| 34 | ····························PRECISION·attribute.·The·default·precision·is·zero | 38 | ····························PRECISION·attribute.·The·default·precision·is·zero |
| 35 | ····························(0),·which·means·no·fractional·portion·is | 39 | ····························(0),·which·means·no·fractional·portion·is |
| 36 | ····························displayed. | 40 | ····························displayed. |
| Offset 59, 18 lines modified | Offset 63, 49 lines modified | ||
| 59 | ····························Additional·parameters·can·be·set·in·the·FILE | 63 | ····························Additional·parameters·can·be·set·in·the·FILE |
| 60 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that | 64 | ····························INCLUDE·tag,·which·are·interpreted·as·macros·that |
| 61 | ····························are·"passed"·to·the·included·file.·The·macros·are | 65 | ····························are·"passed"·to·the·included·file.·The·macros·are |
| 62 | ····························available·only·to·the·include·file·(and·any·macros | 66 | ····························available·only·to·the·include·file·(and·any·macros |
| 63 | ····························or·included·files·it·holds).·After·the·file·is | 67 | ····························or·included·files·it·holds).·After·the·file·is |
| 64 | ····························completely·included,·the·macros·are·no·longer | 68 | ····························completely·included,·the·macros·are·no·longer |
| 65 | ····························available.·So: | 69 | ····························available.·So: |
| 66 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 70 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.m_.a_.g_.e_.u_.r_.l·url="http://my.domain.org/ |
| 71 | ····························"·path="/var/www/my.domain/"> | ||
| 72 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
| 73 | ····························var/www/other.domain/"> | ||
| 74 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
| 75 | ···························· ·the·local·filename·"logo.gif"·will·be·used·to | ||
| 76 | ····························determine·image·dimensions | ||
| 77 | ···························· ·(no·URL·replacement). | ||
| 78 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 79 | ····························my.domain.org/logo.gif"> | ||
| 80 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
| 81 | ····························will·be·used. | ||
| 82 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 83 | ····························other.domain.org/logo.gif"> | ||
| 84 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
| 85 | ····························so·the·image·dimensions | ||
| 86 | ···························· ·will·not·be·added. | ||
| 87 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
| 88 | ····························precedence: | ||
| 89 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
| 90 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
| 91 | ····························test/"> | ||
| 92 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
| 93 | ····························src="/test/image.gif"> are·mapped·to | ||
| 94 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
| 95 | ····························image.gif,·resp. | ||
| 96 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
| 97 | ····························swapped,·the·second | ||
| 98 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
| 67 | ···························· | 99 | ····························image.gif. |
| 68 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
| 69 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
| 70 | ····························Macros·named·"name"·and·"email"·are·set,·and | 100 | ····························Macros·named·"name"·and·"email"·are·set,·and |
| 71 | ····························available·inside·the·included·file.·They·are·not | 101 | ····························available·inside·the·included·file.·They·are·not |
| 72 | ····························available,·however,·past·the·tag·(which·is·why·the | 102 | ····························available,·however,·past·the·tag·(which·is·why·the |
| 73 | ····························second·statement·will·fail.) | 103 | ····························second·statement·will·fail.) |
| 74 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* | 104 | ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8* |
| 75 | ····························A·template·file·is·nothing·more·than·a·default | 105 | ····························A·template·file·is·nothing·more·than·a·default |
| 76 | ····························include·file,·one·that·is·included·once·the·input | 106 | ····························include·file,·one·that·is·included·once·the·input |
| Offset 114, 24 lines modified | Offset 114, 36 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | <span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="ebnf">]</span>></span><br> | ||
| 122 | <br> | 121 | · ·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> | ||
| 123 | </code></p> | 128 | </code></p> |
| 124 | <h2>synopsis</h2> | 129 | <h2>synopsis</h2> |
| 125 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building | 130 | <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building |
| 126 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. | 131 | blocks·for·conditional·processing.··The·basic·form·is·shown·above. |
| 127 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A | 132 | <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A |
| 128 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal | 133 | compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal |
| 129 | string: | 134 | string: |
| 130 | ··<p><code> | 135 | ··<p><code> |
| 136 | <span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="htp-attrib">]</span>></span><br> | ||
| 137 | <br> | ||
| 138 | </code></p> | ||
| 139 | <P> | ||
| 140 | and·a·defined·operator·is·a·test·of·a·macro's·existance: | ||
| 141 | <P> | ||
| 142 | ··<p><code> | ||
| 131 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> | 143 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>></span><br> |
| 132 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | 144 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> |
| 133 | <br> | 145 | <br> |
| 134 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | 146 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> |
| 135 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | 147 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> |
| 136 | ·(no·URL·replacement).<br> | 148 | ·(no·URL·replacement).<br> |
| 137 | <br> | 149 | <br> |
| Offset 148, 20 lines modified | Offset 160, 14 lines modified | ||
| 148 | <br> | 160 | <br> |
| 149 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | 161 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> |
| 150 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | 162 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> |
| 151 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | 163 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> |
| 152 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | 164 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> |
| 153 | </code></p> | 165 | </code></p> |
| 154 | <P> | 166 | <P> |
| 155 | and·a·defined·operator·is·a·test·of·a·macro's·existance: | ||
| 156 | <P> | ||
| 157 | ··<p><code> | ||
| 158 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>></span><br> | ||
| 159 | </code></p> | ||
| 160 | <P> | ||
| 161 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the | 167 | If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the |
| 162 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that | 168 | conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that |
| 163 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the | 169 | evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the |
| 164 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block | 170 | ELSE·block·is·taken·if·it·is·present.··A·conditional·block |
| 165 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. | 171 | <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested. |
| 166 | <p> | 172 | <p> |
| 167 | </td> | 173 | </td> |
| Offset 1, 36 lines modified | Offset 1, 49 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="imageurl"·[·path="path/in/ | ||
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················local/filesystem"·]> | ||
| 6 | ·_\x8 | 4 | ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· · ·a·is·expanded·at·time·1. |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·b·is·expanded·at·time·0. | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[ | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
| 8 | ·HTP·Tags·················· ·contents·of·b:· ·b·is·expanded·at·time·0. | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at | ||
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················time·1. | ||
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at | ||
| 12 | · ···_\x8D_\x8E_\x8F···················time·2. | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the | ||
| 14 | ·[>]·_\x8I_\x8F····················2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. | ||
| 7 | · | 15 | · ···_.I_.N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 8 | · | 16 | · ···_.I_.M_.G···················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building |
| 9 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············blocks·for·conditional·processing.·The·basic·form |
| 10 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················is·shown·above. |
| 11 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················"Conditional"·is·either·a·"compare"·or·"is·defined" |
| 12 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················operation.·A·compare·operator·is·a·test·of·the |
| 13 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················value·of·a·macro·against·a·literal·string: |
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="imageurl"·[·path="path/in/ | ||
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················local/filesystem"·]> | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················and·a·defined·operator·is·a·test·of·a·macro's | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················existance: | ||
| 14 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ |
| 15 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················"·path="/var/www/my.domain/"> |
| 16 | · | 29 | ·_.B_.u_.g_.s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ |
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············var/www/other.domain/"> | ||
| 18 | 30 | ····························var/www/other.domain/"> | |
| 19 | 31 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | |
| 20 | 32 | ···························· ·the·local·filename·"logo.gif"·will·be·used·to | |
| 21 | 33 | ····························determine·image·dimensions | |
| 22 | 34 | ···························· ·(no·URL·replacement). | |
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | ||
| 24 | 35 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | |
| 25 | 36 | ····························my.domain.org/logo.gif"> | |
| 26 | 37 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | |
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················will·be·used. | ||
| 28 | 38 | ····························will·be·used. | |
| 29 | 39 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | |
| 30 | ····························other.domain.org/logo.gif"> | 40 | ····························other.domain.org/logo.gif"> |
| 31 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | 41 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), |
| 32 | ····························so·the·image·dimensions | 42 | ····························so·the·image·dimensions |
| 33 | ···························· ·will·not·be·added. | 43 | ···························· ·will·not·be·added. |
| 34 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | 44 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes |
| 35 | ····························precedence: | 45 | ····························precedence: |
| Offset 42, 17 lines modified | Offset 55, 14 lines modified | ||
| 42 | ····························src="/test/image.gif"> are·mapped·to | 55 | ····························src="/test/image.gif"> are·mapped·to |
| 43 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | 56 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ |
| 44 | ····························image.gif,·resp. | 57 | ····························image.gif,·resp. |
| 45 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | 58 | ···························· ·If·the·order·of·the·imageurl·lines·would·be |
| 46 | ····························swapped,·the·second | 59 | ····························swapped,·the·second |
| 47 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | 60 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ |
| 48 | ····························image.gif. | 61 | ····························image.gif. |
| 49 | ····························and·a·defined·operator·is·a·test·of·a·macro's | ||
| 50 | ····························existance: | ||
| 51 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i="1"·j="-1"> | ||
| 52 | ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the | 62 | ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the |
| 53 | ····························evaluation·of·the·conditional·is·reversed.·The | 63 | ····························evaluation·of·the·conditional·is·reversed.·The |
| 54 | ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true | 64 | ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true |
| 55 | ····························is·chosen.·If·none·of·the·conditions·is·true·the | 65 | ····························is·chosen.·If·none·of·the·conditions·is·true·the |
| 56 | ····························ELSE·block·is·taken·if·it·is·present.·A·conditional | 66 | ····························ELSE·block·is·taken·if·it·is·present.·A·conditional |
| 57 | ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can | 67 | ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can |
| 58 | ····························be·nested. | 68 | ····························be·nested. |
| Offset 114, 27 lines modified | Offset 114, 16 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | · ·<span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
| 122 | · ·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 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>></span><br> | ||
| 122 | · <span·class="htp-tag"><table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>></span><br> | ||
| 123 | · <span·class="htp-tag"><tr></span><br> | ||
| 124 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
| 125 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>></span>&nbsp;<span·class="htp-tag"></td></span><br> | ||
| 126 | · ·<span·class="htp-tag"><td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>></span><span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>></span><span·class="htp-tag"></td></span><br> | ||
| 127 | · <span·class="htp-tag"></tr></span><br> | ||
| 128 | · <span·class="htp-tag"></table></span><br> | ||
| 129 | <span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
| 130 | <br> | ||
| 131 | paragraph<br> | ||
| 132 | <span·class="htp-tag"><imghr></span><br> | ||
| 133 | paragraph<br> | ||
| 134 | </code></p> | 123 | </code></p> |
| 135 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
| 136 | <P> | 125 | <P> |
| 137 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local | 126 | <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local |
| 138 | file·system.··declares·an·URL·replacement·that·is·used·for | 127 | file·system.··declares·an·URL·replacement·that·is·used·for |
| 139 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions | 128 | size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions |
| 140 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is | 129 | takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is |
| Offset 148, 18 lines modified | Offset 137, 36 lines modified | ||
| 148 | checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC | 137 | checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC |
| 149 | attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH. | 138 | attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH. |
| 150 | If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and | 139 | If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and |
| 151 | looked·up·in·the·current·directory.</P> | 140 | looked·up·in·the·current·directory.</P> |
| 152 | <P> | 141 | <P> |
| 153 | For·example:</P> | 142 | For·example:</P> |
| 154 | ··<p><code> | 143 | ··<p><code> |
| 155 | <span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="htp-attrib">[APPEND]</span>·<span·class="htp-attrib">[EXPAND]</span>></span><br> | ||
| 156 | text·block<br> | ||
| 157 | <span·class="htp-tag"><<a·href=" | 144 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib[·...·truncated·by·diffoscope;·len:·66,·SHA:·037f5de2512682208f0ece10703bb1852ef2e9d88ff644bf5b71ffa30be2a711·...·]>></span><br> |
| 145 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
| 146 | <br> | ||
| 147 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
| 148 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
| 149 | ·(no·URL·replacement).<br> | ||
| 150 | <br> | ||
| 151 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
| 152 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
| 153 | <br> | ||
| 154 | ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
| 155 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
| 156 | ·will·not·be·added.<br> | ||
| 157 | <br> | ||
| 158 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
| 159 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
| 160 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
| 158 | <br> | 161 | <br> |
| 162 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
| 163 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
| 164 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
| 165 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
| 159 | </code></p> | 166 | </code></p> |
| 160 | <P> | 167 | <P> |
| 161 | If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as | 168 | If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as |
| 162 | an·undefine,·and·is·removed.</P> | 169 | an·undefine,·and·is·removed.</P> |
| 163 | <P> | 170 | <P> |
| 164 | Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout | 171 | Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout |
| 165 | a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an | 172 | a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an |
| Offset 1, 51 lines modified | Offset 1, 67 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· <_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·INCLUDE="include.hti"·name="Jim |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················Nelson"·email="jnelson@crl.com"> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> | ||
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <table·border="0"·cellspacing="0" | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················cellpadding="0"> | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · <tr> | ||
| 8 | ·HTP·Tags·················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></ | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············td> | ||
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<td·width="95%" | ||
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············background="midsep.png"> </td> | ||
| 12 | · ···_\x8D_\x8E_\x8F··················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></ | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E··················td> | ||
| 14 | · ···_\x8I_\x8F···················· · </tr> | ||
| 15 | · ···_\x8I_\x8N_\x8C··················· · </table> | ||
| 16 | · ···_\x8I_\x8M_\x8G··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
| 17 | ·[>]·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
| 18 | · ···_\x8O_\x8P_\x8T··················· paragraph | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ <imghr> | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· paragraph | ||
| 21 | · | 7 | ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 22 | · | 8 | ·HTP·Tags··················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the |
| 23 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············local·file·system.·declares·an·URL·replacement·that |
| 24 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This |
| 25 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option |
| 26 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················is·enabled.·Beacause·htp·can't·lookup·files·in·the |
| 27 | · | 13 | · ···_.F_.I_.L_.E··················world·wide·web·you·have·to·map·absolute·image·URLs |
| 28 | · | 14 | · ···_.I_.F····················to·a·directory·in·the·local·file·system. |
| 29 | · | 15 | · ···_.I_.N_.C···················When·an·IMG·tag·is·encountered·where·htp·has·to |
| 30 | ···· | 16 | · ···_.I_.M_.G···················insert·width·and·height·the·defined·URL |
| 31 | ·· | 17 | ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············replacements·will·be·taken·into·account·(later |
| 32 | ···· | 18 | · ···_.O_.P_.T···················definitions·take·precedence·to·earlier):·For·each |
| 33 | ···· | 19 | · ···_.O_.U_.T_.P_.U_.T················defined·imageurl·it·checks·(case-insensitive)·if·it |
| 34 | ···· | 20 | · ···_.Q_.U_.O_.T_.E·················is·a·prefix·of·the·image's·SRC·attribute.·If·it |
| 35 | ···· | 21 | · ···_.S_.E_.T···················matches·this·prefix·is·replaced·by·the·given·PATH. |
| 36 | ···· | 22 | · ···_.U_.N_.D_.E_.F·················If·no·IMAGEURL·matches·the·SRC·is·considered·as |
| 37 | ···· | 23 | · ···_.U_.N_.S_.E_.T·················relative·link·and·looked·up·in·the·current |
| 38 | ····························directory. | ||
| 39 | ····························For·example: | ||
| 40 | ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T·FILE="outputfilename"·[APPEND] | ||
| 41 | ····························[EXPAND]> | ||
| 42 | ····························text·block | ||
| 43 | 24 | · ···_.U_.S_.E_.,_.·_.$················directory. | |
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················For·example: | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················"·path="/var/www/my.domain/"> | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················var/www/other.domain/"> | ||
| 30 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
| 31 | ···························· ·the·local·filename·"logo.gif"·will·be·used·to | ||
| 32 | ····························determine·image·dimensions | ||
| 33 | ···························· ·(no·URL·replacement). | ||
| 34 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 35 | ····························my.domain.org/logo.gif"> | ||
| 36 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
| 37 | ····························will·be·used. | ||
| 38 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 39 | ····························other.domain.org/logo.gif"> | ||
| 40 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
| 41 | ····························so·the·image·dimensions | ||
| 42 | ···························· ·will·not·be·added. | ||
| 43 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | ||
| 44 | ····························precedence: | ||
| 45 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | ||
| 46 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | ||
| 47 | ····························test/"> | ||
| 48 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g | ||
| 49 | ····························src="/test/image.gif"> are·mapped·to | ||
| 50 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | ||
| 51 | ····························image.gif,·resp. | ||
| 52 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | ||
| 53 | ····························swapped,·the·second | ||
| 54 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | ||
| 55 | ····························image.gif. | ||
| 44 | ····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH | 56 | ····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH |
| 45 | ····························attribute,·it·is·treated·as·an·undefine,·and·is | 57 | ····························attribute,·it·is·treated·as·an·undefine,·and·is |
| 46 | ····························removed. | 58 | ····························removed. |
| 47 | ····························Since·you·usually·need·the·url·mapping·for·a·number | 59 | ····························Since·you·usually·need·the·url·mapping·for·a·number |
| 48 | ····························of·images·used·throughout·a·set·of·documents, | 60 | ····························of·images·used·throughout·a·set·of·documents, |
| 49 | ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e | 61 | ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e |
| 50 | ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file. | 62 | ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file. |
| Offset 114, 27 lines modified | Offset 114, 23 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>></span><br> | ||
| 122 | · ·<span·class="htp-tag"><font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>></span><br> | ||
| 121 | <span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
| 122 | · ·block·#1<br> | ||
| 123 | [<br> | ||
| 124 | <span·class="htp-tag"><ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
| 125 | · ·block·#2<br> | ||
| 126 | ...<br> | ||
| 127 | ]<br> | ||
| 128 | [<br> | ||
| 129 | <span·class="htp-tag"><ELSE></span><br> | ||
| 130 | · ·block·#3<br> | ||
| 131 | ]<br> | ||
| 132 | <span·class="htp-tag"><<a·href=" | 123 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> |
| 133 | <br> | 124 | <br> |
| 125 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>></span><br> | ||
| 126 | · ·<span·class="htp-tag"></font></span><br> | ||
| 127 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>></span><br> | ||
| 128 | <br> | ||
| 129 | ·<span·class="htp-tag"><bigfont></span>Some·large·text<span·class="htp-tag"></bigfont></span><br> | ||
| 134 | </code></p> | 130 | </code></p> |
| 135 | <h2>synopsis</h2> | 131 | <h2>synopsis</h2> |
| 136 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified | 132 | <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified |
| 137 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage | 133 | image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage |
| 138 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially | 134 | of·not·having·to·determine·each·image's·size·manually,·which·is·especially |
| 139 | useful·if·the·image·may·change·frequently.·</P> | 135 | useful·if·the·image·may·change·frequently.·</P> |
| 140 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup | 136 | <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup |
| Offset 1, 40 lines modified | Offset 1, 36 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_. | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="bigfont"> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · · | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<font·size="+4"> |
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················[ | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<ELSEIF·[NOT]·conditional> | ||
| 8 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l·················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
| 8 | ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·</font> |
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················] | ||
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············[ | ||
| 12 | · ···_\x8D_\x8E_\x8F···················<ELSE> | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·block·#3 | ||
| 14 | · ···_\x8I_\x8F····················] | ||
| 15 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f> |
| 16 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F |
| 12 | · ···_\x8D_\x8E_\x8F··················· ·<bigfont>Some·large·text</bigfont> | ||
| 17 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 18 | · ···_\x8 | 14 | · ···_\x8I_.F····················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the |
| 19 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················specified·image's·width·and·height·to·the·tag |
| 20 | · | 16 | ·[>]·_.I_.M_.G···················automatically.·This·has·the·advantage·of·not·having |
| 21 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············to·determine·each·image's·size·manually,·which·is |
| 22 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················especially·useful·if·the·image·may·change |
| 23 | · ···_\x8U_. | 19 | · ···_\x8O_.U_.T_.P_.U_.T················frequently. |
| 24 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················htp·adds·this·information·with·the·WIDTH·and·HEIGHT |
| 25 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················markup·attributes.·If·htp·detects·these·attributes |
| 26 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify |
| 27 | · | 23 | · ···_.U_.N_.S_.E_.T·················the·values.·If·htp·cannot·find·the·image·file,·it |
| 28 | · | 24 | · ···_.U_.S_.E_.,_.·_.$················will·issue·a·warning·but·not·halt·processing. |
| 29 | · | 25 | · ···_.W_.H_.I_.L_.E·················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG |
| 30 | ···· | 26 | · ···_.<_.!_.-_.-_.-·················(Portable·Network·Graphics),·and·JFIF·(JPEG·File |
| 31 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················Interchange·Format)·are·supported. |
| 32 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or |
| 33 | · | 29 | ·_.B_.u_.g_.s······················not·htp·actually·adds·this·information·as·it |
| 34 | ····························executes. | 30 | ····························executes. |
| 35 | ····························Since·htp·is·able·to·lookup·files·only·in·the·local | 31 | ····························Since·htp·is·able·to·lookup·files·only·in·the·local |
| 36 | ····························filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map | 32 | ····························filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map |
| 37 | ····························URLs·to·local·files. | 33 | ····························URLs·to·local·files. |
| 38 | ····························htp·can·also·add·default·ALT·text·to·IMG·tags·using | 34 | ····························htp·can·also·add·default·ALT·text·to·IMG·tags·using |
| 39 | ····························_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T. | 35 | ····························_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T. |
| Offset 138, 40 lines modified | Offset 138, 50 lines modified | ||
| 138 | <br> | 138 | <br> |
| 139 | ·Instead,·use·*·like·this:<br> | 139 | ·Instead,·use·*·like·this:<br> |
| 140 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>></span><br> | 140 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>></span><br> |
| 141 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>></span><br> | 141 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>></span><br> |
| 142 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>></span><br> | 142 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>></span><br> |
| 143 | · ·<br> | 143 | · ·<br> |
| 144 | ·<span·class="htp-tag"><MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>></span><br> | 144 | ·<span·class="htp-tag"><MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>></span><br> |
| 145 | <br> | ||
| 146 | ·will·not·be·added.<br> | ||
| 147 | <br> | ||
| 148 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
| 149 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
| 150 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
| 151 | <br> | ||
| 152 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
| 153 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
| 154 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
| 155 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
| 156 | </code></p> | 145 | </code></p> |
| 157 | <h2>synopsis</h2> | 146 | <h2>synopsis</h2> |
| 158 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a | 147 | The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a |
| 159 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. | 148 | variable·or·for·variable·addition.··The·basic·form·is·shown·above. |
| 160 | <P> | 149 | <P> |
| 161 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a | 150 | The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a |
| 162 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The | 151 | literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The |
| 163 | macroname·must·be·the·name·of·a·defined·macro·that·contains·an | 152 | macroname·must·be·the·name·of·a·defined·macro·that·contains·an |
| 164 | integer.··If·the·increment·is·ommitted·it·defaults·to·1. | 153 | integer.··If·the·increment·is·ommitted·it·defaults·to·1. |
| 165 | The·effect·of·this·operation·is·that·the·macro·is·redefined | 154 | The·effect·of·this·operation·is·that·the·macro·is·redefined |
| 166 | to·contain·the·sum·of·its·previous·value·and·its·increment. | 155 | to·contain·the·sum·of·its·previous·value·and·its·increment. |
| 167 | <P> | 156 | <P> |
| 168 | To·increment·or·decrement·a·variable·you·can·use·this·form: | 157 | To·increment·or·decrement·a·variable·you·can·use·this·form: |
| 169 | ··<p><code> | 158 | ··<p><code> |
| 170 | · | 159 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path<[·...·truncated·by·diffoscope;·len:·52,·SHA:·c5a5dbef64668b22c6207c6aaa6ce2c9a50805e7f22e00f2f17550bad8a04ec4·...·]"</span>></span><br> |
| 160 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>></span><br> | ||
| 161 | <br> | ||
| 162 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>></span><br> | ||
| 163 | ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> | ||
| 164 | ·(no·URL·replacement).<br> | ||
| 165 | <br> | ||
| 166 | ·For·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>></span><br> | ||
| 167 | ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> | ||
| 168 | <br> | ||
| 169 | ·But·for·this·line:·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>></span><br> | ||
| 170 | ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> | ||
| 171 | ·will·not·be·added.<br> | ||
| 172 | <br> | ||
| 173 | ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> | ||
| 174 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>></span><br> | ||
| 175 | ·<span·class="htp-tag"><<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>></span><br> | ||
| 176 | <br> | ||
| 177 | ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>></span> and·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>></span> are·mapped·to<br> | ||
| 178 | ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> | ||
| 179 | ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> | ||
| 180 | ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> | ||
| 171 | </code></p> | 181 | </code></p> |
| 172 | <p> | 182 | <p> |
| 173 | Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It | 183 | Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It |
| 174 | may·give·weired·results·when·used·on·arbitrary·strings.··The·integer | 184 | may·give·weired·results·when·used·on·arbitrary·strings.··The·integer |
| 175 | values·are·limited·to·the·range·-2^31..2^31. | 185 | values·are·limited·to·the·range·-2^31..2^31. |
| 176 | <P> | 186 | <P> |
| 177 | Note·further·that·htp·wasn't·designed·to·do·extensive·calculations. | 187 | Note·further·that·htp·wasn't·designed·to·do·extensive·calculations. |
| Offset 25, 15 lines modified | Offset 25, 47 lines modified | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E |
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·Instead,·use·*·like·this: | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·Instead,·use·*·like·this: |
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> |
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> |
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> | 29 | ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> |
| 30 | ···························· · | 30 | ···························· · |
| 31 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> | 31 | ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> |
| 32 | ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
| 33 | ····························The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a | ||
| 34 | ····························variable·or·for·variable·addition.·The·basic·form | ||
| 35 | ····························is·shown·above. | ||
| 36 | ····························The·"increment"·is·anything·that·evaluates·to·a | ||
| 37 | ····························integer.·It·can·be·a·literal·string·or·a·macro | ||
| 38 | ····························preceeded·by·the·'$'-operator.·The·macroname·must | ||
| 39 | ····························be·the·name·of·a·defined·macro·that·contains·an | ||
| 40 | ····························integer.·If·the·increment·is·ommitted·it·defaults | ||
| 41 | ····························to·1.·The·effect·of·this·operation·is·that·the | ||
| 42 | ····························macro·is·redefined·to·contain·the·sum·of·its | ||
| 43 | ····························previous·value·and·its·increment. | ||
| 44 | ····························To·increment·or·decrement·a·variable·you·can·use | ||
| 45 | ····························this·form: | ||
| 46 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ | ||
| 47 | ····························"·path="/var/www/my.domain/"> | ||
| 48 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ | ||
| 49 | ····························var/www/other.domain/"> | ||
| 50 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> | ||
| 51 | ···························· ·the·local·filename·"logo.gif"·will·be·used·to | ||
| 52 | ····························determine·image·dimensions | ||
| 53 | ···························· ·(no·URL·replacement). | ||
| 54 | ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 55 | ····························my.domain.org/logo.gif"> | ||
| 56 | ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" | ||
| 57 | ····························will·be·used. | ||
| 58 | ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// | ||
| 59 | ····························other.domain.org/logo.gif"> | ||
| 60 | ···························· ·the·local·file·cannot·be·found·(no·prefix·match), | ||
| 61 | ····························so·the·image·dimensions | ||
| 32 | ···························· ·will·not·be·added. | 62 | ···························· ·will·not·be·added. |
| 33 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes | 63 | ···························· ·Order·is·important;·last·IMAGEURL·tag·takes |
| 34 | ····························precedence: | 64 | ····························precedence: |
| 35 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> | 65 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> |
| 36 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ | 66 | ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ |
| 37 | ····························test/"> | 67 | ····························test/"> |
| Offset 42, 29 lines modified | Offset 74, 14 lines modified | ||
| 42 | ····························src="/test/image.gif"> are·mapped·to | 74 | ····························src="/test/image.gif"> are·mapped·to |
| 43 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ | 75 | ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ |
| 44 | ····························image.gif,·resp. | 76 | ····························image.gif,·resp. |
| 45 | ···························· ·If·the·order·of·the·imageurl·lines·would·be | 77 | ···························· ·If·the·order·of·the·imageurl·lines·would·be |
| 46 | ····························swapped,·the·second | 78 | ····························swapped,·the·second |
| 47 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ | 79 | ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ |
| 48 | ····························image.gif. | 80 | ····························image.gif. |
| 49 | ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | ||
| 50 | ····························The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a | ||
| 51 | ····························variable·or·for·variable·addition.·The·basic·form | ||
| 52 | ····························is·shown·above. | ||
| 53 | ····························The·"increment"·is·anything·that·evaluates·to·a | ||
| 54 | ····························integer.·It·can·be·a·literal·string·or·a·macro | ||
| 55 | ····························preceeded·by·the·'$'-operator.·The·macroname·must | ||
| 56 | ····························be·the·name·of·a·defined·macro·that·contains·an | ||
| 57 | ····························integer.·If·the·increment·is·ommitted·it·defaults | ||
| 58 | ····························to·1.·The·effect·of·this·operation·is·that·the | ||
| 59 | ····························macro·is·redefined·to·contain·the·sum·of·its | ||
| 60 | ····························previous·value·and·its·increment. | ||
| 61 | ····························To·increment·or·decrement·a·variable·you·can·use | ||
| 62 | ····························this·form: | ||
| 63 | ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i="1"·j="-1"> | ||
| 64 | ····························Note·that·INC·doesn't·check·if·the·strings·really | 81 | ····························Note·that·INC·doesn't·check·if·the·strings·really |
| 65 | ····························denote·integers.·It·may·give·weired·results·when | 82 | ····························denote·integers.·It·may·give·weired·results·when |
| 66 | ····························used·on·arbitrary·strings.·The·integer·values·are | 83 | ····························used·on·arbitrary·strings.·The·integer·values·are |
| 67 | ····························limited·to·the·range·-2^31..2^31. | 84 | ····························limited·to·the·range·-2^31..2^31. |
| 68 | ····························Note·further·that·htp·wasn't·designed·to·do | 85 | ····························Note·further·that·htp·wasn't·designed·to·do |
| 69 | ····························extensive·calculations.·The·INC·tag·is·useful·in | 86 | ····························extensive·calculations.·The·INC·tag·is·useful·in |
| 70 | ····························conjunction·with·WHILE·to·iterate·over·the·defined | 87 | ····························conjunction·with·WHILE·to·iterate·over·the·defined |
| Offset 88, 15 lines modified | Offset 88, 18 lines modified | ||
| 88 | <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and | 88 | <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and |
| 89 | undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P> | 89 | undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P> |
| 90 | <P> | 90 | <P> |
| 91 | As·an·example·we·show·how·to·define·a·tag·that·builds·a | 91 | As·an·example·we·show·how·to·define·a·tag·that·builds·a |
| 92 | fancy·horizontal·rule·out·of·several·images. | 92 | fancy·horizontal·rule·out·of·several·images. |
| 93 | </P> | 93 | </P> |
| 94 | ··<p><code> | 94 | ··<p><code> |
| 95 | <font·size="-2"> 1.·</font> | 95 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="htp-attrib">[APPEND]</span>[·...·truncated·by·diffoscope;·len:·34,·SHA:·942dc6450ba36b3de219bda3e2649629d933cd6a8e79b15f36b03a204db6439c·...·]</span>></span><br> |
| 96 | <font·size="-2"> 2.·</font>text·block<br> | ||
| 97 | <font·size="-2"> 3.·</font><span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>></span><br> | ||
| 98 | <font·size="-2"> 4.·</font><br> | ||
| 96 | </code></p> | 99 | </code></p> |
| 97 | <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined. | 100 | <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined. |
| 98 | The·html·code·which·implements·this·rule·is·following·in·lines·2-8. | 101 | The·html·code·which·implements·this·rule·is·following·in·lines·2-8. |
| 99 | between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and | 102 | between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and |
| 100 | <code>/def</code></a>·tags.··You·don't·have·to·understand·this | 103 | <code>/def</code></a>·tags.··You·don't·have·to·understand·this |
| 101 | html·code,·but·you·should·understand·that·this·is·just·pure·html·to | 104 | html·code,·but·you·should·understand·that·this·is·just·pure·html·to |
| 102 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> | 105 | draw·the·fancy·rule.·Every·time·you·write·<code><imghr></code> |
| Offset 106, 37 lines modified | Offset 109, 41 lines modified | ||
| 106 | file</a>.··</p> | 109 | file</a>.··</p> |
| 107 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing | 110 | <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing |
| 108 | variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp | 111 | variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp |
| 109 | encounters·a·blockdef·tag·it·will·automatically·search·for·the | 112 | encounters·a·blockdef·tag·it·will·automatically·search·for·the |
| 110 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block | 113 | matching·closing·tag·and·put·everything·between·these·tags·in·a·block |
| 111 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> | 114 | macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P> |
| 112 | ··<p><code> | 115 | ··<p><code> |
| 116 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="htp-attrib">[ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...]</span>></span><br> | ||
| 113 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>></span><br> | ||
| 114 | <font·size="-2"> 2.·</font><span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
| 115 | <font·size="-2"> | 117 | <font·size="-2"> 2.·</font><br> |
| 118 | <font·size="-2"> 3.·</font> macroname2·...·><br> | ||
| 119 | <font·size="-2"> 4.·</font><br> | ||
| 116 | </code></p> | 120 | </code></p> |
| 117 | <h2>Using·parameters</h2> | 121 | <h2>Using·parameters</h2> |
| 118 | <p>·More·sophisticated·tags·accept·parameters.··The | 122 | <p>·More·sophisticated·tags·accept·parameters.··The |
| 119 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be | 123 | <code>option</code>·parameter·lets·multiple·metatag·parameters·be |
| 120 | named·and·expanded·inside·the·<code>def</code>·or | 124 | named·and·expanded·inside·the·<code>def</code>·or |
| 121 | <code>blockdef</code>·block:·</p> | 125 | <code>blockdef</code>·block:·</p> |
| 122 | ··<p><code> | 126 | ··<p><code> |
| 123 | <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> | ||
| 124 | <font·size="-2"> | 127 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>></span><br> |
| 128 | <font·size="-2"> 2.·</font><span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
| 129 | <font·size="-2"> 3.·</font><br> | ||
| 125 | </code></p> | 130 | </code></p> |
| 126 | <h2>Saving·blocks·for·later</h2> | 131 | <h2>Saving·blocks·for·later</h2> |
| 127 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by | 132 | <p>When·you·are·using·templates,·the·html·should·only·be·written·by |
| 128 | the·template·file.··The·normal·htp·files·should·just·define·macros | 133 | the·template·file.··The·normal·htp·files·should·just·define·macros |
| 129 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block | 134 | that·are·used·later·in·the·template.··So·you·may·want·to·write·block |
| 130 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this | 135 | tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this |
| 131 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to | 136 | is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to |
| 132 | do·this:</p> | 137 | do·this:</p> |
| 133 | ··<p><code> | 138 | ··<p><code> |
| 134 | <font·size="-2"> 1.·</font> | 139 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·cla[·...·truncated·by·diffoscope;·len:·26,·SHA:·206e3ca9c13a05ee23f6d528be34c23601e722e884124c88f3c19b8c4061bbd5·...·]</span>></span><br> |
| 140 | <font·size="-2"> 2.·</font><span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
| 141 | <font·size="-2"> 3.·</font><span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
| 135 | <font·size="-2"> | 142 | <font·size="-2"> 4.·</font><br> |
| 136 | </code></p> | 143 | </code></p> |
| 137 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a | 144 | <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a |
| 138 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is | 145 | counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is |
| 139 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is | 146 | increased·for·every·section·(line·3)·and·then·the·block·macro·name·is |
| 140 | build·from·this·counter.··So·the·first·section·is·stored·in·block | 147 | build·from·this·counter.··So·the·first·section·is·stored·in·block |
| 141 | sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag | 148 | sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag |
| 142 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally | 149 | in·line·4·tells·htp·that·these·macros·should·be·defined·globally |
| Offset 155, 16 lines modified | Offset 162, 18 lines modified | ||
| 155 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be | 162 | contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be |
| 156 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the | 163 | expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the |
| 157 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you | 164 | template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you |
| 158 | use·expand·in·a·block·around·it.</p> | 165 | use·expand·in·a·block·around·it.</p> |
| 159 | <p>To·close·this·example·we·show·how·to·expand·the | 166 | <p>To·close·this·example·we·show·how·to·expand·the |
| 160 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> | 167 | <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p> |
| 161 | ··<p><code> | 168 | ··<p><code> |
| 162 | <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> | ||
| 163 | <font·size="-2"> | 169 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>></span><br> |
| 170 | <font·size="-2"> 2.·</font> · ·...<br> | ||
| 171 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | ||
| 172 | <font·size="-2"> 4.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
| 164 | </code></p> | 173 | </code></p> |
| 165 | <p> | 174 | <p> |
| 166 | The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether | 175 | The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether |
| 167 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is | 176 | the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is |
| 168 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards | 177 | evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards |
| 169 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This | 178 | the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This |
| 170 | repeats·until·sect-${sect-ctr}·is·not·defined. | 179 | repeats·until·sect-${sect-ctr}·is·not·defined. |
| Offset 9, 15 lines modified | Offset 9, 19 lines modified | ||
| 9 | · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality. | 9 | · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality. |
| 10 | · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[ | 10 | · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[ |
| 11 | ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[ | 11 | ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[ |
| 12 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag. | 12 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag. |
| 13 | ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that | 13 | ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that |
| 14 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several | 14 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several |
| 15 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images. | 15 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images. |
| 16 | ·_\x8B_\x8u_\x8g_\x8s······················ 1.· | 16 | ·_\x8B_\x8u_\x8g_\x8s······················ 1.·<_.[_.[_.r_.e_.f_.]_.]_.O_.U_.T_.P_.U_.T·FILE="outputfilename"·[APPEND] |
| 17 | ····························[EXPAND]> | ||
| 18 | ···························· 2.·text·block | ||
| 19 | ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> | ||
| 20 | ···························· 4. | ||
| 17 | ····························In·line·1·of·the·above·example·a·new·tag·named | 21 | ····························In·line·1·of·the·above·example·a·new·tag·named |
| 18 | ····························imghr·is·defined.·The·html·code·which·implements | 22 | ····························imghr·is·defined.·The·html·code·which·implements |
| 19 | ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[ | 23 | ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[ |
| 20 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to | 24 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to |
| 21 | ····························understand·this·html·code,·but·you·should | 25 | ····························understand·this·html·code,·but·you·should |
| 22 | ····························understand·that·this·is·just·pure·html·to·draw·the | 26 | ····························understand·that·this·is·just·pure·html·to·draw·the |
| 23 | ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line | 27 | ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line |
| Offset 28, 36 lines modified | Offset 32, 39 lines modified | ||
| 28 | ····························Often·you·want·to·define·tags·that·have·an·opening | 32 | ····························Often·you·want·to·define·tags·that·have·an·opening |
| 29 | ····························and·a·closing·variant.·For·this·purpose·you·should | 33 | ····························and·a·closing·variant.·For·this·purpose·you·should |
| 30 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a | 34 | ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a |
| 31 | ····························blockdef·tag·it·will·automatically·search·for·the | 35 | ····························blockdef·tag·it·will·automatically·search·for·the |
| 32 | ····························matching·closing·tag·and·put·everything·between | 36 | ····························matching·closing·tag·and·put·everything·between |
| 33 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an | 37 | ····························these·tags·in·a·block·macro·named·block.·Here·is·an |
| 34 | ····························example·for·this. | 38 | ····························example·for·this. |
| 35 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_. | 39 | ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_.U_.O_.T_.E·TAG·[ATTRIBUTE=VALUE·...]> |
| 36 | ···························· 2.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·> | ||
| 37 | ···························· | 40 | ···························· 2. |
| 41 | ···························· 3.· macroname2·...·> | ||
| 42 | ···························· 4. | ||
| 38 | ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8* | 43 | ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 39 | ····························More·sophisticated·tags·accept·parameters.·The | 44 | ····························More·sophisticated·tags·accept·parameters.·The |
| 40 | ····························option·parameter·lets·multiple·metatag·parameters | 45 | ····························option·parameter·lets·multiple·metatag·parameters |
| 41 | ····························be·named·and·expanded·inside·the·def·or·blockdef | 46 | ····························be·named·and·expanded·inside·the·def·or·blockdef |
| 42 | ····························block: | 47 | ····························block: |
| 43 | ···························· 1.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti" | ||
| 44 | ····························name="Jim·Nelson"·email="jnelson@crl.com"> | ||
| 45 | ···························· | 48 | ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.U_.N_.D_.E_.F·tagname> |
| 49 | ···························· 2.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·> | ||
| 50 | ···························· 3. | ||
| 46 | ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8* | 51 | ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8* |
| 47 | ····························When·you·are·using·templates,·the·html·should·only | 52 | ····························When·you·are·using·templates,·the·html·should·only |
| 48 | ····························be·written·by·the·template·file.·The·normal·htp | 53 | ····························be·written·by·the·template·file.·The·normal·htp |
| 49 | ····························files·should·just·define·macros·that·are·used·later | 54 | ····························files·should·just·define·macros·that·are·used·later |
| 50 | ····························in·the·template.·So·you·may·want·to·write·block | 55 | ····························in·the·template.·So·you·may·want·to·write·block |
| 51 | ····························tags·that·just·save·the·block·in·a·macro·for·later | 56 | ····························tags·that·just·save·the·block·in·a·macro·for·later |
| 52 | ····························use.·Although·this·is·possible·with·htp·it·is·quite | 57 | ····························use.·Although·this·is·possible·with·htp·it·is·quite |
| 53 | ····························tricky,·so·here·we·present·the·way·to·do·this: | 58 | ····························tricky,·so·here·we·present·the·way·to·do·this: |
| 54 | ···························· 1.· | 59 | ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·macroname·[parameters·...] |
| 55 | ···························· | 60 | ····························[noexpand]> |
| 61 | ···························· 2.·<...·$macroname·...> | ||
| 62 | ···························· 3.·<...·${macroname}·...> | ||
| 56 | ···························· | 63 | ···························· 4. |
| 57 | ····························This·defines·a·block·macro·named·section.·This | 64 | ····························This·defines·a·block·macro·named·section.·This |
| 58 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the | 65 | ····························macro·uses·a·counter·sect-ctr·that·enumerates·the |
| 59 | ····························sections.·It·is·increased·for·every·section·(line | 66 | ····························sections.·It·is·increased·for·every·section·(line |
| 60 | ····························3)·and·then·the·block·macro·name·is·build·from·this | 67 | ····························3)·and·then·the·block·macro·name·is·build·from·this |
| 61 | ····························counter.·So·the·first·section·is·stored·in·block | 68 | ····························counter.·So·the·first·section·is·stored·in·block |
| 62 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ | 69 | ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[ |
| 63 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these | 70 | ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these |
| Offset 80, 17 lines modified | Offset 87, 18 lines modified | ||
| 80 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it | 87 | ····························block·to·be·expanded·twice.·If·you·omit·it,·it |
| 81 | ····························would·be·expanded·when·defining·the·sect-1·macro | 88 | ····························would·be·expanded·when·defining·the·sect-1·macro |
| 82 | ····························and·when·using·it·later·in·the·template.·Generally | 89 | ····························and·when·using·it·later·in·the·template.·Generally |
| 83 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use | 90 | ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use |
| 84 | ····························expand·in·a·block·around·it. | 91 | ····························expand·in·a·block·around·it. |
| 85 | ····························To·close·this·example·we·show·how·to·expand·the | 92 | ····························To·close·this·example·we·show·how·to·expand·the |
| 86 | ····························sect-${sect-ctr}·blocks·in·the·template: | 93 | ····························sect-${sect-ctr}·blocks·in·the·template: |
| 87 | ···························· 1.·<a·href="mailto:$email">mailto·hyperlink</a> | ||
| 88 | ···························· 2.·<a·href="http://$domain/~${username}/">another | ||
| 89 | ···························· | 94 | ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10"> |
| 95 | ···························· 2.· · ·... | ||
| 96 | ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
| 97 | ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
| 90 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the | 98 | ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the |
| 91 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined | 99 | ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined |
| 92 | ····························the·body·is·evaluated,·which·expands·the·macro·and | 100 | ····························the·body·is·evaluated,·which·expands·the·macro·and |
| 93 | ····························increases·sect-ctr.·Afterwards·the·while·condition | 101 | ····························increases·sect-ctr.·Afterwards·the·while·condition |
| 94 | ····························is·checked·again·to·check·for·sect-2·macro.·This | 102 | ····························is·checked·again·to·check·for·sect-2·macro.·This |
| 95 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. | 103 | ····························repeats·until·sect-${sect-ctr}·is·not·defined. |
| 96 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* | 104 | ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8* |
| Offset 114, 18 lines modified | Offset 114, 15 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | <span·class="htp-tag"><<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>></span><br> | ||
| 121 | · ·<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>></span>...<span·class="htp-tag"><<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>></span><br> | ||
| 122 | lename"·[APPEND]·[EXPAND]><br> | ||
| 123 | text·block<br> | ||
| 124 | <span·class="htp-tag"><<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>></span><br> | ||
| 125 | <br> | 122 | <br> |
| 126 | </code></p> | 123 | </code></p> |
| 127 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
| 128 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing | 125 | <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing |
| 129 | options·inside·the·actual·document·being·processed.··The·options·are | 126 | options·inside·the·actual·document·being·processed.··The·options·are |
| 130 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not | 127 | used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not |
| 131 | preceded·by·a·‘-’·character. | 128 | preceded·by·a·‘-’·character. |
| Offset 1, 23 lines modified | Offset 1, 23 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]> | ||
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e | ||
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> | ||
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················lename"·[APPEND]·[EXPAND]> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················text·block | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T> | ||
| 8 | ·HTP·Tags | ||
| 9 | · | 6 | ·_.T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 10 | · | 7 | ·_.U_.s_.a_.g_.e·····················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify |
| 11 | · | 8 | ·HTP·Tags··················processing·options·inside·the·actual·document·being |
| 12 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············processed.·The·options·are·used·exactly·as·they |
| 13 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················would·be·on·the·command-line,·although·they·are·not |
| 14 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············preceded·by·a·‘-’·character. |
| 15 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················Click·here·for·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8n_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g |
| 16 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p. |
| 14 | · ···_\x8I_\x8F | ||
| 15 | · ···_\x8I_\x8N_\x8C | ||
| 16 | · ···_\x8I_\x8M_\x8G | ||
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L |
| 18 | ·[>]·_\x8O_\x8P_\x8T | 18 | ·[>]·_\x8O_\x8P_\x8T |
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T |
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E |
| 21 | · ···_\x8S_\x8E_\x8T | 21 | · ···_\x8S_\x8E_\x8T |
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F |
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T |
| Offset 27, 17 lines modified | Offset 27, 14 lines modified | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
| 29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
| 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
| 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
| 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
| 33 | hosted·by | 33 | hosted·by |
| 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
| 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
| 36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
| Offset 114, 15 lines modified | Offset 114, 16 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | 121 | <span·class="htp-tag"><<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value"[·...·truncated·by·diffoscope;·len:·69,·SHA:·ea634dbab5ac4ccf4b06c709a9fcaf6deb645033f0530f94544de5e99f89a6df·...·]</span>></span><br> | |
| 122 | <br> | ||
| 122 | </code></p> | 123 | </code></p> |
| 123 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
| 124 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary | 125 | <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary |
| 125 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the | 126 | files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the |
| 126 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> | 127 | corresponding·</OUTPUT>·tag·is·written·to·output·file.·</P> |
| 127 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you | 128 | <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you |
| 128 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text | 129 | can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text |
| Offset 1, 24 lines modified | Offset 1, 24 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.Q_.U_.O_.T_.E·TAG·[ATTRIBUTE=VALUE·...]> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e | ||
| 5 | ·_\x8 | 6 | ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 6 | ·_\x8 | 7 | ·_\x8U_.s_.a_.g_.e·····················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary |
| 7 | · | 8 | ·HTP·Tags··················files·besides·the·main·HTML·file.·The·text·between |
| 8 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············this·tag·and·the·corresponding·</OUTPUT>·tag·is |
| 9 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················written·to·output·file. |
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············Normally·the·outputfile·is·cleared·before·writing |
| 11 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················to·it,·but·you·can·use·the·APPEND·attribute·to |
| 12 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················extend·an·existing·file.·The·text·written·to·the |
| 13 | · ···_\x8 | 14 | · ···_\x8I_.F····················file·is·normally·not·expanded,·i.e.·all·tags·inside |
| 14 | · ···_\x8I_\x8 | 15 | · ···_\x8I_\x8N_.C···················this·block·are·not·executed·but·written·unmodified |
| 15 | · ···_\x8I_\x8 | 16 | · ···_\x8I_\x8M_.G···················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D |
| 16 | · ···_\x8I_\x8M_\x8G | 17 | · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············attribute·to·override·this·behaviour. |
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | ||
| 18 | · ···_\x8O_\x8P_\x8T | 18 | · ···_\x8O_\x8P_\x8T |
| 19 | ·[>]·_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | 19 | ·[>]·_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T |
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E |
| 21 | · ···_\x8S_\x8E_\x8T | 21 | · ···_\x8S_\x8E_\x8T |
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F | 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F |
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T | 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T |
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ |
| Offset 30, 14 lines modified | Offset 30, 15 lines modified | ||
| 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
| 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
| 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
| 33 | hosted·by | 33 | hosted·by |
| 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
| 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
| 36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
| Offset 114, 16 lines modified | Offset 114, 15 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | <span·class="htp-tag"><<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>></span><br> | ||
| 121 | <span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>></span><br> | ||
| 122 | <span·class="htp-tag"><<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
| 123 | <br> | 122 | <br> |
| 124 | </code></p> | 123 | </code></p> |
| 125 | <h2>synopsis</h2> | 124 | <h2>synopsis</h2> |
| 126 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise | 125 | <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise |
| 127 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a | 126 | be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a |
| 128 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early | 127 | surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early |
| 129 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still | 128 | expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still |
| Offset 1, 20 lines modified | Offset 1, 20 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8 | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_.U_.O_.T_.E·TAG·[ATTRIBUTE=VALUE·...]> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e | ||
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
| 7 | ·_\x8 | 6 | ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 8 | · | 7 | ·_.U_.s_.a_.g_.e·····················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise |
| 9 | · | 8 | ·HTP·Tags··················be·interpreted·by·HTP.·It·may·be·useful·in |
| 10 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to |
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················prevent·early·expansion·of·some·contained·blocks. |
| 12 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············Note·that·'$'·evaluation·is·still·done·inside·a |
| 13 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················quote·block. |
| 13 | · ···_\x8F_\x8I_\x8L_\x8E | ||
| 14 | · ···_\x8I_\x8F | 14 | · ···_\x8I_\x8F |
| 15 | · ···_\x8I_\x8N_\x8C | 15 | · ···_\x8I_\x8N_\x8C |
| 16 | · ···_\x8I_\x8M_\x8G | 16 | · ···_\x8I_\x8M_\x8G |
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L |
| 18 | · ···_\x8O_\x8P_\x8T | 18 | · ···_\x8O_\x8P_\x8T |
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T |
| 20 | ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E | 20 | ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E |
| Offset 26, 15 lines modified | Offset 26, 14 lines modified | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y |
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t |
| 29 | ·_\x8B_\x8u_\x8g_\x8s | 29 | ·_\x8B_\x8u_\x8g_\x8s |
| 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e | 30 | ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e |
| 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t | 31 | ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t |
| 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e | 32 | ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e |
| 33 | hosted·by | 33 | hosted·by |
| 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e | 34 | _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e |
| 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y | 35 | HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y |
| 36 | _\x8h_\x8t_\x8p_\x8] | 36 | _\x8h_\x8t_\x8p_\x8] |
| Offset 114, 20 lines modified | Offset 114, 27 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | ||
| 122 | · ·block<br> | ||
| 121 | 123 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | |
| 124 | <br> | ||
| 122 | </code></p> | 125 | </code></p> |
| 123 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
| 124 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded | 127 | <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded |
| 125 | anywhere·in·the·HTML·document.··To·create·a·macro: | 128 | anywhere·in·the·HTML·document.··To·create·a·macro: |
| 126 | ··<p><code> | 129 | ··<p><code> |
| 130 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>></span><br> | ||
| 131 | · ·...<br> | ||
| 132 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | ||
| 133 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | ||
| 127 | </code></p> | 134 | </code></p> |
| 128 | <P> | 135 | <P> |
| 129 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> | 136 | The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html"> |
| 130 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular | 137 | USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular |
| 131 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the | 138 | text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the |
| 132 | <A·HREF="use.html">'$'</A>·operator. | 139 | <A·HREF="use.html">'$'</A>·operator. |
| 133 | <P> | 140 | <P> |
| Offset 1, 36 lines modified | Offset 1, 43 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·[NOT]·conditional> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | ||
| 5 | · | 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 6 | · | 9 | · ···_.A_.L_.T_.T_.E_.X_.T···············S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be |
| 7 | · | 10 | · ···_.B_.L_.O_.C_.K·················expanded·anywhere·in·the·HTML·document.·To·create·a |
| 8 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············macro: |
| 12 | · ···_\x8D_\x8E_\x8F··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> | ||
| 13 | · ···_\x8F_\x8I_\x8L_\x8E·················· · ·... | ||
| 14 | · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
| 15 | · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> | ||
| 9 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················The·macro·"emailaddr"·can·then·be·expanded·later. |
| 10 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a |
| 11 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················tag·(i.e.,·into·the·regular·text).·If·the·macro |
| 12 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················needs·to·be·expanded·inside·a·markup·tag,·use·the |
| 13 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E·················_\x8'_\x8$_\x8'·operator. |
| 14 | · | 21 | ·[>]·_.S_.E_.T···················Multiple·macros·can·be·declared·in·a·single·markup |
| 15 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F·················tag,·as·the·second·syntax·line·shows. |
| 16 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················SET·should·only·be·used·for·a·single·line's·worth |
| 17 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$················of·text.·Multi-line·macros·can·be·defined·with·the |
| 18 | · ···_\x8 | 25 | · ···_\x8W_.H_.I_.L_.E·················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the |
| 19 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················macro·contains·a·quotation·character·and·you·don't |
| 20 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················want·to·fool·around·with·special·escape·characters. |
| 21 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Macros·can·be·redefined·by·using·another·SET |
| 22 | · | 29 | ·_.B_.u_.g_.s······················command·with·the·same·macro·name.·The·prior |
| 23 | 30 | ····························definition·will·be·destroyed,·however.·Also,·the | |
| 24 | 31 | ····························macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T | |
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················tag. | ||
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t | ||
| 29 | 32 | ····························tag. | |
| Offset 16, 10 lines modified | Offset 16, 10 lines modified | ||
| 16 | <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr> | 16 | <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr> |
| 17 | <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr> | 17 | <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr> |
| 18 | </table> | 18 | </table> |
| 19 | ···</td></tr> | 19 | ···</td></tr> |
| 20 | ··</table> | 20 | ··</table> |
| 21 | ··<hr> | 21 | ··<hr> |
| 22 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> | 22 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> |
| 23 | ··last·updated·Fri· | 23 | ··last·updated·Fri·Sep·19,·2025 |
| 24 | ·</body> | 24 | ·</body> |
| 25 | </html> | 25 | </html> |
| Offset 1, 8 lines modified | Offset 1, 8 lines modified | ||
| 1 | ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* | 1 | ···············*\x8**\x8**\x8**\x8**\x8**\x8*·J\x8Jo\x8oc\x8ch\x8he\x8en\x8n·H\x8Ho\x8oe\x8en\x8ni\x8ic\x8ck\x8ke\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 2 | Navigation·bar·[Photo] | 2 | Navigation·bar·[Photo] |
| 3 | _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020 | 3 | _\x8M_\x8a_\x8i_\x8n···········R\x8Ro\x8oo\x8om\x8m:\x8:··Bld.52·00-020 |
| 4 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243 | 4 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e········P\x8Ph\x8ho\x8on\x8ne\x8e:\x8:·+49·761·203-8243 |
| 5 | ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242 | 5 | ···············F\x8Fa\x8ax\x8x:\x8:···+49·761·203-8242 |
| 6 | =============================================================================== | 6 | =============================================================================== |
| 7 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 7 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
| 8 | last·updated·Fri· | 8 | last·updated·Fri·Sep·19,·2025 |
| Offset 5, 9 lines modified | Offset 5, 9 lines modified | ||
| 5 | <meta·name="Generator"·content="htp·1.19"> | 5 | <meta·name="Generator"·content="htp·1.19"> |
| 6 | </head> | 6 | </head> |
| 7 | <body> | 7 | <body> |
| 8 | This·page·was·produced·by·htp. | 8 | This·page·was·produced·by·htp. |
| 9 | <hr> | 9 | <hr> |
| 10 | Copyright·by·Joe·Doe, | 10 | Copyright·by·Joe·Doe, |
| 11 | <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>, | 11 | <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>, |
| 12 | last·updated·Fri· | 12 | last·updated·Fri·Sep·19,·2025 |
| 13 | </body> | 13 | </body> |
| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | This·page·was·produced·by·htp. | 1 | This·page·was·produced·by·htp. |
| 2 | =============================================================================== | 2 | =============================================================================== |
| 3 | Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Fri· | 3 | Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Fri·Sep·19,·2025 |
| Offset 13, 10 lines modified | Offset 13, 10 lines modified | ||
| 13 | <p> | 13 | <p> |
| 14 | As·you·can·see·the·file·contains·almost·only·the·contents. | 14 | As·you·can·see·the·file·contains·almost·only·the·contents. |
| 15 | </p> | 15 | </p> |
| 16 | ···</td></tr> | 16 | ···</td></tr> |
| 17 | ··</table> | 17 | ··</table> |
| 18 | ··<hr> | 18 | ··<hr> |
| 19 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> | 19 | ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br> |
| 20 | ··last·updated·Fri· | 20 | ··last·updated·Fri·Sep·19,·2025 |
| 21 | ·</body> | 21 | ·</body> |
| 22 | </html> | 22 | </html> |
| Offset 1, 6 lines modified | Offset 1, 6 lines modified | ||
| 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8* | 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·i\x8is\x8s·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8* |
| 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. | 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. |
| 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e | 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e |
| 4 | =============================================================================== | 4 | =============================================================================== |
| 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
| 6 | last·updated·Fri· | 6 | last·updated·Fri·Sep·19,·2025 |
| Offset 13, 10 lines modified | Offset 13, 10 lines modified | ||
| 13 | ·<p> | 13 | ·<p> |
| 14 | ·As·you·can·see·the·file·contains·almost·only·the·contents. | 14 | ·As·you·can·see·the·file·contains·almost·only·the·contents. |
| 15 | ·</p> | 15 | ·</p> |
| 16 | ···</td></tr> | 16 | ···</td></tr> |
| 17 | ··</table> | 17 | ··</table> |
| 18 | ··<hr> | 18 | ··<hr> |
| 19 | ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br> | 19 | ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br> |
| 20 | ··last·updated·Fri· | 20 | ··last·updated·Fri·Sep·19,·2025 |
| 21 | ·</body> | 21 | ·</body> |
| 22 | </html> | 22 | </html> |
| Offset 1, 6 lines modified | Offset 1, 6 lines modified | ||
| 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8* | 1 | Navigation·bar·*\x8**\x8**\x8**\x8**\x8*·H\x8He\x8er\x8re\x8e·a\x8ar\x8re\x8e·t\x8th\x8he\x8e·c\x8co\x8on\x8nt\x8te\x8en\x8nt\x8ts\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. | 2 | _\x8M_\x8a_\x8i_\x8n···········As·you·can·see·the·file·contains·almost·only·the·contents. |
| 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e | 3 | _\x8E_\x8x_\x8a_\x8m_\x8p_\x8l_\x8e |
| 4 | =============================================================================== | 4 | =============================================================================== |
| 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. | 5 | Copyright·by·_\x8J_\x8o_\x8e_\x8·_\x8D_\x8o_\x8e. |
| 6 | last·updated·Fri· | 6 | last·updated·Fri·Sep·19,·2025 |
| Offset 114, 18 lines modified | Offset 114, 18 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | 121 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>></span><br> | |
| 122 | · · | 122 | · ·block<br> |
| 123 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | ||
| 124 | 123 | <span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> | |
| 124 | <br> | ||
| 125 | </code></p> | 125 | </code></p> |
| 126 | <h2>synopsis</h2> | 126 | <h2>synopsis</h2> |
| 127 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags | 127 | <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags |
| 128 | created·by·<A·HREF="def.html">DEF</A>·and·<A | 128 | created·by·<A·HREF="def.html">DEF</A>·and·<A |
| 129 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF | 129 | HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF |
| 130 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by | 130 | command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by |
| 131 | htp·until·it·is·reassigned.··</P> | 131 | htp·until·it·is·reassigned.··</P> |
| Offset 1, 14 lines modified | Offset 1, 14 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·[NOT]·conditional> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · · | 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block |
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· | 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E> |
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e | 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e |
| 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* | 8 | ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags | 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags |
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the | 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the |
| 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············UNDEF·command.·Once·removed,·the·metatag·will·no | 11 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············UNDEF·command.·Once·removed,·the·metatag·will·no |
| 12 | · ···_\x8D_\x8E_\x8F···················longer·be·recognized·by·htp·until·it·is·reassigned. | 12 | · ···_\x8D_\x8E_\x8F···················longer·be·recognized·by·htp·until·it·is·reassigned. |
| 13 | · ···_\x8F_\x8I_\x8L_\x8E··················Multiple·metatags·can·be·removed·by·placing·each | 13 | · ···_\x8F_\x8I_\x8L_\x8E··················Multiple·metatags·can·be·removed·by·placing·each |
| 14 | · ···_\x8I_\x8F····················name·as·an·attribute. | 14 | · ···_\x8I_\x8F····················name·as·an·attribute. |
| Offset 114, 44 lines modified | Offset 114, 44 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | ·<span·class="htp-tag"><<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>></span><br> | ||
| 122 | · ·<span·class="htp-tag"><<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>></span>;<br> | ||
| 123 | 121 | <span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>></span><br> | |
| 122 | <span·class="htp-tag"><<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·></span><br> | ||
| 124 | <br> | 123 | <br> |
| 125 | ·<span·class="htp-tag"><sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>></span><br> | ||
| 126 | </code></p> | 124 | </code></p> |
| 127 | <h2>synopsis</h2> | 125 | <h2>synopsis</h2> |
| 128 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. | 126 | <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition. |
| 129 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. | 127 | The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files. |
| 130 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or | 128 | (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or |
| 131 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The | 129 | <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The |
| 132 | old·macro·definition·will·be·removed·automatically.) | 130 | old·macro·definition·will·be·removed·automatically.) |
| 133 | <P> | 131 | <P> |
| 134 | For·example: | 132 | For·example: |
| 135 | ··<p><code> | 133 | ··<p><code> |
| 136 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>></span><br> | ||
| 137 | · ·...<br> | ||
| 138 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> | ||
| 139 | 134 | <span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·cla[·...·truncated·by·diffoscope;·len:·32,·SHA:·e4a79f21fa4c0fb0e6d6a8cf29685f6beb11dfce7246d0528df2948cf8d5e5a0·...·]>></span><br> | |
| 135 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
| 136 | <span·class="htp-tag"><...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>></span><br> | ||
| 137 | <br> | ||
| 140 | </code></p> | 138 | </code></p> |
| 141 | <P> | 139 | <P> |
| 142 | More·than·one·macro·may·be·removed·in·the·same·tag: | 140 | More·than·one·macro·may·be·removed·in·the·same·tag: |
| 143 | ··<p><code> | 141 | ··<p><code> |
| 144 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> | ||
| 145 | ·<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> | ||
| 146 | ·<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> | ||
| 147 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
| 148 | 142 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>></span><br> | |
| 143 | ·<span·class="htp-tag"><a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span>send·email<span·class="htp-tag"></a></span><br> | ||
| 149 | 144 | <span·class="htp-tag"><<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>></span><br> | |
| 145 | <br> | ||
| 146 | <span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>></span><br> | ||
| 147 | <br> | ||
| 148 | This·works:· · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
| 150 | <span·class="htp-tag"><<a·href=" | 149 | But·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>></span><br> |
| 150 | And·this·fails:·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>></span><br> | ||
| 151 | </code></p> | 151 | </code></p> |
| 152 | <p> | 152 | <p> |
| 153 | </td> | 153 | </td> |
| 154 | </tr> | 154 | </tr> |
| 155 | <tr> | 155 | <tr> |
| 156 | <td·width="20%"·bgcolor="white"·valign="bottom"> | 156 | <td·width="20%"·bgcolor="white"·valign="bottom"> |
| 157 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> | 157 | ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%"> |
| Offset 1, 37 lines modified | Offset 1, 38 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8NS\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8NS\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.U_.N_.D_.E_.F·tagname> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l | ||
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">; | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> | ||
| 8 | ·HTP·Tags | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> | ||
| 10 | · | 7 | ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 11 | · | 8 | ·HTP·Tags··················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's |
| 12 | · ···_\x8 | 9 | · ···_\x8A_.L_.T_.T_.E_.X_.T···············definition.·The·macro·is·subsequently·not·available |
| 13 | · ···_\x8 | 10 | · ···_\x8B_.L_.O_.C_.K·················for·use·in·the·pre-processed·files.·(Note·that |
| 14 | · ···_\x8 | 11 | · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or |
| 15 | · ···_\x8 | 12 | · ···_\x8D_.E_.F···················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable. |
| 16 | · ···_\x8 | 13 | · ···_\x8F_.I_.L_.E··················The·old·macro·definition·will·be·removed |
| 17 | · ···_\x8I_\x8 | 14 | · ···_\x8I_\x8F····················automatically.) |
| 18 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················For·example: |
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> | ||
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·... | ||
| 21 | · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> | ||
| 22 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·macroname·[parameters·...]·[noexpand]> |
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<...·$macroname·...> | ||
| 18 | · ···_\x8O_\x8P_\x8T···················<...·${macroname}·...> | ||
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T | ||
| 23 | · | 20 | · ···_.Q_.U_.O_.T_.E·················More·than·one·macro·may·be·removed·in·the·same·tag: |
| 24 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff> |
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<a·href=$email>send·email</a> | ||
| 23 | ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> | ||
| 24 | · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ | ||
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·morestuff=$email> |
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- | 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8- |
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e· | 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················This·works:· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·stuff |
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· | 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················email="jnelson@crl.com"> |
| 29 | ·_\x8B_\x8u_\x8g_\x8s······················ | 29 | ·_\x8B_\x8u_\x8g_\x8s······················But·this·fails:·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·email> |
| 30 | ····························<_.[_.[_.r_.e_.f_.]_.] | 30 | ····························And·this·fails:·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·morestuff |
| 31 | ····························email="jnelson@crl.com"> | ||
| Offset 135, 21 lines modified | Offset 135, 18 lines modified | ||
| 135 | attribute·to·prevent·further·expansion.··</p> | 135 | attribute·to·prevent·further·expansion.··</p> |
| 136 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros | 136 | <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros |
| 137 | for·the·expanded·macro.··This·is·only·valid·for·<A | 137 | for·the·expanded·macro.··This·is·only·valid·for·<A |
| 138 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A | 138 | HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A |
| 139 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For | 139 | HREF="set.html">SET</A>·cannot·have·parameters·passed.··For |
| 140 | example:</p> | 140 | example:</p> |
| 141 | ··<p><code> | 141 | ··<p><code> |
| 142 | <font·size="-2"> 1.·</font><span·class="htp-tag"><<a·href="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 | <font·size="-2"> 2.·</font> ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> | ||
| 144 | <font·size="-2"> | 142 | <font·size="-2"> 1.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>></span><br> |
| 145 | <font·size="-2"> | 143 | <font·size="-2"> 2.·</font> · ·...<br> |
| 146 | <font·size="-2"> | 144 | <font·size="-2"> 3.·</font> · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>></span><br> |
| 147 | <font·size="-2"> | 145 | <font·size="-2"> 4.·</font> ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>></span><br> |
| 148 | <font·size="-2"> 7.·</font><span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>></span><br> | ||
| 149 | </code></p> | 146 | </code></p> |
| 150 | <P> | 147 | <P> |
| 151 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on | 148 | (See·below·for·a·description·of·the·'$'·operator.)··The·example·on |
| 152 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and | 149 | line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and |
| 153 | the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8 | 150 | the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8 |
| 154 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is | 151 | fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is |
| 155 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. | 152 | completely·expanded,·and·cannot·be·passed·to·a·SET·macro. |
| Offset 15, 25 lines modified | Offset 15, 22 lines modified | ||
| 15 | · ···_\x8I_\x8N_\x8C···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use | 15 | · ···_\x8I_\x8N_\x8C···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use |
| 16 | · ···_\x8I_\x8M_\x8G···················the·noexpand·attribute·to·prevent·further | 16 | · ···_\x8I_\x8M_\x8G···················the·noexpand·attribute·to·prevent·further |
| 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············expansion. | 17 | · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············expansion. |
| 18 | · ···_\x8O_\x8P_\x8T···················USE·will·accept·additional·parameters,·which·are | 18 | · ···_\x8O_\x8P_\x8T···················USE·will·accept·additional·parameters,·which·are |
| 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················"local"·macros·for·the·expanded·macro.·This·is·only | 19 | · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················"local"·macros·for·the·expanded·macro.·This·is·only |
| 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T | 20 | · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T |
| 21 | · ···_\x8S_\x8E_\x8T···················cannot·have·parameters·passed.·For·example: | 21 | · ···_\x8S_\x8E_\x8T···················cannot·have·parameters·passed.·For·example: |
| 22 | · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> | ||
| 23 | · ···_\x8U_\x8N_\x8 | 22 | · ···_\x8U_\x8N_\x8D_.E_.F················· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i> |
| 23 | · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· 2.· · ·... | ||
| 24 | ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ 3.· ·<_.[_.[_.r_.e_.f_.]_.] | 24 | ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ 3.· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i> |
| 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· 4.· · | 25 | · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· 4.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E> |
| 26 | · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
| 27 | ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· 6.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> | ||
| 28 | ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> | ||
| 29 | · | 26 | · ···_.<_.!_.-_.-_.-·················(See·below·for·a·description·of·the·'$'·operator.) |
| 30 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················The·example·on·line·7·works·because·"stuff"·has |
| 31 | ·· | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················been·declared·as·a·block·macro,·and·the·tag·is |
| 32 | · | 29 | ·_.B_.u_.g_.s······················passing·the·"email"·macro·to·the·"stuff"·macro. |
| 33 | ····························Line·8·fails·because·the·"email"·macro·is | 30 | ····························Line·8·fails·because·the·"email"·macro·is |
| 34 | ····························unavailable·once·the·block·macro·is·completely | 31 | ····························unavailable·once·the·block·macro·is·completely |
| 35 | ····························expanded,·and·cannot·be·passed·to·a·SET·macro. | 32 | ····························expanded,·and·cannot·be·passed·to·a·SET·macro. |
| 36 | ····························Note·that·the·"email"·macro·is·available·to·other | 33 | ····························Note·that·the·"email"·macro·is·available·to·other |
| 37 | ····························macros·or·included·files·called·within·the·"stuff" | 34 | ····························macros·or·included·files·called·within·the·"stuff" |
| 38 | ····························block. | 35 | ····························block. |
| 39 | ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any | 36 | ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any |
| Offset 114, 15 lines modified | Offset 114, 21 lines modified | ||
| 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> | 114 | ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr> |
| 115 | ··</table> | 115 | ··</table> |
| 116 | ··</div> | 116 | ··</div> |
| 117 | </td> | 117 | </td> |
| 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> | 118 | <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top"> |
| 119 | <h2>syntax</h2> | 119 | <h2>syntax</h2> |
| 120 | ··<p><code> | 120 | ··<p><code> |
| 121 | <span·class="htp-tag"><<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>></span><br> | ||
| 122 | ·<span·class="htp-tag"><<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>></span><br> | ||
| 123 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
| 124 | · ·<span·class="htp-tag"><<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>></span><br> | ||
| 121 | · ·<span·class="htp-tag"><<a·href=" | 125 | · ·<span·class="htp-tag"><<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>></span><br> |
| 126 | ·<span·class="htp-tag"><<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>></span><br> | ||
| 127 | <span·class="htp-tag"><<a·href="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> | ||
| 122 | </code></p> | 128 | </code></p> |
| 123 | <h2>synopsis</h2> | 129 | <h2>synopsis</h2> |
| 124 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. | 130 | <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing. |
| 125 | The·basic·form·is·shown·above. | 131 | The·basic·form·is·shown·above. |
| 126 | <P> | 132 | <P> |
| 127 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. | 133 | "Conditional"·is·either·a·"compare"·or·"is·defined"·operation. |
| 128 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. | 134 | A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string. |
| Offset 1, 36 lines modified | Offset 1, 42 lines modified | ||
| 1 | [HTP] | 1 | [HTP] |
| 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* | 2 | *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·W\x8WH\x8HI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8* |
| 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* | 3 | _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8* |
| 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· | 4 | ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="header.hti"> |
| 5 | ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> | ||
| 6 | ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> | ||
| 7 | ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> | ||
| 8 | ·HTP·Tags·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> | ||
| 9 | · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> | ||
| 10 | · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> | ||
| 5 | · | 11 | · ···_.B_.L_.O_.C_.K_.D_.E_.F··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* |
| 6 | · | 12 | · ···_.D_.E_.F···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated |
| 7 | · | 13 | · ···_.F_.I_.L_.E··················processing.·The·basic·form·is·shown·above. |
| 8 | · | 14 | · ···_.I_.F····················"Conditional"·is·either·a·"compare"·or·"is·defined" |
| 9 | · ···_\x8 | 15 | · ···_\x8I_.N_.C···················operation.·A·compare·operator·is·a·test·of·the |
| 10 | · ···_\x8 | 16 | · ···_\x8I_.M_.G···················value·of·a·macro·against·a·literal·string.·If·the |
| 11 | · ···_\x8 | 17 | · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············NOT·tag·is·present·in·the·WHILE·markup,·the |
| 12 | · ···_\x8 | 18 | · ···_\x8O_.P_.T···················evaluation·of·the·conditional·is·reversed: |
| 13 | · ···_\x8 | 19 | · ···_\x8O_.U_.T_.P_.U_.T················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·stuff> |
| 14 | · ···_\x8 | 20 | · ···_\x8Q_.U_.O_.T_.E················· ·<a·href=$email>send·email</a> |
| 15 | · ···_\x8 | 21 | · ···_\x8S_.E_.T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> |
| 16 | · ···_\x8 | 22 | · ···_\x8U_.N_.D_.E_.F |
| 17 | · ···_\x8 | 23 | · ···_\x8U_.N_.S_.E_.T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> |
| 18 | · ···_\x8 | 24 | · ···_\x8U_.S_.E_.,_.·_.$ |
| 19 | · | 25 | ·[>]·_.W_.H_.I_.L_.E·················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff |
| 20 | · ···_\x8 | 26 | · ···_\x8<_.!_.-_.-_.-·················email="jnelson@crl.com"> |
| 21 | · | 27 | ·_.H_.i_.s_.t_.o_.r_.y···················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> |
| 22 | · | 28 | ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff |
| 23 | · | 29 | ·_.B_.u_.g_.s······················email="jnelson@crl.com"> |
| 24 | 30 | ····························Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a | |
| 25 | 31 | ····························macro's·existance: | |
| 26 | 32 | ····························<a·href="mailto:$email">mailto·hyperlink</a> | |
| 27 | 33 | ····························<a·href="http://$domain/~${username}/">another | |
| 28 | 34 | ····························hyperlink</a> | |
| 29 | 35 | ····························If·the·condition·is·true,·the·block·is·evaluated | |
| 30 | ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If | 36 | ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If |
| 31 | ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is | 37 | ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is |
| 32 | ····························also·reevaluated·on·each·iteration. | 38 | ····························also·reevaluated·on·each·iteration. |
| 33 | ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. | 39 | ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag. |