144 KB
/srv/reproducible-results/rbuild-debian/r-b-build.D7m4dAHL/b1/htp_1.19-8_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.D7m4dAHL/b2/htp_1.19-8_amd64.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·4682c39bd695e83baa9df0c2a8cf2e48·71088·debug·optional·htp-dbgsym_1.19-8_amd64.deb1 ·4682c39bd695e83baa9df0c2a8cf2e48·71088·debug·optional·htp-dbgsym_1.19-8_amd64.deb
2 ·3d79aed5def315f964b32de12d84f072·116400·web·optional·htp_1.19-8_amd64.deb2 ·dd70f28816b6519a3a2830f22a65d45c·116564·web·optional·htp_1.19-8_amd64.deb
143 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·····3616·2020-06-14·23:21:19.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3612·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···112592·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···112760·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:·6305 Installed-Size:·642
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
142 KB
data.tar.xz
142 KB
data.tar
13.5 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)·····8243·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)·····9158·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)·····9462·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html
11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.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)·····7941·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····8284·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)·····7719·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)····11488·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)····12288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····13722·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 34, 41 lines modifiedOffset 34, 41 lines modified
34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.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)·····7909·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)·····7909·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html
40 -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.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)····15266·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····15992·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)·····9126·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)·····8401·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)·····9401·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)·····8969·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)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html
53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.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)·····8142·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)·····8592·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)····14348·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····18818·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)·····7558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html
70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.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)·····7777·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp
Offset 81, 15 lines modifiedOffset 81, 15 lines modified
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)·····7503·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html
87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.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)·····8960·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)·····8234·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html
89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.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 104, 21 lines modifiedOffset 104, 21 lines modified
104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.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)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html
110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.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)·····9249·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····8032·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)····13116·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····15798·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)····10659·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)····11770·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.39 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 29 lines modifiedOffset 114, 35 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="comment">&lt;!---·comment·---&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imagename"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">tex[·...·truncated·by·diffoscope;·len:·80,·SHA:·0807d6c9d6211886b83c696d79971bcdef3cad0ddd3c91605b0cd1a4777c70e7·...·]&gt;</span><br>
 122 <br>
 123 lock<br>
 124 <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>
122 <br>125 <br>
123 </code></p>126 </code></p>
124 <h2>synopsis</h2>127 <h2>synopsis</h2>
125 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A128 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
126 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.129 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.
127 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the130 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the
128 filename·is·considered·in·all·comparisons.131 filename·is·considered·in·all·comparisons.
129 <p>132 <p>
130 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT133 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT
131 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to134 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to
132 be·overridden·on·specific·images·and·default·text·on·all·others.135 be·overridden·on·specific·images·and·default·text·on·all·others.
133 <p>136 <p>
134 For·example:137 For·example:
135 ··<p><code>138 ··<p><code>
 139 <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>
 140 <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>
 141 <br>
136 </code></p>142 </code></p>
137 <p>143 <p>
138 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT144 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT
139 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not145 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not
140 changed.146 changed.
141 <p>147 <p>
142 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,148 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,
4.36 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··············<!---·comment·---> 
5  ·_\x8L_.i_.c_.e_.n_.s_.e4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n··············<_.[_.[_.r_.e_.f_.]_.]_.a_.l_.t_.t_.e_.x_.t·name="imagename"·[·text="imagetext"
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················lock
 8  ·HTP·Tags··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8B_\x8L_\x8O_\x8C_\x8K>
 9  ·[>]·_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*10  · ···_.B_.L_.O_.C_.K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
7  ·_.U_.s_.a_.g_.e·····················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag
8  ·HTP·Tags··················with·a·SRC·matching·the·ALTTEXT·NAME.·Since12  · ···_.D_.E_.F···················with·a·SRC·matching·the·ALTTEXT·NAME.·Since
9  ·[>]·_.A_.L_.T_.T_.E_.X_.T···············relative·paths·can·be·used·to·point·to·the·same13  · ···_.F_.I_.L_.E··················relative·paths·can·be·used·to·point·to·the·same
10  · ···_\x8B_.L_.O_.C_.K·················image,·only·the·filename·is·considered·in·all14  · ···_\x8I_.F····················image,·only·the·filename·is·considered·in·all
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············comparisons.15  · ···_\x8I_.N_.C···················comparisons.
12  · ···_\x8D_.E_.F···················When·an·IMG·tag·with·a·matching·source·is16  · ···_\x8I_.M_.G···················When·an·IMG·tag·with·a·matching·source·is
13  · ···_\x8F_.I_.L_.E··················encountered,·htp·will·add·an·ALT·attribute·only·if17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············encountered,·htp·will·add·an·ALT·attribute·only·if
14  · ···_\x8I_.F····················one·is·not·already·present.·This·allows·for·ALT18  · ···_\x8O_.P_.T···················one·is·not·already·present.·This·allows·for·ALT
15  · ···_\x8I_.N_.C···················text·to·be·overridden·on·specific·images·and19  · ···_\x8O_.U_.T_.P_.U_.T················text·to·be·overridden·on·specific·images·and
16  · ···_\x8I_.M_.G···················default·text·on·all·others.20  · ···_\x8Q_.U_.O_.T_.E·················default·text·on·all·others.
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············For·example:21  · ···_\x8S_.E_.T···················For·example:
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname>
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8N_\x8D_\x8E_\x8F·tagname1·tagname2·...·>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
18  · ···_\x8O_.P_.T···················An·ALTTEXT·tag·with·a·name·but·no·text·attribute25  · ···_\x8W_.H_.I_.L_.E·················An·ALTTEXT·tag·with·a·name·but·no·text·attribute
19  · ···_\x8O_.U_.T_.P_.U_.T················removes·any·ALT·mapping·for·this·image.·Successing26  · ···_\x8<_.!_.-_.-_.-·················removes·any·ALT·mapping·for·this·image.·Successing
20  · ···_.Q_.U_.O_.T_.E·················IMG·tags·with·a·matching·SRC·name·are·not·changed.27  ·_.H_.i_.s_.t_.o_.r_.y···················IMG·tags·with·a·matching·SRC·name·are·not·changed.
21  · ···_.S_.E_.T···················Since·this·is·useful·for·an·image·used·throughout·a28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Since·this·is·useful·for·an·image·used·throughout·a
22  · ···_.U_.N_.D_.E_.F·················set·of·documents,·ALTTEXT·is·most·appropriate·in·an29  ·_.B_.u_.g_.s······················set·of·documents,·ALTTEXT·is·most·appropriate·in·an
23  · ···_.U_.N_.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.30 ····························_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e.
24  · ···_.U_.S_.E_.,_.·_.$················In·addition·to·ALTTEXT,·htp·can·also·automatically31 ····························In·addition·to·ALTTEXT,·htp·can·also·automatically
25  · ···_.W_.H_.I_.L_.E·················add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags.32 ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags.
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 
  
  
  
  
  
  
  
  
  
  
6.06 KB
./usr/share/doc/htp/block.html
    
Offset 114, 24 lines modifiedOffset 114, 14 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br> 
122 <br> 
123 &nbsp;·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> 
124 &nbsp;·becomes·this·after·processing:·<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>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br> 
125 <br> 
126 &nbsp;·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">"../image/logo.gif"</span>&gt;</span><br> 
127 &nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br> 
128 <br> 
129 &nbsp;·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>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>&gt;</span><br> 
130 &nbsp;·remains·unchanged.<br> 
131 </code></p>121 </code></p>
132 <h2>synopsis</h2>122 <h2>synopsis</h2>
133 <P>123 <P>
134 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which124 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which
135 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be125 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be
136 multi-line·definitions.126 multi-line·definitions.
137 </P>127 </P>
4.06 KB
html2text {}
    
Offset 1, 55 lines modifiedOffset 1, 42 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8K,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8a_\x8l_\x8t_\x8t_\x8e_\x8x_\x8t·name="logo.gif"·text="Company 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················logo"> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
8  ·HTP·Tags·················· ·becomes·this·after·processing:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············src="logo.gif"·alt="Company·logo"> 
10  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="../image/logo.gif"> 
12  · ···_\x8D_\x8E_\x8F··················· ·will·also·have·an·ALT·attribute·appended·to·it 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  · ···_\x8I_\x8F···················· ·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"·alt="Click 
15  · ···_\x8I_\x8N_\x8C···················here·for·more·information!"> 
16  · ···_\x8I_\x8M_\x8G··················· ·remains·unchanged. 
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*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*
18  · ···_.O_.P_.T···················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros,5  ·_.L_.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,
19  · ···_.O_.U_.T_.P_.U_.T················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be
20  · ···_.Q_.U_.O_.T_.E·················multi-line·definitions.7  ·_.U_.s_.a_.g_.e·····················multi-line·definitions.
21  · ···_.S_.E_.T···················Any·text·and·formatting·may·be·set·inside·the8  ·HTP·Tags··················Any·text·and·formatting·may·be·set·inside·the
22  · ···_\x8U_.N_.D_.E_.F·················block.·You·can·use·any·htp·or·user·defined·metatag9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············block.·You·can·use·any·htp·or·user·defined·metatag
23  · ···_.U_.N_.S_.E_.T·················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be10  ·[>]·_.B_.L_.O_.C_.K·················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be
24  · ···_\x8U_.S_.E_.,_.·_.$················expanded·before·the·block·is·USEd·except·if·you11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············expanded·before·the·block·is·USEd·except·if·you
25  · ···_\x8W_.H_.I_.L_.E·················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter.12  · ···_\x8D_.E_.F···················give·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D·parameter.
26  · ···_\x8<_.!_.-_.-_.-·················The·block·macro·is·dereferenced·(expanded)·with·the13  · ···_\x8F_.I_.L_.E··················The·block·macro·is·dereferenced·(expanded)·with·the
27  ·_.H_.i_.s_.t_.o_.r_.y···················_\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·the14  · ···_.I_.F····················_\x8U_\x8S_\x8E_\x8·_\x8t_\x8a_\x8g_\x8·_\x8o_\x8r_\x8·_\x8t_\x8h_\x8e_\x8·_\x8'_\x8$_\x8'_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r.·See·the·notes·on·the
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro.15  · ···_.I_.N_.C···················_\x8U_\x8S_\x8E·tag·on·how·to·pass·parameters·to·a·block·macro.
 16  · ···_\x8I_\x8M_\x8G
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
 18  · ···_\x8O_\x8P_\x8T
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
 21  · ···_\x8S_\x8E_\x8T
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
 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
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
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.06 KB
./usr/share/doc/htp/blockdef.html
    
Offset 124, 14 lines modifiedOffset 124, 17 lines modified
124 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it124 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·block125 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;·and126 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
127 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored127 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
128 in·the·block·macro·named·BLOCK.128 in·the·block·macro·named·BLOCK.
129 <P>·For·example:</P>129 <P>·For·example:</P>
130 ··<p><code>130 ··<p><code>
 131 <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>
 132 &nbsp;·...<br>
 133 <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>
131 </code></p>134 </code></p>
132 <p>135 <p>
133 All·block·metatags·have·the·implicit·option·<a136 All·block·metatags·have·the·implicit·option·<a
134 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents137 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
135 of·the·block·before·the·definition·is·expanded.138 of·the·block·before·the·definition·is·expanded.
136 </p>139 </p>
137 <p>140 <p>
2.09 KB
html2text {}
    
Offset 6, 22 lines modifiedOffset 6, 22 lines modified
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················way·of·saying·it·creates·new·block·tags.·A·block6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················way·of·saying·it·creates·new·block·tags.·A·block
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················tag·is·a·tag·that·takes·a·whole·block·as·additional7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················tag·is·a·tag·that·takes·a·whole·block·as·additional
8  ·HTP·Tags··················parameter.·This·block·is·surrounded·by·<tagname>8  ·HTP·Tags··················parameter.·This·block·is·surrounded·by·<tagname>
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············and·</tagname>.·The·contents·of·this·block·are9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············and·</tagname>.·The·contents·of·this·block·are
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················automatically·stored·in·the·block·macro·named10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················automatically·stored·in·the·block·macro·named
11  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············BLOCK.11  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············BLOCK.
12  · ···_\x8D_\x8E_\x8F···················For·example:12  · ···_\x8D_\x8E_\x8F···················For·example:
 13  · ···_\x8F_\x8I_\x8L_\x8E··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz>
 14  · ···_\x8I_\x8F···················· ·...
 15  · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f>
13  · ···_\x8F_.I_.L_.E··················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,16  · ···_\x8I_.M_.G···················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,
14  · ···_\x8I_\x8F····················which·tells·htp·to·expand·the·contents·of·the·block17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············which·tells·htp·to·expand·the·contents·of·the·block
15  · ···_\x8I_.N_.C···················before·the·definition·is·expanded.18  · ···_\x8O_.P_.T···················before·the·definition·is·expanded.
16  · ···_\x8I_.M_.G···················A·more·thorough·discussion·and·more·elaborate19  · ···_\x8O_.U_.T_.P_.U_.T················A·more·thorough·discussion·and·more·elaborate
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.20  · ···_\x8Q_.U_.O_.T_.E·················examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.
18  · ···_\x8O_\x8P_\x8T 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E 
21  · ···_\x8S_\x8E_\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$
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
Offset 30, 14 lines modifiedOffset 30, 17 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
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
7.25 KB
./usr/share/doc/htp/comment.html
    
Offset 129, 14 lines modifiedOffset 129, 38 lines modified
129 </code></p>129 </code></p>
130 <p>130 <p>
131 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you131 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
132 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something132 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
133 like·this:133 like·this:
134 </p>134 </p>
135 ··<p><code>135 ··<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">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>&gt;</span><br>
 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">size</span>&gt;</span><br>
 138 &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>
 139 &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>
 140 &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>
 141 &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>
 142 &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>
 143 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 144 &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>
 145 &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>
 146 <br>
 147 &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>
 148 <br>
 149 &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>
 150 <br>
 151 &nbsp;·This·will·fail:<br>
 152 &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>
 153 <br>
 154 &nbsp;·Instead,·use·*·like·this:<br>
 155 &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>
 156 &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>
 157 &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>
 158 &nbsp;·&nbsp;·<br>
 159 &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>
136 </code></p>160 </code></p>
137 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the161 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
138 reason·why·you·don't·want·to·include·this·block</p>162 reason·why·you·don't·want·to·include·this·block</p>
139 <p>163 <p>
140 </td>164 </td>
141 </tr>165 </tr>
142 <tr>166 <tr>
3.11 KB
html2text {}
    
Offset 5, 32 lines modifiedOffset 5, 60 lines modified
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················This·is·a·simple·comment·that·is·not·included·in5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················This·is·a·simple·comment·that·is·not·included·in
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················the·output.·This·is·useful·when·commenting6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················the·output.·This·is·useful·when·commenting
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················metatags,·since·the·metatags·do·not·appear·the7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················metatags,·since·the·metatags·do·not·appear·the
8  ·HTP·Tags··················output·either.·Example:8  ·HTP·Tags··················output·either.·Example:
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············Note·that·these·comments·should·not·include·<·or·>,9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············Note·that·these·comments·should·not·include·<·or·>,
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················that·is·you·should·not·use·it·to·comment·out·htp10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················that·is·you·should·not·use·it·to·comment·out·htp
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············code.·For·that·purpose·use·something·like·this:11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············code.·For·that·purpose·use·something·like·this:
12  · ···_\x8D_\x8E_\x8F···················Make·sure·that·the·variable·is·never·defined·and 
13  · ···_\x8F_\x8I_\x8L_\x8E··················xyz·should·be·the·reason·why·you·don't·want·to 
14  · ···_\x8I_\x8F····················include·this·block 
15  · ···_\x8I_\x8N_\x8C 
16  · ···_\x8I_\x8M_\x8G 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L 
18  · ···_\x8O_\x8P_\x8T 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E 
21  · ···_\x8S_\x8E_\x8T 
22  · ···_\x8U_.N_.D_.E_.F12  · ···_\x8D_.E_.F··················· ·<_.[_.[_.r_.e_.f_.]_.]_.D_.E_.F·NAME="HEADERIMG"·OPTION="SRC·TITLE
 13  · ···_\x8F_\x8I_\x8L_\x8E··················SIZE">
 14  · ···_\x8I_\x8F···················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 15  · ···_\x8I_\x8N_\x8C··················· · · · ·<FONT·SIZE=${size}>
 16  · ···_\x8I_\x8M_\x8G··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
 18  · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · · · ·</FONT>
 21  · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$ 
25  · ···_\x8W_.H_.I_.L_.E24  · ···_\x8U_.S_.E_.,_.·_.$················ ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················title">
26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t27  ·_\x8H_.i_.s_.t_.o_.r_.y··················· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················title">
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
 30 ···························· ·This·will·fail:
 31 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 32 ····························TITLE="Another·title">
  
 33 ···························· ·Instead,·use·*·like·this:
 34 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 35 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 36 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 37 ···························· · 
 38 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
 39 ····························Make·sure·that·the·variable·is·never·defined·and
 40 ····························xyz·should·be·the·reason·why·you·don't·want·to
 41 ····························include·this·block
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e42  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t43  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
12.2 KB
./usr/share/doc/htp/def.html
    
Offset 133, 34 lines modifiedOffset 133, 48 lines modified
133 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to133 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
134 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A134 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
135 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster135 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
136 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing136 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
137 tag·with·a·preceding·slash.·For·example:137 tag·with·a·preceding·slash.·For·example:
138 </P>138 </P>
139 ··<p><code>139 ··<p><code>
140 &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> 
141 IZE=KBYTE>·kilobytes<br> 
142 &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> 
143 </code></p>140 </code></p>
144 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,141 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
145 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>142 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
146 <P>143 <P>
147 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were144 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
148 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with145 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
149 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their146 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
150 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)147 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
151 </P>148 </P>
152 ··<p><code>149 ··<p><code>
 150 &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>
153 <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> 
154 &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> 
155 &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> 
156 &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> 
157 &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>151 &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>
 152 &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>
 153 &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>
 154 &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>
 155 &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>
 156 &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>
 157 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 158 &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>
158 &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>159 &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>
159 <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>160 <br>
 161 &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>
 162 <br>
 163 &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>
 164 <br>
 165 &nbsp;·This·will·fail:<br>
 166 &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>
 167 <br>
 168 &nbsp;·Instead,·use·*·like·this:<br>
 169 &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>
 170 &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>
 171 &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>
 172 &nbsp;·&nbsp;·<br>
 173 &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>
160 </code></p>174 </code></p>
161 <P>175 <P>
162 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is176 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
163 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are177 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
164 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the178 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
165 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a179 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
166 parameter·is·required,·simply·expand·it·without·first·checking.··When180 parameter·is·required,·simply·expand·it·without·first·checking.··When
4.99 KB
html2text {}
    
Offset 10, 33 lines modifiedOffset 10, 50 lines modified
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················Some·metatags·will·require·an·opening·and·closing10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················Some·metatags·will·require·an·opening·and·closing
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············tag·(comparable·to11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············tag·(comparable·to
12  ·[>]·_\x8D_\x8E_\x8F···················and12  ·[>]·_\x8D_\x8E_\x8F···················and
13  · ···_\x8F_\x8I_\x8L_\x8E··················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.13  · ···_\x8F_\x8I_\x8L_\x8E··················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.
14  · ···_\x8I_\x8F····················Another·slightly·faster·alternative·is·to·use·two14  · ···_\x8I_\x8F····················Another·slightly·faster·alternative·is·to·use·two
15  · ···_\x8I_\x8N_\x8C···················metatags,·the·opening·tag·and·the·closing·tag·with15  · ···_\x8I_\x8N_\x8C···················metatags,·the·opening·tag·and·the·closing·tag·with
16  · ···_\x8I_\x8M_\x8G···················a·preceding·slash.·For·example:16  · ···_\x8I_\x8M_\x8G···················a·preceding·slash.·For·example:
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url·login_name> 
18  · ···_\x8O_\x8P_\x8T···················IZE=KBYTE>·kilobytes 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> 
21  · ···_\x8S_.E_.T···················You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will
22  · ···_\x8U_.N_.D_.E_.F·················check·for·matching·end·tag.·It·is·not·that·slower.18  · ···_\x8O_.P_.T···················check·for·matching·end·tag.·It·is·not·that·slower.
23  · ···_\x8U_.N_.S_.E_.T·················Options·can·be·passed·to·a·metatag,·which·can·then19  · ···_\x8O_.U_.T_.P_.U_.T················Options·can·be·passed·to·a·metatag,·which·can·then
24  · ···_\x8U_.S_.E_.,_.·_.$················expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are20  · ···_\x8Q_.U_.O_.T_.E·················expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are
25  · ···_\x8W_.H_.I_.L_.E·················parameterized·with·the·OPTION·attribute.·Multiple21  · ···_\x8S_.E_.T···················parameterized·with·the·OPTION·attribute.·Multiple
26  · ···_\x8<_.!_.-_.-_.-·················options·can·be·listed·by·separating·their·name·with22  · ···_\x8U_.N_.D_.E_.F·················options·can·be·listed·by·separating·their·name·with
27  ·_.H_.i_.s_.t_.o_.r_.y···················a·space·(which·therefore·requires·they·be23  · ···_.U_.N_.S_.E_.T·················a·space·(which·therefore·requires·they·be
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················surrounded·by·quotes.)24  · ···_.U_.S_.E_.,_.·_.$················surrounded·by·quotes.)
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················SIZE">
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · · · ·<FONT·SIZE=${size}>
29  ·_\x8B_\x8u_\x8g_\x8s······················<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="header.hti">29  ·_\x8B_\x8u_\x8g_\x8s······················ · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
30 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> 
31 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> 
32 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.s_.e·sect-${sect-ctr}>30 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.M_.G·SRC=pics/${src}>
 31 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
33 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.n_.c·sect-ctr>32 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.F·size>
 33 ···························· · · · ·</FONT>
 34 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
34 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_.h_.i_.l_.e>35 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_.E_.F>
  
 36 ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 37 ····························title">
  
 38 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 39 ····························title">
  
 40 ···························· ·This·will·fail:
 41 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 42 ····························TITLE="Another·title">
  
 43 ···························· ·Instead,·use·*·like·this:
 44 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 45 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
35 ····························<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="footer.hti">46 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.D_.E_.F>
 47 ···························· · 
 48 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
36 ····························htp·will·do·very·specific·checking·of·parameters49 ····························htp·will·do·very·specific·checking·of·parameters
37 ····························when·a·metatag·is·invoked.·htp·assumes·that·all50 ····························when·a·metatag·is·invoked.·htp·assumes·that·all
38 ····························parameter·options·to·the·metatag·are·optional.·This51 ····························parameter·options·to·the·metatag·are·optional.·This
39 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify52 ····························is·why·the·HEADERIMG·definition·uses·IF·to·verify
40 ····························the·SIZE·option·is·defined·before·expanding·it·in53 ····························the·SIZE·option·is·defined·before·expanding·it·in
41 ····························the·block.·If·a·parameter·is·required,·simply54 ····························the·block.·If·a·parameter·is·required,·simply
42 ····························expand·it·without·first·checking.·When·htp·expands55 ····························expand·it·without·first·checking.·When·htp·expands
14.8 KB
./usr/share/doc/htp/file.html
    
Offset 132, 21 lines modifiedOffset 132, 14 lines modified
132 <P>132 <P>
133 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>133 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
134 <P>134 <P>
135 To·include·information·about·another·file,·such·as·an·archive·file·or135 To·include·information·about·another·file,·such·as·an·archive·file·or
136 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the136 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
137 type·of·information·to·be·displayed:137 type·of·information·to·be·displayed:
138 ··<p><code>138 ··<p><code>
139 &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">"0"</span>&gt;</span><br> 
140 &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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
141 &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> 
142 &nbsp;·&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-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br> 
143 &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>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
144 &nbsp;·&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> 
145 &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> 
146 </code></p>139 </code></p>
147 <P>140 <P>
148 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the141 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
149 information·is·displayed.··In·anything·other·than·byte·format,·the·information142 information·is·displayed.··In·anything·other·than·byte·format,·the·information
150 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number143 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
151 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional144 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
152 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no145 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 175, 21 lines modifiedOffset 168, 38 lines modified
175 <P>168 <P>
176 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are169 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
177 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros170 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
178 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it171 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
179 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer172 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
180 available.··So:173 available.··So:
181 ··<p><code>174 ··<p><code>
 175 &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 <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> 
183 &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 &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 &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 &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>176 &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>
 177 &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>
 178 &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>
 179 &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>
 180 &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>
 181 &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>
 182 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 183 &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>
187 &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>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>&gt;</span><br>
188 <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>185 <br>
 186 &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>
 187 <br>
 188 &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>
 189 <br>
 190 &nbsp;·This·will·fail:<br>
 191 &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>
 192 <br>
 193 &nbsp;·Instead,·use·*·like·this:<br>
 194 &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>
 195 &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>
 196 &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>
 197 &nbsp;·&nbsp;·<br>
 198 &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>
189 </code></p>199 </code></p>
190 <P>200 <P>
191 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included201 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
192 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the202 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
193 second·statement·will·fail.)203 second·statement·will·fail.)
194 <P>204 <P>
195 <h3><a·name="template">TEMPLATE</a></h3>205 <h3><a·name="template">TEMPLATE</a></h3>
6.83 KB
html2text {}
    
Offset 11, 34 lines modifiedOffset 11, 26 lines modified
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············their·own·line,·so·the·following·is·perfectly11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············their·own·line,·so·the·following·is·perfectly
12  · ···_\x8D_\x8E_\x8F···················acceptable:12  · ···_\x8D_\x8E_\x8F···················acceptable:
13  ·[>]·_\x8F_\x8I_\x8L_\x8E··················*\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*13  ·[>]·_\x8F_\x8I_\x8L_\x8E··················*\x8**\x8**\x8**\x8*·N\x8NA\x8AM\x8ME\x8E,\x8,·T\x8TI\x8IM\x8ME\x8E,\x8,·S\x8SI\x8IZ\x8ZE\x8E·*\x8**\x8**\x8**\x8*
14  · ···_\x8I_\x8F····················To·include·information·about·another·file,·such·as14  · ···_\x8I_\x8F····················To·include·information·about·another·file,·such·as
15  · ···_\x8I_\x8N_\x8C···················an·archive·file·or·graphic·image,·specify·its·name15  · ···_\x8I_\x8N_\x8C···················an·archive·file·or·graphic·image,·specify·its·name
16  · ···_\x8I_\x8M_\x8G···················with·the·NAME·attribute·followed·by·the·type·of16  · ···_\x8I_\x8M_\x8G···················with·the·NAME·attribute·followed·by·the·type·of
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············information·to·be·displayed:17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············information·to·be·displayed:
18  · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="0"> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> 
21  · ···_\x8S_\x8E_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················global> 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
26  · ···_\x8<_.!_.-_.-_.-·················For·file·size·information,·the·value·BYTE,·KBYTE,18  · ···_\x8O_.P_.T···················For·file·size·information,·the·value·BYTE,·KBYTE,
27  ·_.H_.i_.s_.t_.o_.r_.y···················etc.·dictates·how·the·information·is·displayed.·In19  · ···_.O_.U_.T_.P_.U_.T················etc.·dictates·how·the·information·is·displayed.·In
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················anything·other·than·byte·format,·the·information·is20  · ···_.Q_.U_.O_.T_.E·················anything·other·than·byte·format,·the·information·is
29  ·_.B_.u_.g_.s······················displayed·in·floating-point·notation.·The·amount·of21  · ···_.S_.E_.T···················displayed·in·floating-point·notation.·The·amount·of
30 ····························precision·(the·number·of·digits·to·the·right·of·the22  · ···_.U_.N_.D_.E_.F·················precision·(the·number·of·digits·to·the·right·of·the
31 ····························decimal·point)·can·be·set·with·the·optional23  · ···_.U_.N_.S_.E_.T·················decimal·point)·can·be·set·with·the·optional
32 ····························PRECISION·attribute.·The·default·precision·is·zero24  · ···_.U_.S_.E_.,_.·_.$················PRECISION·attribute.·The·default·precision·is·zero
33 ····························(0),·which·means·no·fractional·portion·is25  · ···_.W_.H_.I_.L_.E·················(0),·which·means·no·fractional·portion·is
34 ····························displayed.26  · ···_.<_.!_.-_.-_.-·················displayed.
35 ····························At·the·request·of·many·people,·the·TIME·and·DATE27  ·_.H_.i_.s_.t_.o_.r_.y···················At·the·request·of·many·people,·the·TIME·and·DATE
36 ····························attributes·will·now·accept·formatting·characters28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················attributes·will·now·accept·formatting·characters
37 ····························that·are·passed·directly·into·the·ANSI·C·library29  ·_.B_.u_.g_.s······················that·are·passed·directly·into·the·ANSI·C·library
38 ····························function.·This·allows·for·the·time·and·date·to·be30 ····························function.·This·allows·for·the·time·and·date·to·be
39 ····························displayed·in·virtually·any·format.·Users·not31 ····························displayed·in·virtually·any·format.·Users·not
40 ····························wishing·to·mess·around·with·this·should·stick·to32 ····························wishing·to·mess·around·with·this·should·stick·to
41 ····························the·default·format,·which·is·used·if·no·formatting33 ····························the·default·format,·which·is·used·if·no·formatting
42 ····························value·is·specified·(i.e.,·just·using·05:04:11·PM).34 ····························value·is·specified·(i.e.,·just·using·05:04:11·PM).
43 ····························Consult·any·C·programmer's·guide·discussing·the35 ····························Consult·any·C·programmer's·guide·discussing·the
44 ····························standard·C·library·function·strftime()·for36 ····························standard·C·library·function·strftime()·for
Offset 57, 21 lines modifiedOffset 49, 42 lines modified
57 ····························Additional·parameters·can·be·set·in·the·FILE49 ····························Additional·parameters·can·be·set·in·the·FILE
58 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that50 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that
59 ····························are·"passed"·to·the·included·file.·The·macros·are51 ····························are·"passed"·to·the·included·file.·The·macros·are
60 ····························available·only·to·the·include·file·(and·any·macros52 ····························available·only·to·the·include·file·(and·any·macros
61 ····························or·included·files·it·holds).·After·the·file·is53 ····························or·included·files·it·holds).·After·the·file·is
62 ····························completely·included,·the·macros·are·no·longer54 ····························completely·included,·the·macros·are·no·longer
63 ····························available.·So:55 ····························available.·So:
 56 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE
 57 ····························SIZE">
64 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> 
65 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> 
66 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> 
67 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> 
68 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.n_.c·sect-ctr>58 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.F·size>
 59 ···························· · · · ·<FONT·SIZE=${size}>
 60 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 61 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
 62 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 63 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 64 ···························· · · · ·</FONT>
 65 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
69 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_.h_.i_.l_.e>66 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_.E_.F>
  
 67 ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 68 ····························title">
  
 69 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 70 ····························title">
  
 71 ···························· ·This·will·fail:
 72 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 73 ····························TITLE="Another·title">
  
 74 ···························· ·Instead,·use·*·like·this:
 75 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 76 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
70 ····························<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="footer.hti">77 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.D_.E_.F>
 78 ···························· · 
 79 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
71 ····························Macros·named·"name"·and·"email"·are·set,·and80 ····························Macros·named·"name"·and·"email"·are·set,·and
72 ····························available·inside·the·included·file.·They·are·not81 ····························available·inside·the·included·file.·They·are·not
73 ····························available,·however,·past·the·tag·(which·is·why·the82 ····························available,·however,·past·the·tag·(which·is·why·the
74 ····························second·statement·will·fail.)83 ····························second·statement·will·fail.)
75 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*84 ····························*\x8**\x8**\x8**\x8*·T\x8TE\x8EM\x8MP\x8PL\x8LA\x8AT\x8TE\x8E·*\x8**\x8**\x8**\x8*
76 ····························A·template·file·is·nothing·more·than·a·default85 ····························A·template·file·is·nothing·more·than·a·default
77 ····························include·file,·one·that·is·included·once·the·input86 ····························include·file,·one·that·is·included·once·the·input
6.6 KB
./usr/share/doc/htp/if.html
    
Offset 114, 33 lines modifiedOffset 114, 30 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&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>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building126 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
124 blocks·for·conditional·processing.··The·basic·form·is·shown·above.127 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
125 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A128 <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·literal129 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
127 string:130 string:
128 ··<p><code>131 ··<p><code>
129 </code></p>132 </code></p>
130 <P>133 <P>
131 and·a·defined·operator·is·a·test·of·a·macro's·existance:134 and·a·defined·operator·is·a·test·of·a·macro's·existance:
132 <P>135 <P>
133 ··<p><code>136 ··<p><code>
134 &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> 
135 IZE=KBYTE>·kilobytes<br> 
136 &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> 
137 nd><br> 
138 &nbsp;·&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="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
140 </code></p>137 </code></p>
141 <P>138 <P>
142 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the139 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
143 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that140 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
144 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the141 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
145 ELSE·block·is·taken·if·it·is·present.··A·conditional·block142 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
146 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.143 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
4.01 KB
html2text {}
    
Offset 1, 47 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:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·/\x8/I\x8IF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\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···················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·building8  ·HTP·Tags··················I\x8IF\x8F,\x8,·N\x8NO\x8OT\x8T,\x8,·E\x8EL\x8LS\x8SE\x8EI\x8IF\x8F,\x8,·E\x8EL\x8LS\x8SE\x8E,\x8,·a\x8an\x8nd\x8d·/\x8/I\x8IF\x8F·are·the·building
6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················blocks·for·conditional·processing.·The·basic·form9  · ···_.A_.L_.T_.T_.E_.X_.T···············blocks·for·conditional·processing.·The·basic·form
7  ·_.U_.s_.a_.g_.e·····················is·shown·above.10  · ···_.B_.L_.O_.C_.K·················is·shown·above.
8  ·HTP·Tags··················"Conditional"·is·either·a·"compare"·or·"is·defined"11  · ···_.B_.L_.O_.C_.K_.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·the12  · ···_\x8D_.E_.F···················operation.·A·compare·operator·is·a·test·of·the
10  · ···_\x8B_.L_.O_.C_.K·················value·of·a·macro·against·a·literal·string:13  · ···_\x8F_.I_.L_.E··················value·of·a·macro·against·a·literal·string:
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············and·a·defined·operator·is·a·test·of·a·macro's14  ·[>]·_.I_.F····················and·a·defined·operator·is·a·test·of·a·macro's
12  · ···_\x8D_.E_.F···················existance:15  · ···_\x8I_.N_.C···················existance:
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url·login_name> 
14  ·[>]·_\x8I_\x8F····················IZE=KBYTE>·kilobytes 
15  · ···_\x8I_\x8N_\x8C··················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" 
16  · ···_\x8I_\x8M_\x8G···················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············nd> 
18  · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
20  · ···_\x8Q_.U_.O_.T_.E·················If·the·NOT·tag·is·present·in·the·IF·markup,·the16  · ···_\x8I_.M_.G···················If·the·NOT·tag·is·present·in·the·IF·markup,·the
21  · ···_\x8S_.E_.T···················evaluation·of·the·conditional·is·reversed.·The17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············evaluation·of·the·conditional·is·reversed.·The
22  · ···_\x8U_.N_.D_.E_.F·················first·IF·or·ELSEIF·condition·that·evaluates·to·true18  · ···_\x8O_.P_.T···················first·IF·or·ELSEIF·condition·that·evaluates·to·true
23  · ···_\x8U_.N_.S_.E_.T·················is·chosen.·If·none·of·the·conditions·is·true·the19  · ···_\x8O_.U_.T_.P_.U_.T················is·chosen.·If·none·of·the·conditions·is·true·the
24  · ···_\x8U_.S_.E_.,_.·_.$················ELSE·block·is·taken·if·it·is·present.·A·conditional20  · ···_\x8Q_.U_.O_.T_.E·················ELSE·block·is·taken·if·it·is·present.·A·conditional
25  · ···_\x8W_.H_.I_.L_.E·················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can21  · ···_\x8S_.E_.T···················block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/IF·tag.·IF·tags·can
26  · ···_\x8<_.!_.-_.-_.-·················be·nested.22  · ···_\x8U_.N_.D_.E_.F·················be·nested.
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\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
7.68 KB
./usr/share/doc/htp/imageurl.html
    
Offset 114, 21 lines modifiedOffset 114, 14 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br> 
122 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br> 
123 &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> 
124 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br> 
125 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br> 
126 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br> 
127 &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> 
128 </code></p>121 </code></p>
129 <h2>synopsis</h2>122 <h2>synopsis</h2>
130 <P>123 <P>
131 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local124 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local
132 file·system.··declares·an·URL·replacement·that·is·used·for125 file·system.··declares·an·URL·replacement·that·is·used·for
133 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions126 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions
134 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is127 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is
Offset 142, 14 lines modifiedOffset 135, 17 lines modified
142 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC135 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC
143 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.136 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.
144 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and137 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and
145 looked·up·in·the·current·directory.</P>138 looked·up·in·the·current·directory.</P>
146 <P>139 <P>
147 For·example:</P>140 For·example:</P>
148 ··<p><code>141 ··<p><code>
 142 <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>
 143 &nbsp;·...<br>
 144 <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>
149 </code></p>145 </code></p>
150 <P>146 <P>
151 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as147 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
152 an·undefine,·and·is·removed.</P>148 an·undefine,·and·is·removed.</P>
153 <P>149 <P>
154 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout150 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
155 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an151 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
5.47 KB
html2text {}
    
Offset 1, 44 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·············· · ·a·is·expanded·at·time·1. 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·b·is·expanded·at·time·0. 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[ 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. 
8  ·HTP·Tags·················· ·contents·of·b:· ·b·is·expanded·at·time·0. 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················time·1. 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at 
12  · ···_\x8D_\x8E_\x8F···················time·2. 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the 
14  · ···_\x8I_\x8F····················2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>. 
15  · ···_.I_.N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*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*
16  · ···_.I_.M_.G···················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the5  ·_.L_.i_.c_.e_.n_.s_.e···················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the
17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············local·file·system.·declares·an·URL·replacement·that6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················local·file·system.·declares·an·URL·replacement·that
18  · ···_.O_.P_.T···················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This7  ·_.U_.s_.a_.g_.e·····················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This
19  · ···_.O_.U_.T_.P_.U_.T················definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option8  ·HTP·Tags··················definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option
20  · ···_\x8Q_.U_.O_.T_.E·················is·enabled.·Beacause·htp·can't·lookup·files·in·the9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············is·enabled.·Beacause·htp·can't·lookup·files·in·the
21  · ···_\x8S_.E_.T···················world·wide·web·you·have·to·map·absolute·image·URLs10  · ···_\x8B_.L_.O_.C_.K·················world·wide·web·you·have·to·map·absolute·image·URLs
22  · ···_\x8U_.N_.D_.E_.F·················to·a·directory·in·the·local·file·system.11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············to·a·directory·in·the·local·file·system.
23  · ···_\x8U_.N_.S_.E_.T·················When·an·IMG·tag·is·encountered·where·htp·has·to12  · ···_\x8D_.E_.F···················When·an·IMG·tag·is·encountered·where·htp·has·to
24  · ···_\x8U_.S_.E_.,_.·_.$················insert·width·and·height·the·defined·URL13  · ···_\x8F_.I_.L_.E··················insert·width·and·height·the·defined·URL
25  · ···_\x8W_.H_.I_.L_.E·················replacements·will·be·taken·into·account·(later14  · ···_\x8I_.F····················replacements·will·be·taken·into·account·(later
26  · ···_\x8<_.!_.-_.-_.-·················definitions·take·precedence·to·earlier):·For·each15  · ···_\x8I_.N_.C···················definitions·take·precedence·to·earlier):·For·each
27  ·_.H_.i_.s_.t_.o_.r_.y···················defined·imageurl·it·checks·(case-insensitive)·if·it16  · ···_.I_.M_.G···················defined·imageurl·it·checks·(case-insensitive)·if·it
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················is·a·prefix·of·the·image's·SRC·attribute.·If·it17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············is·a·prefix·of·the·image's·SRC·attribute.·If·it
29  ·_.B_.u_.g_.s······················matches·this·prefix·is·replaced·by·the·given·PATH.18  · ···_.O_.P_.T···················matches·this·prefix·is·replaced·by·the·given·PATH.
30 ····························If·no·IMAGEURL·matches·the·SRC·is·considered·as19  · ···_.O_.U_.T_.P_.U_.T················If·no·IMAGEURL·matches·the·SRC·is·considered·as
31 ····························relative·link·and·looked·up·in·the·current20  · ···_.Q_.U_.O_.T_.E·················relative·link·and·looked·up·in·the·current
32 ····························directory.21  · ···_.S_.E_.T···················directory.
33 ····························For·example:22  · ···_.U_.N_.D_.E_.F·················For·example:
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8f·disabled_because_xyz>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·...
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f>
34 ····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH26  · ···_.<_.!_.-_.-_.-·················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH
35 ····························attribute,·it·is·treated·as·an·undefine,·and·is27  ·_.H_.i_.s_.t_.o_.r_.y···················attribute,·it·is·treated·as·an·undefine,·and·is
36 ····························removed.28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················removed.
37 ····························Since·you·usually·need·the·url·mapping·for·a·number29  ·_.B_.u_.g_.s······················Since·you·usually·need·the·url·mapping·for·a·number
38 ····························of·images·used·throughout·a·set·of·documents,30 ····························of·images·used·throughout·a·set·of·documents,
39 ····························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
40 ····························_\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.
41 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also33 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also
42 ····························(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
43 ····························_\x8I_\x8M_\x8G·tags.35 ····························_\x8I_\x8M_\x8G·tags.
  
5.13 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 14 lines modifiedOffset 114, 17 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&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 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a126 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
124 variable·or·for·variable·addition.··The·basic·form·is·shown·above.127 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
125 <P>128 <P>
126 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a129 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
127 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The130 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
4.14 KB
html2text {}
    
Offset 1, 43 lines modifiedOffset 1, 46 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IN\x8NC\x8C·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\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···················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a8  ·HTP·Tags··················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·form9  · ···_.A_.L_.T_.T_.E_.X_.T···············variable·or·for·variable·addition.·The·basic·form
7  ·_.U_.s_.a_.g_.e·····················is·shown·above.10  · ···_.B_.L_.O_.C_.K·················is·shown·above.
8  ·HTP·Tags··················The·"increment"·is·anything·that·evaluates·to·a11  · ···_.B_.L_.O_.C_.K_.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·macro12  · ···_\x8D_.E_.F···················integer.·It·can·be·a·literal·string·or·a·macro
10  · ···_\x8B_.L_.O_.C_.K·················preceeded·by·the·'$'-operator.·The·macroname·must13  · ···_\x8F_.I_.L_.E··················preceeded·by·the·'$'-operator.·The·macroname·must
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············be·the·name·of·a·defined·macro·that·contains·an14  · ···_\x8I_.F····················be·the·name·of·a·defined·macro·that·contains·an
12  · ···_.D_.E_.F···················integer.·If·the·increment·is·ommitted·it·defaults15  ·[>]·_.I_.N_.C···················integer.·If·the·increment·is·ommitted·it·defaults
13  · ···_\x8F_.I_.L_.E··················to·1.·The·effect·of·this·operation·is·that·the16  · ···_\x8I_.M_.G···················to·1.·The·effect·of·this·operation·is·that·the
14  · ···_\x8I_\x8F····················macro·is·redefined·to·contain·the·sum·of·its17  · ···_\x8I_\x8M_.A_.G_.E_.U_.R_.L··············macro·is·redefined·to·contain·the·sum·of·its
15  ·[>]·_.I_.N_.C···················previous·value·and·its·increment.18  · ···_.O_.P_.T···················previous·value·and·its·increment.
16  · ···_\x8I_.M_.G···················To·increment·or·decrement·a·variable·you·can·use19  · ···_\x8O_.U_.T_.P_.U_.T················To·increment·or·decrement·a·variable·you·can·use
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············this·form:20  · ···_\x8Q_.U_.O_.T_.E·················this·form:
18  · ···_\x8O_.P_\x8T···················Note·that·INC·doesn't·check·if·the·strings·really21  · ···_\x8S_.E_\x8T···················Note·that·INC·doesn't·check·if·the·strings·really
19  · ···_\x8O_.U_.T_.P_.U_.T················denote·integers.·It·may·give·weired·results·when22  · ···_\x8U_.N_.D_.E_.F·················denote·integers.·It·may·give·weired·results·when
20  · ···_\x8Q_.U_.O_.T_.E·················used·on·arbitrary·strings.·The·integer·values·are23  · ···_\x8U_.N_.S_.E_.T·················used·on·arbitrary·strings.·The·integer·values·are
21  · ···_\x8S_.E_.T···················limited·to·the·range·-2^31..2^31.24  · ···_\x8U_.S_.E_.,_.·_.$················limited·to·the·range·-2^31..2^31.
22  · ···_\x8U_.N_.D_.E_.F·················Note·further·that·htp·wasn't·designed·to·do25  · ···_\x8W_.H_.I_.L_.E·················Note·further·that·htp·wasn't·designed·to·do
23  · ···_\x8U_.N_.S_.E_.T·················extensive·calculations.·The·INC·tag·is·useful·in26  · ···_\x8<_.!_.-_.-_.-·················extensive·calculations.·The·INC·tag·is·useful·in
24  · ···_.U_.S_.E_.,_.·_.$················conjunction·with·WHILE·to·iterate·over·the·defined27  ·_.H_.i_.s_.t_.o_.r_.y···················conjunction·with·WHILE·to·iterate·over·the·defined
25  · ···_.W_.H_.I_.L_.E·················blocks.28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················blocks.
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8- 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t 
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
17.1 KB
./usr/share/doc/htp/metatag.html
    
Offset 88, 16 lines modifiedOffset 88, 17 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="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"macroval[·...·truncated·by·diffoscope;·len:·82,·SHA:·1b0de2f0af3ff6dcb00160502803f9fbb9631406e3429d962274c013d3930638·...·]</span>&gt;</span><br>95 <font·size="-2">&nbsp;1.·</font><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>
 96 <font·size="-2">&nbsp;2.·</font><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>
96 <font·size="-2">&nbsp;2.·</font><br>97 <font·size="-2">&nbsp;3.·</font><br>
97 </code></p>98 </code></p>
98 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.99 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.
99 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.100 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.
100 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and101 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and
101 <code>/def</code></a>·tags.··You·don't·have·to·understand·this102 <code>/def</code></a>·tags.··You·don't·have·to·understand·this
102 html·code,·but·you·should·understand·that·this·is·just·pure·html·to103 html·code,·but·you·should·understand·that·this·is·just·pure·html·to
103 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>104 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>
Offset 114, 30 lines modifiedOffset 115, 54 lines modified
114 </code></p>115 </code></p>
115 <h2>Using·parameters</h2>116 <h2>Using·parameters</h2>
116 <p>·More·sophisticated·tags·accept·parameters.··The117 <p>·More·sophisticated·tags·accept·parameters.··The
117 <code>option</code>·parameter·lets·multiple·metatag·parameters·be118 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
118 named·and·expanded·inside·the·<code>def</code>·or119 named·and·expanded·inside·the·<code>def</code>·or
119 <code>blockdef</code>·block:·</p>120 <code>blockdef</code>·block:·</p>
120 ··<p><code>121 ··<p><code>
121 <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> 
122 <font·size="-2">&nbsp;2.·</font>IZE=KBYTE>·kilobytes<br> 
123 <font·size="-2">&nbsp;3.·</font>&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[·...·truncated·by·diffoscope;·len:·274,·SHA:·6147c041e1221b352243c474871c1ed20d8201903a063d36c4783b35a0fe47f1·...·]</span>&gt;</span><br>122 <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</s[·...·truncated·by·diffoscope;·len:·46,·SHA:·ffa205270aa09df992906a8500c8d5f23b1382cffb7b1281926f1387a0b48ba3·...·]</span>&gt;</span><br>
 123 <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>
 124 <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>
 125 <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>
 126 <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>
 127 <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>
 128 <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>
 129 <font·size="-2">&nbsp;8.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 130 <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>
 131 <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>
 132 <font·size="-2">11.·</font><br>
 133 <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>
 134 <font·size="-2">13.·</font><br>
 135 <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>
 136 <font·size="-2">15.·</font><br>
 137 <font·size="-2">16.·</font>&nbsp;·This·will·fail:<br>
 138 <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>
 139 <font·size="-2">18.·</font><br>
 140 <font·size="-2">19.·</font>&nbsp;·Instead,·use·*·like·this:<br>
 141 <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>
 142 <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>
 143 <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>
 144 <font·size="-2">23.·</font>&nbsp;·&nbsp;·<br>
 145 <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>
124 </code></p>146 </code></p>
125 <h2>Saving·blocks·for·later</h2>147 <h2>Saving·blocks·for·later</h2>
126 <p>When·you·are·using·templates,·the·html·should·only·be·written·by148 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
127 the·template·file.··The·normal·htp·files·should·just·define·macros149 the·template·file.··The·normal·htp·files·should·just·define·macros
128 that·are·used·later·in·the·template.··So·you·may·want·to·write·block150 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
129 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this151 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
130 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to152 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
131 do·this:</p>153 do·this:</p>
132 ··<p><code>154 ··<p><code>
133 <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">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br>155 <font·size="-2">&nbsp;1.·</font>&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>
134 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>156 <font·size="-2">&nbsp;2.·</font>tion"><br>
 157 <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">sect-ctr</span>&gt;</span><br>
 158 <font·size="-2">&nbsp;4.·</font>&nbsp;·&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-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br>
 159 <font·size="-2">&nbsp;5.·</font>&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>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
135 <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>160 <font·size="-2">&nbsp;6.·</font>&nbsp;·&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 <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>161 <font·size="-2">&nbsp;7.·</font>&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>
137 </code></p>162 </code></p>
138 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a163 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
139 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is164 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
140 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is165 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
141 build·from·this·counter.··So·the·first·section·is·stored·in·block166 build·from·this·counter.··So·the·first·section·is·stored·in·block
142 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>·flag167 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
143 in·line·4·tells·htp·that·these·macros·should·be·defined·globally168 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
6.25 KB
html2text {}
    
Offset 9, 17 lines modifiedOffset 9, 17 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]_\x8S_.E_.T·macroname1="macrovalue1"16  ·_\x8B_\x8u_\x8g_\x8s······················ 1.·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_.N_.D_.E_.F·tagname>
17 ····························[macroname2="macrovalue2"·...]·[GLOBAL]>17 ···························· 2.·<_.[_.[_.r_.e_.f_.]_.]_.U_.N_.D_.E_.F·tagname1·tagname2·...·>
18 ···························· 2.18 ···························· 3.
19 ····························In·line·1·of·the·above·example·a·new·tag·named19 ····························In·line·1·of·the·above·example·a·new·tag·named
20 ····························imghr·is·defined.·The·html·code·which·implements20 ····························imghr·is·defined.·The·html·code·which·implements
21 ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[21 ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[
22 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to22 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to
23 ····························understand·this·html·code,·but·you·should23 ····························understand·this·html·code,·but·you·should
24 ····························understand·that·this·is·just·pure·html·to·draw·the24 ····························understand·that·this·is·just·pure·html·to·draw·the
25 ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line25 ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line
Offset 35, 31 lines modifiedOffset 35, 58 lines modified
35 ····························these·tags·in·a·block·macro·named·block.·Here·is·an35 ····························these·tags·in·a·block·macro·named·block.·Here·is·an
36 ····························example·for·this.36 ····························example·for·this.
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*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*
38 ····························More·sophisticated·tags·accept·parameters.·The38 ····························More·sophisticated·tags·accept·parameters.·The
39 ····························option·parameter·lets·multiple·metatag·parameters39 ····························option·parameter·lets·multiple·metatag·parameters
40 ····························be·named·and·expanded·inside·the·def·or·blockdef40 ····························be·named·and·expanded·inside·the·def·or·blockdef
41 ····························block:41 ····························block:
 42 ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC
 43 ····························TITLE·SIZE">
 44 ···························· 2.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 45 ···························· 3.· · · · ·<FONT·SIZE=${size}>
42 ···························· 1.· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr·home_url46 ···························· 4.· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
 47 ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
 48 ···························· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 49 ···························· 7.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 50 ···························· 8.· · · · ·</FONT>
 51 ···························· 9.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 52 ····························10.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 53 ····························11.
 54 ····························12.· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
43 ····························login_name>55 ····························title">
44 ···························· 2.·IZE=KBYTE>·kilobytes 
45 ···························· 3.· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" 
46 ····························TIME>,·<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME="image.gif"·DATE>56 ····························13.
 57 ····························14.· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 58 ····························title">
 59 ····························15.
 60 ····························16.· ·This·will·fail:
 61 ····························17.· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 62 ····························TITLE="Another·title">
 63 ····························18.
 64 ····························19.· ·Instead,·use·*·like·this:
 65 ····························20.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 66 ····························21.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 67 ····························22.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 68 ····························23.· · 
 69 ····························24.· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
47 ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8*70 ····························*\x8**\x8**\x8**\x8**\x8*·S\x8Sa\x8av\x8vi\x8in\x8ng\x8g·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·f\x8fo\x8or\x8r·l\x8la\x8at\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8*
48 ····························When·you·are·using·templates,·the·html·should·only71 ····························When·you·are·using·templates,·the·html·should·only
49 ····························be·written·by·the·template·file.·The·normal·htp72 ····························be·written·by·the·template·file.·The·normal·htp
50 ····························files·should·just·define·macros·that·are·used·later73 ····························files·should·just·define·macros·that·are·used·later
51 ····························in·the·template.·So·you·may·want·to·write·block74 ····························in·the·template.·So·you·may·want·to·write·block
52 ····························tags·that·just·save·the·block·in·a·macro·for·later75 ····························tags·that·just·save·the·block·in·a·macro·for·later
53 ····························use.·Although·this·is·possible·with·htp·it·is·quite76 ····························use.·Although·this·is·possible·with·htp·it·is·quite
54 ····························tricky,·so·here·we·present·the·way·to·do·this:77 ····························tricky,·so·here·we·present·the·way·to·do·this:
55 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·sect-$i>78 ···························· 1.· · ·<${tagName}·${attrName}=${value$ctr}>
56 ···························· 2.· · ·...79 ···························· 2.·tion">
57 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.N_.C·i>80 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.n_.c·sect-ctr>
 81 ···························· 4.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"
 82 ····························expand·global>
 83 ···························· 5.· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
58 ···························· 4.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>84 ···························· 6.· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>
 85 ···························· 7.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
59 ····························This·defines·a·block·macro·named·section.·This86 ····························This·defines·a·block·macro·named·section.·This
60 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the87 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the
61 ····························sections.·It·is·increased·for·every·section·(line88 ····························sections.·It·is·increased·for·every·section·(line
62 ····························3)·and·then·the·block·macro·name·is·build·from·this89 ····························3)·and·then·the·block·macro·name·is·build·from·this
63 ····························counter.·So·the·first·section·is·stored·in·block90 ····························counter.·So·the·first·section·is·stored·in·block
64 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[91 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[
65 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these92 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these
5.3 KB
./usr/share/doc/htp/set.html
    
Offset 114, 18 lines modifiedOffset 114, 14 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&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> 
125 </code></p>121 </code></p>
126 <h2>synopsis</h2>122 <h2>synopsis</h2>
127 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded123 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
128 anywhere·in·the·HTML·document.··To·create·a·macro:124 anywhere·in·the·HTML·document.··To·create·a·macro:
129 ··<p><code>125 ··<p><code>
130 </code></p>126 </code></p>
131 <P>127 <P>
4.16 KB
html2text {}
    
Offset 1, 47 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:·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_\x8s_\x8e·macroname·[parameters·...]·[noexpand]> 
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*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···············S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be5  ·_.L_.i_.c_.e_.n_.s_.e···················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be
10  · ···_.B_.L_.O_.C_.K·················expanded·anywhere·in·the·HTML·document.·To·create·a6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················expanded·anywhere·in·the·HTML·document.·To·create·a
11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············macro:7  ·_.U_.s_.a_.g_.e·····················macro:
12  · ···_.D_.E_.F···················The·macro·"emailaddr"·can·then·be·expanded·later.8  ·HTP·Tags··················The·macro·"emailaddr"·can·then·be·expanded·later.
13  · ···_\x8F_.I_.L_.E··················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a
14  · ···_\x8I_.F····················tag·(i.e.,·into·the·regular·text).·If·the·macro10  · ···_\x8B_.L_.O_.C_.K·················tag·(i.e.,·into·the·regular·text).·If·the·macro
15  · ···_\x8I_.N_.C···················needs·to·be·expanded·inside·a·markup·tag,·use·the11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············needs·to·be·expanded·inside·a·markup·tag,·use·the
16  · ···_\x8I_.M_.G···················_\x8'_\x8$_\x8'·operator.12  · ···_\x8D_.E_.F···················_\x8'_\x8$_\x8'·operator.
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············Multiple·macros·can·be·declared·in·a·single·markup13  · ···_\x8F_.I_.L_.E··················Multiple·macros·can·be·declared·in·a·single·markup
18  · ···_\x8O_.P_.T···················tag,·as·the·second·syntax·line·shows.14  · ···_\x8I_.F····················tag,·as·the·second·syntax·line·shows.
19  · ···_\x8O_.U_.T_.P_.U_.T················SET·should·only·be·used·for·a·single·line's·worth15  · ···_\x8I_.N_.C···················SET·should·only·be·used·for·a·single·line's·worth
20  · ···_\x8Q_.U_.O_.T_.E·················of·text.·Multi-line·macros·can·be·defined·with·the16  · ···_\x8I_.M_.G···················of·text.·Multi-line·macros·can·be·defined·with·the
21  ·[>]·_.S_.E_.T···················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the
22  · ···_\x8U_.N_.D_.E_.F·················macro·contains·a·quotation·character·and·you·don't18  · ···_\x8O_.P_.T···················macro·contains·a·quotation·character·and·you·don't
23  · ···_\x8U_.N_.S_.E_.T·················want·to·fool·around·with·special·escape·characters.19  · ···_\x8O_.U_.T_.P_.U_.T················want·to·fool·around·with·special·escape·characters.
24  · ···_\x8U_.S_.E_.,_.·_.$················Macros·can·be·redefined·by·using·another·SET20  · ···_\x8Q_.U_.O_.T_.E·················Macros·can·be·redefined·by·using·another·SET
25  · ···_.W_.H_.I_.L_.E·················command·with·the·same·macro·name.·The·prior21  ·[>]·_.S_.E_.T···················command·with·the·same·macro·name.·The·prior
26  · ···_\x8<_.!_.-_.-_.-·················definition·will·be·destroyed,·however.·Also,·the22  · ···_\x8U_.N_.D_.E_.F·················definition·will·be·destroyed,·however.·Also,·the
27  ·_.H_.i_.s_.t_.o_.r_.y···················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T23  · ···_.U_.N_.S_.E_.T·················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················tag.24  · ···_.U_.S_.E_.,_.·_.$················tag.
 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_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
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·Sun·Aug·23,·202623 ··last·updated·Mon·Jul·21,·2025
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·Sun·Aug·23,·20268 last·updated·Mon·Jul·21,·2025
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·Sun·Aug·23,·202612 last·updated·Mon·Jul·21,·2025
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·Sun·Aug·23,·20263 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·Mon·Jul·21,·2025
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·Sun·Aug·23,·202620 ··last·updated·Mon·Jul·21,·2025
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·Sun·Aug·23,·20266 last·updated·Mon·Jul·21,·2025
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·Sun·Aug·23,·202620 ··last·updated·Mon·Jul·21,·2025
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·Sun·Aug·23,·20266 last·updated·Mon·Jul·21,·2025
4.19 KB
./usr/share/doc/htp/unset.html
    
Offset 128, 21 lines modifiedOffset 128, 17 lines modified
128 <P>128 <P>
129 For·example:129 For·example:
130 ··<p><code>130 ··<p><code>
131 </code></p>131 </code></p>
132 <P>132 <P>
133 More·than·one·macro·may·be·removed·in·the·same·tag:133 More·than·one·macro·may·be·removed·in·the·same·tag:
134 ··<p><code>134 ··<p><code>
135 &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">"0"</span>&gt;</span><br> 
136 &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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><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">sect-ctr</span>&gt;</span><br>135 <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>
 136 &nbsp;·...<br>
138 &nbsp;·&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-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br> 
139 &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>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
140 &nbsp;·&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> 
141 &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>137 <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>
142 </code></p>138 </code></p>
143 <p>139 <p>
144 </td>140 </td>
145 </tr>141 </tr>
146 <tr>142 <tr>
147 <td·width="20%"·bgcolor="white"·valign="bottom">143 <td·width="20%"·bgcolor="white"·valign="bottom">
148 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">144 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
1.98 KB
html2text {}
    
Offset 7, 22 lines modifiedOffset 7, 22 lines modified
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················for·use·in·the·pre-processed·files.·(Note·that7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················for·use·in·the·pre-processed·files.·(Note·that
8  ·HTP·Tags··················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or8  ·HTP·Tags··················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················The·old·macro·definition·will·be·removed10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················The·old·macro·definition·will·be·removed
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············automatically.)11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············automatically.)
12  · ···_\x8D_\x8E_\x8F···················For·example:12  · ···_\x8D_\x8E_\x8F···················For·example:
13  · ···_\x8F_\x8I_\x8L_\x8E··················More·than·one·macro·may·be·removed·in·the·same·tag:13  · ···_\x8F_\x8I_\x8L_\x8E··················More·than·one·macro·may·be·removed·in·the·same·tag:
14  · ···_\x8I_\x8F···················· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="0">14  · ···_\x8I_\x8F····················<_.[_.[_.r_.e_.f_.]_.]_.i_.f·disabled_because_xyz>
15  · ···_\x8I_\x8N_\x8C··················· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="section">15  · ···_\x8I_\x8N_\x8C··················· ·...
16  · ···_\x8I_\x8M_\x8G··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.i_.n_.c·sect-ctr>16  · ···_\x8I_\x8M_\x8G···················<_.[_.[_.r_.e_.f_.]_.]_./_.i_.f>
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand 
18  · ···_\x8O_\x8P_\x8T···················global> 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> 
21  · ···_\x8S_.E_.T··················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k_.d_.e_.f>17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L
 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
Offset 30, 19 lines modifiedOffset 30, 14 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
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]
18.4 KB
./usr/share/doc/htp/use.html
    
Offset 131, 17 lines modifiedOffset 131, 14 lines modified
131 attribute·to·prevent·further·expansion.··</p>131 attribute·to·prevent·further·expansion.··</p>
132 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros132 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
133 for·the·expanded·macro.··This·is·only·valid·for·<A133 for·the·expanded·macro.··This·is·only·valid·for·<A
134 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A134 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
135 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For135 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
136 example:</p>136 example:</p>
137 ··<p><code>137 ··<p><code>
138 <font·size="-2">&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> 
139 <font·size="-2">&nbsp;2.·</font>IZE=KBYTE>·kilobytes<br> 
140 <font·size="-2">&nbsp;3.·</font>&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> 
141 </code></p>138 </code></p>
142 <P>139 <P>
143 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on140 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
144 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and141 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
145 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8142 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8
146 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is143 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is
147 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.144 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.
Offset 152, 18 lines modifiedOffset 149, 38 lines modified
152 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or149 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or
153 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.150 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.
154 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or151 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or
155 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it152 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it
156 replaces·the·macro·name·by·the·contents·of·the·macro·without·further153 replaces·the·macro·name·by·the·contents·of·the·macro·without·further
157 processing·the·contents.154 processing·the·contents.
158 ··<p><code>155 ··<p><code>
 156 <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>
159 <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">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br> 
160 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br> 
161 <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>157 <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>
 158 <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>
162 <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>159 <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>
 160 <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>
 161 <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>
 162 <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>
 163 <font·size="-2">&nbsp;8.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 164 <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>
 165 <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>
 166 <font·size="-2">11.·</font><br>
 167 <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>
 168 <font·size="-2">13.·</font><br>
 169 <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>
 170 <font·size="-2">15.·</font><br>
 171 <font·size="-2">16.·</font>&nbsp;·This·will·fail:<br>
 172 <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>
 173 <font·size="-2">18.·</font><br>
 174 <font·size="-2">19.·</font>&nbsp;·Instead,·use·*·like·this:<br>
 175 <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>
 176 <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>
 177 <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>
 178 <font·size="-2">23.·</font>&nbsp;·&nbsp;·<br>
 179 <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>
163 </code></p>180 </code></p>
164 <P>181 <P>
165 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and182 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and
166 should·never·cause·confusion·with·surrounding·text.··If·no·curly183 should·never·cause·confusion·with·surrounding·text.··If·no·curly
167 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation184 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation
168 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;185 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;
169 and·&quot;_&quot;·that·follows·it.186 and·&quot;_&quot;·that·follows·it.
Offset 177, 21 lines modifiedOffset 194, 21 lines modified
177 delimiting·the·text·as·if·it·were·additional·markup·attributes.194 delimiting·the·text·as·if·it·were·additional·markup·attributes.
178 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),195 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),
179 quotation·marks·are·not·automatically·supplied.196 quotation·marks·are·not·automatically·supplied.
180 <P>197 <P>
181 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can198 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can
182 be·nested.··This·is·valid:199 be·nested.··This·is·valid:
183 ··<p><code>200 ··<p><code>
 201 &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>
 202 tion"><br>
184 <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> 
185 &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> 
186 &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> 
187 &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> 
188 &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>203 &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>
 204 &nbsp;·&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-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br>
 205 &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>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 206 &nbsp;·&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>
189 &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>207 &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>
190 <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> 
191 </code></p>208 </code></p>
192 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined209 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined
193 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX210 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX
194 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand211 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand
195 value1.212 value1.
196 <p>213 <p>
197 </td>214 </td>
7.73 KB
html2text {}
    
Offset 11, 40 lines modifiedOffset 11, 59 lines modified
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use
12  · ···_\x8D_\x8E_\x8F···················the·noexpand·attribute·to·prevent·further12  · ···_\x8D_\x8E_\x8F···················the·noexpand·attribute·to·prevent·further
13  · ···_\x8F_\x8I_\x8L_\x8E··················expansion.13  · ···_\x8F_\x8I_\x8L_\x8E··················expansion.
14  · ···_\x8I_\x8F····················USE·will·accept·additional·parameters,·which·are14  · ···_\x8I_\x8F····················USE·will·accept·additional·parameters,·which·are
15  · ···_\x8I_\x8N_\x8C···················"local"·macros·for·the·expanded·macro.·This·is·only15  · ···_\x8I_\x8N_\x8C···················"local"·macros·for·the·expanded·macro.·This·is·only
16  · ···_\x8I_\x8M_\x8G···················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T16  · ···_\x8I_\x8M_\x8G···················valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············cannot·have·parameters·passed.·For·example:17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············cannot·have·parameters·passed.·For·example:
18  · ···_\x8O_\x8P_\x8T··················· 1.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················login_name> 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· 2.·IZE=KBYTE>·kilobytes 
21  · ···_\x8S_\x8E_\x8T··················· 3.· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> 
23  · ···_\x8U_.N_.S_.E_.T·················(See·below·for·a·description·of·the·'$'·operator.)18  · ···_\x8O_.P_.T···················(See·below·for·a·description·of·the·'$'·operator.)
24  ·[>]·_.U_.S_.E_.,_.·_.$················The·example·on·line·7·works·because·"stuff"·has19  · ···_.O_.U_.T_.P_.U_.T················The·example·on·line·7·works·because·"stuff"·has
25  · ···_\x8W_.H_.I_.L_\x8E·················been·declared·as·a·block·macro,·and·the·tag·is20  · ···_\x8Q_.U_.O_.T_\x8E·················been·declared·as·a·block·macro,·and·the·tag·is
26  · ···_\x8<_.!_.-_.-_.-·················passing·the·"email"·macro·to·the·"stuff"·macro.21  · ···_\x8S_.E_.T···················passing·the·"email"·macro·to·the·"stuff"·macro.
27  ·_.H_.i_.s_.t_.o_.r_.y···················Line·8·fails·because·the·"email"·macro·is22  · ···_.U_.N_.D_.E_.F·················Line·8·fails·because·the·"email"·macro·is
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················unavailable·once·the·block·macro·is·completely23  · ···_.U_.N_.S_.E_.T·················unavailable·once·the·block·macro·is·completely
29  ·_.B_.u_.g_.s······················expanded,·and·cannot·be·passed·to·a·SET·macro.24  ·[>]·_.U_.S_.E_.,_.·_.$················expanded,·and·cannot·be·passed·to·a·SET·macro.
30 ····························Note·that·the·"email"·macro·is·available·to·other25  · ···_.W_.H_.I_.L_.E·················Note·that·the·"email"·macro·is·available·to·other
31 ····························macros·or·included·files·called·within·the·"stuff"26  · ···_.<_.!_.-_.-_.-·················macros·or·included·files·called·within·the·"stuff"
32 ····························block.27  ·_.H_.i_.s_.t_.o_.r_.y···················block.
33 ····························Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················Inside·a·markup·tag,·like·_\x8I_\x8M_\x8G,·A·(anchor),·or·any
34 ····························other·standard·HTML·or·htp·tag,·the·'$'·operator29  ·_.B_.u_.g_.s······················other·standard·HTML·or·htp·tag,·the·'$'·operator
35 ····························must·be·used.·The·'$'·should·be·immediately30 ····························must·be·used.·The·'$'·should·be·immediately
36 ····························followed·by·the·macro·name,·which·may·or·may·not·be31 ····························followed·by·the·macro·name,·which·may·or·may·not·be
37 ····························surrounded·by·curly·braces.·When·htp·encounters32 ····························surrounded·by·curly·braces.·When·htp·encounters
38 ····························this·it·replaces·the·macro·name·by·the·contents·of33 ····························this·it·replaces·the·macro·name·by·the·contents·of
39 ····························the·macro·without·further·processing·the·contents.34 ····························the·macro·without·further·processing·the·contents.
40 ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i> 
41 ···························· 2.· · ·...35 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.D_.E_.F·NAME="HEADERIMG"·OPTION="SRC
 36 ····························TITLE·SIZE">
42 ···························· 3.· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i>37 ···························· 2.· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·size>
 38 ···························· 3.· · · · ·<FONT·SIZE=${size}>
43 ···························· 4.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>39 ···························· 4.· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
 40 ···························· 5.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
 41 ···························· 6.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 42 ···························· 7.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 43 ···························· 8.· · · · ·</FONT>
 44 ···························· 9.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 45 ····························10.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 46 ····························11.
 47 ····························12.· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 48 ····························title">
 49 ····························13.
 50 ····························14.· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 51 ····························title">
 52 ····························15.
 53 ····························16.· ·This·will·fail:
 54 ····························17.· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 55 ····························TITLE="Another·title">
 56 ····························18.
 57 ····························19.· ·Instead,·use·*·like·this:
 58 ····························20.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 59 ····························21.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 60 ····························22.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 61 ····························23.· · 
 62 ····························24.· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
44 ····························The·use·of·curly·braces·is·encouraged,·since·it·is63 ····························The·use·of·curly·braces·is·encouraged,·since·it·is
45 ····························more·robust·and·should·never·cause·confusion·with64 ····························more·robust·and·should·never·cause·confusion·with
46 ····························surrounding·text.·If·no·curly·braces·are·used·the65 ····························surrounding·text.·If·no·curly·braces·are·used·the
47 ····························macro·name·consists·either·of·a·single·punctuation66 ····························macro·name·consists·either·of·a·single·punctuation
48 ····························character·or·the·maximum·sequence·of·letters,67 ····························character·or·the·maximum·sequence·of·letters,
49 ····························digits,·"-"·and·"_"·that·follows·it.68 ····························digits,·"-"·and·"_"·that·follows·it.
50 ····························If·a·'$'·character·needs·to·be·kept·in·the·final69 ····························If·a·'$'·character·needs·to·be·kept·in·the·final
Offset 56, 21 lines modifiedOffset 75, 22 lines modified
56 ····························it·with·quotation·marks·to·prevent·spaces·from75 ····························it·with·quotation·marks·to·prevent·spaces·from
57 ····························delimiting·the·text·as·if·it·were·additional·markup76 ····························delimiting·the·text·as·if·it·were·additional·markup
58 ····························attributes.·If·the·'$'·macro·is·surrounded·by·other77 ····························attributes.·If·the·'$'·macro·is·surrounded·by·other
59 ····························text·(as·in·the·two·examples·above),·quotation78 ····························text·(as·in·the·two·examples·above),·quotation
60 ····························marks·are·not·automatically·supplied.79 ····························marks·are·not·automatically·supplied.
61 ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a80 ····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a
62 ····························markup·tag·and·can·be·nested.·This·is·valid:81 ····························markup·tag·and·can·be·nested.·This·is·valid:
 82 ···························· · ·<${tagName}·${attrName}=${value$ctr}>
 83 ····························tion">
63 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="header.hti"> 
64 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·sect-ctr="1"> 
65 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> 
66 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> 
67 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>84 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr>
 85 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name="sect-${sect-ctr}"·expand
 86 ····························global>
 87 ···························· · · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block·noexpand>
68 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.w_.h_.i_.l_.e>88 ···························· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>
69 ····························<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="footer.hti">89 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k_.d_.e_.f>
70 ····························The·tagName·macro·can·contain·any·tag·name,·even·a90 ····························The·tagName·macro·can·contain·any·tag·name,·even·a
71 ····························self-defined·metatag.·Note·that·$ctr·is·expanded91 ····························self-defined·metatag.·Note·that·$ctr·is·expanded
72 ····························before·the·valueX·macro·is·expanded,·so·assuming92 ····························before·the·valueX·macro·is·expanded,·so·assuming
73 ····························that·ctr·was·set·to·1·it·will·expand·value1.93 ····························that·ctr·was·set·to·1·it·will·expand·value1.
  
  
  
11.5 KB
./usr/share/doc/htp/while.html
    
Offset 124, 32 lines modifiedOffset 124, 43 lines modified
124 The·basic·form·is·shown·above.124 The·basic·form·is·shown·above.
125 <P>125 <P>
126 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.126 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
127 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.127 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.
128 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the128 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the
129 conditional·is·reversed:129 conditional·is·reversed:
130 ··<p><code>130 ··<p><code>
131 &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> 
132 IZE=KBYTE>·kilobytes<br> 
133 &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> 
134 nd><br> 
135 &nbsp;·&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="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
137 </code></p>131 </code></p>
138 <P>132 <P>
139 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·a133 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
140 macro's·existance:134 macro's·existance:
141 ··<p><code>135 ··<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">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>&gt;</span><br>
142 <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> 
143 &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> 
144 &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> 
145 &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> 
146 &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>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">size</span>&gt;</span><br>
 138 &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>
 139 &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>
 140 &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>
 141 &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>
 142 &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>
 143 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 144 &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>
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>&gt;</span><br>145 &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>
148 <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>146 <br>
 147 &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>
 148 <br>
 149 &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>
 150 <br>
 151 &nbsp;·This·will·fail:<br>
 152 &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>
 153 <br>
 154 &nbsp;·Instead,·use·*·like·this:<br>
 155 &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>
 156 &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>
 157 &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>
 158 &nbsp;·&nbsp;·<br>
 159 &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>
149 </code></p>160 </code></p>
150 <P>161 <P>
151 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the162 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
152 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the163 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
153 WHILE·tag·it·is·also·reevaluated·on·each·iteration.164 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
154 <P>165 <P>
155 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.166 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.
4.39 KB
html2text {}
    
Offset 5, 32 lines modifiedOffset 5, 46 lines modified
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················W\x8WH\x8HI\x8IL\x8LE\x8E·is·the·building·block·for·repeated
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················processing.·The·basic·form·is·shown·above.6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················processing.·The·basic·form·is·shown·above.
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················"Conditional"·is·either·a·"compare"·or·"is·defined"7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················"Conditional"·is·either·a·"compare"·or·"is·defined"
8  ·HTP·Tags··················operation.·A·compare·operator·is·a·test·of·the8  ·HTP·Tags··················operation.·A·compare·operator·is·a·test·of·the
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············value·of·a·macro·against·a·literal·string.·If·the9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············value·of·a·macro·against·a·literal·string.·If·the
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················NOT·tag·is·present·in·the·WHILE·markup,·the10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················NOT·tag·is·present·in·the·WHILE·markup,·the
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············evaluation·of·the·conditional·is·reversed:11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············evaluation·of·the·conditional·is·reversed:
12  · ···_\x8D_\x8E_\x8F··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url·login_name> 
13  · ···_\x8F_\x8I_\x8L_\x8E··················IZE=KBYTE>·kilobytes 
14  · ···_\x8I_\x8F···················· · ·Last·modified·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif" 
15  · ···_\x8I_\x8N_\x8C···················TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·NAME="image.gif"·DATE> 
16  · ···_\x8I_\x8M_\x8G···················nd> 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k> 
18  · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
19  · ···_\x8O_.U_.T_.P_.U_.T················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a12  · ···_\x8D_.E_.F···················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a
20  · ···_\x8Q_.U_.O_.T_.E·················macro's·existance:13  · ···_\x8F_.I_.L_.E··················macro's·existance:
 14  · ···_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="HEADERIMG"·OPTION="SRC·TITLE
 15  · ···_\x8I_\x8N_\x8C···················SIZE">
 16  · ···_\x8I_\x8M_\x8G··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · · · ·<FONT·SIZE=${size}>
 18  · ···_\x8O_\x8P_\x8T··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
21  · ···_\x8S_\x8E_\x8T···················<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="header.hti">21  · ···_\x8S_\x8E_\x8T··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.F·size>
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· · · · ·</FONT>
22  · ···_\x8U_\x8N_\x8D_.E_.F················· ·<_.[_.[_.r_.e_.f_.]_.]_.s_.e_.t·sect-ctr="1">23  · ···_\x8U_\x8N_\x8S_.E_.T················· · ·<_.[_.[_.r_.e_.f_.]_.]_./_.I_.F>
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·sect-${sect-ctr}> 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> 
25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> 
26  · ···_\x8<_.!_.-_.-_.-················· ·<_.[_.[_.r_.e_.f_.]_.]_./_.w_.h_.i_.l_.e>24  · ···_\x8U_.S_.E_.,_.·_.$················ ·<_.[_.[_.r_.e_.f_.]_.]_./_.D_.E_.F>
27  ·_.H_.i_.s_.t_.o_.r_.y···················<_.[_.[_.r_.e_.f_.]_.]_.f_.i_.l_.e·include="footer.hti">25  ·[>]·_.W_.H_.I_.L_.E
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················title">
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 30 ····························title">
  
 31 ···························· ·This·will·fail:
 32 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 33 ····························TITLE="Another·title">
  
 34 ···························· ·Instead,·use·*·like·this:
 35 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 36 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 37 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 38 ···························· · 
 39 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················If·the·condition·is·true,·the·block·is·evaluated40 ····························If·the·condition·is·true,·the·block·is·evaluated
29  ·_.B_.u_.g_.s······················and·afterwards·the·WHILE·tag·is·evaluated·again.·If41 ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If
30 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is42 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is
31 ····························also·reevaluated·on·each·iteration.43 ····························also·reevaluated·on·each·iteration.
32 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.44 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.