203 KB
/srv/reproducible-results/rbuild-debian/r-b-build.U8ZPiac4/b1/htp_1.19-8_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.U8ZPiac4/b2/htp_1.19-8_amd64.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·e29740e3e18c3a6609725b12b10c37b7·70964·debug·optional·htp-dbgsym_1.19-8_amd64.deb1 ·e29740e3e18c3a6609725b12b10c37b7·70964·debug·optional·htp-dbgsym_1.19-8_amd64.deb
2 ·3b81f707f5ce2536177a0bfd885ffad8·117428·web·optional·htp_1.19-8_amd64.deb2 ·faf473b20cbe917e1e297f0837b20328·117616·web·optional·htp_1.19-8_amd64.deb
202 KB
htp_1.19-8_amd64.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary
2 -rw-r--r--···0········0········0·····3612·2020-06-14·23:21:19.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···113624·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···113808·2020-06-14·23:21:19.000000·data.tar.xz
563 B
control.tar.xz
535 B
control.tar
465 B
./control
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 Package:·htp1 Package:·htp
2 Version:·1.19-82 Version:·1.19-8
3 Architecture:·amd643 Architecture:·amd64
4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>
5 Installed-Size:·6565 Installed-Size:·645
6 Depends:·libc6·(>=·2.38)6 Depends:·libc6·(>=·2.38)
7 Section:·web7 Section:·web
8 Priority:·optional8 Priority:·optional
9 Homepage:·http://htp.sourceforge.net9 Homepage:·http://htp.sourceforge.net
10 Description:·nice·HTML·pre-processor10 Description:·nice·HTML·pre-processor
11 ·htp·is·an·HTML·pre-processor.·It·is·designed·to·be·a·flexible·authoring·tool11 ·htp·is·an·HTML·pre-processor.·It·is·designed·to·be·a·flexible·authoring·tool
12 ·that·can·easily·be·integrated·into·the·HTML·design·process.12 ·that·can·easily·be·integrated·into·the·HTML·design·process.
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
201 KB
data.tar.xz
201 KB
data.tar
15.4 KB
file list
    
Offset 1, 27 lines modifiedOffset 1, 27 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/
4 -rwxr-xr-x···0·root·········(0)·root·········(0)····72104·2020-06-14·23:21:19.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····72104·2020-06-14·23:21:19.000000·./usr/bin/htp
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/
6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/
8 -rw-r--r--···0·root·········(0)·root·········(0)·····8180·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)·····9211·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.htp9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp
10 -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····7945·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.htp11 -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)·····8416·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····8100·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.htp13 -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.html14 -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.htp15 -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.gz16 -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)····15965·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)····15492·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.htp18 -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/copyright19 -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)····21171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····12154·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.htp21 -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.html22 -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.htp23 -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.sub25 -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.hti26 -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.htt27 -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 modifiedOffset 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.htp32 -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.html33 -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.htp34 -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.def35 -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.html36 -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.htp37 -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.htt38 -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)·····8384·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)·····9797·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.htp40 -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)····17350·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····17216·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.gz42 -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.html43 -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.gz44 -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.pl45 -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.def46 -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.htt47 -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)·····9500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)····12229·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.htp49 -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)·····9454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)·····9253·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.htp51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp
52 -rw-r--r--···0·root·········(0)·root·········(0)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····8781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html
53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp53 -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)·····8759·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)·····9349·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.htp55 -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.html56 -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.htp57 -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.html58 -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.htp59 -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.html60 -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.htp61 -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.html62 -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.htp63 -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.def64 -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.html65 -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.htp66 -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)····17912·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····13847·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.gz68 -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz
69 -rw-r--r--···0·root·········(0)·root·········(0)·····7558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html69 -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.htp70 -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.html71 -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.htp72 -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)·····7777·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····8851·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp74 -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.png76 -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.png77 -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.png78 -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.png79 -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.png80 -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.png81 -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.png82 -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.png83 -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.png84 -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.pl85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl
86 -rw-r--r--···0·root·········(0)·root·········(0)·····7503·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)·····8008·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html
87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp87 -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)·····8558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)·····9140·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.htp89 -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.css90 -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.html91 -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.gz92 -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.def93 -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.hti95 -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 modifiedOffset 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.htp102 -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.html103 -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.htp104 -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.htt105 -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.htt106 -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.html107 -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.htp108 -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)·····8285·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····8015·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html
110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp110 -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)·····9242·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····9384·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.htp112 -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.html113 -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.htp114 -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)····12348·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····12403·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.htp116 -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)····12566·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)····10616·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.htp118 -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.html119 -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.htp120 -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.htp122 -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/
6.31 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 27 lines modifiedOffset 114, 33 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br>
 122 &nbsp;·...·<span·class="htp-tag">&lt;<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>&gt;</span>&nbsp;...<br>
 123 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
 124 <br>
121 </code></p>125 </code></p>
122 <h2>synopsis</h2>126 <h2>synopsis</h2>
123 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A127 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
124 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.128 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.
125 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the129 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the
126 filename·is·considered·in·all·comparisons.130 filename·is·considered·in·all·comparisons.
127 <p>131 <p>
128 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT132 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT
129 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to133 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to
130 be·overridden·on·specific·images·and·default·text·on·all·others.134 be·overridden·on·specific·images·and·default·text·on·all·others.
131 <p>135 <p>
132 For·example:136 For·example:
133 ··<p><code>137 ··<p><code>
 138 <span·class="comment">&lt;!---·comment·---&gt;</span><br>
 139 <br>
134 </code></p>140 </code></p>
135 <p>141 <p>
136 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT142 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT
137 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not143 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not
138 changed.144 changed.
139 <p>145 <p>
140 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,146 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,
4.28 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 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:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="tagname"·[option="option1
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·...·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> ...
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
 8  ·HTP·Tags
4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*9  ·[>]·_.A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_.L_.i_.c_.e_.n_.s_.e···················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag10  · ···_.B_.L_.O_.C_.K·················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················with·a·SRC·matching·the·ALTTEXT·NAME.·Since11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············with·a·SRC·matching·the·ALTTEXT·NAME.·Since
7  ·_.U_.s_.a_.g_.e·····················relative·paths·can·be·used·to·point·to·the·same12  · ···_.D_.E_.F···················relative·paths·can·be·used·to·point·to·the·same
8  ·HTP·Tags··················image,·only·the·filename·is·considered·in·all13  · ···_.F_.I_.L_.E··················image,·only·the·filename·is·considered·in·all
9  ·[>]·_.A_.L_.T_.T_.E_.X_.T···············comparisons.14  · ···_.I_.F····················comparisons.
10  · ···_\x8B_.L_.O_.C_.K·················When·an·IMG·tag·with·a·matching·source·is15  · ···_\x8I_.N_.C···················When·an·IMG·tag·with·a·matching·source·is
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············encountered,·htp·will·add·an·ALT·attribute·only·if16  · ···_\x8I_.M_.G···················encountered,·htp·will·add·an·ALT·attribute·only·if
12  · ···_\x8D_.E_.F···················one·is·not·already·present.·This·allows·for·ALT17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············one·is·not·already·present.·This·allows·for·ALT
13  · ···_\x8F_.I_.L_.E··················text·to·be·overridden·on·specific·images·and18  · ···_\x8O_.P_.T···················text·to·be·overridden·on·specific·images·and
14  · ···_\x8I_.F····················default·text·on·all·others.19  · ···_\x8O_.U_.T_.P_.U_.T················default·text·on·all·others.
15  · ···_\x8I_.N_.C···················For·example:20  · ···_\x8Q_.U_.O_.T_.E·················For·example:
 21  · ···_\x8S_\x8E_\x8T···················<!---·comment·--->
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
16  · ···_\x8I_.M_.G···················An·ALTTEXT·tag·with·a·name·but·no·text·attribute23  · ···_\x8U_.N_.S_.E_.T·················An·ALTTEXT·tag·with·a·name·but·no·text·attribute
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············removes·any·ALT·mapping·for·this·image.·Successing24  · ···_\x8U_.S_.E_.,_.·_.$················removes·any·ALT·mapping·for·this·image.·Successing
18  · ···_\x8O_.P_.T···················IMG·tags·with·a·matching·SRC·name·are·not·changed.25  · ···_\x8W_.H_.I_.L_.E·················IMG·tags·with·a·matching·SRC·name·are·not·changed.
19  · ···_\x8O_.U_.T_.P_.U_.T················Since·this·is·useful·for·an·image·used·throughout·a26  · ···_\x8<_.!_.-_.-_.-·················Since·this·is·useful·for·an·image·used·throughout·a
20  · ···_.Q_.U_.O_.T_.E·················set·of·documents,·ALTTEXT·is·most·appropriate·in·an27  ·_.H_.i_.s_.t_.o_.r_.y···················set·of·documents,·ALTTEXT·is·most·appropriate·in·an
21  · ···_.S_.E_.T···················_\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.28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e.
22  · ···_.U_.N_.D_.E_.F·················In·addition·to·ALTTEXT,·htp·can·also·automatically29  ·_.B_.u_.g_.s······················In·addition·to·ALTTEXT,·htp·can·also·automatically
23  · ···_.U_.N_.S_.E_.T·················add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags.30 ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags.
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 
  
  
  
  
  
  
  
  
  
  
  
  
3.62 KB
./usr/share/doc/htp/block.html
    
Offset 114, 14 lines modifiedOffset 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="comment">&lt;!---·comment·---&gt;</span><br>
 122 <br>
121 </code></p>123 </code></p>
122 <h2>synopsis</h2>124 <h2>synopsis</h2>
123 <P>125 <P>
124 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which126 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which
125 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be127 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be
126 multi-line·definitions.128 multi-line·definitions.
127 </P>129 </P>
3.11 KB
html2text {}
    
Offset 1, 24 lines modifiedOffset 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:·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··············<!---·comment·--->
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e
4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\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*
5  ·_\x8L_.i_.c_.e_.n_.s_.e···················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros,7  ·_\x8U_.s_.a_.g_.e·····················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros,
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be8  ·HTP·Tags··················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be
7  ·_.U_.s_.a_.g_.e·····················multi-line·definitions.9  · ···_.A_.L_.T_.T_.E_.X_.T···············multi-line·definitions.
8  ·HTP·Tags··················Any·text·and·formatting·may·be·set·inside·the10  ·[>]·_.B_.L_.O_.C_.K·················Any·text·and·formatting·may·be·set·inside·the
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············block.·You·can·use·any·htp·or·user·defined·metatag11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············block.·You·can·use·any·htp·or·user·defined·metatag
10  ·[>]·_.B_.L_.O_.C_.K·················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be12  · ···_.D_.E_.F···················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············expanded·before·the·block·is·USEd·except·if·you13  · ···_\x8F_.I_.L_.E··················expanded·before·the·block·is·USEd·except·if·you
12  · ···_\x8D_.E_.F···················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter.14  · ···_\x8I_.F····················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter.
13  · ···_\x8F_.I_.L_.E··················The·block·macro·is·dereferenced·(expanded)·with·the15  · ···_\x8I_.N_.C···················The·block·macro·is·dereferenced·(expanded)·with·the
14  · ···_\x8I_\x8F····················_\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·the16  · ···_\x8I_\x8M_.G···················_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the
15  · ···_\x8I_\x8N_.C···················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro.17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro.
16  · ···_\x8I_\x8M_\x8G 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L 
18  · ···_\x8O_\x8P_\x8T18  · ···_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
Offset 29, 14 lines modifiedOffset 29, 16 lines modified
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
36 _\x8h_\x8t_\x8p_\x8]36 _\x8h_\x8t_\x8p_\x8]
4.94 KB
./usr/share/doc/htp/blockdef.html
    
Offset 114, 26 lines modifiedOffset 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="comment">&lt;!---·comment·---&gt;</span><br>
 122 <br>
121 </code></p>123 </code></p>
122 <h2>synopsis</h2>124 <h2>synopsis</h2>
123 <strong>BLOCKDEF</strong>·creates·block·<A125 <strong>BLOCKDEF</strong>·creates·block·<A
124 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it126 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
125 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block127 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
126 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and128 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
127 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored129 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
128 in·the·block·macro·named·BLOCK.130 in·the·block·macro·named·BLOCK.
129 <P>·For·example:</P>131 <P>·For·example:</P>
130 ··<p><code>132 ··<p><code>
 133 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>
131 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
132 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
133 </code></p>134 </code></p>
134 <p>135 <p>
135 All·block·metatags·have·the·implicit·option·<a136 All·block·metatags·have·the·implicit·option·<a
136 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents137 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
137 of·the·block·before·the·definition·is·expanded.138 of·the·block·before·the·definition·is·expanded.
138 </p>139 </p>
139 <p>140 <p>
3.45 KB
html2text {}
    
Offset 1, 28 lines modifiedOffset 1, 28 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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··············<!---·comment·--->
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e
4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\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*
5  ·_\x8L_.i_.c_.e_.n_.s_.e···················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy7  ·_\x8U_.s_.a_.g_.e·····················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················way·of·saying·it·creates·new·block·tags.·A·block8  ·HTP·Tags··················way·of·saying·it·creates·new·block·tags.·A·block
7  ·_.U_.s_.a_.g_.e·····················tag·is·a·tag·that·takes·a·whole·block·as·additional9  · ···_.A_.L_.T_.T_.E_.X_.T···············tag·is·a·tag·that·takes·a·whole·block·as·additional
8  ·HTP·Tags··················parameter.·This·block·is·surrounded·by·<tagname>10  · ···_.B_.L_.O_.C_.K·················parameter.·This·block·is·surrounded·by·<tagname>
9  · ···_.A_.L_.T_.T_.E_.X_.T···············and·</tagname>.·The·contents·of·this·block·are11  ·[>]·_.B_.L_.O_.C_.K_.D_.E_.F··············and·</tagname>.·The·contents·of·this·block·are
10  · ···_\x8B_.L_.O_.C_.K·················automatically·stored·in·the·block·macro·named12  · ···_\x8D_.E_.F···················automatically·stored·in·the·block·macro·named
11  ·[>]·_.B_.L_.O_.C_.K_.D_.E_.F··············BLOCK.13  · ···_.F_.I_.L_.E··················BLOCK.
12  · ···_\x8D_.E_.F···················For·example:14  · ···_\x8I_.F····················For·example:
 15  · ···_\x8I_\x8N_\x8C···················<!---·This·comment·doesn't·appear·in·the·HTML·file
13  · ···_\x8F_\x8I_\x8L_\x8E··················<a·href="mailto:$email">mailto·hyperlink</a> 
14  · ···_\x8I_\x8F····················<a·href="http://$domain/~${username}/">another 
15  · ···_\x8I_\x8N_.C···················hyperlink</a>16  · ···_\x8I_\x8M_.G···················--->
16  · ···_\x8I_\x8M_\x8G···················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,17  · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············which·tells·htp·to·expand·the·contents·of·the·block18  · ···_\x8O_.P_.T···················which·tells·htp·to·expand·the·contents·of·the·block
18  · ···_\x8O_\x8P_.T···················before·the·definition·is·expanded.19  · ···_\x8O_\x8U_.T_.P_.U_.T················before·the·definition·is·expanded.
19  · ···_\x8O_.U_.T_.P_.U_.T················A·more·thorough·discussion·and·more·elaborate20  · ···_\x8Q_.U_.O_.T_.E·················A·more·thorough·discussion·and·more·elaborate
20  · ···_\x8Q_.U_.O_.T_.E·················examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.21  · ···_\x8S_.E_.T···················examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.
21  · ···_\x8S_\x8E_\x8T 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
Offset 30, 14 lines modifiedOffset 30, 15 lines modified
  
  
  
  
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
15.1 KB
./usr/share/doc/htp/comment.html
    
Offset 114, 14 lines modifiedOffset 114, 25 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">&lt;<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>&gt;</span><br>
 122 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 123 <br>
 124 </code></p>
 125 <h2>synopsis</h2>
 126 <p>
 127 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
 128 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
 129 Example:
 130 </p>
 131 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>132 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
122 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>133 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
123 &nbsp;·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<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>&gt;</span>.<br>134 &nbsp;·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<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>&gt;</span>.<br>
124 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>135 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
125 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>136 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
126 &nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<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>&gt;</span>.<br>137 &nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<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>&gt;</span>.<br>
127 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>138 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
Offset 143, 41 lines modifiedOffset 154, 27 lines modified
143 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>154 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
144 &nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<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>&gt;</span>.<br>155 &nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<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>&gt;</span>.<br>
145 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>156 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
146 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>157 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
147 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>158 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
148 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>159 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
149 </code></p>160 </code></p>
150 <h2>synopsis</h2> 
151 <p> 
152 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful 
153 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either. 
154 Example: 
155 </p> 
156 ··<p><code> 
157 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;EM&gt;</span>File·"<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>&gt;</span>"·last·updated·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">DATE</span>&gt;</span><span·class="htp-tag">&lt;/EM&gt;</span><br> 
158 <span·class="htp-tag">&lt;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
159 &nbsp;·&nbsp;·&nbsp;<span·class="htp-tag">&lt;<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>&gt;</span><br> 
160 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br> 
161 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
162 <br> 
163 &nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br> 
164 &nbsp;·&nbsp;·This·is·a·fancy·section.<br> 
165 &nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br> 
166 </code></p> 
167 <p>161 <p>
168 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you162 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
169 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something163 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
170 like·this:164 like·this:
171 </p>165 </p>
172 ··<p><code>166 ··<p><code>
173 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
174 &nbsp;·&nbsp;·...<br> 
175 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
176 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>167 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br>
 168 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br>
 169 &nbsp;·contents·of·a:·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<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>&gt;</span>.<br>
 170 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br>
 171 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br>
 172 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br>
 173 &nbsp;·&nbsp;·e·is·expanded·at·time·2;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<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>&gt;</span>.<br>
177 </code></p>174 </code></p>
178 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the175 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
179 reason·why·you·don't·want·to·include·this·block</p>176 reason·why·you·don't·want·to·include·this·block</p>
180 <p>177 <p>
181 </td>178 </td>
182 </tr>179 </tr>
183 <tr>180 <tr>
8.08 KB
html2text {}
    
Offset 1, 64 lines modifiedOffset 1, 65 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_.]_.]_.s_.e_.t·time="0">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··················· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·name=a>5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]>
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·a·is·expanded·at·time·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>.6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>
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  · ···_.D_.E_.F··················· ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·a>7  ·_.U_.s_.a_.g_.e
 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···············This·is·a·simple·comment·that·is·not·included·in
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················the·output.·This·is·useful·when·commenting
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············metatags,·since·the·metatags·do·not·appear·the
 12  · ···_\x8D_\x8E_\x8F···················output·either.·Example:
13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.s_.e·b>13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_.e_.t·time="0">
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_.G··················· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·name=c·expand>14  · ···_\x8I_\x8F···················· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·name=a>
17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L·············· · ·c·is·expanded·at·time·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>;·<_.[15  · ···_\x8I_\x8N_.C··················· · ·a·is·expanded·at·time·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>.
18  · ···_\x8O_.P_.T···················_.[_.r_.e_.f_.]_.]_.u_.s_.e·a>16  · ···_\x8I_.M_.G··················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand>
 18  · ···_\x8O_\x8P_\x8T··················· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1">
 21  · ···_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a>
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b>
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand>
20  · ···_\x8Q_.U_.O_.T_.E················· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·name=d·expand>25  · ···_\x8W_.H_.I_.L_.E················· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·name=c·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  · ···_.W_.H_.I_.L_.E················· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[26  ·[>]·_.<_.!_.-_.-_.-················· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand> 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················_.[_.r_.e_.f_.]_.]_.u_.s_.e·a>
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_.e_.t·time="2">28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_.b_.l_.o_.c_.k>
29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a>29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand>
 30 ···························· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 31 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 32 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 33 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e>
 34 ···························· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 35 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 36 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 37 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2">
 38 ···························· ·<_\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_\x8e39 ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e
31 ····························time>.40 ····························time>.
32 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>41 ···························· ·<_\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>42 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c>
34 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d>43 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d>
35 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e>44 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e>
36 ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* 
37 ····························This·is·a·simple·comment·that·is·not·included·in 
38 ····························the·output.·This·is·useful·when·commenting 
39 ····························metatags,·since·the·metatags·do·not·appear·the 
40 ····························output·either.·Example: 
41 ···························· · ·<EM>File·"<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME>"·last·updated·<_\x8[ 
42 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM> 
43 ····························<p·class="section"> 
44 ···························· · · <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> 
45 ···························· · </p> 
46 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
  
47 ···························· ·<section·title="My·Section"> 
48 ···························· · ·This·is·a·fancy·section. 
49 ···························· ·</section> 
50 ····························Note·that·these·comments·should·not·include·<·or·>,45 ····························Note·that·these·comments·should·not·include·<·or·>,
51 ····························that·is·you·should·not·use·it·to·comment·out·htp46 ····························that·is·you·should·not·use·it·to·comment·out·htp
52 ····························code.·For·that·purpose·use·something·like·this:47 ····························code.·For·that·purpose·use·something·like·this:
 48 ···························· · ·a·is·expanded·at·time·1.
 49 ···························· · ·b·is·expanded·at·time·0.
 50 ···························· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[
53 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>51 ····························_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>.
 52 ···························· ·contents·of·b:· ·b·is·expanded·at·time·0.
 53 ···························· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at
54 ···························· · ·...54 ····························time·1.
 55 ···························· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at
 56 ····························time·2.
 57 ···························· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the
55 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i>58 ····························2nd·time·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>.
56 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
57 ····························Make·sure·that·the·variable·is·never·defined·and59 ····························Make·sure·that·the·variable·is·never·defined·and
58 ····························xyz·should·be·the·reason·why·you·don't·want·to60 ····························xyz·should·be·the·reason·why·you·don't·want·to
59 ····························include·this·block61 ····························include·this·block
  
  
  
  
24.7 KB
./usr/share/doc/htp/def.html
    
Offset 114, 101 lines modifiedOffset 114, 68 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 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
122 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
123 &nbsp;·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<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>&gt;</span>.<br>121 <span·class="htp-tag">&lt;<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>&gt;</span><br>
 122 &nbsp;·...<br>
124 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>123 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>&gt;</span><br>
125 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
126 &nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<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>&gt;</span>.<br> 
127 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
128 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
129 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
130 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
131 &nbsp;·contents·of·a:·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
132 &nbsp;·contents·of·b:·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
133 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
134 &nbsp;·&nbsp;·c·is·expanded·at·time·<span·class="htp-tag">&lt;<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>&gt;</span>;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
135 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
136 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
137 &nbsp;·&nbsp;·d·is·expanded·at·time·<span·class="htp-tag">&lt;<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>&gt;</span>;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
139 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
140 &nbsp;·&nbsp;·e·is·expanded·at·time·<span·class="htp-tag">&lt;<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>&gt;</span>;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
141 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
142 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
143 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
144 &nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<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>&gt;</span>.<br> 
145 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
146 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
147 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
148 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
149 </code></p>124 </code></p>
150 <h2>synopsis</h2>125 <h2>synopsis</h2>
151 <p>126 <p>
152 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a127 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
153 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to128 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
154 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>129 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
155 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.130 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
156 For·example:131 For·example:
157 </p>132 </p>
158 ··<p><code>133 ··<p><code>
159 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
160 &nbsp;·&nbsp;·...<br> 
161 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
162 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>134 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br>
 135 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br>
 136 &nbsp;·contents·of·a:·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<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>&gt;</span>.<br>
 137 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br>
 138 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br>
 139 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br>
 140 &nbsp;·&nbsp;·e·is·expanded·at·time·2;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<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>&gt;</span>.<br>
163 </code></p>141 </code></p>
164 <P>142 <P>
165 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to143 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
166 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A144 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
167 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster145 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
168 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing146 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
169 tag·with·a·preceding·slash.·For·example:147 tag·with·a·preceding·slash.·For·example:
170 </P>148 </P>
171 ··<p><code>149 ··<p><code>
172 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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<[·...·truncated·by·diffoscope;·len:·132,·SHA:·8c852307127cb3c082842fcf251d3b259c650b92b77f4f8cef6ee07f1d31905e·...·]</span>&gt;</span><br>150 <span·class="htp-tag">&lt;<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>&gt;</span><br>
 151 &nbsp;·&nbsp;·block·#1<br>
 152 [<br>
 153 <span·class="htp-tag">&lt;ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 154 &nbsp;·&nbsp;·block·#2<br>
 155 ...<br>
 156 ]<br>
 157 [<br>
 158 <span·class="htp-tag">&lt;ELSE&gt;</span><br>
 159 &nbsp;·&nbsp;·block·#3<br>
 160 ]<br>
173 &nbsp;·&nbsp;·This·tag·will·fail:·<span·class="htp-tag">&lt;<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>&gt;</span><br>161 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 162 <br>
174 </code></p>163 </code></p>
175 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,164 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
176 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>165 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
177 <P>166 <P>
178 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were167 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
179 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with168 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
180 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their169 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
181 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)170 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
182 </P>171 </P>
183 ··<p><code>172 ··<p><code>
 173 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[GLOBAL]</span>&gt;</span><br>
184 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
185 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
186 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br> 
187 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
188 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
189 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
190 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
191 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
192 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
193 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
194 <br> 
195 &nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br> 
196 <br> 
197 &nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br> 
198 <br> 
199 &nbsp;·This·will·fail:<br> 
200 &nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br> 
201 <br>174 <br>
202 &nbsp;·Instead,·use·*·like·this:<br> 
203 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
204 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
205 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
206 &nbsp;·&nbsp;·<br> 
207 &nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br> 
208 </code></p>175 </code></p>
209 <P>176 <P>
210 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is177 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
211 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are178 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
212 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the179 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
213 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a180 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
214 parameter·is·required,·simply·expand·it·without·first·checking.··When181 parameter·is·required,·simply·expand·it·without·first·checking.··When
9.75 KB
html2text {}
    
Offset 1, 98 lines modifiedOffset 1, 61 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_.]_.]_.s_.e_.t·time="0">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.i_.f·disabled_because_xyz>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·...
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·<_\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  ·_\x8H_.i_.s_.t_.o_.r_.y··················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l··················<_.[_.[_.r_.e_.f_.]_.]_./_.i_.f>
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 ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*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*
37 ····························D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of8  ·HTP·Tags··················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of
38 ····························saying·it·creates·new·tags.·The·mechanism·is·very9  · ···_.A_.L_.T_.T_.E_.X_.T···············saying·it·creates·new·tags.·The·mechanism·is·very
39 ····························similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is10  · ···_.B_.L_.O_.C_.K·················similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is
40 ····························not·used·to·expand·them.·Instead,·they·are·expanded11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············not·used·to·expand·them.·Instead,·they·are·expanded
41 ····························by·their·own·name.·For·example:12  ·[>]·_.D_.E_.F···················by·their·own·name.·For·example:
42 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> 
43 ···························· · ·... 
44 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
45 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>13  · ···_.F_.I_.L_.E·················· · ·a·is·expanded·at·time·1.
 14  · ···_\x8I_\x8F···················· · ·b·is·expanded·at·time·0.
 15  · ···_\x8I_\x8N_\x8C··················· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[
 16  · ···_\x8I_\x8M_\x8G···················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·contents·of·b:· ·b·is·expanded·at·time·0.
 18  · ···_\x8O_\x8P_\x8T··················· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················time·1.
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at
 21  · ···_\x8S_\x8E_\x8T···················time·2.
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
46 ····························Some·metatags·will·require·an·opening·and·closing24  · ···_.U_.S_.E_.,_.·_.$················Some·metatags·will·require·an·opening·and·closing
47 ····························tag·(comparable·to 
48 ····························and25  · ···_.W_.H_.I_.L_.E·················tag·(comparable·to
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················and
49 ····························).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.27  ·_.H_.i_.s_.t_.o_.r_.y···················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.
50 ····························Another·slightly·faster·alternative·is·to·use·two28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Another·slightly·faster·alternative·is·to·use·two
51 ····························metatags,·the·opening·tag·and·the·closing·tag·with29  ·_.B_.u_.g_.s······················metatags,·the·opening·tag·and·the·closing·tag·with
52 ····························a·preceding·slash.·For·example:30 ····························a·preceding·slash.·For·example:
53 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim 
54 ····························Nelson"·email="jnelson@crl.com">31 ····························<_.[_.[_.r_.e_.f_.]_.]_.I_.F·[NOT]·conditional>
 32 ···························· · ·block·#1
 33 ····························[
 34 ····························<ELSEIF·[NOT]·conditional>
 35 ···························· · ·block·#2
 36 ····························...
 37 ····························]
 38 ····························[
 39 ····························<ELSE>
 40 ···························· · ·block·#3
 41 ····························]
55 ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>42 ····························<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
  
56 ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will43 ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will
57 ····························check·for·matching·end·tag.·It·is·not·that·slower.44 ····························check·for·matching·end·tag.·It·is·not·that·slower.
58 ····························Options·can·be·passed·to·a·metatag,·which·can·then45 ····························Options·can·be·passed·to·a·metatag,·which·can·then
59 ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are46 ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are
60 ····························parameterized·with·the·OPTION·attribute.·Multiple47 ····························parameterized·with·the·OPTION·attribute.·Multiple
61 ····························options·can·be·listed·by·separating·their·name·with48 ····························options·can·be·listed·by·separating·their·name·with
62 ····························a·space·(which·therefore·requires·they·be49 ····························a·space·(which·therefore·requires·they·be
63 ····························surrounded·by·quotes.)50 ····························surrounded·by·quotes.)
64 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE 
65 ····························SIZE"> 
66 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·size>51 ····························<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·macroname1="increment1"
 52 ····························[macroname2="increment2"·...·]·[GLOBAL]>
67 ···························· · · · ·<FONT·SIZE=${size}> 
68 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
69 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> 
70 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> 
71 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
72 ···························· · · · ·</FONT> 
73 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
74 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
  
75 ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A 
76 ····························title"> 
  
77 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized 
78 ····························title"> 
  
79 ···························· ·This·will·fail: 
80 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" 
81 ····························TITLE="Another·title"> 
  
82 ···························· ·Instead,·use·*·like·this: 
83 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> 
84 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> 
85 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
86 ···························· ·  
87 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
88 ····························htp·will·do·very·specific·checking·of·parameters53 ····························htp·will·do·very·specific·checking·of·parameters
89 ····························when·a·metatag·is·invoked.·htp·assumes·that·all54 ····························when·a·metatag·is·invoked.·htp·assumes·that·all
90 ····························parameter·options·to·the·metatag·are·optional.·This55 ····························parameter·options·to·the·metatag·are·optional.·This
91 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify56 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify
92 ····························the·SIZE·option·is·defined·before·expanding·it·in57 ····························the·SIZE·option·is·defined·before·expanding·it·in
93 ····························the·block.·If·a·parameter·is·required,·simply58 ····························the·block.·If·a·parameter·is·required,·simply
94 ····························expand·it·without·first·checking.·When·htp·expands59 ····························expand·it·without·first·checking.·When·htp·expands
5.26 KB
./usr/share/doc/htp/expand.html
    
Offset 98, 19 lines modifiedOffset 98, 32 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·to99 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·of100 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·value101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value
102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when102 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">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 106 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br>
 107 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 108 <font·size="-2">&nbsp;4.·</font><br>
 109 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br>
 110 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·This·text·is·centered.<br>
105 </code></p>111 </code></p>
106 This·produces·the·following:112 This·produces·the·following:
107 ··<p><code>113 ··<p><code>
108 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
109 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>114 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 115 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br>
 116 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 117 <br>
 118 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 119 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br>
 120 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 121 <br>
 122 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
110 </code></p>123 </code></p>
111 <P>124 <P>
112 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a125 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a
113 are·taken·literally,·however,·the·contents·for·b·are·already·expanded126 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
114 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it127 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
115 is·used,·while·the·contents·of·b·are·already·expanded.128 is·used,·while·the·contents·of·b·are·already·expanded.
116 </P>129 </P>
2.13 KB
html2text {}
    
Offset 24, 18 lines modifiedOffset 24, 30 lines modified
24 ····························However,·if·the·block·tag·is·marked·with·the·expand24 ····························However,·if·the·block·tag·is·marked·with·the·expand
25 ····························modifier·it·is·expanded·immediately.·This·is·useful25 ····························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·correct28 ····························This·other·macro·may·no·longer·have·the·correct
29 ····························value·when·the·macro·is·expanded.·Here·is·some·code29 ····························value·when·the·macro·is·expanded.·Here·is·some·code
30 ····························that·demonstrate·when·the·htp·tags·are·expanded:30 ····························that·demonstrate·when·the·htp·tags·are·expanded:
 31 ···························· 1.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="centered">
 32 ···························· 2.· · ·<p·align=center>
 33 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 34 ···························· 4.
 35 ···························· 5.· · ·<centered>
 36 ···························· 6.· · ·This·text·is·centered.
31 ····························This·produces·the·following:37 ····························This·produces·the·following:
32 ····························<a·href="mailto:$email">mailto·hyperlink</a> 
33 ····························<a·href="http://$domain/~${username}/">another38 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="bigfont">
 39 ···························· · ·<font·size="+4">
 40 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
  
 41 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont">
34 ····························hyperlink</a>42 ···························· · ·</font>
 43 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
  
 44 ···························· ·<bigfont>Some·large·text</bigfont>
35 ····························When·block·a·and·block·b·are·defined·in·lines·2-45 ····························When·block·a·and·block·b·are·defined·in·lines·2-
36 ····························7·the·contents·of·a·are·taken·literally,·however,46 ····························7·the·contents·of·a·are·taken·literally,·however,
37 ····························the·contents·for·b·are·already·expanded·so·the47 ····························the·contents·for·b·are·already·expanded·so·the
38 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it48 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it
39 ····························is·used,·while·the·contents·of·b·are·already49 ····························is·used,·while·the·contents·of·b·are·already
40 ····························expanded.50 ····························expanded.
41 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with51 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with
21.8 KB
./usr/share/doc/htp/file.html
    
Offset 114, 38 lines modifiedOffset 114, 65 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 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br>
 123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 124 <br>
 125 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br>
 127 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 128 <br>
 129 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
121 </code></p>130 </code></p>
122 <h2>synopsis</h2>131 <h2>synopsis</h2>
123 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.132 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
124 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of133 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
125 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be134 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
126 added·to·the·output·file·as·well.135 added·to·the·output·file·as·well.
127 <P>136 <P>
128 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the137 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
129 following·is·perfectly·acceptable:138 following·is·perfectly·acceptable:
130 ··<p><code>139 ··<p><code>
131 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login[·...·truncated·by·diffoscope;·len:·5,·SHA:·61fc96d712bbcceb17bfe2debd9aa89feb1da54d2983a69b5a1cf78e114e2b12·...·]</span>&gt;</span><br>140 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=[·...·truncated·by·diffoscope;·len:·148,·SHA:·0bd4001aa7116389675a913ec1cb37ee7a8b38f1a8069d3d55701a0ff2fe5674·...·]</span>&gt;</span><br>
 141 <br>
132 </code></p>142 </code></p>
133 <P>143 <P>
134 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>144 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
135 <P>145 <P>
136 To·include·information·about·another·file,·such·as·an·archive·file·or146 To·include·information·about·another·file,·such·as·an·archive·file·or
137 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the147 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
138 type·of·information·to·be·displayed:148 type·of·information·to·be·displayed:
139 ··<p><code>149 ··<p><code>
140 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
141 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span>;<br> 
142 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>150 &nbsp;·<span·class="htp-tag">&lt;<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">"/v[·...·truncated·by·diffoscope;·len:·24,·SHA:·cbe8a7611c3067d471ea26e14a41c5ff04d1ed4e7792578d8f3335e0e7864126·...·]>&gt;</span><br>
 151 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 152 <br>
 153 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 154 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
 155 &nbsp;·(no·URL·replacement).<br>
 156 <br>
 157 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 158 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br>
 159 <br>
 160 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 161 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br>
 162 &nbsp;·will·not·be·added.<br>
 163 <br>
 164 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br>
 165 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 166 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
143 <br>167 <br>
144 &nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br>168 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="p[·...·truncated·by·diffoscope;·len:·182,·SHA:·7f8313d2186fec22907a535a77db16961b29569d9bdf7684f9134e6837d467cc·...·]<br>
 169 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
 170 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
 171 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
145 </code></p>172 </code></p>
146 <P>173 <P>
147 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the174 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
148 information·is·displayed.··In·anything·other·than·byte·format,·the·information175 information·is·displayed.··In·anything·other·than·byte·format,·the·information
149 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number176 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
150 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional177 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
151 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no178 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 174, 38 lines modifiedOffset 201, 15 lines modified
174 <P>201 <P>
175 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are202 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
176 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros203 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
177 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it204 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
178 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer205 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
179 available.··So:206 available.··So:
180 ··<p><code>207 ··<p><code>
 208 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
181 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
182 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
183 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br> 
184 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
185 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
186 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
187 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
188 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
189 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
190 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
191 <br> 
192 &nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br> 
193 <br> 
194 &nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br> 
195 <br> 
196 &nbsp;·This·will·fail:<br> 
197 &nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br> 
198 <br> 
199 &nbsp;·Instead,·use·*·like·this:<br> 
200 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
201 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
202 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
203 &nbsp;·&nbsp;·<br> 
204 &nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br> 
205 </code></p>209 </code></p>
206 <P>210 <P>
207 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included211 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
208 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the212 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
209 second·statement·will·fail.)213 second·statement·will·fail.)
210 <P>214 <P>
211 <h3><a·name="template">TEMPLATE</a></h3>215 <h3><a·name="template">TEMPLATE</a></h3>
10.0 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 76 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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]_\x8d_\x8e_\x8f·name="bigfont">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<font·size="+4">
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
 8  ·HTP·Tags·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont">
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·</font>
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F
 12  · ···_\x8D_\x8E_\x8F··················· ·<bigfont>Some·large·text</bigfont>
4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*13  ·[>]·_.F_.I_.L_.E··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_.L_.i_.c_.e_.n_.s_.e···················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing14  · ···_.I_.F····················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················purpose.·The·output·file's·name,·the·current·date15  · ···_.I_.N_.C···················purpose.·The·output·file's·name,·the·current·date
7  ·_.U_.s_.a_.g_.e·····················and·time,·and·the·contents·of·another·file·may·be16  · ···_.I_.M_.G···················and·time,·and·the·contents·of·another·file·may·be
8  ·HTP·Tags··················included.·Another·file's·time,·date,·or·size·may·be17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············included.·Another·file's·time,·date,·or·size·may·be
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············added·to·the·output·file·as·well.18  · ···_\x8O_.P_.T···················added·to·the·output·file·as·well.
10  · ···_\x8B_.L_.O_.C_.K·················As·with·all·HTML,·these·tags·do·not·have·to·be·on19  · ···_\x8O_.U_.T_.P_.U_.T················As·with·all·HTML,·these·tags·do·not·have·to·be·on
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············their·own·line,·so·the·following·is·perfectly20  · ···_\x8Q_.U_.O_.T_.E·················their·own·line,·so·the·following·is·perfectly
12  · ···_\x8D_.E_.F···················acceptable:21  · ···_\x8S_.E_.T···················acceptable:
13  ·[>]·_.F_.I_.L_.E·················· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr·home_url·login_name>22  · ···_.U_.N_.D_.E_.F·················<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·macroname1="increment1"
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················[macroname2="increment2"·...·]·[GLOBAL]>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
14  · ···_\x8I_.F····················*\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*25  · ···_\x8W_.H_.I_.L_.E·················*\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*
15  · ···_\x8I_.N_.C···················To·include·information·about·another·file,·such·as26  · ···_\x8<_.!_.-_.-_.-·················To·include·information·about·another·file,·such·as
16  · ···_.I_.M_.G···················an·archive·file·or·graphic·image,·specify·its·name27  ·_.H_.i_.s_.t_.o_.r_.y···················an·archive·file·or·graphic·image,·specify·its·name
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············with·the·NAME·attribute·followed·by·the·type·of28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················with·the·NAME·attribute·followed·by·the·type·of
18  · ···_.O_.P_.T···················information·to·be·displayed:29  ·_.B_.u_.g_.s······················information·to·be·displayed:
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
21  · ···_\x8S_\x8E_\x8T···················alt="${alt}">; 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T 
24  · ···_.U_.S_.E_.,_.·_.$················ ·<sharedimg·name="bubble.gif"·alt="Bubble·image">30 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.a_.g_.e_.u_.r_.l·url="http://my.domain.org/
 31 ····························"·path="/var/www/my.domain/">
 32 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/
 33 ····························var/www/other.domain/">
  
 34 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
 35 ···························· ·the·local·filename·"logo.gif"·will·be·used·to
 36 ····························determine·image·dimensions
 37 ···························· ·(no·URL·replacement).
  
 38 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
 39 ····························my.domain.org/logo.gif">
 40 ···························· ·the·local·filename·"/var/www/my.domain/logo.gif"
 41 ····························will·be·used.
  
 42 ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
 43 ····························other.domain.org/logo.gif">
 44 ···························· ·the·local·file·cannot·be·found·(no·prefix·match),
 45 ····························so·the·image·dimensions
 46 ···························· ·will·not·be·added.
  
 47 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes
 48 ····························precedence:
 49 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/">
 50 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/
 51 ····························test/">
  
 52 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 53 ····························src="/test/image.gif"> are·mapped·to
 54 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/
 55 ····························image.gif,·resp.
 56 ···························· ·If·the·order·of·the·imageurl·lines·would·be
 57 ····························swapped,·the·second
 58 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/
 59 ····························image.gif.
25  · ···_.W_.H_.I_.L_.E·················For·file·size·information,·the·value·BYTE,·KBYTE,60 ····························For·file·size·information,·the·value·BYTE,·KBYTE,
26  · ···_.<_.!_.-_.-_.-·················etc.·dictates·how·the·information·is·displayed.·In61 ····························etc.·dictates·how·the·information·is·displayed.·In
27  ·_.H_.i_.s_.t_.o_.r_.y···················anything·other·than·byte·format,·the·information·is62 ····························anything·other·than·byte·format,·the·information·is
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················displayed·in·floating-point·notation.·The·amount·of63 ····························displayed·in·floating-point·notation.·The·amount·of
29  ·_.B_.u_.g_.s······················precision·(the·number·of·digits·to·the·right·of·the64 ····························precision·(the·number·of·digits·to·the·right·of·the
30 ····························decimal·point)·can·be·set·with·the·optional65 ····························decimal·point)·can·be·set·with·the·optional
31 ····························PRECISION·attribute.·The·default·precision·is·zero66 ····························PRECISION·attribute.·The·default·precision·is·zero
32 ····························(0),·which·means·no·fractional·portion·is67 ····························(0),·which·means·no·fractional·portion·is
33 ····························displayed.68 ····························displayed.
34 ····························At·the·request·of·many·people,·the·TIME·and·DATE69 ····························At·the·request·of·many·people,·the·TIME·and·DATE
35 ····························attributes·will·now·accept·formatting·characters70 ····························attributes·will·now·accept·formatting·characters
36 ····························that·are·passed·directly·into·the·ANSI·C·library71 ····························that·are·passed·directly·into·the·ANSI·C·library
Offset 56, 42 lines modifiedOffset 96, 15 lines modified
56 ····························Additional·parameters·can·be·set·in·the·FILE96 ····························Additional·parameters·can·be·set·in·the·FILE
57 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that97 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that
58 ····························are·"passed"·to·the·included·file.·The·macros·are98 ····························are·"passed"·to·the·included·file.·The·macros·are
59 ····························available·only·to·the·include·file·(and·any·macros99 ····························available·only·to·the·include·file·(and·any·macros
60 ····························or·included·files·it·holds).·After·the·file·is100 ····························or·included·files·it·holds).·After·the·file·is
61 ····························completely·included,·the·macros·are·no·longer101 ····························completely·included,·the·macros·are·no·longer
62 ····························available.·So:102 ····························available.·So:
63 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE 
64 ····························SIZE"> 
65 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
66 ···························· · · · ·<FONT·SIZE=${size}> 
67 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>103 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.F·name>...<_.[_.[_.r_.e_.f_.]_.]_./_\x8I_\x8F>
68 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> 
69 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> 
70 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
71 ···························· · · · ·</FONT> 
72 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
73 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
  
74 ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A 
75 ····························title"> 
  
76 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized 
77 ····························title"> 
  
78 ···························· ·This·will·fail: 
79 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" 
80 ····························TITLE="Another·title"> 
  
81 ···························· ·Instead,·use·*·like·this: 
82 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> 
83 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> 
84 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
85 ···························· ·  
86 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
87 ····························Macros·named·"name"·and·"email"·are·set,·and104 ····························Macros·named·"name"·and·"email"·are·set,·and
88 ····························available·inside·the·included·file.·They·are·not105 ····························available·inside·the·included·file.·They·are·not
89 ····························available,·however,·past·the·tag·(which·is·why·the106 ····························available,·however,·past·the·tag·(which·is·why·the
90 ····························second·statement·will·fail.)107 ····························second·statement·will·fail.)
91 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*108 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*
92 ····························A·template·file·is·nothing·more·than·a·default109 ····························A·template·file·is·nothing·more·than·a·default
93 ····························include·file,·one·that·is·included·once·the·input110 ····························include·file,·one·that·is·included·once·the·input
12.3 KB
./usr/share/doc/htp/if.html
    
Offset 114, 34 lines modifiedOffset 114, 50 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·&nbsp;·File·image.gif·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>&gt;</span>&nbsp;kilobytes<br>
 122 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
121 </code></p>123 </code></p>
122 <h2>synopsis</h2>124 <h2>synopsis</h2>
123 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building125 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
124 blocks·for·conditional·processing.··The·basic·form·is·shown·above.126 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
125 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A127 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
126 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal128 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
127 string:129 string:
128 ··<p><code>130 ··<p><code>
129 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
130 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>131 &nbsp;<span·class="htp-tag">&lt;<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>&gt;</span><br>
 132 &nbsp;·&nbsp;<span·class="htp-tag">&lt;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>&gt;</span><br>
 133 &nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
 134 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<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>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 135 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;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>&gt;</span>&amp;nbsp;<span·class="htp-tag">&lt;/td&gt;</span><br>
 136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<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>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 137 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 138 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>
 139 &nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 140 <br>
 141 &nbsp;paragraph<br>
 142 &nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
 143 &nbsp;paragraph<br>
131 </code></p>144 </code></p>
132 <P>145 <P>
133 and·a·defined·operator·is·a·test·of·a·macro's·existance:146 and·a·defined·operator·is·a·test·of·a·macro's·existance:
134 <P>147 <P>
135 ··<p><code>148 ··<p><code>
136 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span>;<br> 
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>149 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(IMGXY|NOIMGXY)</span>&gt;</span><br>
 150 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(QUIET|VERBOSE)</span>&gt;</span><br>
 151 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(DEPEND|NODEPEND)</span>&gt;</span><br>
 152 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(PRECIOUS|NOPRECIOUS)</span>&gt;</span><br>
 153 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>&gt;</span><br>
 154 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="htp-value">(HTML|SQUARE|CURLY)</span>&gt;</span><br>
 155 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(XML|XML</span>=<span·class="htp-value">FALSE)</span>&gt;</span><br>
139 <br>156 <br>
140 &nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br> 
141 </code></p>157 </code></p>
142 <P>158 <P>
143 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the159 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
144 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that160 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
145 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the161 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
146 ELSE·block·is·taken·if·it·is·present.··A·conditional·block162 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
147 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.163 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
5.57 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 56 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·············· · ·File·image.gif·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················SIZE=KBYTE> kilobytes
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE>
4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\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*
5  ·_.L_.i_.c_.e_.n_.s_.e···················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·building9  · ···_.A_.L_.T_.T_.E_.X_.T···············I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················blocks·for·conditional·processing.·The·basic·form10  · ···_.B_.L_.O_.C_.K·················blocks·for·conditional·processing.·The·basic·form
7  ·_.U_.s_.a_.g_.e·····················is·shown·above.11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············is·shown·above.
8  ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined"12  · ···_.D_.E_.F···················"Conditional"·is·either·a·"compare"·or·"is·defined"
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············operation.·A·compare·operator·is·a·test·of·the13  · ···_\x8F_.I_.L_.E··················operation.·A·compare·operator·is·a·test·of·the
10  · ···_.B_.L_.O_.C_.K·················value·of·a·macro·against·a·literal·string:14  ·[>]·_.I_.F····················value·of·a·macro·against·a·literal·string:
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············<a·href="mailto:$email">mailto·hyperlink</a> 
12  · ···_\x8D_.E_.F···················<a·href="http://$domain/~${username}/">another15  · ···_\x8I_.N_.C··················· <_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="imghr">
 16  · ···_\x8I_\x8M_\x8G··················· · <table·border="0"·cellspacing="0"
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············cellpadding="0">
 18  · ···_\x8O_\x8P_\x8T··················· · <tr>
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="leftsep.png"></
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················td>
 21  · ···_\x8S_\x8E_\x8T··················· · ·<td·width="95%"
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················background="midsep.png">&nbsp;</td>
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="rightsep.png"></
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················td>
13  · ···_\x8F_.I_.L_.E··················hyperlink</a>25  · ···_\x8W_.H_.I_.L_.E················· · </tr>
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · </table>
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s······················ paragraph
 30 ···························· <imghr>
 31 ···························· paragraph
14  ·[>]·_.I_.F····················and·a·defined·operator·is·a·test·of·a·macro's32 ····························and·a·defined·operator·is·a·test·of·a·macro's
15  · ···_.I_.N_.C···················existance:33 ····························existance:
16  · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt"> 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}" 
18  · ···_\x8O_\x8P_\x8T···················alt="${alt}">; 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E 
21  · ···_.S_.E_.T··················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image">34 ····························<_.[_.[_.r_.e_.f_.]_.]_.O_.P_.T·(IMGXY|NOIMGXY)>
 35 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(QUIET|VERBOSE)>
 36 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)>
 37 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(PRECIOUS|NOPRECIOUS)>
 38 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)>
 39 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)>
 40 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)>
  
22  · ···_.U_.N_.D_.E_.F·················If·the·NOT·tag·is·present·in·the·IF·markup,·the41 ····························If·the·NOT·tag·is·present·in·the·IF·markup,·the
23  · ···_.U_.N_.S_.E_.T·················evaluation·of·the·conditional·is·reversed.·The42 ····························evaluation·of·the·conditional·is·reversed.·The
24  · ···_.U_.S_.E_.,_.·_.$················first·IF·or·ELSEIF·condition·that·evaluates·to·true43 ····························first·IF·or·ELSEIF·condition·that·evaluates·to·true
25  · ···_.W_.H_.I_.L_.E·················is·chosen.·If·none·of·the·conditions·is·true·the44 ····························is·chosen.·If·none·of·the·conditions·is·true·the
26  · ···_.<_.!_.-_.-_.-·················ELSE·block·is·taken·if·it·is·present.·A·conditional45 ····························ELSE·block·is·taken·if·it·is·present.·A·conditional
27  ·_.H_.i_.s_.t_.o_.r_.y···················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can46 ····························block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················be·nested. 
29  ·_.B_.u_.g_.s47 ····························be·nested.
  
  
  
  
  
  
  
  
6.42 KB
./usr/share/doc/htp/imageurl.html
    
Offset 114, 16 lines modifiedOffset 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">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <br>121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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="h[·...·truncated·by·diffoscope;·len:·33,·SHA:·8580dde1403eb3e4368f5611aee138f5aa8432773e07ffffc6ab4e5493281d61·...·]<br>
 122 /IF><br>
123 </code></p>123 </code></p>
124 <h2>synopsis</h2>124 <h2>synopsis</h2>
125 <P>125 <P>
126 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local126 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local
127 file·system.··declares·an·URL·replacement·that·is·used·for127 file·system.··declares·an·URL·replacement·that·is·used·for
128 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions128 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions
129 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is129 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is
5.08 KB
html2text {}
    
Offset 1, 37 lines modifiedOffset 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\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_.]_.]_.I_.N_.C·macroname1="increment1"4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i="1"·j="-1">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················/IF>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*6  ·_\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  ·HTP·Tags··················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the7  ·_.U_.s_.a_.g_.e·····················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the
9  · ···_.A_.L_.T_.T_.E_.X_.T···············local·file·system.·declares·an·URL·replacement·that8  ·HTP·Tags··················local·file·system.·declares·an·URL·replacement·that
10  · ···_\x8B_.L_.O_.C_.K·················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option
12  · ···_\x8D_.E_.F···················is·enabled.·Beacause·htp·can't·lookup·files·in·the11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············is·enabled.·Beacause·htp·can't·lookup·files·in·the
13  · ···_\x8F_.I_.L_.E··················world·wide·web·you·have·to·map·absolute·image·URLs12  · ···_\x8D_.E_.F···················world·wide·web·you·have·to·map·absolute·image·URLs
14  · ···_\x8I_.F····················to·a·directory·in·the·local·file·system.13  · ···_\x8F_.I_.L_.E··················to·a·directory·in·the·local·file·system.
15  · ···_\x8I_\x8N_.C···················When·an·IMG·tag·is·encountered·where·htp·has·to14  · ···_\x8I_\x8F····················When·an·IMG·tag·is·encountered·where·htp·has·to
16  · ···_\x8I_\x8M_.G···················insert·width·and·height·the·defined·URL15  · ···_\x8I_\x8N_.C···················insert·width·and·height·the·defined·URL
17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············replacements·will·be·taken·into·account·(later16  · ···_.I_.M_.G···················replacements·will·be·taken·into·account·(later
18  · ···_.O_.P_.T···················definitions·take·precedence·to·earlier):·For·each17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············definitions·take·precedence·to·earlier):·For·each
19  · ···_\x8O_\x8U_.T_.P_.U_.T················defined·imageurl·it·checks·(case-insensitive)·if·it18  · ···_\x8O_\x8P_.T···················defined·imageurl·it·checks·(case-insensitive)·if·it
20  · ···_\x8Q_.U_.O_.T_.E·················is·a·prefix·of·the·image's·SRC·attribute.·If·it19  · ···_\x8O_.U_.T_.P_.U_.T················is·a·prefix·of·the·image's·SRC·attribute.·If·it
21  · ···_\x8S_.E_.T···················matches·this·prefix·is·replaced·by·the·given·PATH.20  · ···_\x8Q_.U_.O_.T_.E·················matches·this·prefix·is·replaced·by·the·given·PATH.
22  · ···_\x8U_.N_.D_.E_.F·················If·no·IMAGEURL·matches·the·SRC·is·considered·as21  · ···_\x8S_.E_.T···················If·no·IMAGEURL·matches·the·SRC·is·considered·as
23  · ···_\x8U_\x8N_\x8S_.E_.T·················relative·link·and·looked·up·in·the·current22  · ···_\x8U_\x8N_\x8D_.E_.F·················relative·link·and·looked·up·in·the·current
24  · ···_\x8U_\x8S_.E_.,_.·_.$················directory.23  · ···_\x8U_\x8N_.S_.E_.T·················directory.
25  · ···_\x8W_.H_.I_.L_.E·················For·example:24  · ···_\x8U_.S_.E_.,_.·_.$················For·example:
26  · ···_\x8<_.!_.-_.-_.-················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>25  · ···_\x8W_.H_.I_.L_.E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
27  ·_.H_.i_.s_.t_.o_.r_.y···················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH26  · ···_.<_.!_.-_.-_.-·················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH
28  ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················attribute,·it·is·treated·as·an·undefine,·and·is27  ·_\x8H_.i_.s_.t_.o_.r_.y···················attribute,·it·is·treated·as·an·undefine,·and·is
29  ·_\x8B_.u_.g_.s······················removed.28  ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················removed.
30 ····························Since·you·usually·need·the·url·mapping·for·a·number29  ·_.B_.u_.g_.s······················Since·you·usually·need·the·url·mapping·for·a·number
31 ····························of·images·used·throughout·a·set·of·documents,30 ····························of·images·used·throughout·a·set·of·documents,
32 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e31 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e
33 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.32 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.
34 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also33 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also
35 ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to34 ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to
36 ····························_\x8I_\x8M_\x8G·tags.35 ····························_\x8I_\x8M_\x8G·tags.
  
5.48 KB
./usr/share/doc/htp/img.html
    
Offset 114, 14 lines modifiedOffset 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">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br>
 122 <br>
121 </code></p>123 </code></p>
122 <h2>synopsis</h2>124 <h2>synopsis</h2>
123 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified125 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified
124 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage126 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage
125 of·not·having·to·determine·each·image's·size·manually,·which·is·especially127 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
126 useful·if·the·image·may·change·frequently.·</P>128 useful·if·the·image·may·change·frequently.·</P>
127 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup129 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup
4.38 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 39 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1"
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_.L_.i_.c_.e_.n_.s_.e···················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the8  ·HTP·Tags··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················specified·image's·width·and·height·to·the·tag9  · ···_.A_.L_.T_.T_.E_.X_.T···············specified·image's·width·and·height·to·the·tag
7  ·_.U_.s_.a_.g_.e·····················automatically.·This·has·the·advantage·of·not·having10  · ···_.B_.L_.O_.C_.K·················automatically.·This·has·the·advantage·of·not·having
8  ·HTP·Tags··················to·determine·each·image's·size·manually,·which·is11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············to·determine·each·image's·size·manually,·which·is
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············especially·useful·if·the·image·may·change12  · ···_\x8D_.E_.F···················especially·useful·if·the·image·may·change
10  · ···_\x8B_.L_.O_.C_.K·················frequently.13  · ···_\x8F_.I_.L_.E··················frequently.
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············htp·adds·this·information·with·the·WIDTH·and·HEIGHT14  · ···_\x8I_.F····················htp·adds·this·information·with·the·WIDTH·and·HEIGHT
12  · ···_\x8D_.E_.F···················markup·attributes.·If·htp·detects·these·attributes15  · ···_\x8I_.N_.C···················markup·attributes.·If·htp·detects·these·attributes
13  · ···_.F_.I_.L_.E··················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify16  ·[>]·_.I_.M_.G···················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify
14  · ···_\x8I_\x8F····················the·values.·If·htp·cannot·find·the·image·file,·it17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············the·values.·If·htp·cannot·find·the·image·file,·it
15  · ···_\x8I_.N_.C···················will·issue·a·warning·but·not·halt·processing.18  · ···_\x8O_.P_.T···················will·issue·a·warning·but·not·halt·processing.
16  ·[>]·_.I_.M_.G···················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG19  · ···_.O_.U_.T_.P_.U_.T················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············(Portable·Network·Graphics),·and·JFIF·(JPEG·File20  · ···_\x8Q_.U_.O_.T_.E·················(Portable·Network·Graphics),·and·JFIF·(JPEG·File
18  · ···_\x8O_.P_\x8T···················Interchange·Format)·are·supported.21  · ···_\x8S_.E_\x8T···················Interchange·Format)·are·supported.
19  · ···_\x8O_.U_.T_.P_.U_.T················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or22  · ···_\x8U_.N_.D_.E_.F·················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or
20  · ···_\x8Q_.U_.O_.T_.E·················not·htp·actually·adds·this·information·as·it23  · ···_\x8U_.N_.S_.E_.T·················not·htp·actually·adds·this·information·as·it
21  · ···_\x8S_.E_.T···················executes.24  · ···_\x8U_.S_.E_.,_.·_.$················executes.
22  · ···_\x8U_.N_.D_.E_.F·················Since·htp·is·able·to·lookup·files·only·in·the·local25  · ···_\x8W_.H_.I_.L_.E·················Since·htp·is·able·to·lookup·files·only·in·the·local
23  · ···_\x8U_.N_.S_.E_.T·················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map26  · ···_\x8<_.!_.-_.-_.-·················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map
24  · ···_.U_.S_.E_.,_.·_.$················URLs·to·local·files.27  ·_.H_.i_.s_.t_.o_.r_.y···················URLs·to·local·files.
25  · ···_.W_.H_.I_.L_.E·················htp·can·also·add·default·ALT·text·to·IMG·tags·using28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················htp·can·also·add·default·ALT·text·to·IMG·tags·using
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T. 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s······················_.A_.L_.T_.T_.E_.X_.T.
  
  
  
  
  
  
  
  
  
  
7.52 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 32 lines modifiedOffset 114, 31 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·&nbsp;·File·image.gif·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>&gt;</span>&nbsp;kilobytes<br>
 122 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
121 </code></p>123 </code></p>
122 <h2>synopsis</h2>124 <h2>synopsis</h2>
123 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a125 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
124 variable·or·for·variable·addition.··The·basic·form·is·shown·above.126 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
125 <P>127 <P>
126 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a128 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
127 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The129 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
128 macroname·must·be·the·name·of·a·defined·macro·that·contains·an130 macroname·must·be·the·name·of·a·defined·macro·that·contains·an
129 integer.··If·the·increment·is·ommitted·it·defaults·to·1.131 integer.··If·the·increment·is·ommitted·it·defaults·to·1.
130 The·effect·of·this·operation·is·that·the·macro·is·redefined132 The·effect·of·this·operation·is·that·the·macro·is·redefined
131 to·contain·the·sum·of·its·previous·value·and·its·increment.133 to·contain·the·sum·of·its·previous·value·and·its·increment.
132 <P>134 <P>
133 To·increment·or·decrement·a·variable·you·can·use·this·form:135 To·increment·or·decrement·a·variable·you·can·use·this·form:
134 ··<p><code>136 ··<p><code>
 137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
135 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
136 &nbsp;·&nbsp;·...<br> 
137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
139 </code></p>138 </code></p>
140 <p>139 <p>
141 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It140 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It
142 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer141 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer
143 values·are·limited·to·the·range·-2^31..2^31.142 values·are·limited·to·the·range·-2^31..2^31.
144 <P>143 <P>
145 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.144 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.
4.6 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 37 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·File·image.gif·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················SIZE=KBYTE> kilobytes
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE>
4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\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*
5  ·_.L_.i_.c_.e_.n_.s_.e···················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a9  · ···_.A_.L_.T_.T_.E_.X_.T···············The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················variable·or·for·variable·addition.·The·basic·form10  · ···_.B_.L_.O_.C_.K·················variable·or·for·variable·addition.·The·basic·form
7  ·_.U_.s_.a_.g_.e·····················is·shown·above.11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············is·shown·above.
8  ·HTP·Tags··················The·"increment"·is·anything·that·evaluates·to·a12  · ···_.D_.E_.F···················The·"increment"·is·anything·that·evaluates·to·a
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············integer.·It·can·be·a·literal·string·or·a·macro13  · ···_\x8F_.I_.L_.E··················integer.·It·can·be·a·literal·string·or·a·macro
10  · ···_\x8B_.L_.O_.C_.K·················preceeded·by·the·'$'-operator.·The·macroname·must14  · ···_\x8I_.F····················preceeded·by·the·'$'-operator.·The·macroname·must
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············be·the·name·of·a·defined·macro·that·contains·an15  ·[>]·_.I_.N_.C···················be·the·name·of·a·defined·macro·that·contains·an
12  · ···_\x8D_.E_.F···················integer.·If·the·increment·is·ommitted·it·defaults16  · ···_\x8I_.M_.G···················integer.·If·the·increment·is·ommitted·it·defaults
13  · ···_\x8F_.I_.L_.E··················to·1.·The·effect·of·this·operation·is·that·the17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············to·1.·The·effect·of·this·operation·is·that·the
14  · ···_\x8I_.F····················macro·is·redefined·to·contain·the·sum·of·its18  · ···_\x8O_.P_.T···················macro·is·redefined·to·contain·the·sum·of·its
15  ·[>]·_.I_.N_.C···················previous·value·and·its·increment.19  · ···_.O_.U_.T_.P_.U_.T················previous·value·and·its·increment.
16  · ···_\x8I_.M_.G···················To·increment·or·decrement·a·variable·you·can·use20  · ···_\x8Q_.U_.O_.T_.E·················To·increment·or·decrement·a·variable·you·can·use
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············this·form:21  · ···_\x8S_.E_.T···················this·form:
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name>...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
18  · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10"> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·... 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
21  · ···_\x8S_\x8E_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
22  · ···_\x8U_\x8N_\x8D_.E_.F·················Note·that·INC·doesn't·check·if·the·strings·really23  · ···_\x8U_\x8N_\x8S_.E_.T·················Note·that·INC·doesn't·check·if·the·strings·really
23  · ···_\x8U_\x8N_.S_.E_.T·················denote·integers.·It·may·give·weired·results·when24  · ···_\x8U_\x8S_.E_.,_.·_.$················denote·integers.·It·may·give·weired·results·when
24  · ···_\x8U_.S_.E_.,_.·_.$················used·on·arbitrary·strings.·The·integer·values·are25  · ···_\x8W_.H_.I_.L_.E·················used·on·arbitrary·strings.·The·integer·values·are
25  · ···_\x8W_.H_.I_.L_.E·················limited·to·the·range·-2^31..2^31.26  · ···_\x8<_.!_.-_.-_.-·················limited·to·the·range·-2^31..2^31.
26  · ···_.<_.!_.-_.-_.-·················Note·further·that·htp·wasn't·designed·to·do27  ·_.H_.i_.s_.t_.o_.r_.y···················Note·further·that·htp·wasn't·designed·to·do
27  ·_\x8H_.i_.s_.t_.o_.r_.y···················extensive·calculations.·The·INC·tag·is·useful·in28  ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················extensive·calculations.·The·INC·tag·is·useful·in
28  ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················conjunction·with·WHILE·to·iterate·over·the·defined29  ·_\x8B_.u_.g_.s······················conjunction·with·WHILE·to·iterate·over·the·defined
29  ·_.B_.u_.g_.s······················blocks.30 ····························blocks.
  
  
  
  
  
  
  
22.7 KB
./usr/share/doc/htp/metatag.html
    
Offset 88, 14 lines modifiedOffset 88, 22 lines modified
88 <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and88 <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·a91 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">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(IMGXY|NOIMGXY)</span>&gt;</span><br>
 96 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(QUIET|VERBOSE)</span>&gt;</span><br>
 97 <font·size="-2">&nbsp;3.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(DEPEND|NODEPEND)</span>&gt;</span><br>
 98 <font·size="-2">&nbsp;4.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(PRECIOUS|NOPRECIOUS)</span>&gt;</span><br>
 99 <font·size="-2">&nbsp;5.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>&gt;</span><br>
 100 <font·size="-2">&nbsp;6.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="htp-value">(HTML|SQUARE|CURLY)</span>&gt;</span><br>
 101 <font·size="-2">&nbsp;7.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(XML|XML</span>=<span·class="htp-value">FALSE)</span>&gt;</span><br>
 102 <font·size="-2">&nbsp;8.·</font><br>
95 </code></p>103 </code></p>
96 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.104 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.
97 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.105 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.
98 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and106 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and
99 <code>/def</code></a>·tags.··You·don't·have·to·understand·this107 <code>/def</code></a>·tags.··You·don't·have·to·understand·this
100 html·code,·but·you·should·understand·that·this·is·just·pure·html·to108 html·code,·but·you·should·understand·that·this·is·just·pure·html·to
101 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>109 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>
Offset 105, 58 lines modifiedOffset 113, 35 lines modified
105 file</a>.··</p>113 file</a>.··</p>
106 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing114 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing
107 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp115 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp
108 encounters·a·blockdef·tag·it·will·automatically·search·for·the116 encounters·a·blockdef·tag·it·will·automatically·search·for·the
109 matching·closing·tag·and·put·everything·between·these·tags·in·a·block117 matching·closing·tag·and·put·everything·between·these·tags·in·a·block
110 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>118 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>
111 ··<p><code>119 ··<p><code>
112 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
113 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>120 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<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>·<s[·...·truncated·by·diffoscope;·len:·34,·SHA:·148460926792720d5947bb52d4a8ed44c47bae0124d07b5f5d7e3f76f10548ba·...·]&gt;</span><br>
 121 <font·size="-2">&nbsp;2.·</font><br>
114 </code></p>122 </code></p>
115 <h2>Using·parameters</h2>123 <h2>Using·parameters</h2>
116 <p>·More·sophisticated·tags·accept·parameters.··The124 <p>·More·sophisticated·tags·accept·parameters.··The
117 <code>option</code>·parameter·lets·multiple·metatag·parameters·be125 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
118 named·and·expanded·inside·the·<code>def</code>·or126 named·and·expanded·inside·the·<code>def</code>·or
119 <code>blockdef</code>·block:·</p>127 <code>blockdef</code>·block:·</p>
120 ··<p><code>128 ··<p><code>
121 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
122 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·This·tag·will·fail:·<span·class="htp-tag">&lt;<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>&gt;</span><br>129 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macrona[·...·truncated·by·diffoscope;·len:·127,·SHA:·aa337cd4f6e6aebdedfdf711c15de10aa2bf3ad8943be3bb09cc90e44a2b9551·...·]</span>&gt;</span><br>
 130 <font·size="-2">&nbsp;2.·</font><br>
123 </code></p>131 </code></p>
124 <h2>Saving·blocks·for·later</h2>132 <h2>Saving·blocks·for·later</h2>
125 <p>When·you·are·using·templates,·the·html·should·only·be·written·by133 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
126 the·template·file.··The·normal·htp·files·should·just·define·macros134 the·template·file.··The·normal·htp·files·should·just·define·macros
127 that·are·used·later·in·the·template.··So·you·may·want·to·write·block135 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
128 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this136 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
129 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to137 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
130 do·this:</p>138 do·this:</p>
131 ··<p><code>139 ··<p><code>
 140 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
132 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
133 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
134 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br> 
135 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
136 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
137 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
138 <font·size="-2">&nbsp;7.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
139 <font·size="-2">&nbsp;8.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
140 <font·size="-2">&nbsp;9.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
141 <font·size="-2">10.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
142 <font·size="-2">11.·</font><br> 
143 <font·size="-2">12.·</font>&nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br> 
144 <font·size="-2">13.·</font><br> 
145 <font·size="-2">14.·</font>&nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br> 
146 <font·size="-2">15.·</font><br> 
147 <font·size="-2">16.·</font>&nbsp;·This·will·fail:<br> 
148 <font·size="-2">17.·</font>&nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br> 
149 <font·size="-2">18.·</font><br> 
150 <font·size="-2">19.·</font>&nbsp;·Instead,·use·*·like·this:<br> 
151 <font·size="-2">20.·</font>&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
152 <font·size="-2">21.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
153 <font·size="-2">22.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
154 <font·size="-2">23.·</font>&nbsp;·&nbsp;·<br> 
155 <font·size="-2">24.·</font>&nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br> 
156 </code></p>141 </code></p>
157 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a142 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
158 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is143 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
159 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is144 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
160 build·from·this·counter.··So·the·first·section·is·stored·in·block145 build·from·this·counter.··So·the·first·section·is·stored·in·block
161 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>·flag146 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
162 in·line·4·tells·htp·that·these·macros·should·be·defined·globally147 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
Offset 175, 21 lines modifiedOffset 160, 17 lines modified
175 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be160 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be
176 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the161 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the
177 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you162 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you
178 use·expand·in·a·block·around·it.</p>163 use·expand·in·a·block·around·it.</p>
179 <p>To·close·this·example·we·show·how·to·expand·the164 <p>To·close·this·example·we·show·how·to·expand·the
180 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>165 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>
181 ··<p><code>166 ··<p><code>
182 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<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>&gt;</span><br>167 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<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>&gt;</span><br>
 168 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<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>·&gt;</span><br>
 169 <font·size="-2">&nbsp;3.·</font><br>
183 <font·size="-2">&nbsp;2.·</font>&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
184 <font·size="-2">&nbsp;3.·</font>&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
185 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
186 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
187 <font·size="-2">&nbsp;6.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br> 
188 <font·size="-2">&nbsp;7.·</font><span·class="htp-tag">&lt;<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>&gt;</span><br> 
189 </code></p>170 </code></p>
190 <p>171 <p>
191 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·whether172 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
192 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is173 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is
193 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards174 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards
194 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This175 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This
195 repeats·until·sect-${sect-ctr}·is·not·defined.176 repeats·until·sect-${sect-ctr}·is·not·defined.
8.6 KB
html2text {}
    
Offset 9, 15 lines modifiedOffset 9, 23 lines modified
9  · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality.9  · ···_\x8T_\x8e_\x8m_\x8p_\x8l_\x8a_\x8t_\x8e_\x8s·············functionality.
10  · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[10  · ···_\x8F_\x8i_\x8l_\x8e_\x8s·················Metatags·are·defined·with·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·and·_\x8[
11  ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[11  ·[>]·_\x8M_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s··············_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tags·and·undefined·with·the·_\x8[
12  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag.12  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8d_\x8e_\x8f·tag.
13  ·_\x8H_\x8T_\x8P_\x8·_\x8T_\x8a_\x8g_\x8s··················As·an·example·we·show·how·to·define·a·tag·that13  ·_\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·several14  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················builds·a·fancy·horizontal·rule·out·of·several
15  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images.15  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················images.
 16  ·_\x8B_\x8u_\x8g_\x8s······················ 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(IMGXY|NOIMGXY)>
 17 ···························· 2.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(QUIET|VERBOSE)>
 18 ···························· 3.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(DEPEND|NODEPEND)>
 19 ···························· 4.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(PRECIOUS|NOPRECIOUS)>
 20 ···························· 5.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(CONDENSE|SEMICONDENSE|NOCONDENSE)>
 21 ···························· 6.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·DELIM=(HTML|SQUARE|CURLY)>
 22 ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8O_\x8P_\x8T·(XML|XML=FALSE)>
 23 ···························· 8.
16  ·_.B_.u_.g_.s······················In·line·1·of·the·above·example·a·new·tag·named24 ····························In·line·1·of·the·above·example·a·new·tag·named
17 ····························imghr·is·defined.·The·html·code·which·implements25 ····························imghr·is·defined.·The·html·code·which·implements
18 ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[26 ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[
19 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to27 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to
20 ····························understand·this·html·code,·but·you·should28 ····························understand·this·html·code,·but·you·should
21 ····························understand·that·this·is·just·pure·html·to·draw·the29 ····························understand·that·this·is·just·pure·html·to·draw·the
22 ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line30 ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line
23 ····························12·htp·will·replace·this·tag·with·the·corresponding31 ····························12·htp·will·replace·this·tag·with·the·corresponding
Offset 27, 61 lines modifiedOffset 35, 33 lines modified
27 ····························Often·you·want·to·define·tags·that·have·an·opening35 ····························Often·you·want·to·define·tags·that·have·an·opening
28 ····························and·a·closing·variant.·For·this·purpose·you·should36 ····························and·a·closing·variant.·For·this·purpose·you·should
29 ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a37 ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a
30 ····························blockdef·tag·it·will·automatically·search·for·the38 ····························blockdef·tag·it·will·automatically·search·for·the
31 ····························matching·closing·tag·and·put·everything·between39 ····························matching·closing·tag·and·put·everything·between
32 ····························these·tags·in·a·block·macro·named·block.·Here·is·an40 ····························these·tags·in·a·block·macro·named·block.·Here·is·an
33 ····························example·for·this.41 ····························example·for·this.
 42 ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_\x8U_\x8O_\x8T_\x8E·TAG·[ATTRIBUTE=VALUE·...]>
34 ···························· 1.·<a·href="mailto:$email">mailto·hyperlink</a> 
35 ···························· 2.·<a·href="http://$domain/~${username}/">another 
36 ····························hyperlink</a>43 ···························· 2.
37 ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8*44 ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8*
38 ····························More·sophisticated·tags·accept·parameters.·The45 ····························More·sophisticated·tags·accept·parameters.·The
39 ····························option·parameter·lets·multiple·metatag·parameters46 ····························option·parameter·lets·multiple·metatag·parameters
40 ····························be·named·and·expanded·inside·the·def·or·blockdef47 ····························be·named·and·expanded·inside·the·def·or·blockdef
41 ····························block:48 ····························block:
42 ···························· 1.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti" 
43 ····························name="Jim·Nelson"·email="jnelson@crl.com"> 
44 ···························· 2.· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>49 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·macroname1="macrovalue1"
 50 ····························[macroname2="macrovalue2"·...]·[GLOBAL]>
 51 ···························· 2.
45 ····························*\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*52 ····························*\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*
46 ····························When·you·are·using·templates,·the·html·should·only53 ····························When·you·are·using·templates,·the·html·should·only
47 ····························be·written·by·the·template·file.·The·normal·htp54 ····························be·written·by·the·template·file.·The·normal·htp
48 ····························files·should·just·define·macros·that·are·used·later55 ····························files·should·just·define·macros·that·are·used·later
49 ····························in·the·template.·So·you·may·want·to·write·block56 ····························in·the·template.·So·you·may·want·to·write·block
50 ····························tags·that·just·save·the·block·in·a·macro·for·later57 ····························tags·that·just·save·the·block·in·a·macro·for·later
51 ····························use.·Although·this·is·possible·with·htp·it·is·quite58 ····························use.·Although·this·is·possible·with·htp·it·is·quite
52 ····························tricky,·so·here·we·present·the·way·to·do·this:59 ····························tricky,·so·here·we·present·the·way·to·do·this:
53 ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC 
54 ····························TITLE·SIZE"> 
55 ···························· 2.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
56 ···························· 3.· · · · ·<FONT·SIZE=${size}> 
57 ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
58 ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> 
59 ···························· 6.· · ·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·title>60 ···························· 1.· · ·<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·emailaddr="jnelson@crl.com">
60 ···························· 7.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
61 ···························· 8.· · · · ·</FONT> 
62 ···························· 9.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
63 ····························10.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
64 ····························11. 
65 ····························12.· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A 
66 ····························title"> 
67 ····························13. 
68 ····························14.· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized 
69 ····························title"> 
70 ····························15. 
71 ····························16.· ·This·will·fail: 
72 ····························17.· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" 
73 ····························TITLE="Another·title"> 
74 ····························18. 
75 ····························19.· ·Instead,·use·*·like·this: 
76 ····························20.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> 
77 ····························21.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> 
78 ····························22.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
79 ····························23.· ·  
80 ····························24.· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
81 ····························This·defines·a·block·macro·named·section.·This61 ····························This·defines·a·block·macro·named·section.·This
82 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the62 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the
83 ····························sections.·It·is·increased·for·every·section·(line63 ····························sections.·It·is·increased·for·every·section·(line
84 ····························3)·and·then·the·block·macro·name·is·build·from·this64 ····························3)·and·then·the·block·macro·name·is·build·from·this
85 ····························counter.·So·the·first·section·is·stored·in·block65 ····························counter.·So·the·first·section·is·stored·in·block
86 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[66 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[
87 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these67 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these
Offset 104, 21 lines modifiedOffset 84, 17 lines modified
104 ····························block·to·be·expanded·twice.·If·you·omit·it,·it84 ····························block·to·be·expanded·twice.·If·you·omit·it,·it
105 ····························would·be·expanded·when·defining·the·sect-1·macro85 ····························would·be·expanded·when·defining·the·sect-1·macro
106 ····························and·when·using·it·later·in·the·template.·Generally86 ····························and·when·using·it·later·in·the·template.·Generally
107 ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use87 ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use
108 ····························expand·in·a·block·around·it.88 ····························expand·in·a·block·around·it.
109 ····························To·close·this·example·we·show·how·to·expand·the89 ····························To·close·this·example·we·show·how·to·expand·the
110 ····························sect-${sect-ctr}·blocks·in·the·template:90 ····························sect-${sect-ctr}·blocks·in·the·template:
111 ···························· 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> 
112 ···························· 2.· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="1">91 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·macroname>
 92 ···························· 2.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·>
 93 ···························· 3.
113 ···························· 3.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> 
114 ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> 
115 ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> 
116 ···························· 6.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> 
117 ···························· 7.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> 
118 ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the94 ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the
119 ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined95 ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined
120 ····························the·body·is·evaluated,·which·expands·the·macro·and96 ····························the·body·is·evaluated,·which·expands·the·macro·and
121 ····························increases·sect-ctr.·Afterwards·the·while·condition97 ····························increases·sect-ctr.·Afterwards·the·while·condition
122 ····························is·checked·again·to·check·for·sect-2·macro.·This98 ····························is·checked·again·to·check·for·sect-2·macro.·This
123 ····························repeats·until·sect-${sect-ctr}·is·not·defined.99 ····························repeats·until·sect-${sect-ctr}·is·not·defined.
124 ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8*100 ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8*
3.38 KB
./usr/share/doc/htp/opt.html
    
Offset 114, 14 lines modifiedOffset 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">&lt;<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>&gt;</span><br>
 122 <br>
121 </code></p>123 </code></p>
122 <h2>synopsis</h2>124 <h2>synopsis</h2>
123 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing125 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing
124 options·inside·the·actual·document·being·processed.··The·options·are126 options·inside·the·actual·document·being·processed.··The·options·are
125 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not127 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not
126 preceded·by·a·&lsquo;-&rsquo;·character.128 preceded·by·a·&lsquo;-&rsquo;·character.
127 <P>129 <P>
2.5 KB
html2text {}
    
Offset 1, 20 lines modifiedOffset 1, 20 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\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_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\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*
5  ·_\x8L_.i_.c_.e_.n_.s_.e···················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify7  ·_\x8U_.s_.a_.g_.e·····················O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················processing·options·inside·the·actual·document·being8  ·HTP·Tags··················processing·options·inside·the·actual·document·being
7  ·_.U_.s_.a_.g_.e·····················processed.·The·options·are·used·exactly·as·they9  · ···_.A_.L_.T_.T_.E_.X_.T···············processed.·The·options·are·used·exactly·as·they
8  ·HTP·Tags··················would·be·on·the·command-line,·although·they·are·not10  · ···_.B_.L_.O_.C_.K·················would·be·on·the·command-line,·although·they·are·not
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············preceded·by·a·‘-’·character.11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············preceded·by·a·‘-’·character.
10  · ···_\x8B_.L_.O_.C_.K·················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_\x8g12  · ···_\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
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p.13  · ···_\x8F_.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.
12  · ···_\x8D_\x8E_\x8F 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  · ···_\x8I_\x8F14  · ···_\x8I_\x8F
15  · ···_\x8I_\x8N_\x8C15  · ···_\x8I_\x8N_\x8C
16  · ···_\x8I_\x8M_\x8G16  · ···_\x8I_\x8M_\x8G
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
18  ·[>]·_\x8O_\x8P_\x8T18  ·[>]·_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
Offset 25, 14 lines modifiedOffset 25, 16 lines modified
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
36 _\x8h_\x8t_\x8p_\x8]36 _\x8h_\x8t_\x8p_\x8]
5.01 KB
./usr/share/doc/htp/output.html
    
Offset 114, 14 lines modifiedOffset 114, 19 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span>;<br>
 123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 124 <br>
 125 &nbsp;·<span·class="htp-tag">&lt;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>&gt;</span><br>
121 </code></p>126 </code></p>
122 <h2>synopsis</h2>127 <h2>synopsis</h2>
123 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary128 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary
124 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the129 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the
125 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>130 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>
126 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you131 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
127 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text132 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text
3.34 KB
html2text {}
    
Offset 1, 42 lines modifiedOffset 1, 48 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name·alt">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}"
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">;
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 8  ·HTP·Tags
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image">
4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*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*
5  ·_.L_.i_.c_.e_.n_.s_.e···················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················files·besides·the·main·HTML·file.·The·text·between12  · ···_.D_.E_.F···················files·besides·the·main·HTML·file.·The·text·between
7  ·_.U_.s_.a_.g_.e·····················this·tag·and·the·corresponding·</OUTPUT>·tag·is13  · ···_.F_.I_.L_.E··················this·tag·and·the·corresponding·</OUTPUT>·tag·is
8  ·HTP·Tags··················written·to·output·file.14  · ···_.I_.F····················written·to·output·file.
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············Normally·the·outputfile·is·cleared·before·writing15  · ···_\x8I_.N_.C···················Normally·the·outputfile·is·cleared·before·writing
10  · ···_\x8B_.L_.O_.C_.K·················to·it,·but·you·can·use·the·APPEND·attribute·to16  · ···_\x8I_.M_.G···················to·it,·but·you·can·use·the·APPEND·attribute·to
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············extend·an·existing·file.·The·text·written·to·the17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············extend·an·existing·file.·The·text·written·to·the
12  · ···_\x8D_.E_.F···················file·is·normally·not·expanded,·i.e.·all·tags·inside18  · ···_\x8O_.P_.T···················file·is·normally·not·expanded,·i.e.·all·tags·inside
13  · ···_.F_.I_.L_.E··················this·block·are·not·executed·but·written·unmodified19  ·[>]·_.O_.U_.T_.P_.U_.T················this·block·are·not·executed·but·written·unmodified
14  · ···_\x8I_.F····················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D20  · ···_\x8Q_.U_.O_.T_.E·················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D
15  · ···_\x8I_.N_.C···················attribute·to·override·this·behaviour.21  · ···_\x8S_.E_.T···················attribute·to·override·this·behaviour.
16  · ···_\x8I_\x8M_\x8G 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L 
18  · ···_\x8O_\x8P_\x8T 
19  ·[>]·_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E 
21  · ···_\x8S_\x8E_\x8T 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
36 _\x8h_\x8t_\x8p_\x8]36 _\x8h_\x8t_\x8p_\x8]
3.35 KB
./usr/share/doc/htp/quote.html
    
Offset 114, 14 lines modifiedOffset 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">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br>
 122 <br>
121 </code></p>123 </code></p>
122 <h2>synopsis</h2>124 <h2>synopsis</h2>
123 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise125 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise
124 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a126 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a
125 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early127 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early
126 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still128 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still
127 done·inside·a·quote·block.129 done·inside·a·quote·block.
2.28 KB
html2text {}
    
Offset 1, 20 lines modifiedOffset 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]_\x8S_\x8E_\x8T·macroname1="macrovalue1"
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="macrovalue2"·...]·[GLOBAL]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_.L_.i_.c_.e_.n_.s_.e···················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise8  ·HTP·Tags··················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················be·interpreted·by·HTP.·It·may·be·useful·in9  · ···_.A_.L_.T_.T_.E_.X_.T···············be·interpreted·by·HTP.·It·may·be·useful·in
7  ·_.U_.s_.a_.g_.e·····················conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to10  · ···_.B_.L_.O_.C_.K·················conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to
8  ·HTP·Tags··················prevent·early·expansion·of·some·contained·blocks.11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············prevent·early·expansion·of·some·contained·blocks.
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············Note·that·'$'·evaluation·is·still·done·inside·a12  · ···_\x8D_.E_.F···················Note·that·'$'·evaluation·is·still·done·inside·a
10  · ···_\x8B_.L_.O_.C_.K·················quote·block.13  · ···_\x8F_.I_.L_.E··················quote·block.
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F 
12  · ···_\x8D_\x8E_\x8F 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  · ···_\x8I_\x8F14  · ···_\x8I_\x8F
15  · ···_\x8I_\x8N_\x8C15  · ···_\x8I_\x8N_\x8C
16  · ···_\x8I_\x8M_\x8G16  · ···_\x8I_\x8M_\x8G
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
18  · ···_\x8O_\x8P_\x8T18  · ···_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E20  ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E
Offset 24, 14 lines modifiedOffset 24, 17 lines modified
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
36 _\x8h_\x8t_\x8p_\x8]36 _\x8h_\x8t_\x8p_\x8]
6.29 KB
./usr/share/doc/htp/set.html
    
Offset 114, 20 lines modifiedOffset 114, 25 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">&lt;<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>&gt;</span><br>
 122 <span·class="htp-tag">&lt;<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>·&gt;</span><br>
 123 <br>
121 </code></p>124 </code></p>
122 <h2>synopsis</h2>125 <h2>synopsis</h2>
123 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded126 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
124 anywhere·in·the·HTML·document.··To·create·a·macro:127 anywhere·in·the·HTML·document.··To·create·a·macro:
125 ··<p><code>128 ··<p><code>
126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"[·...·truncated·by·diffoscope;·len:·51,·SHA:·a5f764d59ac71e6f72714d91ef1e8f278fb4fdd5bc9c1259e26ec69fa6416c15·...·]>&gt;</span><br>129 <span·class="htp-tag">&lt;<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>&gt;</span><br>
 130 <span·class="htp-tag">&lt;<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>·&gt;</span><br>
 131 <br>
127 </code></p>132 </code></p>
128 <P>133 <P>
129 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">134 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·regular135 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·the136 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
132 <A·HREF="use.html">'$'</A>·operator.137 <A·HREF="use.html">'$'</A>·operator.
133 <P>138 <P>
4.39 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 41 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·S\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·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
4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_\x8U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
5  ·_.L_.i_.c_.e_.n_.s_.e···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be8  ·HTP·Tags··················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················expanded·anywhere·in·the·HTML·document.·To·create·a9  · ···_.A_.L_.T_.T_.E_.X_.T···············expanded·anywhere·in·the·HTML·document.·To·create·a
7  ·_.U_.s_.a_.g_.e·····················macro:10  · ···_.B_.L_.O_.C_.K·················macro:
8  ·HTP·Tags·················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name>...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·macroname>
 12  · ···_\x8D_\x8E_\x8F···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·>
 13  · ···_\x8F_\x8I_\x8L_\x8E
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············The·macro·"emailaddr"·can·then·be·expanded·later.14  · ···_\x8I_.F····················The·macro·"emailaddr"·can·then·be·expanded·later.
10  · ···_\x8B_.L_.O_.C_.K·················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a15  · ···_\x8I_.N_.C···················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············tag·(i.e.,·into·the·regular·text).·If·the·macro16  · ···_\x8I_.M_.G···················tag·(i.e.,·into·the·regular·text).·If·the·macro
12  · ···_\x8D_.E_.F···················needs·to·be·expanded·inside·a·markup·tag,·use·the17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············needs·to·be·expanded·inside·a·markup·tag,·use·the
13  · ···_\x8F_.I_.L_.E··················_\x8'_\x8$_\x8'·operator.18  · ···_\x8O_.P_.T···················_\x8'_\x8$_\x8'·operator.
14  · ···_\x8I_.F····················Multiple·macros·can·be·declared·in·a·single·markup19  · ···_\x8O_.U_.T_.P_.U_.T················Multiple·macros·can·be·declared·in·a·single·markup
15  · ···_\x8I_.N_.C···················tag,·as·the·second·syntax·line·shows.20  · ···_\x8Q_.U_.O_.T_.E·················tag,·as·the·second·syntax·line·shows.
16  · ···_.I_.M_.G···················SET·should·only·be·used·for·a·single·line's·worth21  ·[>]·_.S_.E_.T···················SET·should·only·be·used·for·a·single·line's·worth
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············of·text.·Multi-line·macros·can·be·defined·with·the22  · ···_\x8U_.N_.D_.E_.F·················of·text.·Multi-line·macros·can·be·defined·with·the
18  · ···_\x8O_.P_.T···················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the23  · ···_\x8U_.N_.S_.E_.T·················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the
19  · ···_\x8O_.U_.T_.P_.U_.T················macro·contains·a·quotation·character·and·you·don't24  · ···_\x8U_.S_.E_.,_.·_.$················macro·contains·a·quotation·character·and·you·don't
20  · ···_\x8Q_.U_.O_.T_\x8E·················want·to·fool·around·with·special·escape·characters.25  · ···_\x8W_.H_.I_.L_\x8E·················want·to·fool·around·with·special·escape·characters.
21  ·[>]·_.S_.E_.T···················Macros·can·be·redefined·by·using·another·SET26  · ···_.<_.!_.-_.-_.-·················Macros·can·be·redefined·by·using·another·SET
22  · ···_.U_.N_.D_.E_.F·················command·with·the·same·macro·name.·The·prior27  ·_.H_.i_.s_.t_.o_.r_.y···················command·with·the·same·macro·name.·The·prior
23  · ···_.U_.N_.S_.E_.T·················definition·will·be·destroyed,·however.·Also,·the28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················definition·will·be·destroyed,·however.·Also,·the
24  · ···_.U_.S_.E_.,_.·_.$················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T29  ·_.B_.u_.g_.s······················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  ·_.B_.u_.g_.s30 ····························tag.
  
  
  
  
  
  
  
  
  
  
  
908 B
./usr/share/doc/htp/tut/jh.html
    
Offset 16, 10 lines modifiedOffset 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·Tue·Dec·09,·202523 ··last·updated·Wed·Nov·06,·2024
24 ·</body>24 ·</body>
25 </html>25 </html>
511 B
html2text {}
    
Offset 1, 8 lines modifiedOffset 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-0203 _\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-82434 _\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-82425 ···············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·Tue·Dec·09,·20258 last·updated·Wed·Nov·06,·2024
723 B
./usr/share/doc/htp/tut/tut1.html
    
Offset 5, 9 lines modifiedOffset 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·Tue·Dec·09,·202512 last·updated·Wed·Nov·06,·2024
13 </body>13 </body>
383 B
html2text {}
    
Offset 1, 3 lines modifiedOffset 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·Tue·Dec·09,·20253 Copyright·by·Joe·Doe,·_\x8w_\x8e_\x8b_\x8m_\x8a_\x8s_\x8t_\x8e_\x8r_\x8@_\x8d_\x8o_\x8m_\x8a_\x8i_\x8n_\x8._\x8c_\x8o_\x8m,·last·updated·Wed·Nov·06,·2024
774 B
./usr/share/doc/htp/tut/tut2.html
    
Offset 13, 10 lines modifiedOffset 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·Tue·Dec·09,·202520 ··last·updated·Wed·Nov·06,·2024
21 ·</body>21 ·</body>
22 </html>22 </html>
426 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 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_\x8e3 _\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·Tue·Dec·09,·20256 last·updated·Wed·Nov·06,·2024
776 B
./usr/share/doc/htp/tut/tut3.html
    
Offset 13, 10 lines modifiedOffset 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·Tue·Dec·09,·202520 ··last·updated·Wed·Nov·06,·2024
21 ·</body>21 ·</body>
22 </html>22 </html>
432 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 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_\x8e3 _\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·Tue·Dec·09,·20256 last·updated·Wed·Nov·06,·2024
4.14 KB
./usr/share/doc/htp/undef.html
    
Offset 114, 17 lines modifiedOffset 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">&lt;<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>&gt;</span><br>
 122 <span·class="htp-tag">&lt;<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>·&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noexpand</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
123 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
124 <br>123 <br>
125 </code></p>124 </code></p>
126 <h2>synopsis</h2>125 <h2>synopsis</h2>
127 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags126 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags
128 created·by·<A·HREF="def.html">DEF</A>·and·<A127 created·by·<A·HREF="def.html">DEF</A>·and·<A
129 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF128 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF
130 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by129 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by
2.47 KB
html2text {}
    
Offset 1, 21 lines modifiedOffset 1, 21 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_.e·macroname·[parameters·...]·[noexpand]>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_.s_.e_.t·macroname>
 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
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<...·$macroname·...> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<...·${macroname}·...> 
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*7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
9  · ···_.A_.L_.T_.T_.E_.X_.T···············U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags8  ·HTP·Tags··················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags
10  · ···_\x8B_.L_.O_.C_.K·················created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············UNDEF·command.·Once·removed,·the·metatag·will·no10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················UNDEF·command.·Once·removed,·the·metatag·will·no
12  · ···_\x8D_.E_.F···················longer·be·recognized·by·htp·until·it·is·reassigned.11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············longer·be·recognized·by·htp·until·it·is·reassigned.
13  · ···_\x8F_.I_.L_.E··················Multiple·metatags·can·be·removed·by·placing·each12  · ···_\x8D_.E_.F···················Multiple·metatags·can·be·removed·by·placing·each
14  · ···_\x8I_.F····················name·as·an·attribute.13  · ···_\x8F_.I_.L_.E··················name·as·an·attribute.
 14  · ···_\x8I_\x8F
15  · ···_\x8I_\x8N_\x8C15  · ···_\x8I_\x8N_\x8C
16  · ···_\x8I_\x8M_\x8G16  · ···_\x8I_\x8M_\x8G
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
18  · ···_\x8O_\x8P_\x8T18  · ···_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
Offset 27, 15 lines modifiedOffset 27, 14 lines modified
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
36 _\x8h_\x8t_\x8p_\x8]36 _\x8h_\x8t_\x8p_\x8]
2.85 KB
./usr/share/doc/htp/unset.html
    
Offset 135, 16 lines modifiedOffset 135, 18 lines modified
135 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>135 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
136 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>136 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
137 <br>137 <br>
138 </code></p>138 </code></p>
139 <P>139 <P>
140 More·than·one·macro·may·be·removed·in·the·same·tag:140 More·than·one·macro·may·be·removed·in·the·same·tag:
141 ··<p><code>141 ··<p><code>
142 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
143 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>142 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 143 &nbsp;·&nbsp;·...<br>
 144 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 145 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
144 </code></p>146 </code></p>
145 <p>147 <p>
146 </td>148 </td>
147 </tr>149 </tr>
148 <tr>150 <tr>
149 <td·width="20%"·bgcolor="white"·valign="bottom">151 <td·width="20%"·bgcolor="white"·valign="bottom">
150 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">152 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
1.15 KB
html2text {}
    
Offset 14, 30 lines modifiedOffset 14, 31 lines modified
14  · ···_\x8I_\x8F····················automatically.)14  · ···_\x8I_\x8F····················automatically.)
15  · ···_\x8I_\x8N_\x8C···················For·example:15  · ···_\x8I_\x8N_\x8C···················For·example:
16  · ···_\x8I_\x8M_\x8G···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·macroname·[parameters·...]·[noexpand]>16  · ···_\x8I_\x8M_\x8G···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·macroname·[parameters·...]·[noexpand]>
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<...·$macroname·...>17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<...·$macroname·...>
18  · ···_\x8O_\x8P_\x8T···················<...·${macroname}·...>18  · ···_\x8O_\x8P_\x8T···················<...·${macroname}·...>
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················More·than·one·macro·may·be·removed·in·the·same·tag:20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················More·than·one·macro·may·be·removed·in·the·same·tag:
21  · ···_\x8S_\x8E_\x8T···················<a·href="mailto:$email">mailto·hyperlink</a> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················<a·href="http://$domain/~${username}/">another 
23  ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T·················hyperlink</a> 
24  · ···_\x8U_.S_.E_.,_.·_.$21  · ···_\x8S_.E_.T··················· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10">
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · ·...
 23  ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
6.94 KB
./usr/share/doc/htp/use.html
    
Offset 135, 15 lines modifiedOffset 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"·macros136 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
137 for·the·expanded·macro.··This·is·only·valid·for·<A137 for·the·expanded·macro.··This·is·only·valid·for·<A
138 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A138 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
139 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For139 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">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>&gt;</span><br>142 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 143 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
 144 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 145 <font·size="-2">&nbsp;4.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
143 </code></p>146 </code></p>
144 <P>147 <P>
145 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on148 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
146 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and149 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
147 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8150 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8
148 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is151 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is
149 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.152 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.
Offset 179, 16 lines modifiedOffset 182, 15 lines modified
179 delimiting·the·text·as·if·it·were·additional·markup·attributes.182 delimiting·the·text·as·if·it·were·additional·markup·attributes.
180 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),183 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),
181 quotation·marks·are·not·automatically·supplied.184 quotation·marks·are·not·automatically·supplied.
182 <P>185 <P>
183 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can186 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can
184 be·nested.··This·is·valid:187 be·nested.··This·is·valid:
185 ··<p><code>188 ··<p><code>
 189 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>&gt;</span><br>
186 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
187 &nbsp;·&nbsp;·This·tag·will·fail:·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
188 </code></p>190 </code></p>
189 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined191 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined
190 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX192 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX
191 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand193 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand
192 value1.194 value1.
193 <p>195 <p>
194 </td>196 </td>
3.75 KB
html2text {}
    
Offset 15, 22 lines modifiedOffset 15, 24 lines modified
15  · ···_\x8I_\x8N_\x8C···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use15  · ···_\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·further16  · ···_\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·are18  · ···_\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·only19  · ···_\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_\x8T20  · ···_\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.· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr·home_url22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10">
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················login_name>23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· 2.· · ·...
 24  ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
24  ·[>]·_.U_.S_.E_.,_.·_.$················(See·below·for·a·description·of·the·'$'·operator.)26  · ···_.<_.!_.-_.-_.-·················(See·below·for·a·description·of·the·'$'·operator.)
25  · ···_.W_.H_.I_.L_.E·················The·example·on·line·7·works·because·"stuff"·has27  ·_.H_.i_.s_.t_.o_.r_.y···················The·example·on·line·7·works·because·"stuff"·has
26  · ···_.<_.!_.-_.-_.-·················been·declared·as·a·block·macro,·and·the·tag·is28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················been·declared·as·a·block·macro,·and·the·tag·is
27  ·_\x8H_.i_.s_.t_.o_.r_.y···················passing·the·"email"·macro·to·the·"stuff"·macro.29  ·_\x8B_.u_.g_.s······················passing·the·"email"·macro·to·the·"stuff"·macro.
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Line·8·fails·because·the·"email"·macro·is30 ····························Line·8·fails·because·the·"email"·macro·is
29  ·_.B_.u_.g_.s······················unavailable·once·the·block·macro·is·completely31 ····························unavailable·once·the·block·macro·is·completely
30 ····························expanded,·and·cannot·be·passed·to·a·SET·macro.32 ····························expanded,·and·cannot·be·passed·to·a·SET·macro.
31 ····························Note·that·the·"email"·macro·is·available·to·other33 ····························Note·that·the·"email"·macro·is·available·to·other
32 ····························macros·or·included·files·called·within·the·"stuff"34 ····························macros·or·included·files·called·within·the·"stuff"
33 ····························block.35 ····························block.
34 ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any36 ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any
35 ····························other·standard·HTML·or·htp·tag,·the·'$'·operator37 ····························other·standard·HTML·or·htp·tag,·the·'$'·operator
36 ····························must·be·used.·The·'$'·should·be·immediately38 ····························must·be·used.·The·'$'·should·be·immediately
Offset 57, 17 lines modifiedOffset 59, 15 lines modified
57 ····························it·with·quotation·marks·to·prevent·spaces·from59 ····························it·with·quotation·marks·to·prevent·spaces·from
58 ····························delimiting·the·text·as·if·it·were·additional·markup60 ····························delimiting·the·text·as·if·it·were·additional·markup
59 ····························attributes.·If·the·'$'·macro·is·surrounded·by·other61 ····························attributes.·If·the·'$'·macro·is·surrounded·by·other
60 ····························text·(as·in·the·two·examples·above),·quotation62 ····························text·(as·in·the·two·examples·above),·quotation
61 ····························marks·are·not·automatically·supplied.63 ····························marks·are·not·automatically·supplied.
62 ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a64 ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a
63 ····························markup·tag·and·can·be·nested.·This·is·valid:65 ····························markup·tag·and·can·be·nested.·This·is·valid:
 66 ···························· · ·<${tagName}·${attrName}=${value$ctr}>
64 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim 
65 ····························Nelson"·email="jnelson@crl.com"> 
66 ···························· · ·This·tag·will·fail:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·name> 
67 ····························The·tagName·macro·can·contain·any·tag·name,·even·a67 ····························The·tagName·macro·can·contain·any·tag·name,·even·a
68 ····························self-defined·metatag.·Note·that·$ctr·is·expanded68 ····························self-defined·metatag.·Note·that·$ctr·is·expanded
69 ····························before·the·valueX·macro·is·expanded,·so·assuming69 ····························before·the·valueX·macro·is·expanded,·so·assuming
70 ····························that·ctr·was·set·to·1·it·will·expand·value1.70 ····························that·ctr·was·set·to·1·it·will·expand·value1.
  
  
  
14.6 KB
./usr/share/doc/htp/while.html
    
Offset 114, 62 lines modifiedOffset 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 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
122 /my.domain.org/"·path="/var/www/my.domain/"><br> 
123 &nbsp;·<span·class="htp-tag">&lt;<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">pa[·...·truncated·by·diffoscope;·len:·59,·SHA:·141e91950fbfa67ca7660ed2bd739f937dab0dfa59d6e90c40951d5ace204880·...·]</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<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>&gt;</span><br>
 122 &nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br>
 123 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
124 <br>124 <br>
 125 <span·class="htp-tag">&lt;<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>&gt;</span><br>
125 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
126 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
127 &nbsp;·(no·URL·replacement).<br> 
128 <br>126 <br>
 127 This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
129 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
130 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
131 <br> 
132 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<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>&gt;</span><br>128 But·this·fails:·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 129 And·this·fails:·<span·class="htp-tag">&lt;<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>&gt;</span><br>
133 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
134 &nbsp;·will·not·be·added.<br> 
135 <br> 
136 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
137 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
138 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
139 <br> 
140 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<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>&gt;</span>&nbsp;are·mapped·to<br> 
141 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
142 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
143 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
144 </code></p>130 </code></p>
145 <h2>synopsis</h2>131 <h2>synopsis</h2>
146 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.132 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.
147 The·basic·form·is·shown·above.133 The·basic·form·is·shown·above.
148 <P>134 <P>
149 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.135 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
150 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.136 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.
151 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the137 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the
152 conditional·is·reversed:138 conditional·is·reversed:
153 ··<p><code>139 ··<p><code>
154 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"[·...·truncated·by·diffoscope;·len:·52,·SHA:·3521d05be624457ac6ade80ff41b2482121a447c913e180778d0a14a50d870d4·...·]&gt;</span><br>140 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
 141 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
155 </code></p>142 </code></p>
156 <P>143 <P>
157 Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a144 Just·as·with·<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·you·can·also·check·for·a
158 macro's·existance:145 macro's·existance:
159 ··<p><code>146 ··<p><code>
 147 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
 148 &nbsp;·&nbsp;·...<br>
160 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>149 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br>
161 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br> 
162 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>150 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
163 <br> 
164 &nbsp;·<span·class="htp-tag">&lt;<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>&gt;</span><br> 
165 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
166 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
167 <br> 
168 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
169 </code></p>151 </code></p>
170 <P>152 <P>
171 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the153 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
172 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the154 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
173 WHILE·tag·it·is·also·reevaluated·on·each·iteration.155 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
174 <P>156 <P>
175 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.157 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.
6.44 KB
html2text {}
    
Offset 1, 65 lines modifiedOffset 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:·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·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i="1"·j="-1">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·stuff>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················/my.domain.org/"·path="/var/www/my.domain/"> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················var/www/other.domain/"> 
8  ·HTP·Tags 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
10  · ···_.B_.L_.O_.C_.K················· ·the·local·filename·"logo.gif"·will·be·used·to5  ·_.L_.i_.c_.e_.n_.s_.e··················· ·<a·href=$email>send·email</a>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
 8  ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email>
 9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············determine·image·dimensions11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············email="jnelson@crl.com">
12  · ···_\x8D_\x8E_\x8F··················· ·(no·URL·replacement). 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  · ···_\x8I_.F···················· ·For·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="http://12  · ···_\x8D_.E_.F···················But·this·fails:·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·email>
 13  · ···_\x8F_\x8I_\x8L_\x8E··················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff
 14  · ···_\x8I_\x8F····················email="jnelson@crl.com">
15  · ···_\x8I_\x8N_\x8C···················my.domain.org/logo.gif"> 
16  · ···_\x8I_\x8M_\x8G··················· ·the·local·filename·"/var/www/my.domain/logo.gif" 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············will·be·used. 
18  · ···_\x8O_\x8P_\x8T 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················other.domain.org/logo.gif"> 
21  · ···_\x8S_\x8E_\x8T··················· ·the·local·file·cannot·be·found·(no·prefix·match), 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················so·the·image·dimensions 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·will·not·be·added. 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ 
25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· ·Order·is·important;·last·IMAGEURL·tag·takes 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················precedence: 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ 
29  ·_\x8B_\x8u_\x8g_\x8s······················test/"> 
  
30 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
31 ····························src="/test/image.gif"> are·mapped·to 
32 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ 
33 ····························image.gif,·resp. 
34 ···························· ·If·the·order·of·the·imageurl·lines·would·be 
35 ····························swapped,·the·second 
36 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ 
37 ····························image.gif. 
38 ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*15  · ···_.I_.N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
39 ····························W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated16  · ···_.I_.M_.G···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated
40 ····························processing.·The·basic·form·is·shown·above.17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············processing.·The·basic·form·is·shown·above.
41 ····························"Conditional"·is·either·a·"compare"·or·"is·defined"18  · ···_.O_.P_.T···················"Conditional"·is·either·a·"compare"·or·"is·defined"
42 ····························operation.·A·compare·operator·is·a·test·of·the19  · ···_.O_.U_.T_.P_.U_.T················operation.·A·compare·operator·is·a·test·of·the
43 ····························value·of·a·macro·against·a·literal·string.·If·the20  · ···_.Q_.U_.O_.T_.E·················value·of·a·macro·against·a·literal·string.·If·the
44 ····························NOT·tag·is·present·in·the·WHILE·markup,·the21  · ···_.S_.E_.T···················NOT·tag·is·present·in·the·WHILE·markup,·the
45 ····························evaluation·of·the·conditional·is·reversed:22  · ···_.U_.N_.D_.E_.F·················evaluation·of·the·conditional·is·reversed:
46 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·name>...<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>23  · ···_.U_.N_.S_.E_.T·················<a·href="mailto:$email">mailto·hyperlink</a>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················<a·href="http://$domain/~${username}/">another
 25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E·················hyperlink</a>
47 ····························Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a26  · ···_.<_.!_.-_.-_.-·················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a
48 ····························macro's·existance:27  ·_.H_.i_.s_.t_.o_.r_.y···················macro's·existance:
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i>
 29  ·_\x8B_\x8u_\x8g_\x8s······················ · ·...
49 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="bigfont">30 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i>
50 ···························· · ·<font·size="+4"> 
51 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_.e_.f>31 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_.H_.I_.L_.E>
  
52 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> 
53 ···························· · ·</font> 
54 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
  
55 ···························· ·<bigfont>Some·large·text</bigfont> 
56 ····························If·the·condition·is·true,·the·block·is·evaluated32 ····························If·the·condition·is·true,·the·block·is·evaluated
57 ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If33 ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If
58 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is34 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is
59 ····························also·reevaluated·on·each·iteration.35 ····························also·reevaluated·on·each·iteration.
60 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.36 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.