229 KB
/srv/reproducible-results/rbuild-debian/r-b-build.8loxDg2b/b1/htp_1.19-8_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.8loxDg2b/b2/htp_1.19-8_arm64.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·2b62e246c9a57baeb32fe0feccd41b56·70492·debug·optional·htp-dbgsym_1.19-8_arm64.deb1 ·2b62e246c9a57baeb32fe0feccd41b56·70492·debug·optional·htp-dbgsym_1.19-8_arm64.deb
2 ·4603961d716ba60238874df5e535fff1·116424·web·optional·htp_1.19-8_arm64.deb2 ·fb8f5cc1ad73917dd14725606cc8c797·117016·web·optional·htp_1.19-8_arm64.deb
229 KB
htp_1.19-8_arm64.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···112616·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···113212·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:·arm643 Architecture:·arm64
4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>
5 Installed-Size:·6585 Installed-Size:·653
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
228 KB
data.tar.xz
228 KB
data.tar
15.4 KB
file list
    
Offset 1, 27 lines modifiedOffset 1, 27 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/
4 -rwxr-xr-x···0·root·········(0)·root·········(0)····67896·2020-06-14·23:21:19.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····67896·2020-06-14·23:21:19.000000·./usr/bin/htp
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/
6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/
8 -rw-r--r--···0·root·········(0)·root·········(0)·····9031·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)·····9211·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html
9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp
10 -rw-r--r--···0·root·········(0)·root·········(0)·····8637·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····9462·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)·····8792·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····8579·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)····12215·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)·····9740·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)····15524·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····17692·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html
21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp
22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html
23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp
24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/
25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub
26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti
27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt
Offset 32, 64 lines modifiedOffset 32, 64 lines modified
32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp
33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html
34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp
35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def
36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html
37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp
38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt
39 -rw-r--r--···0·root·········(0)·root·········(0)·····9694·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)····15732·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)····17207·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····17780·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)····11561·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)····12274·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)····15580·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)·····9424·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)·····9121·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····8639·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)····11656·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)····11607·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)····16397·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····15910·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)····10729·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····8632·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)·····8800·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····8130·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp
75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/
76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png
77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png
78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png
79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png
80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png
81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png
82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png
83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png
84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png
85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl
86 -rw-r--r--···0·root·········(0)·root·········(0)·····7959·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)·····7901·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)·····8968·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)·····8984·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html
89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp
90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css
91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html
92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz
93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def
94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/
95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti
Offset 102, 23 lines modifiedOffset 102, 23 lines modified
102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp
103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html
104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp
105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt
106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt
107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html
108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp
109 -rw-r--r--···0·root·········(0)·root·········(0)·····8009·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····8015·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html
110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp
111 -rw-r--r--···0·root·········(0)·root·········(0)····10315·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····9160·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)····11671·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····11791·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)····11484·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)····10652·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/
7.61 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 41 lines modifiedOffset 114, 33 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br>
 122 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br>
121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·block·#1<br> 
123 [<br> 
124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
125 &nbsp;·&nbsp;·block·#2<br> 
126 ...<br> 
127 ]<br> 
128 [<br> 
129 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
130 &nbsp;·&nbsp;·block·#3<br> 
131 ]<br> 
132 <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>123 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
133 <br>124 <br>
134 </code></p>125 </code></p>
135 <h2>synopsis</h2>126 <h2>synopsis</h2>
136 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A127 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
137 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.128 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.
138 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the129 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the
139 filename·is·considered·in·all·comparisons.130 filename·is·considered·in·all·comparisons.
140 <p>131 <p>
141 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT132 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT
142 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to133 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to
143 be·overridden·on·specific·images·and·default·text·on·all·others.134 be·overridden·on·specific·images·and·default·text·on·all·others.
144 <p>135 <p>
145 For·example:136 For·example:
146 ··<p><code>137 ··<p><code>
147 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>138 <span·class="comment">&lt;!---·comment·---&gt;</span><br>
 139 <br>
148 </code></p>140 </code></p>
149 <p>141 <p>
150 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT142 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT
151 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not143 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not
152 changed.144 changed.
153 <p>145 <p>
154 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,146 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,
4.75 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:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="tagname"·[option="option1
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·...·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> ...
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
 8  ·HTP·Tags
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·[NOT]·conditional> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block·#1 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················[ 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<ELSEIF·[NOT]·conditional> 
8  ·HTP·Tags·················· · ·block·#2 
9  ·[>]·_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············... 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················] 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············[ 
12  · ···_\x8D_\x8E_\x8F···················<ELSE> 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·block·#3 
14  · ···_\x8I_\x8F····················] 
15  · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
16  · ···_\x8I_\x8M_\x8G 
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*9  ·[>]·_.A_.L_.T_.T_.E_.X_.T···············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
18  · ···_\x8O_.P_.T···················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag10  · ···_\x8B_.L_.O_.C_.K·················A\x8AL\x8LT\x8TT\x8TE\x8EX\x8XT\x8T·declares·an·ALT·attribute·for·any·_\x8I_\x8M_\x8G·tag
19  · ···_\x8O_.U_.T_.P_.U_.T················with·a·SRC·matching·the·ALTTEXT·NAME.·Since11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············with·a·SRC·matching·the·ALTTEXT·NAME.·Since
20  · ···_\x8Q_.U_.O_.T_.E·················relative·paths·can·be·used·to·point·to·the·same12  · ···_\x8D_.E_.F···················relative·paths·can·be·used·to·point·to·the·same
21  · ···_\x8S_.E_.T···················image,·only·the·filename·is·considered·in·all13  · ···_\x8F_.I_.L_.E··················image,·only·the·filename·is·considered·in·all
22  · ···_\x8U_.N_.D_.E_.F·················comparisons.14  · ···_\x8I_.F····················comparisons.
23  · ···_\x8U_.N_.S_.E_.T·················When·an·IMG·tag·with·a·matching·source·is15  · ···_\x8I_.N_.C···················When·an·IMG·tag·with·a·matching·source·is
24  · ···_\x8U_.S_.E_.,_.·_.$················encountered,·htp·will·add·an·ALT·attribute·only·if16  · ···_\x8I_.M_.G···················encountered,·htp·will·add·an·ALT·attribute·only·if
25  · ···_\x8W_.H_.I_.L_.E·················one·is·not·already·present.·This·allows·for·ALT17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············one·is·not·already·present.·This·allows·for·ALT
26  · ···_\x8<_.!_.-_.-_.-·················text·to·be·overridden·on·specific·images·and18  · ···_\x8O_.P_.T···················text·to·be·overridden·on·specific·images·and
27  ·_.H_.i_.s_.t_.o_.r_.y···················default·text·on·all·others.19  · ···_.O_.U_.T_.P_.U_.T················default·text·on·all·others.
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················For·example:20  · ···_.Q_.U_.O_.T_.E·················For·example:
29  ·_\x8B_\x8u_\x8g_\x8s······················<!---·This·comment·doesn't·appear·in·the·HTML·file 
30 ····························--->21  · ···_.S_.E_.T···················<!---·comment·--->
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F
31 ····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute23  · ···_.U_.N_.S_.E_.T·················An·ALTTEXT·tag·with·a·name·but·no·text·attribute
32 ····························removes·any·ALT·mapping·for·this·image.·Successing24  · ···_.U_.S_.E_.,_.·_.$················removes·any·ALT·mapping·for·this·image.·Successing
33 ····························IMG·tags·with·a·matching·SRC·name·are·not·changed.25  · ···_.W_.H_.I_.L_.E·················IMG·tags·with·a·matching·SRC·name·are·not·changed.
34 ····························Since·this·is·useful·for·an·image·used·throughout·a26  · ···_.<_.!_.-_.-_.-·················Since·this·is·useful·for·an·image·used·throughout·a
35 ····························set·of·documents,·ALTTEXT·is·most·appropriate·in·an27  ·_.H_.i_.s_.t_.o_.r_.y···················set·of·documents,·ALTTEXT·is·most·appropriate·in·an
36 ····························_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e.28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e_\x8·_\x8f_\x8i_\x8l_\x8e·or·a·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e.
37 ····························In·addition·to·ALTTEXT,·htp·can·also·automatically29  ·_.B_.u_.g_.s······················In·addition·to·ALTTEXT,·htp·can·also·automatically
38 ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags.30 ····························add·WIDTH·and·HEIGHT·attributes·to·_\x8I_\x8M_\x8G·tags.
  
  
  
  
  
  
5.25 KB
./usr/share/doc/htp/block.html
    
Offset 114, 27 lines modifiedOffset 114, 24 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>
121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·block·#1<br> 
123 [<br> 
124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
125 &nbsp;·&nbsp;·block·#2<br> 
126 ...<br> 
127 ]<br> 
128 [<br> 
129 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
130 &nbsp;·&nbsp;·block·#3<br> 
131 ]<br> 
132 <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> 
133 <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>
134 </code></p>131 </code></p>
135 <h2>synopsis</h2>132 <h2>synopsis</h2>
136 <P>133 <P>
137 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which134 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which
138 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be135 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be
139 multi-line·definitions.136 multi-line·definitions.
140 </P>137 </P>
2.5 KB
html2text {}
    
Offset 1, 23 lines modifiedOffset 1, 23 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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··············<_.[_.[_.r_.e_.f_.]_.]_.I_.F·[NOT]·conditional>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.a_.l_.t_.t_.e_.x_.t·name="logo.gif"·text="Company
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block·#15  ·_\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
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················[ 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<ELSEIF·[NOT]·conditional> 
8  ·HTP·Tags·················· · ·block·#2 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············... 
10  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K·················] 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············[ 
12  · ···_\x8D_\x8E_\x8F···················<ELSE> 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·block·#3 
14  · ···_\x8I_\x8F····················] 
15  · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
16  · ···_\x8I_.M_.G13  · ···_\x8F_.I_.L_.E
 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  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
18  · ···_\x8O_\x8P_\x8T···················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros,18  · ···_\x8O_\x8P_\x8T···················B\x8BL\x8LO\x8OC\x8CK\x8K·a\x8an\x8nd\x8d·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8K·are·used·to·create·block·macros,
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················which·are·similar·in·use·to·_\x8S_\x8E_\x8T·macros,·but·can·be
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················multi-line·definitions.20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················multi-line·definitions.
21  · ···_\x8S_\x8E_\x8T···················Any·text·and·formatting·may·be·set·inside·the21  · ···_\x8S_\x8E_\x8T···················Any·text·and·formatting·may·be·set·inside·the
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················block.·You·can·use·any·htp·or·user·defined·metatag22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················block.·You·can·use·any·htp·or·user·defined·metatag
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················including·_\x8F_\x8I_\x8L_\x8E_\x8·_\x8I_\x8N_\x8C_\x8L_\x8U_\x8D_\x8E.·The·metatags·won't·be
6.27 KB
./usr/share/doc/htp/blockdef.html
    
Offset 114, 38 lines modifiedOffset 114, 29 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="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·block·#1<br> 
123 [<br> 
124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
125 &nbsp;·&nbsp;·block·#2<br> 
126 ...<br> 
127 ]<br> 
128 [<br> 
129 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
130 &nbsp;·&nbsp;·block·#3<br> 
131 ]<br> 
132 <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> 
133 <br>122 <br>
134 </code></p>123 </code></p>
135 <h2>synopsis</h2>124 <h2>synopsis</h2>
136 <strong>BLOCKDEF</strong>·creates·block·<A125 <strong>BLOCKDEF</strong>·creates·block·<A
137 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it126 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
138 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block127 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
139 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and128 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
140 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored129 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
141 in·the·block·macro·named·BLOCK.130 in·the·block·macro·named·BLOCK.
142 <P>·For·example:</P>131 <P>·For·example:</P>
143 ··<p><code>132 ··<p><code>
144 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>133 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="htp-attrib">[option</span>=<span·class="htp-string">"[·...·truncated·by·diffoscope;·len:·145,·SHA:·37bbe905a95be743d004afbf7ffb9491f275afb9d59ce6260fbf6b5fc2d4c428·...·]&gt;</span><br>
 134 <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>
 135 <br>
145 </code></p>136 </code></p>
146 <p>137 <p>
147 All·block·metatags·have·the·implicit·option·<a138 All·block·metatags·have·the·implicit·option·<a
148 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents139 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
149 of·the·block·before·the·definition·is·expanded.140 of·the·block·before·the·definition·is·expanded.
150 </p>141 </p>
151 <p>142 <p>
3.94 KB
html2text {}
    
Offset 1, 45 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:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F,\x8,·/\x8/B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<!---·comment·--->
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·[NOT]·conditional> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block·#1 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················[ 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<ELSEIF·[NOT]·conditional> 
8  ·HTP·Tags·················· · ·block·#2 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············... 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················] 
11  ·[>]·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············[ 
12  · ···_\x8D_\x8E_\x8F···················<ELSE> 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·block·#3 
14  · ···_\x8I_\x8F····················] 
15  · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
16  · ···_\x8I_\x8M_\x8G 
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*6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
18  · ···_.O_.P_.T···················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy7  ·_.U_.s_.a_.g_.e·····················B\x8BL\x8LO\x8OC\x8CK\x8KD\x8DE\x8EF\x8F·creates·block·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy
19  · ···_.O_.U_.T_.P_.U_.T················way·of·saying·it·creates·new·block·tags.·A·block8  ·HTP·Tags··················way·of·saying·it·creates·new·block·tags.·A·block
20  · ···_\x8Q_.U_.O_.T_.E·················tag·is·a·tag·that·takes·a·whole·block·as·additional9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············tag·is·a·tag·that·takes·a·whole·block·as·additional
21  · ···_\x8S_.E_.T···················parameter.·This·block·is·surrounded·by·<tagname>10  · ···_\x8B_.L_.O_.C_.K·················parameter.·This·block·is·surrounded·by·<tagname>
22  · ···_.U_.N_.D_.E_.F·················and·</tagname>.·The·contents·of·this·block·are11  ·[>]·_.B_.L_.O_.C_.K_.D_.E_.F··············and·</tagname>.·The·contents·of·this·block·are
23  · ···_\x8U_.N_.S_.E_.T·················automatically·stored·in·the·block·macro·named12  · ···_\x8D_.E_.F···················automatically·stored·in·the·block·macro·named
24  · ···_\x8U_.S_.E_.,_.·_.$················BLOCK.13  · ···_\x8F_.I_.L_.E··················BLOCK.
25  · ···_\x8W_.H_.I_.L_.E·················For·example:14  · ···_\x8I_.F····················For·example:
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················<!---·This·comment·doesn't·appear·in·the·HTML·file 
27  ·_.H_.i_.s_.t_.o_.r_.y···················--->15  · ···_.I_.N_.C···················<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="tagname"·[option="option1
 16  · ···_\x8I_\x8M_\x8G···················[option2·...]"·]·[global]·[expand]>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 18  · ···_\x8O_\x8P_\x8T
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,19  · ···_.O_.U_.T_.P_.U_.T················All·block·metatags·have·the·implicit·option·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D,
29  ·_.B_.u_.g_.s······················which·tells·htp·to·expand·the·contents·of·the·block20  · ···_.Q_.U_.O_.T_.E·················which·tells·htp·to·expand·the·contents·of·the·block
30 ····························before·the·definition·is·expanded.21  · ···_.S_.E_.T···················before·the·definition·is·expanded.
31 ····························A·more·thorough·discussion·and·more·elaborate22  · ···_.U_.N_.D_.E_.F·················A·more·thorough·discussion·and·more·elaborate
32 ····························examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.23  · ···_.U_.N_.S_.E_.T·················examples·are·discussed·in·the·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g·section.
  
  
  
  
  
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
13.0 KB
./usr/share/doc/htp/comment.html
    
Offset 114, 62 lines modifiedOffset 114, 39 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="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-strin[·...·truncated·by·diffoscope;·len:·292,·SHA:·0cb6889f6287fa73092b5b491581e49e01ec9eb83bcad77f1098168e885134c9·...·]</span>&gt;</span><br>
 122 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
122 <br>123 <br>
123 </code></p>124 </code></p>
124 <h2>synopsis</h2>125 <h2>synopsis</h2>
125 <p>126 <p>
126 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful127 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
127 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.128 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
128 Example:129 Example:
129 </p>130 </p>
130 ··<p><code>131 ··<p><code>
131 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>&gt;</span><br>132 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>&gt;</span><br>
132 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br>133 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br>
133 &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>134 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
134 <br>135 <br>
135 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>&gt;</span><br> 
136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br>136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br>
 137 &nbsp;·&nbsp;·This·text·is·centered.<br>
137 &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> 
138 <br> 
139 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
140 </code></p>138 </code></p>
141 <p>139 <p>
142 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you140 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
143 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something141 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
144 like·this:142 like·this:
145 </p>143 </p>
146 ··<p><code>144 ··<p><code>
 145 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;EM&gt;</span>File·"<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>&gt;</span>"·last·updated·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">DATE</span>&gt;</span><span·class="htp-tag">&lt;/EM&gt;</span><br>
147 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br> 
148 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br> 
149 <br> 
150 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br> 
151 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
152 &nbsp;·(no·URL·replacement).<br> 
153 <br> 
154 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br> 
155 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
156 <br> 
157 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br> 
158 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
159 &nbsp;·will·not·be·added.<br> 
160 <br> 
161 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
162 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br> 
163 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br> 
164 <br> 
165 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br> 
166 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
167 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
168 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
169 </code></p>146 </code></p>
170 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the147 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
171 reason·why·you·don't·want·to·include·this·block</p>148 reason·why·you·don't·want·to·include·this·block</p>
172 <p>149 <p>
173 </td>150 </td>
174 </tr>151 </tr>
175 <tr>152 <tr>
5.8 KB
html2text {}
    
Offset 1, 70 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:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·<\x8<!\x8!-\x8--\x8--\x8-·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.m_.g·src="filename"·...>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_.e_.f·name="tagname"·[option="option1
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[option2·...]"·]·[global]·[expand]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
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*8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
7  ·_.U_.s_.a_.g_.e·····················This·is·a·simple·comment·that·is·not·included·in9  · ···_.A_.L_.T_.T_.E_.X_.T···············This·is·a·simple·comment·that·is·not·included·in
8  ·HTP·Tags··················the·output.·This·is·useful·when·commenting10  · ···_.B_.L_.O_.C_.K·················the·output.·This·is·useful·when·commenting
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············metatags,·since·the·metatags·do·not·appear·the11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············metatags,·since·the·metatags·do·not·appear·the
10  · ···_\x8B_.L_.O_.C_.K·················output·either.·Example:12  · ···_\x8D_.E_.F···················output·either.·Example:
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F·············· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="bigfont">13  · ···_\x8F_.I_.L_.E·················· · ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="centered">
12  · ···_\x8D_.E_.F··················· · ·<font·size="+4">14  · ···_\x8I_.F···················· · ·<p·align=center>
13  · ···_\x8F_.I_.L_.E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>15  · ···_\x8I_.N_.C··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
14  · ···_\x8I_\x8F16  · ···_\x8I_\x8M_.G
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·<centered>
 18  · ···_\x8O_\x8P_\x8T··················· · ·This·text·is·centered.
15  · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="/bigfont"> 
16  · ···_\x8I_\x8M_\x8G··················· · ·</font> 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
18  · ···_\x8O_\x8P_\x8T 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<bigfont>Some·large·text</bigfont> 
20  · ···_\x8Q_.U_.O_.T_.E·················Note·that·these·comments·should·not·include·<·or·>,19  · ···_\x8O_.U_.T_.P_.U_.T················Note·that·these·comments·should·not·include·<·or·>,
21  · ···_\x8S_.E_.T···················that·is·you·should·not·use·it·to·comment·out·htp20  · ···_\x8Q_.U_.O_.T_.E·················that·is·you·should·not·use·it·to·comment·out·htp
22  · ···_\x8U_.N_.D_.E_.F·················code.·For·that·purpose·use·something·like·this:21  · ···_\x8S_.E_.T···················code.·For·that·purpose·use·something·like·this:
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················"·path="/var/www/my.domain/"> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ 
26  ·[>]·_.<_.!_.-_.-_.-·················var/www/other.domain/">22  · ···_.U_.N_.D_.E_.F················· · ·<EM>File·"<_.[_.[_.r_.e_.f_.]_.]_.F_.I_.L_.E·NAME>"·last·updated·<_.[
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·TIME>,·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·DATE></EM>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················Make·sure·that·the·variable·is·never·defined·and
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················xyz·should·be·the·reason·why·you·don't·want·to
 26  ·[>]·_\x8<_\x8!_\x8-_\x8-_\x8-·················include·this·block
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
29  ·_\x8B_\x8u_\x8g_\x8s······················ ·the·local·filename·"logo.gif"·will·be·used·to 
30 ····························determine·image·dimensions 
31 ···························· ·(no·URL·replacement). 
  
32 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
33 ····························my.domain.org/logo.gif"> 
34 ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" 
35 ····························will·be·used. 
  
36 ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
37 ····························other.domain.org/logo.gif"> 
38 ···························· ·the·local·file·cannot·be·found·(no·prefix·match), 
39 ····························so·the·image·dimensions 
40 ···························· ·will·not·be·added. 
  
41 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes 
42 ····························precedence: 
43 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> 
44 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ 
45 ····························test/"> 
  
46 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
47 ····························src="/test/image.gif"> are·mapped·to 
48 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ 
49 ····························image.gif,·resp. 
50 ···························· ·If·the·order·of·the·imageurl·lines·would·be 
51 ····························swapped,·the·second 
52 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ 
53 ····························image.gif. 
54 ····························Make·sure·that·the·variable·is·never·defined·and 
55 ····························xyz·should·be·the·reason·why·you·don't·want·to 
56 ····························include·this·block 
  
  
  
  
  
  
  
  
  
  
25.4 KB
./usr/share/doc/htp/def.html
    
Offset 114, 82 lines modifiedOffset 114, 81 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>
121 &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>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;<span·class="htp-tag">&lt;h1&gt;</span><span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>&gt;</span><span·class="htp-tag">&lt;/h1&gt;</span><br> 
123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
124 &nbsp;·&nbsp;·&nbsp;<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br> 
125 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br> 
126 &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> 
127 <br> 
128 &nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br> 
129 &nbsp;·&nbsp;·This·is·a·fancy·section.<br> 
130 &nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br> 
131 </code></p>122 </code></p>
132 <h2>synopsis</h2>123 <h2>synopsis</h2>
133 <p>124 <p>
134 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a125 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
135 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to126 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
136 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>127 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
137 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.128 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
138 For·example:129 For·example:
139 </p>130 </p>
140 ··<p><code>131 ··<p><code>
141 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[GLOBAL]</span>&gt;</span><br> 
142 <br>132 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 133 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
 134 &nbsp;·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 135 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 136 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 137 &nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 138 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 139 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
 140 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
 141 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>&gt;</span><br>
 142 &nbsp;·contents·of·a:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 143 &nbsp;·contents·of·b:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 144 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 145 &nbsp;·&nbsp;·c·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
 146 &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>
 147 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 148 &nbsp;·&nbsp;·d·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 149 &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>
 150 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>&gt;</span><br>
 151 &nbsp;·&nbsp;·e·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 152 &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>
 153 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>&gt;</span><br>
 154 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
 155 &nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 156 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 157 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>&gt;</span><br>
 158 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>&gt;</span><br>
 159 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>&gt;</span><br>
143 </code></p>160 </code></p>
144 <P>161 <P>
145 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to162 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
146 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A163 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
147 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster164 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
148 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing165 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
149 tag·with·a·preceding·slash.·For·example:166 tag·with·a·preceding·slash.·For·example:
150 </P>167 </P>
151 ··<p><code>168 ··<p><code>
152 <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> 
153 &nbsp;·...<br> 
154 <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> 
155 Jim·Nelson"·email="jnelson@crl.com"><br> 
156 &nbsp;·&nbsp;·This·tag·will·fail:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">name</span>&gt;</span><br>169 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br>
 170 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br>
 171 &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>
 172 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br>
 173 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br>
 174 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br>
 175 &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>
157 </code></p>176 </code></p>
158 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,177 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
159 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>178 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
160 <P>179 <P>
161 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were180 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
162 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with181 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
163 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their182 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
164 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)183 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
165 </P>184 </P>
166 ··<p><code>185 ··<p><code>
 186 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
 187 &nbsp;·&nbsp;·This·tag·will·fail:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">name</span>&gt;</span><br>
167 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br> 
168 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br> 
169 <br> 
170 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br> 
171 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
172 &nbsp;·(no·URL·replacement).<br> 
173 <br> 
174 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br> 
175 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
176 <br> 
177 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br> 
178 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
179 &nbsp;·will·not·be·added.<br> 
180 <br> 
181 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
182 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br> 
183 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br> 
184 <br> 
185 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br> 
186 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
187 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
188 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
189 </code></p>188 </code></p>
190 <P>189 <P>
191 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is190 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
192 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are191 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
193 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the192 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
194 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a193 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
195 parameter·is·required,·simply·expand·it·without·first·checking.··When194 parameter·is·required,·simply·expand·it·without·first·checking.··When
10.5 KB
html2text {}
    
Offset 1, 84 lines modifiedOffset 1, 79 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·D\x8DE\x8EF\x8F,\x8,·/\x8/D\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<!---·This·comment·doesn't·appear·in·the·HTML·file
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················--->
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"·option="title"> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <h1><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·title></h1> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · <p·class="section"> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · · <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·block> 
8  ·HTP·Tags·················· · </p> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<section·title="My·Section"> 
12  ·[>]·_\x8D_\x8E_\x8F··················· · ·This·is·a·fancy·section. 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·</section> 
14  · ···_.I_.F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*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*
15  · ···_.I_.N_.C···················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of7  ·_.U_.s_.a_.g_.e·····················D\x8DE\x8EF\x8F·creates·_\x8m_\x8e_\x8t_\x8a_\x8t_\x8a_\x8g_\x8s,·which·is·a·fancy·way·of
16  · ···_.I_.M_.G···················saying·it·creates·new·tags.·The·mechanism·is·very8  ·HTP·Tags··················saying·it·creates·new·tags.·The·mechanism·is·very
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············similar·to·_\x8B_\x8L_\x8O_\x8C_\x8K·macros,·except·that·the·_\x8U_\x8S_\x8E·tag·is
18  · ···_\x8O_.P_.T···················not·used·to·expand·them.·Instead,·they·are·expanded10  · ···_\x8B_.L_.O_.C_.K·················not·used·to·expand·them.·Instead,·they·are·expanded
19  · ···_\x8O_.U_.T_.P_.U_.T················by·their·own·name.·For·example:11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············by·their·own·name.·For·example:
 12  ·[>]·_\x8D_\x8E_\x8F··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="0">
 13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a>
 14  · ···_\x8I_\x8F···················· · ·a·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
 15  · ···_\x8I_\x8N_\x8C··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 16  · ···_\x8I_\x8M_\x8G··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
 18  · ···_\x8O_\x8P_\x8T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1">
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·macroname1="increment1"20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·a>
21  · ···_\x8S_\x8E_\x8T···················[macroname2="increment2"·...·]·[GLOBAL]> 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················Some·metatags·will·require·an·opening·and·closing 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················tag·(comparable·to 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················and 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro. 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················Another·slightly·faster·alternative·is·to·use·two 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················metatags,·the·opening·tag·and·the·closing·tag·with 
29  ·_.B_.u_.g_.s······················a·preceding·slash.·For·example:21  · ···_.S_.E_.T··················· ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·b>
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand>
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand>
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a>
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand>
 29  ·_\x8B_\x8u_\x8g_\x8s······················ · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 30 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
30 ····························<_.[_.[_.r_.e_.f_.]_.]_.i_.f·disabled_because_xyz>31 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>
 32 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e>
 33 ···························· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 34 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 35 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 36 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2">
 37 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a>
 38 ···························· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e
31 ···························· ·...39 ····························time>.
 40 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
32 ····························<_.[_.[_.r_.e_.f_.]_.]_./_.i_.f>41 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·c>
33 ····························Jim·Nelson"·email="jnelson@crl.com">42 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·d>
34 ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>43 ···························· ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·e>
 44 ····························Some·metatags·will·require·an·opening·and·closing
 45 ····························tag·(comparable·to
 46 ····························and
 47 ····························).·In·this·case,·you·should·use·the·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·macro.
 48 ····························Another·slightly·faster·alternative·is·to·use·two
 49 ····························metatags,·the·opening·tag·and·the·closing·tag·with
 50 ····························a·preceding·slash.·For·example:
 51 ···························· · ·a·is·expanded·at·time·1.
 52 ···························· · ·b·is·expanded·at·time·0.
 53 ···························· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[
 54 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
 55 ···························· ·contents·of·b:· ·b·is·expanded·at·time·0.
 56 ···························· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at
 57 ····························time·1.
 58 ···························· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at
 59 ····························time·2.
 60 ···························· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the
 61 ····························2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
35 ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will62 ····························You·should·really·use·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F,·though,·as·it·will
36 ····························check·for·matching·end·tag.·It·is·not·that·slower.63 ····························check·for·matching·end·tag.·It·is·not·that·slower.
37 ····························Options·can·be·passed·to·a·metatag,·which·can·then64 ····························Options·can·be·passed·to·a·metatag,·which·can·then
38 ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are65 ····························expand·as·if·it·were·a·_\x8S_\x8E_\x8T·macro.·Option·names·are
39 ····························parameterized·with·the·OPTION·attribute.·Multiple66 ····························parameterized·with·the·OPTION·attribute.·Multiple
40 ····························options·can·be·listed·by·separating·their·name·with67 ····························options·can·be·listed·by·separating·their·name·with
41 ····························a·space·(which·therefore·requires·they·be68 ····························a·space·(which·therefore·requires·they·be
42 ····························surrounded·by·quotes.)69 ····························surrounded·by·quotes.)
 70 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8F_\x8I_\x8L_\x8E·INCLUDE="include.hti"·name="Jim
 71 ····························Nelson"·email="jnelson@crl.com">
43 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ 
44 ····························"·path="/var/www/my.domain/"> 
45 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ 
46 ····························var/www/other.domain/"> 
  
47 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
48 ···························· ·the·local·filename·"logo.gif"·will·be·used·to 
49 ····························determine·image·dimensions 
50 ···························· ·(no·URL·replacement). 
  
51 ···························· ·For·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="http://72 ···························· · ·This·tag·will·fail:·<_.[_.[_.r_.e_.f_.]_.]_.U_.S_.E·name>
52 ····························my.domain.org/logo.gif"> 
53 ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" 
54 ····························will·be·used. 
  
55 ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
56 ····························other.domain.org/logo.gif"> 
57 ···························· ·the·local·file·cannot·be·found·(no·prefix·match), 
58 ····························so·the·image·dimensions 
59 ···························· ·will·not·be·added. 
  
60 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes 
61 ····························precedence: 
62 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> 
63 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ 
64 ····························test/"> 
  
65 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
66 ····························src="/test/image.gif"> are·mapped·to 
67 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ 
68 ····························image.gif,·resp. 
69 ···························· ·If·the·order·of·the·imageurl·lines·would·be 
70 ····························swapped,·the·second 
71 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ 
72 ····························image.gif. 
73 ····························htp·will·do·very·specific·checking·of·parameters73 ····························htp·will·do·very·specific·checking·of·parameters
74 ····························when·a·metatag·is·invoked.·htp·assumes·that·all74 ····························when·a·metatag·is·invoked.·htp·assumes·that·all
75 ····························parameter·options·to·the·metatag·are·optional.·This75 ····························parameter·options·to·the·metatag·are·optional.·This
Max diff block lines reached; 234/10742 bytes (2.18%) of diff not shown.
15.4 KB
./usr/share/doc/htp/expand.html
    
Offset 98, 28 lines modifiedOffset 98, 52 lines modified
98 <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code>98 <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code>
99 modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to99 modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to
100 store·something·in·a·block·macro,·that·depends·on·the·current·value·of100 store·something·in·a·block·macro,·that·depends·on·the·current·value·of
101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value
102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when
103 the·htp·tags·are·expanded:·</P>103 the·htp·tags·are·expanded:·</P>
104 ··<p><code>104 ··<p><code>
 105 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 106 <font·size="-2">&nbsp;2.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
105 <font·size="-2">&nbsp;1.·</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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>&gt;</span><br> 
106 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;h1&gt;</span><span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>&gt;</span><span·class="htp-tag">&lt;/h1&gt;</span><br> 
107 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
108 <font·size="-2">&nbsp;4.·</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>&gt;</span><br>107 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
109 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br> 
110 <font·size="-2">&nbsp;6.·</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>108 <font·size="-2">&nbsp;4.·</font>&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>
111 <font·size="-2">&nbsp;7.·</font><br> 
112 <font·size="-2">&nbsp;8.·</font>&nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br> 
113 <font·size="-2">&nbsp;9.·</font>&nbsp;·&nbsp;·This·is·a·fancy·section.<br> 
114 <font·size="-2">10.·</font>&nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br>109 <font·size="-2">&nbsp;5.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</sp[·...·truncated·by·diffoscope;·len:·3,·SHA:·0ddcf7aff04585e00de613cae0deaf12f285930477ec44b13875c78703aaac24·...·]&gt;</span><br>
 110 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 111 <font·size="-2">&nbsp;7.·</font>&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>
 112 <font·size="-2">&nbsp;8.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
 113 <font·size="-2">&nbsp;9.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
 114 <font·size="-2">10.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>&gt;</span><br>
 115 <font·size="-2">11.·</font>&nbsp;·contents·of·a:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 116 <font·size="-2">12.·</font>&nbsp;·contents·of·b:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 117 <font·size="-2">13.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 118 <font·size="-2">14.·</font>&nbsp;·&nbsp;·c·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
 119 <font·size="-2">15.·</font>&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>
 120 <font·size="-2">16.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 121 <font·size="-2">17.·</font>&nbsp;·&nbsp;·d·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 122 <font·size="-2">18.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 123 <font·size="-2">19.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>&gt;</span><br>
 124 <font·size="-2">20.·</font>&nbsp;·&nbsp;·e·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 125 <font·size="-2">21.·</font>&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>
 126 <font·size="-2">22.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>&gt;</span><br>
 127 <font·size="-2">23.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
 128 <font·size="-2">24.·</font>&nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 129 <font·size="-2">25.·</font>&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>
 130 <font·size="-2">26.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>&gt;</span><br>
 131 <font·size="-2">27.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>&gt;</span><br>
 132 <font·size="-2">28.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>&gt;</span><br>
115 </code></p>133 </code></p>
116 This·produces·the·following:134 This·produces·the·following:
117 ··<p><code>135 ··<p><code>
118 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>136 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br>
 137 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br>
 138 &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>
 139 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br>
 140 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br>
 141 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br>
 142 &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>
119 </code></p>143 </code></p>
120 <P>144 <P>
121 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a145 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a
122 are·taken·literally,·however,·the·contents·for·b·are·already·expanded146 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
123 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it147 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
124 is·used,·while·the·contents·of·b·are·already·expanded.148 is·used,·while·the·contents·of·b·are·already·expanded.
125 </P>149 </P>
5.15 KB
html2text {}
    
Offset 24, 28 lines modifiedOffset 24, 58 lines modified
24 ····························However,·if·the·block·tag·is·marked·with·the·expand24 ····························However,·if·the·block·tag·is·marked·with·the·expand
25 ····························modifier·it·is·expanded·immediately.·This·is·useful25 ····························modifier·it·is·expanded·immediately.·This·is·useful
26 ····························if·you·want·to·store·something·in·a·block·macro,26 ····························if·you·want·to·store·something·in·a·block·macro,
27 ····························that·depends·on·the·current·value·of·another·macro.27 ····························that·depends·on·the·current·value·of·another·macro.
28 ····························This·other·macro·may·no·longer·have·the·correct28 ····························This·other·macro·may·no·longer·have·the·correct
29 ····························value·when·the·macro·is·expanded.·Here·is·some·code29 ····························value·when·the·macro·is·expanded.·Here·is·some·code
30 ····························that·demonstrate·when·the·htp·tags·are·expanded:30 ····························that·demonstrate·when·the·htp·tags·are·expanded:
 31 ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="0">
31 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k_.d_.e_.f·name="section"32 ···························· 2.· ·<_.[_.[_.r_.e_.f_.]_.]_.b_.l_.o_.c_.k·name=a>
32 ····························option="title"> 
33 ···························· 2.· · <h1><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·title></h1> 
34 ···························· 3.· · <p·class="section"> 
35 ···························· 4.· · · <_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·block>33 ···························· 3.· · ·a·is·expanded·at·time·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>.
36 ···························· 5.· · </p> 
37 ···························· 6.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k_.d_.e_.f>34 ···························· 4.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>
 35 ···························· 5.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=b·expand>
 36 ···························· 6.· · ·b·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
 37 ···························· 7.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 38 ···························· 8.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="1">
 39 ···························· 9.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a>
 40 ····························10.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b>
 41 ····························11.· ·contents·of·a:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 42 ····························12.· ·contents·of·b:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·b·noexpand>
 43 ····························13.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=c·expand>
 44 ····························14.· · ·c·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 45 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a>
 46 ····························15.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 47 ····························16.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=d·expand>
 48 ····························17.· · ·d·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 49 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 50 ····························18.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 51 ····························19.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=e>
 52 ····························20.· · ·e·is·expanded·at·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>;·<_\x8[
 53 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·a·noexpand>
 54 ····························21.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k>
 55 ····························22.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·time="2">
 56 ····························23.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·name=a>
 57 ····························24.· · ·a·is·defined·for·the·2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e
38 ···························· 7.58 ····························time>.
39 ···························· 8.· ·<section·title="My·Section"> 
40 ···························· 9.· · ·This·is·a·fancy·section. 
41 ····························10.· ·</section>59 ····························25.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>
 60 ····························26.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·c>
 61 ····························27.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·d>
 62 ····························28.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·e>
42 ····························This·produces·the·following:63 ····························This·produces·the·following:
43 ····························<!---·This·comment·doesn't·appear·in·the·HTML·file64 ···························· · ·a·is·expanded·at·time·1.
 65 ···························· · ·b·is·expanded·at·time·0.
 66 ···························· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[
 67 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
 68 ···························· ·contents·of·b:· ·b·is·expanded·at·time·0.
 69 ···························· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at
44 ····························--->70 ····························time·1.
 71 ···························· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at
 72 ····························time·2.
 73 ···························· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the
 74 ····························2nd·time·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·time>.
45 ····························When·block·a·and·block·b·are·defined·in·lines·2-75 ····························When·block·a·and·block·b·are·defined·in·lines·2-
46 ····························7·the·contents·of·a·are·taken·literally,·however,76 ····························7·the·contents·of·a·are·taken·literally,·however,
47 ····························the·contents·for·b·are·already·expanded·so·the77 ····························the·contents·for·b·are·already·expanded·so·the
48 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it78 ····························macro·time·is·evaluated.·So·a·is·expanded·when·it
49 ····························is·used,·while·the·contents·of·b·are·already79 ····························is·used,·while·the·contents·of·b·are·already
50 ····························expanded.80 ····························expanded.
51 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with81 ····························In·line·10·and·12·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·tag·is·used·with
22.5 KB
./usr/share/doc/htp/file.html
    
Offset 114, 46 lines modifiedOffset 114, 76 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>
121 &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>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;<span·class="htp-tag">&lt;h1&gt;</span><span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>&gt;</span><span·class="htp-tag">&lt;/h1&gt;</span><br> 
123 &nbsp;·&nbsp;<span·class="htp-tag">&lt;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
124 &nbsp;·&nbsp;·&nbsp;<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br> 
125 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br> 
126 &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> 
127 <br> 
128 &nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br> 
129 &nbsp;·&nbsp;·This·is·a·fancy·section.<br> 
130 &nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br> 
131 </code></p>128 </code></p>
132 <h2>synopsis</h2>129 <h2>synopsis</h2>
133 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.130 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
134 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of131 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
135 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be132 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
136 added·to·the·output·file·as·well.133 added·to·the·output·file·as·well.
137 <P>134 <P>
138 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the135 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
139 following·is·perfectly·acceptable:136 following·is·perfectly·acceptable:
140 ··<p><code>137 ··<p><code>
141 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>138 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span[·...·truncated·by·diffoscope;·len:·43,·SHA:·fc7b87cd9bde85c9e638d11971602b0850a87cd5660e21a51b2fba7b64a3453b·...·]&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>·<span·class="htp-attrib">size</span>&gt;</span><br>
 140 &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>
 141 &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>
 142 &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>
 143 &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>
 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>·<span·class="htp-attrib">size</span>&gt;</span><br>
 145 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 146 &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="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&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">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br>
 150 <br>
 151 &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>
 152 <br>
 153 &nbsp;·This·will·fail:<br>
 154 &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>
 155 <br>
 156 &nbsp;·Instead,·use·*·like·this:<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>·<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>
 158 &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>
 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>
 160 &nbsp;·&nbsp;·<br>
 161 &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>
142 </code></p>162 </code></p>
143 <P>163 <P>
144 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>164 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
145 <P>165 <P>
146 To·include·information·about·another·file,·such·as·an·archive·file·or166 To·include·information·about·another·file,·such·as·an·archive·file·or
147 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the167 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
148 type·of·information·to·be·displayed:168 type·of·information·to·be·displayed:
149 ··<p><code>169 ··<p><code>
150 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br>170 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
151 &nbsp;·...<br>171 &nbsp;·&nbsp;·block·#1<br>
 172 [<br>
 173 <span·class="htp-tag">&lt;ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 174 &nbsp;·&nbsp;·block·#2<br>
 175 ...<br>
 176 ]<br>
 177 [<br>
 178 <span·class="htp-tag">&lt;ELSE&gt;</span><br>
 179 &nbsp;·&nbsp;·block·#3<br>
 180 ]<br>
152 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>&gt;</span><br>181 <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>
 182 <br>
153 </code></p>183 </code></p>
154 <P>184 <P>
155 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the185 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
156 information·is·displayed.··In·anything·other·than·byte·format,·the·information186 information·is·displayed.··In·anything·other·than·byte·format,·the·information
157 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number187 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
158 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional188 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
159 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no189 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 182, 36 lines modifiedOffset 212, 15 lines modified
182 <P>212 <P>
183 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are213 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
184 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros214 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
185 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it215 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
186 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer216 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
187 available.··So:217 available.··So:
188 ··<p><code>218 ··<p><code>
 219 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
189 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br> 
190 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br> 
191 <br> 
192 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br> 
193 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
194 &nbsp;·(no·URL·replacement).<br> 
195 <br> 
196 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br> 
197 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
198 <br> 
199 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br> 
200 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
201 &nbsp;·will·not·be·added.<br> 
202 <br> 
203 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
204 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br> 
205 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br> 
206 <br> 
207 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br> 
208 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
209 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
210 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
211 </code></p>220 </code></p>
212 <P>221 <P>
213 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included222 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
214 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the223 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
215 second·statement·will·fail.)224 second·statement·will·fail.)
216 <P>225 <P>
217 <h3><a·name="template">TEMPLATE</a></h3>226 <h3><a·name="template">TEMPLATE</a></h3>
10.2 KB
html2text {}
    
Offset 1, 39 lines modifiedOffset 1, 76 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·F\x8FI\x8IL\x8LE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="section"·option="title"> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · <h1><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·title></h1> 
6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l·················· · <p·class="section">4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· · ·a·is·expanded·at·time·1.
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·b·is·expanded·at·time·0.
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·contents·of·a:· ·a·is·expanded·at·time·<_\x8[
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · · <_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·block>7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················_.[_.r_.e_.f_.]_.]_.u_.s_.e·time>.
8  ·HTP·Tags·················· · </p> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<section·title="My·Section"> 
12  · ···_\x8D_\x8E_\x8F··················· · ·This·is·a·fancy·section. 
13  ·[>]·_.F_.I_.L_.E·················· ·</section>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>.
14  · ···_\x8I_\x8F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*15  · ···_\x8I_\x8N_.C···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
15  · ···_\x8I_\x8N_.C···················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing16  · ···_\x8I_\x8M_.G···················F\x8FI\x8IL\x8LE\x8E·has·several·optional·parameters·of·differing
16  · ···_\x8I_\x8M_\x8G···················purpose.·The·output·file's·name,·the·current·date17  · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············purpose.·The·output·file's·name,·the·current·date
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············and·time,·and·the·contents·of·another·file·may·be18  · ···_\x8O_.P_.T···················and·time,·and·the·contents·of·another·file·may·be
18  · ···_\x8O_\x8P_.T···················included.·Another·file's·time,·date,·or·size·may·be19  · ···_\x8O_\x8U_.T_.P_.U_.T················included.·Another·file's·time,·date,·or·size·may·be
19  · ···_\x8O_.U_.T_.P_.U_.T················added·to·the·output·file·as·well.20  · ···_\x8Q_.U_.O_.T_.E·················added·to·the·output·file·as·well.
20  · ···_\x8Q_.U_.O_.T_.E·················As·with·all·HTML,·these·tags·do·not·have·to·be·on21  · ···_\x8S_.E_.T···················As·with·all·HTML,·these·tags·do·not·have·to·be·on
21  · ···_\x8S_.E_.T···················their·own·line,·so·the·following·is·perfectly22  · ···_\x8U_.N_.D_.E_.F·················their·own·line,·so·the·following·is·perfectly
22  · ···_\x8U_\x8N_\x8D_.E_.F·················acceptable:23  · ···_\x8U_\x8N_\x8S_.E_.T·················acceptable:
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················<!---·This·comment·doesn't·appear·in·the·HTML·file 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················--->24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ ·<_.[_.[_.r_.e_.f_.]_.]_.D_.E_.F·NAME="HEADERIMG"·OPTION="SRC·TITLE
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················SIZE">
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· · · · ·<FONT·SIZE=${size}>
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 29  ·_\x8B_\x8u_\x8g_\x8s······················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}>
 30 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title>
 31 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size>
 32 ···························· · · · ·</FONT>
 33 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
 34 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
  
 35 ···························· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A
 36 ····························title">
  
 37 ···························· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized
 38 ····························title">
  
 39 ···························· ·This·will·fail:
 40 ···························· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"
 41 ····························TITLE="Another·title">
  
 42 ···························· ·Instead,·use·*·like·this:
 43 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*">
 44 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*>
 45 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F>
 46 ···························· · 
 47 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
25  · ···_.W_.H_.I_.L_.E·················*\x8**\x8**\x8**\x8*·N\x8NA\x8AM\x8ME\x8E,\x8,·T\x8TI\x8IM\x8ME\x8E,\x8,·S\x8SI\x8IZ\x8ZE\x8E·*\x8**\x8**\x8**\x8*48 ····························*\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*
26  · ···_.<_.!_.-_.-_.-·················To·include·information·about·another·file,·such·as49 ····························To·include·information·about·another·file,·such·as
27  ·_.H_.i_.s_.t_.o_.r_.y···················an·archive·file·or·graphic·image,·specify·its·name50 ····························an·archive·file·or·graphic·image,·specify·its·name
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················with·the·NAME·attribute·followed·by·the·type·of51 ····························with·the·NAME·attribute·followed·by·the·type·of
29  ·_.B_.u_.g_.s······················information·to·be·displayed:52 ····························information·to·be·displayed:
30 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_.f·disabled_because_xyz>53 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_.F·[NOT]·conditional>
 54 ···························· · ·block·#1
 55 ····························[
 56 ····························<ELSEIF·[NOT]·conditional>
 57 ···························· · ·block·#2
31 ···························· ·...58 ····························...
 59 ····························]
 60 ····························[
 61 ····························<ELSE>
 62 ···························· · ·block·#3
 63 ····························]
32 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_.f>64 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_.F>
  
33 ····························For·file·size·information,·the·value·BYTE,·KBYTE,65 ····························For·file·size·information,·the·value·BYTE,·KBYTE,
34 ····························etc.·dictates·how·the·information·is·displayed.·In66 ····························etc.·dictates·how·the·information·is·displayed.·In
35 ····························anything·other·than·byte·format,·the·information·is67 ····························anything·other·than·byte·format,·the·information·is
36 ····························displayed·in·floating-point·notation.·The·amount·of68 ····························displayed·in·floating-point·notation.·The·amount·of
37 ····························precision·(the·number·of·digits·to·the·right·of·the69 ····························precision·(the·number·of·digits·to·the·right·of·the
38 ····························decimal·point)·can·be·set·with·the·optional70 ····························decimal·point)·can·be·set·with·the·optional
39 ····························PRECISION·attribute.·The·default·precision·is·zero71 ····························PRECISION·attribute.·The·default·precision·is·zero
Offset 64, 49 lines modifiedOffset 101, 15 lines modified
64 ····························Additional·parameters·can·be·set·in·the·FILE101 ····························Additional·parameters·can·be·set·in·the·FILE
65 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that102 ····························INCLUDE·tag,·which·are·interpreted·as·macros·that
66 ····························are·"passed"·to·the·included·file.·The·macros·are103 ····························are·"passed"·to·the·included·file.·The·macros·are
67 ····························available·only·to·the·include·file·(and·any·macros104 ····························available·only·to·the·include·file·(and·any·macros
68 ····························or·included·files·it·holds).·After·the·file·is105 ····························or·included·files·it·holds).·After·the·file·is
69 ····························completely·included,·the·macros·are·no·longer106 ····························completely·included,·the·macros·are·no·longer
70 ····························available.·So:107 ····························available.·So:
 108 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
71 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ 
72 ····························"·path="/var/www/my.domain/"> 
73 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ 
74 ····························var/www/other.domain/"> 
  
75 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
76 ···························· ·the·local·filename·"logo.gif"·will·be·used·to 
77 ····························determine·image·dimensions 
78 ···························· ·(no·URL·replacement). 
  
79 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
80 ····························my.domain.org/logo.gif"> 
81 ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" 
82 ····························will·be·used. 
  
83 ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
84 ····························other.domain.org/logo.gif"> 
85 ···························· ·the·local·file·cannot·be·found·(no·prefix·match), 
86 ····························so·the·image·dimensions 
87 ···························· ·will·not·be·added. 
  
88 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes 
89 ····························precedence: 
90 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> 
91 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ 
92 ····························test/"> 
  
93 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
94 ····························src="/test/image.gif"> are·mapped·to 
95 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ 
96 ····························image.gif,·resp. 
97 ···························· ·If·the·order·of·the·imageurl·lines·would·be 
98 ····························swapped,·the·second 
99 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ 
Max diff block lines reached; 451/10456 bytes (4.31%) of diff not shown.
7.93 KB
./usr/share/doc/htp/if.html
    
Offset 114, 26 lines modifiedOffset 114, 37 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;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 122 &nbsp;·&nbsp;·block·#1<br>
 123 [<br>
 124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 125 &nbsp;·&nbsp;·block·#2<br>
 126 ...<br>
 127 ]<br>
 128 [<br>
 129 <span·class="htp-tag">&lt;ELSE&gt;</span><br>
 130 &nbsp;·&nbsp;·block·#3<br>
 131 ]<br>
 132 <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>
 133 <br>
122 </code></p>134 </code></p>
123 <h2>synopsis</h2>135 <h2>synopsis</h2>
124 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building136 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
125 blocks·for·conditional·processing.··The·basic·form·is·shown·above.137 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
126 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A138 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
127 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal139 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
128 string:140 string:
129 ··<p><code>141 ··<p><code>
 142 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>
 143 <br>
130 <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> 
131 &nbsp;·...<br> 
132 <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> 
133 </code></p>144 </code></p>
134 <P>145 <P>
135 and·a·defined·operator·is·a·test·of·a·macro's·existance:146 and·a·defined·operator·is·a·test·of·a·macro's·existance:
136 <P>147 <P>
137 ··<p><code>148 ··<p><code>
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br>149 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br>
139 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br>150 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br>
5.05 KB
html2text {}
    
Offset 1, 36 lines modifiedOffset 1, 47 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··············<!---·This·comment·doesn't·appear·in·the·HTML·file4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.I_.F·[NOT]·conditional>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················--->5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block·#1
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················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 
8  ·HTP·Tags··················blocks·for·conditional·processing.·The·basic·form6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················[
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················<ELSEIF·[NOT]·conditional>
 8  ·HTP·Tags·················· · ·block·#2
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············is·shown·above.9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············...
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················"Conditional"·is·either·a·"compare"·or·"is·defined" 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············operation.·A·compare·operator·is·a·test·of·the 
12  · ···_\x8D_\x8E_\x8F···················value·of·a·macro·against·a·literal·string: 
13  · ···_\x8F_.I_.L_.E··················<_.[_.[_.r_.e_.f_.]_.]_.i_.f·disabled_because_xyz>10  · ···_\x8B_.L_.O_.C_.K·················]
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············[
 12  · ···_\x8D_\x8E_\x8F···················<ELSE>
 13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·block·#3
14  ·[>]·_\x8I_\x8F···················· ·...14  ·[>]·_\x8I_\x8F····················]
15  · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_.f>15  · ···_\x8I_\x8N_\x8C···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_.F>
 16  · ···_\x8I_\x8M_\x8G
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
 18  · ···_\x8O_\x8P_\x8T···················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
 19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················blocks·for·conditional·processing.·The·basic·form
 20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················is·shown·above.
 21  · ···_\x8S_\x8E_\x8T···················"Conditional"·is·either·a·"compare"·or·"is·defined"
 22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················operation.·A·compare·operator·is·a·test·of·the
 23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················value·of·a·macro·against·a·literal·string:
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="imageurl"·[·path="path/in/
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················local/filesystem"·]>
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
16  · ···_.I_.M_.G···················and·a·defined·operator·is·a·test·of·a·macro's27  ·_.H_.i_.s_.t_.o_.r_.y···················and·a·defined·operator·is·a·test·of·a·macro's
17  · ···_.I_.M_.A_.G_.E_.U_.R_.L··············existance:28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················existance:
18  · ···_.O_.P_.T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/29  ·_.B_.u_.g_.s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/
19  · ···_.O_.U_.T_.P_.U_.T················"·path="/var/www/my.domain/">30 ····························"·path="/var/www/my.domain/">
20  · ···_.Q_.U_.O_.T_.E················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/31 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/
21  · ···_.S_.E_.T···················var/www/other.domain/">32 ····························var/www/other.domain/">
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F 
23  · ···_.U_.N_.S_.E_.T················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">33 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
24  · ···_.U_.S_.E_.,_.·_.$················ ·the·local·filename·"logo.gif"·will·be·used·to34 ···························· ·the·local·filename·"logo.gif"·will·be·used·to
25  · ···_.W_.H_.I_.L_.E·················determine·image·dimensions35 ····························determine·image·dimensions
26  · ···_.<_.!_.-_.-_.-················· ·(no·URL·replacement).36 ···························· ·(no·URL·replacement).
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y 
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://37 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
29  ·_.B_.u_.g_.s······················my.domain.org/logo.gif">38 ····························my.domain.org/logo.gif">
30 ···························· ·the·local·filename·"/var/www/my.domain/logo.gif"39 ···························· ·the·local·filename·"/var/www/my.domain/logo.gif"
31 ····························will·be·used.40 ····························will·be·used.
  
32 ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://41 ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
33 ····························other.domain.org/logo.gif">42 ····························other.domain.org/logo.gif">
34 ···························· ·the·local·file·cannot·be·found·(no·prefix·match),43 ···························· ·the·local·file·cannot·be·found·(no·prefix·match),
35 ····························so·the·image·dimensions44 ····························so·the·image·dimensions
17.1 KB
./usr/share/doc/htp/imageurl.html
    
Offset 114, 39 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>&gt;</span><br> 
122 &nbsp;OPTION="SRC·TITLE·SIZE"><br> 
123 &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 &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 &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 &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 &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 &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 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
130 &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 &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 <br> 
133 &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 <br> 
135 &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 <br>122 <br>
137 &nbsp;·This·will·fail:<br> 
138 &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 <br> 
140 &nbsp;·Instead,·use·*·like·this:<br> 
141 &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 &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 &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 &nbsp;·&nbsp;·<br> 
145 &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> 
146 </code></p>123 </code></p>
147 <h2>synopsis</h2>124 <h2>synopsis</h2>
148 <P>125 <P>
149 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local126 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local
150 file·system.··declares·an·URL·replacement·that·is·used·for127 file·system.··declares·an·URL·replacement·that·is·used·for
151 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions128 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions
152 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is129 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is
Offset 160, 36 lines modifiedOffset 137, 15 lines modified
160 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC137 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC
161 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.138 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.
162 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and139 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and
163 looked·up·in·the·current·directory.</P>140 looked·up·in·the·current·directory.</P>
164 <P>141 <P>
165 For·example:</P>142 For·example:</P>
166 ··<p><code>143 ··<p><code>
 144 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>&gt;</span><br>
167 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br> 
168 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br> 
169 <br> 
170 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br> 
171 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
172 &nbsp;·(no·URL·replacement).<br> 
173 <br> 
174 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br> 
175 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
176 <br> 
177 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br> 
178 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
179 &nbsp;·will·not·be·added.<br> 
180 <br> 
181 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
182 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br> 
183 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br> 
184 <br> 
185 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br> 
186 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
187 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
188 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
189 </code></p>145 </code></p>
190 <P>146 <P>
191 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
192 an·undefine,·and·is·removed.</P>148 an·undefine,·and·is·removed.</P>
193 <P>149 <P>
194 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
195 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an151 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
8.39 KB
html2text {}
    
Offset 1, 95 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·i="1"·j="-1">4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_.[_.[_.r_.e_.f_.]_.]_.I_.N_.C·macroname1="increment1"
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· OPTION="SRC·TITLE·SIZE"> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· · · · ·<FONT·SIZE=${size}> 
8  ·HTP·Tags·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC=pics/${src}> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8U_\x8S_\x8E·title> 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·size> 
12  · ···_\x8D_\x8E_\x8F··················· · · · ·</FONT> 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F> 
14  · ···_\x8I_\x8F···················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
15  · ···_\x8I_\x8N_\x8C 
16  · ···_\x8I_\x8M_\x8G··················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A 
17  ·[>]·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············title"> 
18  · ···_\x8O_\x8P_\x8T 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················title"> 
21  · ···_\x8S_\x8E_\x8T 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· ·This·will·fail: 
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo" 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················TITLE="Another·title"> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·Instead,·use·*·like·this: 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8D_\x8E_\x8F·NAME="MYIMG"·OPTION="SRC·*"> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8M_\x8G·SRC="pics/${src}"·$*> 
29  ·_\x8B_\x8u_\x8g_\x8s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8D_\x8E_\x8F> 
30 ···························· ·  
31 ···························· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
32 ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
33 ····························I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the8  ·HTP·Tags··················I\x8IM\x8MA\x8AG\x8GE\x8EU\x8UR\x8RL\x8L·tells·htp,·where·to·find·images·on·the
34 ····························local·file·system.·declares·an·URL·replacement·that9  · ···_.A_.L_.T_.T_.E_.X_.T···············local·file·system.·declares·an·URL·replacement·that
35 ····························is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This10  · ···_.B_.L_.O_.C_.K·················is·used·for·size·lookups·in·any·_\x8I_\x8M_\x8G·tag.·This
36 ····························definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············definitions·takes·effect·only·if·the·_\x8I_\x8M_\x8G_\x8X_\x8Y·option
37 ····························is·enabled.·Beacause·htp·can't·lookup·files·in·the12  · ···_.D_.E_.F···················is·enabled.·Beacause·htp·can't·lookup·files·in·the
38 ····························world·wide·web·you·have·to·map·absolute·image·URLs13  · ···_.F_.I_.L_.E··················world·wide·web·you·have·to·map·absolute·image·URLs
39 ····························to·a·directory·in·the·local·file·system.14  · ···_.I_.F····················to·a·directory·in·the·local·file·system.
40 ····························When·an·IMG·tag·is·encountered·where·htp·has·to15  · ···_.I_.N_.C···················When·an·IMG·tag·is·encountered·where·htp·has·to
41 ····························insert·width·and·height·the·defined·URL16  · ···_.I_.M_.G···················insert·width·and·height·the·defined·URL
42 ····························replacements·will·be·taken·into·account·(later17  ·[>]·_.I_.M_.A_.G_.E_.U_.R_.L··············replacements·will·be·taken·into·account·(later
43 ····························definitions·take·precedence·to·earlier):·For·each18  · ···_.O_.P_.T···················definitions·take·precedence·to·earlier):·For·each
44 ····························defined·imageurl·it·checks·(case-insensitive)·if·it19  · ···_.O_.U_.T_.P_.U_.T················defined·imageurl·it·checks·(case-insensitive)·if·it
45 ····························is·a·prefix·of·the·image's·SRC·attribute.·If·it20  · ···_.Q_.U_.O_.T_.E·················is·a·prefix·of·the·image's·SRC·attribute.·If·it
46 ····························matches·this·prefix·is·replaced·by·the·given·PATH.21  · ···_.S_.E_.T···················matches·this·prefix·is·replaced·by·the·given·PATH.
47 ····························If·no·IMAGEURL·matches·the·SRC·is·considered·as22  · ···_.U_.N_.D_.E_.F·················If·no·IMAGEURL·matches·the·SRC·is·considered·as
48 ····························relative·link·and·looked·up·in·the·current23  · ···_.U_.N_.S_.E_.T·················relative·link·and·looked·up·in·the·current
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················directory.
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················For·example:
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i="1"·j="-1">
49 ····························directory. 
50 ····························For·example: 
51 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ 
52 ····························"·path="/var/www/my.domain/"> 
53 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ 
54 ····························var/www/other.domain/"> 
  
55 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
56 ···························· ·the·local·filename·"logo.gif"·will·be·used·to 
57 ····························determine·image·dimensions 
58 ···························· ·(no·URL·replacement). 
  
59 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
60 ····························my.domain.org/logo.gif"> 
61 ···························· ·the·local·filename·"/var/www/my.domain/logo.gif" 
62 ····························will·be·used. 
  
63 ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
64 ····························other.domain.org/logo.gif"> 
65 ···························· ·the·local·file·cannot·be·found·(no·prefix·match), 
66 ····························so·the·image·dimensions 
67 ···························· ·will·not·be·added. 
  
68 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes 
69 ····························precedence: 
70 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> 
71 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ 
72 ····························test/"> 
  
73 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
74 ····························src="/test/image.gif"> are·mapped·to 
75 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ 
76 ····························image.gif,·resp. 
77 ···························· ·If·the·order·of·the·imageurl·lines·would·be 
78 ····························swapped,·the·second 
79 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ 
80 ····························image.gif. 
81 ····························If·IMAGEURL·is·specified·with·a·URL·but·no·PATH27  ·_.H_.i_.s_.t_.o_.r_.y···················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH
82 ····························attribute,·it·is·treated·as·an·undefine,·and·is28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················attribute,·it·is·treated·as·an·undefine,·and·is
83 ····························removed.29  ·_.B_.u_.g_.s······················removed.
84 ····························Since·you·usually·need·the·url·mapping·for·a·number30 ····························Since·you·usually·need·the·url·mapping·for·a·number
85 ····························of·images·used·throughout·a·set·of·documents,31 ····························of·images·used·throughout·a·set·of·documents,
86 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e32 ····························IMAGEURL·is·most·appropriately·put·into·an·_\x8i_\x8n_\x8c_\x8l_\x8u_\x8d_\x8e
87 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.33 ····························_\x8f_\x8i_\x8l_\x8e·or·the·_\x8h_\x8t_\x8p_\x8._\x8d_\x8e_\x8f·file.
88 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also34 ····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also
89 ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to35 ····························(semi-)automatically·add·an·_\x8A_\x8L_\x8T_\x8·_\x8t_\x8e_\x8x_\x8t·attribute·to
90 ····························_\x8I_\x8M_\x8G·tags.36 ····························_\x8I_\x8M_\x8G·tags.
6.48 KB
./usr/share/doc/htp/img.html
    
Offset 114, 21 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <br> 
123 font"><br> 
124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
125 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
126 <br> 
127 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
128 </code></p>122 </code></p>
129 <h2>synopsis</h2>123 <h2>synopsis</h2>
130 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified124 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified
131 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage125 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage
132 of·not·having·to·determine·each·image's·size·manually,·which·is·especially126 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
133 useful·if·the·image·may·change·frequently.·</P>127 useful·if·the·image·may·change·frequently.·</P>
134 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup128 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup
4.69 KB
html2text {}
    
Offset 1, 43 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\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·I\x8IM\x8MG\x8G·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
 4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·name="Jim">...<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8I_\x8F>
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·macroname1="increment1" 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="increment2"·...·]·[GLOBAL]> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················font"> 
8  ·HTP·Tags·················· · ·</font> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<bigfont>Some·large·text</bigfont> 
12  · ···_.D_.E_.F···················*\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···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
13  · ···_.F_.I_.L_.E··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the6  ·_.T_.u_.t_.o_.r_.i_.a_.l··················i\x8im\x8mg\x8g·is·a·standard·HTML·tag.·htp·can·add·the
14  · ···_.I_.F····················specified·image's·width·and·height·to·the·tag7  ·_.U_.s_.a_.g_.e·····················specified·image's·width·and·height·to·the·tag
15  · ···_.I_.N_.C···················automatically.·This·has·the·advantage·of·not·having8  ·HTP·Tags··················automatically.·This·has·the·advantage·of·not·having
16  ·[>]·_.I_.M_.G···················to·determine·each·image's·size·manually,·which·is9  · ···_.A_.L_.T_.T_.E_.X_.T···············to·determine·each·image's·size·manually,·which·is
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············especially·useful·if·the·image·may·change10  · ···_\x8B_.L_.O_.C_.K·················especially·useful·if·the·image·may·change
18  · ···_\x8O_.P_.T···················frequently.11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············frequently.
19  · ···_\x8O_.U_.T_.P_.U_.T················htp·adds·this·information·with·the·WIDTH·and·HEIGHT12  · ···_\x8D_.E_.F···················htp·adds·this·information·with·the·WIDTH·and·HEIGHT
20  · ···_\x8Q_.U_.O_.T_.E·················markup·attributes.·If·htp·detects·these·attributes13  · ···_\x8F_.I_.L_.E··················markup·attributes.·If·htp·detects·these·attributes
21  · ···_\x8S_.E_.T···················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify14  · ···_\x8I_.F····················are·already·present·in·the·tag,·it·will·n\x8no\x8ot\x8t·modify
22  · ···_\x8U_.N_.D_.E_.F·················the·values.·If·htp·cannot·find·the·image·file,·it15  · ···_\x8I_.N_.C···················the·values.·If·htp·cannot·find·the·image·file,·it
23  · ···_.U_.N_.S_.E_.T·················will·issue·a·warning·but·not·halt·processing.16  ·[>]·_.I_.M_.G···················will·issue·a·warning·but·not·halt·processing.
24  · ···_\x8U_.S_.E_.,_.·_.$················At·this·time,·GIF·(Graphic·Interchange·Format),·PNG17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············At·this·time,·GIF·(Graphic·Interchange·Format),·PNG
25  · ···_\x8W_.H_.I_.L_.E·················(Portable·Network·Graphics),·and·JFIF·(JPEG·File18  · ···_\x8O_.P_.T···················(Portable·Network·Graphics),·and·JFIF·(JPEG·File
26  · ···_\x8<_.!_.-_.-_.-·················Interchange·Format)·are·supported.19  · ···_\x8O_.U_.T_.P_.U_.T················Interchange·Format)·are·supported.
27  ·_.H_.i_.s_.t_.o_.r_.y···················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or20  · ···_.Q_.U_.O_.T_.E·················The·_\x8I_\x8M_\x8G_\x8X_\x8Y_\x8·_\x8a_\x8n_\x8d_\x8·_\x8N_\x8O_\x8I_\x8M_\x8G_\x8X_\x8Y·options·control·whether·or
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················not·htp·actually·adds·this·information·as·it21  · ···_.S_.E_.T···················not·htp·actually·adds·this·information·as·it
29  ·_.B_.u_.g_.s······················executes.22  · ···_.U_.N_.D_.E_.F·················executes.
30 ····························Since·htp·is·able·to·lookup·files·only·in·the·local23  · ···_.U_.N_.S_.E_.T·················Since·htp·is·able·to·lookup·files·only·in·the·local
31 ····························filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map24  · ···_.U_.S_.E_.,_.·_.$················filesystem,·the·_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·tag·may·be·used·to·map
32 ····························URLs·to·local·files.25  · ···_.W_.H_.I_.L_.E·················URLs·to·local·files.
33 ····························htp·can·also·add·default·ALT·text·to·IMG·tags·using26  · ···_.<_.!_.-_.-_.-·················htp·can·also·add·default·ALT·text·to·IMG·tags·using
34 ····························_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T. 
  
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T.
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
11.7 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 31 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="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br> 
122 &nbsp;·...<br> 
123 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>&gt;</span><br> 
124 </code></p> 
125 <h2>synopsis</h2> 
126 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a 
127 variable·or·for·variable·addition.··The·basic·form·is·shown·above. 
128 <P> 
129 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a 
130 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The 
131 macroname·must·be·the·name·of·a·defined·macro·that·contains·an 
132 integer.··If·the·increment·is·ommitted·it·defaults·to·1. 
133 The·effect·of·this·operation·is·that·the·macro·is·redefined 
134 to·contain·the·sum·of·its·previous·value·and·its·increment. 
135 <P> 
136 To·increment·or·decrement·a·variable·you·can·use·this·form: 
137 ··<p><code> 
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br>121 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br>
139 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br>122 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br>
140 <br>123 <br>
141 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>124 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
142 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>125 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
143 &nbsp;·(no·URL·replacement).<br>126 &nbsp;·(no·URL·replacement).<br>
144 <br>127 <br>
Offset 154, 14 lines modifiedOffset 137, 29 lines modified
154 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br>137 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br>
155 <br>138 <br>
156 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br>139 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br>
157 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>140 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
158 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>141 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
159 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>142 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
160 </code></p>143 </code></p>
 144 <h2>synopsis</h2>
 145 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
 146 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
 147 <P>
 148 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
 149 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
 150 macroname·must·be·the·name·of·a·defined·macro·that·contains·an
 151 integer.··If·the·increment·is·ommitted·it·defaults·to·1.
 152 The·effect·of·this·operation·is·that·the·macro·is·redefined
 153 to·contain·the·sum·of·its·previous·value·and·its·increment.
 154 <P>
 155 To·increment·or·decrement·a·variable·you·can·use·this·form:
 156 ··<p><code>
 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">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>&gt;</span><br>
 158 </code></p>
161 <p>159 <p>
162 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It160 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It
163 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer161 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer
164 values·are·limited·to·the·range·-2^31..2^31.162 values·are·limited·to·the·range·-2^31..2^31.
165 <P>163 <P>
166 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.164 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.
167 The·INC·tag·is·useful·in·conjunction·with·WHILE·to·iterate·over·the165 The·INC·tag·is·useful·in·conjunction·with·WHILE·to·iterate·over·the
7.25 KB
html2text {}
    
Offset 1, 62 lines modifiedOffset 1, 60 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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]_\x8i_\x8f·disabled_because_xyz> 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· ·... 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8i_\x8f> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* 
8  ·HTP·Tags··················The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············variable·or·for·variable·addition.·The·basic·form 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················is·shown·above. 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············The·"increment"·is·anything·that·evaluates·to·a 
12  · ···_\x8D_\x8E_\x8F···················integer.·It·can·be·a·literal·string·or·a·macro 
13  · ···_\x8F_\x8I_\x8L_\x8E··················preceeded·by·the·'$'-operator.·The·macroname·must 
14  · ···_\x8I_\x8F····················be·the·name·of·a·defined·macro·that·contains·an 
15  ·[>]·_\x8I_\x8N_\x8C···················integer.·If·the·increment·is·ommitted·it·defaults 
16  · ···_\x8I_\x8M_\x8G···················to·1.·The·effect·of·this·operation·is·that·the 
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············macro·is·redefined·to·contain·the·sum·of·its 
18  · ···_\x8O_\x8P_\x8T···················previous·value·and·its·increment. 
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················To·increment·or·decrement·a·variable·you·can·use 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················this·form: 
21  · ···_.S_.E_.T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/4  ·_.I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/
22  · ···_.U_.N_.D_.E_.F·················"·path="/var/www/my.domain/">5  ·_.L_.i_.c_.e_.n_.s_.e···················"·path="/var/www/my.domain/">
23  · ···_.U_.N_.S_.E_.T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/6  ·_.T_.u_.t_.o_.r_.i_.a_.l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/
24  · ···_.U_.S_.E_.,_.·_.$················var/www/other.domain/">7  ·_.U_.s_.a_.g_.e·····················var/www/other.domain/">
25  · ···_.W_.H_.I_.L_.E8  ·HTP·Tags
26  · ···_\x8<_.!_.-_.-_.-················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">9  · ···_\x8A_.L_.T_.T_.E_.X_.T··············· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif">
27  ·_.H_.i_.s_.t_.o_.r_.y··················· ·the·local·filename·"logo.gif"·will·be·used·to10  · ···_.B_.L_.O_.C_.K················· ·the·local·filename·"logo.gif"·will·be·used·to
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················determine·image·dimensions11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············determine·image·dimensions
29  ·_.B_.u_.g_.s······················ ·(no·URL·replacement).12  · ···_.D_.E_.F··················· ·(no·URL·replacement).
 13  · ···_\x8F_\x8I_\x8L_\x8E
30 ···························· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://14  · ···_.I_.F···················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
31 ····························my.domain.org/logo.gif">15  ·[>]·_.I_.N_.C···················my.domain.org/logo.gif">
32 ···························· ·the·local·filename·"/var/www/my.domain/logo.gif"16  · ···_.I_.M_.G··················· ·the·local·filename·"/var/www/my.domain/logo.gif"
33 ····························will·be·used. 
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············will·be·used.
 18  · ···_\x8O_\x8P_\x8T
34 ···························· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://19  · ···_.O_.U_.T_.P_.U_.T················ ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http://
35 ····························other.domain.org/logo.gif">20  · ···_.Q_.U_.O_.T_.E·················other.domain.org/logo.gif">
36 ···························· ·the·local·file·cannot·be·found·(no·prefix·match),21  · ···_.S_.E_.T··················· ·the·local·file·cannot·be·found·(no·prefix·match),
37 ····························so·the·image·dimensions22  · ···_.U_.N_.D_.E_.F·················so·the·image·dimensions
38 ···························· ·will·not·be·added.23  · ···_.U_.N_.S_.E_.T················· ·will·not·be·added.
 24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
39 ···························· ·Order·is·important;·last·IMAGEURL·tag·takes25  · ···_.W_.H_.I_.L_.E················· ·Order·is·important;·last·IMAGEURL·tag·takes
40 ····························precedence:26  · ···_.<_.!_.-_.-_.-·················precedence:
41 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/">27  ·_.H_.i_.s_.t_.o_.r_.y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/">
42 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/
43 ····························test/">29  ·_.B_.u_.g_.s······················test/">
  
44 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g30 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
45 ····························src="/test/image.gif"> are·mapped·to31 ····························src="/test/image.gif"> are·mapped·to
46 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/32 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/
47 ····························image.gif,·resp.33 ····························image.gif,·resp.
48 ···························· ·If·the·order·of·the·imageurl·lines·would·be34 ···························· ·If·the·order·of·the·imageurl·lines·would·be
49 ····························swapped,·the·second35 ····························swapped,·the·second
50 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/36 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/
51 ····························image.gif.37 ····························image.gif.
 38 ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
 39 ····························The·I\x8IN\x8NC\x8C·can·be·used·for·incrementing/decrementing·a
 40 ····························variable·or·for·variable·addition.·The·basic·form
 41 ····························is·shown·above.
 42 ····························The·"increment"·is·anything·that·evaluates·to·a
 43 ····························integer.·It·can·be·a·literal·string·or·a·macro
 44 ····························preceeded·by·the·'$'-operator.·The·macroname·must
 45 ····························be·the·name·of·a·defined·macro·that·contains·an
 46 ····························integer.·If·the·increment·is·ommitted·it·defaults
 47 ····························to·1.·The·effect·of·this·operation·is·that·the
 48 ····························macro·is·redefined·to·contain·the·sum·of·its
 49 ····························previous·value·and·its·increment.
 50 ····························To·increment·or·decrement·a·variable·you·can·use
 51 ····························this·form:
 52 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i="1"·j="-1">
52 ····························Note·that·INC·doesn't·check·if·the·strings·really53 ····························Note·that·INC·doesn't·check·if·the·strings·really
53 ····························denote·integers.·It·may·give·weired·results·when54 ····························denote·integers.·It·may·give·weired·results·when
54 ····························used·on·arbitrary·strings.·The·integer·values·are55 ····························used·on·arbitrary·strings.·The·integer·values·are
55 ····························limited·to·the·range·-2^31..2^31.56 ····························limited·to·the·range·-2^31..2^31.
56 ····························Note·further·that·htp·wasn't·designed·to·do57 ····························Note·further·that·htp·wasn't·designed·to·do
57 ····························extensive·calculations.·The·INC·tag·is·useful·in58 ····························extensive·calculations.·The·INC·tag·is·useful·in
58 ····························conjunction·with·WHILE·to·iterate·over·the·defined59 ····························conjunction·with·WHILE·to·iterate·over·the·defined
24.2 KB
./usr/share/doc/htp/metatag.html
    
Offset 88, 36 lines modifiedOffset 88, 27 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>&nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br> 
96 <font·size="-2">&nbsp;2.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br> 
97 <font·size="-2">&nbsp;3.·</font><br>95 <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">"imghr"</span>&gt;</span><br>
 96 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 97 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br>
 98 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 99 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>&gt;</span>&amp;nbsp;<span·class="htp-tag">&lt;/td&gt;</span><br>
 100 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br>
 101 <font·size="-2">&nbsp;7.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br>
 102 <font·size="-2">&nbsp;8.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br>
98 <font·size="-2">&nbsp;4.·</font>&nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>103 <font·size="-2">&nbsp;9.·</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>
99 <font·size="-2">&nbsp;5.·</font>&nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
100 <font·size="-2">&nbsp;6.·</font>&nbsp;·(no·URL·replacement).<br> 
101 <font·size="-2">&nbsp;7.·</font><br> 
102 <font·size="-2">&nbsp;8.·</font>&nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br> 
103 <font·size="-2">&nbsp;9.·</font>&nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
104 <font·size="-2">10.·</font><br>104 <font·size="-2">10.·</font><br>
105 <font·size="-2">11.·</font>&nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br> 
106 <font·size="-2">12.·</font>&nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
107 <font·size="-2">13.·</font>&nbsp;·will·not·be·added.<br> 
108 <font·size="-2">14.·</font><br>105 <font·size="-2">11.·</font>&nbsp;paragraph<br>
 106 <font·size="-2">12.·</font>&nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br>
109 <font·size="-2">15.·</font>&nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
110 <font·size="-2">16.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br> 
111 <font·size="-2">17.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br> 
112 <font·size="-2">18.·</font><br>107 <font·size="-2">13.·</font>&nbsp;paragraph<br>
113 <font·size="-2">19.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br> 
114 <font·size="-2">20.·</font>&nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
115 <font·size="-2">21.·</font>&nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
116 <font·size="-2">22.·</font>&nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
117 </code></p>108 </code></p>
118 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.109 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.
119 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.110 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.
120 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and111 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and
121 <code>/def</code></a>·tags.··You·don't·have·to·understand·this112 <code>/def</code></a>·tags.··You·don't·have·to·understand·this
122 html·code,·but·you·should·understand·that·this·is·just·pure·html·to113 html·code,·but·you·should·understand·that·this·is·just·pure·html·to
123 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>114 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>
Offset 127, 38 lines modifiedOffset 118, 44 lines modified
127 file</a>.··</p>118 file</a>.··</p>
128 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing119 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing
129 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp120 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp
130 encounters·a·blockdef·tag·it·will·automatically·search·for·the121 encounters·a·blockdef·tag·it·will·automatically·search·for·the
131 matching·closing·tag·and·put·everything·between·these·tags·in·a·block122 matching·closing·tag·and·put·everything·between·these·tags·in·a·block
132 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>123 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>
133 ··<p><code>124 ··<p><code>
 125 <font·size="-2">&nbsp;1.·</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>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br>
 126 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br>
 127 <font·size="-2">&nbsp;3.·</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">block</span>&gt;</span><br>
 128 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br>
134 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br>129 <font·size="-2">&nbsp;5.·</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>
135 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br> 
136 <font·size="-2">&nbsp;3.·</font><br>130 <font·size="-2">&nbsp;6.·</font><br>
 131 <font·size="-2">&nbsp;7.·</font>&nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br>
137 </code></p>132 </code></p>
138 <h2>Using·parameters</h2>133 <h2>Using·parameters</h2>
139 <p>·More·sophisticated·tags·accept·parameters.··The134 <p>·More·sophisticated·tags·accept·parameters.··The
140 <code>option</code>·parameter·lets·multiple·metatag·parameters·be135 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
141 named·and·expanded·inside·the·<code>def</code>·or136 named·and·expanded·inside·the·<code>def</code>·or
142 <code>blockdef</code>·block:·</p>137 <code>blockdef</code>·block:·</p>
143 ··<p><code>138 ··<p><code>
 139 <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">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br>
 140 <font·size="-2">&nbsp;2.·</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">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br>
144 <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>&gt;</span><br>141 <font·size="-2">&nbsp;3.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 142 <font·size="-2">&nbsp;4.·</font><br>
 143 <font·size="-2">&nbsp;5.·</font>&nbsp;·<span·class="htp-tag">&lt;sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>&gt;</span><br>
145 </code></p>144 </code></p>
146 <h2>Saving·blocks·for·later</h2>145 <h2>Saving·blocks·for·later</h2>
147 <p>When·you·are·using·templates,·the·html·should·only·be·written·by146 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
148 the·template·file.··The·normal·htp·files·should·just·define·macros147 the·template·file.··The·normal·htp·files·should·just·define·macros
149 that·are·used·later·in·the·template.··So·you·may·want·to·write·block148 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
150 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this149 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
151 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to150 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
152 do·this:</p>151 do·this:</p>
153 ··<p><code>152 ··<p><code>
154 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>153 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="htp-attrib">[ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class=[·...·truncated·by·diffoscope;·len:·17,·SHA:·caad84c8bc3777dc8199258e880f877b9b82b192a94413c7375c9beda919cf50·...·]</span>&gt;</span><br>
155 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>154 <font·size="-2">&nbsp;2.·</font><br>
156 <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;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> 
158 </code></p>155 </code></p>
159 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a156 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
160 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is157 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
161 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is158 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
162 build·from·this·counter.··So·the·first·section·is·stored·in·block159 build·from·this·counter.··So·the·first·section·is·stored·in·block
163 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>·flag160 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
164 in·line·4·tells·htp·that·these·macros·should·be·defined·globally161 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
Offset 177, 16 lines modifiedOffset 174, 15 lines modified
177 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be174 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be
178 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the175 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the
179 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you176 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you
180 use·expand·in·a·block·around·it.</p>177 use·expand·in·a·block·around·it.</p>
181 <p>To·close·this·example·we·show·how·to·expand·the178 <p>To·close·this·example·we·show·how·to·expand·the
182 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>179 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>
183 ··<p><code>180 ··<p><code>
 181 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
184 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
185 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
186 </code></p>182 </code></p>
187 <p>183 <p>
188 The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether184 The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether
189 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is185 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is
190 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards186 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards
191 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This187 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This
192 repeats·until·sect-${sect-ctr}·is·not·defined.188 repeats·until·sect-${sect-ctr}·is·not·defined.
9.65 KB
html2text {}
    
Offset 9, 50 lines modifiedOffset 9, 31 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]_\x8d_\x8e_\x8f·name="imghr">
 17 ···························· 2.· · <table·border="0"·cellspacing="0"
 18 ····························cellpadding="0">
16  ·_\x8B_\x8u_\x8g_\x8s······················ 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ 
17 ····························"·path="/var/www/my.domain/"> 
18 ···························· 2.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/ 
19 ····························"·path="/var/www/other.domain/"> 
20 ···························· 3.19 ···························· 3.· · <tr>
21 ···························· 4.· ·For·this·line:·<_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g·src="logo.gif">20 ···························· 4.· · ·<td·width=10><_.[_.[_.r_.e_.f_.]_.]_.i_.m_.g
22 ···························· 5.· ·the·local·filename·"logo.gif"·will·be·used·to 
23 ····························determine·image·dimensions 
24 ···························· 6.· ·(no·URL·replacement).21 ····························src="leftsep.png"></td>
 22 ···························· 5.· · ·<td·width="95%"
 23 ····························background="midsep.png">&nbsp;</td>
 24 ···························· 6.· · ·<td·width=10><_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g
 25 ····························src="rightsep.png"></td>
25 ···························· 7.26 ···························· 7.· · </tr>
 27 ···························· 8.· · </table>
 28 ···························· 9.· <_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
26 ···························· 8.· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
27 ····························my.domain.org/logo.gif"> 
28 ···························· 9.· ·the·local·filename·"/var/www/my.domain/ 
29 ····························logo.gif"·will·be·used. 
30 ····························10.29 ····························10.
 30 ····························11.· paragraph
31 ····························11.· ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
32 ····························other.domain.org/logo.gif"> 
33 ····························12.· ·the·local·file·cannot·be·found·(no·prefix 
34 ····························match),·so·the·image·dimensions 
35 ····························13.· ·will·not·be·added. 
36 ····························14.31 ····························12.· <imghr>
37 ····························15.· ·Order·is·important;·last·IMAGEURL·tag·takes 
38 ····························precedence: 
39 ····························16.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/ 
40 ····························htdocs/"> 
41 ····························17.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ 
42 ····························test/"> 
43 ····························18.32 ····························13.· paragraph
44 ····························19.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
45 ····························src="/test/image.gif"> are·mapped·to 
46 ····························20.· ·/var/www/htdocs/image.gif·and·/var/www/test/ 
47 ····························image.gif,·resp. 
48 ····························21.· ·If·the·order·of·the·imageurl·lines·would·be 
49 ····························swapped,·the·second 
50 ····························22.· ·image·would·be·mapped·to·/var/www/htdocs/ 
51 ····························test/image.gif. 
52 ····························In·line·1·of·the·above·example·a·new·tag·named33 ····························In·line·1·of·the·above·example·a·new·tag·named
53 ····························imghr·is·defined.·The·html·code·which·implements34 ····························imghr·is·defined.·The·html·code·which·implements
54 ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[35 ····························this·rule·is·following·in·lines·2-8.·between·the·_\x8[
55 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to36 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f_\x8·_\x8a_\x8n_\x8d_\x8·_\x8/_\x8d_\x8e_\x8f·tags.·You·don't·have·to
56 ····························understand·this·html·code,·but·you·should37 ····························understand·this·html·code,·but·you·should
57 ····························understand·that·this·is·just·pure·html·to·draw·the38 ····························understand·that·this·is·just·pure·html·to·draw·the
58 ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line39 ····························fancy·rule.·Every·time·you·write·<imghr>·as·in·line
Offset 63, 35 lines modifiedOffset 44, 45 lines modified
63 ····························Often·you·want·to·define·tags·that·have·an·opening44 ····························Often·you·want·to·define·tags·that·have·an·opening
64 ····························and·a·closing·variant.·For·this·purpose·you·should45 ····························and·a·closing·variant.·For·this·purpose·you·should
65 ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a46 ····························use·the·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·tag.·When·htp·encounters·a
66 ····························blockdef·tag·it·will·automatically·search·for·the47 ····························blockdef·tag·it·will·automatically·search·for·the
67 ····························matching·closing·tag·and·put·everything·between48 ····························matching·closing·tag·and·put·everything·between
68 ····························these·tags·in·a·block·macro·named·block.·Here·is·an49 ····························these·tags·in·a·block·macro·named·block.·Here·is·an
69 ····························example·for·this.50 ····························example·for·this.
 51 ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f·name="bolditalic">
 52 ···························· 2.· · ·<b><i>
70 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·macroname>53 ···························· 3.· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.s_.e·block>
71 ···························· 2.·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·macroname1·macroname2·...·>54 ···························· 4.· · ·</i></b>
 55 ···························· 5.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8b_\x8l_\x8o_\x8c_\x8k_\x8d_\x8e_\x8f>
72 ···························· 3.56 ···························· 6.
 57 ···························· 7.· ·This·is·<bolditalic>bold·and·italic</
 58 ····························bolditalic>
73 ····························*\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*59 ····························*\x8**\x8**\x8**\x8**\x8*·U\x8Us\x8si\x8in\x8ng\x8g·p\x8pa\x8ar\x8ra\x8am\x8me\x8et\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8*
74 ····························More·sophisticated·tags·accept·parameters.·The60 ····························More·sophisticated·tags·accept·parameters.·The
75 ····························option·parameter·lets·multiple·metatag·parameters61 ····························option·parameter·lets·multiple·metatag·parameters
76 ····························be·named·and·expanded·inside·the·def·or·blockdef62 ····························be·named·and·expanded·inside·the·def·or·blockdef
77 ····························block:63 ····························block:
 64 ···························· 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8d_\x8e_\x8f·name="sharedimg"·option="name
 65 ····························alt">
 66 ···························· 2.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/$
 67 ····························{name}"·alt="${alt}">;
78 ···························· 1.· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr>68 ···························· 3.· ·<_.[_.[_.r_.e_.f_.]_.]_./_.d_.e_.f>
 69 ···························· 4.
 70 ···························· 5.· ·<sharedimg·name="bubble.gif"·alt="Bubble
 71 ····························image">
79 ····························*\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*72 ····························*\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*
80 ····························When·you·are·using·templates,·the·html·should·only73 ····························When·you·are·using·templates,·the·html·should·only
81 ····························be·written·by·the·template·file.·The·normal·htp74 ····························be·written·by·the·template·file.·The·normal·htp
82 ····························files·should·just·define·macros·that·are·used·later75 ····························files·should·just·define·macros·that·are·used·later
83 ····························in·the·template.·So·you·may·want·to·write·block76 ····························in·the·template.·So·you·may·want·to·write·block
84 ····························tags·that·just·save·the·block·in·a·macro·for·later77 ····························tags·that·just·save·the·block·in·a·macro·for·later
85 ····························use.·Although·this·is·possible·with·htp·it·is·quite78 ····························use.·Although·this·is·possible·with·htp·it·is·quite
86 ····························tricky,·so·here·we·present·the·way·to·do·this:79 ····························tricky,·so·here·we·present·the·way·to·do·this:
87 ···························· 1.· ·<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·NOT·i="10">80 ···························· 1.·<_.[_.[_.r_.e_.f_.]_.]_.Q_.U_.O_.T_.E·TAG·[ATTRIBUTE=VALUE·...]>
88 ···························· 2.· · ·...81 ···························· 2.
89 ···························· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i> 
90 ···························· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
91 ····························This·defines·a·block·macro·named·section.·This82 ····························This·defines·a·block·macro·named·section.·This
92 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the83 ····························macro·uses·a·counter·sect-ctr·that·enumerates·the
93 ····························sections.·It·is·increased·for·every·section·(line84 ····························sections.·It·is·increased·for·every·section·(line
94 ····························3)·and·then·the·block·macro·name·is·build·from·this85 ····························3)·and·then·the·block·macro·name·is·build·from·this
95 ····························counter.·So·the·first·section·is·stored·in·block86 ····························counter.·So·the·first·section·is·stored·in·block
96 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[87 ····························sect-1,·the·second·in·sect-2·and·so·on.·The·_\x8[
97 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these88 ····························_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8g_\x8l_\x8o_\x8b_\x8a_\x8l·flag·in·line·4·tells·htp·that·these
Offset 114, 17 lines modifiedOffset 105, 15 lines modified
114 ····························block·to·be·expanded·twice.·If·you·omit·it,·it105 ····························block·to·be·expanded·twice.·If·you·omit·it,·it
115 ····························would·be·expanded·when·defining·the·sect-1·macro106 ····························would·be·expanded·when·defining·the·sect-1·macro
116 ····························and·when·using·it·later·in·the·template.·Generally107 ····························and·when·using·it·later·in·the·template.·Generally
117 ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use108 ····························it·is·a·good·idea·to·use·noexpand·whenever·you·use
118 ····························expand·in·a·block·around·it.109 ····························expand·in·a·block·around·it.
119 ····························To·close·this·example·we·show·how·to·expand·the110 ····························To·close·this·example·we·show·how·to·expand·the
120 ····························sect-${sect-ctr}·blocks·in·the·template:111 ····························sect-${sect-ctr}·blocks·in·the·template:
 112 ···························· 1.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_\x8E_\x8T·emailaddr="jnelson@crl.com">
121 ···························· 1.·<a·href="mailto:$email">mailto·hyperlink</a> 
122 ···························· 2.·<a·href="http://$domain/~${username}/">another 
123 ····························hyperlink</a> 
124 ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the113 ····························The·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8w_\x8h_\x8i_\x8l_\x8e·tag·in·line·3·checks·whether·the
125 ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined114 ····························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined
126 ····························the·body·is·evaluated,·which·expands·the·macro·and115 ····························the·body·is·evaluated,·which·expands·the·macro·and
127 ····························increases·sect-ctr.·Afterwards·the·while·condition116 ····························increases·sect-ctr.·Afterwards·the·while·condition
128 ····························is·checked·again·to·check·for·sect-2·macro.·This117 ····························is·checked·again·to·check·for·sect-2·macro.·This
129 ····························repeats·until·sect-${sect-ctr}·is·not·defined.118 ····························repeats·until·sect-${sect-ctr}·is·not·defined.
130 ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8*119 ····························*\x8**\x8**\x8**\x8**\x8*·C\x8Co\x8on\x8nc\x8cl\x8lu\x8us\x8si\x8io\x8on\x8ns\x8s·*\x8**\x8**\x8**\x8**\x8*
Max diff block lines reached; -1/9856 bytes (-0.01%) of diff not shown.
9.53 KB
./usr/share/doc/htp/opt.html
    
Offset 114, 36 lines modifiedOffset 114, 19 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br> 
122 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/w[·...·truncated·by·diffoscope;·len:·16,·SHA:·2507bbf09d5c34d49840355157a59549556963797ad9ea32c6a36632f75465ea·...·]"</span>&gt;</span><br>121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br>
 122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br>
 123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
123 <br>124 <br>
 125 &nbsp;·<span·class="htp-tag">&lt;sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>&gt;</span><br>
124 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br> 
125 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
126 &nbsp;·(no·URL·replacement).<br> 
127 <br> 
128 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br> 
129 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
130 <br> 
131 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br> 
132 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
133 &nbsp;·will·not·be·added.<br> 
134 <br> 
135 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
136 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br> 
137 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br> 
138 <br> 
139 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br> 
140 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
141 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
142 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
143 </code></p>126 </code></p>
144 <h2>synopsis</h2>127 <h2>synopsis</h2>
145 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing128 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing
146 options·inside·the·actual·document·being·processed.··The·options·are129 options·inside·the·actual·document·being·processed.··The·options·are
147 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not130 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not
148 preceded·by·a·&lsquo;-&rsquo;·character.131 preceded·by·a·&lsquo;-&rsquo;·character.
149 <P>132 <P>
4.83 KB
html2text {}
    
Offset 1, 65 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:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OP\x8PT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="http://my.domain.org/ 
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················"·path="/var/www/my.domain/"> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l·················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="other.domain.org/"·path="/ 
7  ·_\x8U_.s_.a_.g_.e·····················var/www/other.domain/">4  ·_\x8I_.n_.t_.r_.o_.d_.u_.c_.t_.i_.o_.n·············· ·<_.[_.[_.r_.e_.f_.]_.]_.d_.e_.f·name="sharedimg"·option="name·alt">
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/home/sharedimages/${name}"
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················alt="${alt}">;
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e····················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f>
8  ·HTP·Tags8  ·HTP·Tags
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T··············· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="logo.gif"> 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K················· ·the·local·filename·"logo.gif"·will·be·used·to 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············determine·image·dimensions 
12  · ···_\x8D_\x8E_\x8F··················· ·(no·URL·replacement). 
13  · ···_\x8F_\x8I_\x8L_\x8E 
14  · ···_\x8I_\x8F···················· ·For·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
15  · ···_\x8I_\x8N_\x8C···················my.domain.org/logo.gif"> 
16  · ···_\x8I_\x8M_\x8G··················· ·the·local·filename·"/var/www/my.domain/logo.gif" 
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············will·be·used.9  · ···_\x8A_.L_.T_.T_.E_.X_.T··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image">
 10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
 11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify
 12  · ···_\x8D_\x8E_\x8F···················processing·options·inside·the·actual·document·being
 13  · ···_\x8F_\x8I_\x8L_\x8E··················processed.·The·options·are·used·exactly·as·they
 14  · ···_\x8I_\x8F····················would·be·on·the·command-line,·although·they·are·not
 15  · ···_\x8I_\x8N_\x8C···················preceded·by·a·‘-’·character.
 16  · ···_\x8I_\x8M_\x8G···················Click·here·for·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8n_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p.
18  ·[>]·_\x8O_\x8P_\x8T18  ·[>]·_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ ·But·for·this·line:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="http:// 
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················other.domain.org/logo.gif"> 
21  · ···_\x8S_\x8E_\x8T··················· ·the·local·file·cannot·be·found·(no·prefix·match), 
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················so·the·image·dimensions 
23  · ···_\x8U_.N_.S_.E_.T················· ·will·not·be·added.19  · ···_\x8O_.U_.T_.P_.U_.T
 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$24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E················· ·Order·is·important;·last·IMAGEURL·tag·takes 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················precedence: 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/"·path="/var/www/htdocs/"> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8a_\x8g_\x8e_\x8u_\x8r_\x8l·url="/test/"·path="/var/www/ 
29  ·_\x8B_\x8u_\x8g_\x8s······················test/"> 
  
30 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g·src="/image.gif"> and·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8m_\x8g 
31 ····························src="/test/image.gif"> are·mapped·to 
32 ···························· ·/var/www/htdocs/image.gif·and·/var/www/test/ 
33 ····························image.gif,·resp. 
34 ···························· ·If·the·order·of·the·imageurl·lines·would·be 
35 ····························swapped,·the·second 
36 ···························· ·image·would·be·mapped·to·/var/www/htdocs/test/ 
37 ····························image.gif. 
38 ····························*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8* 
39 ····························O\x8OP\x8PT\x8T·is·an·htp·tag·that·can·be·used·to·specify 
40 ····························processing·options·inside·the·actual·document·being 
41 ····························processed.·The·options·are·used·exactly·as·they 
42 ····························would·be·on·the·command-line,·although·they·are·not 
43 ····························preceded·by·a·‘-’·character. 
44 ····························Click·here·for·_\x8m_\x8o_\x8r_\x8e_\x8·_\x8i_\x8n_\x8f_\x8o_\x8r_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8n_\x8·_\x8u_\x8s_\x8i_\x8n_\x8g 
45 ····························_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8i_\x8z_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8o_\x8p_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8h_\x8t_\x8p. 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
5.51 KB
./usr/share/doc/htp/output.html
    
Offset 114, 24 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br> 
123 <br>122 <br>
124 oname·...><br> 
125 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
126 <br> 
127 "${alt}">;<br> 
128 &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> 
129 <br> 
130 &nbsp;·<span·class="htp-tag">&lt;sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>&gt;</span><br> 
131 </code></p>123 </code></p>
132 <h2>synopsis</h2>124 <h2>synopsis</h2>
133 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary125 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary
134 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the126 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the
135 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>127 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>
136 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you128 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
137 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text129 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text
3.54 KB
html2text {}
    
Offset 1, 51 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:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.n_.s_.e_.t·macroname>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_.U_.O_.T_.E·TAG·[ATTRIBUTE=VALUE·...]>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················oname·...> 
8  ·HTP·Tags··················<...·${macroname}·...> 
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T 
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················"${alt}">; 
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·············· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8d_\x8e_\x8f> 
12  · ···_\x8D_\x8E_\x8F 
13  · ···_\x8F_\x8I_\x8L_\x8E·················· ·<sharedimg·name="bubble.gif"·alt="Bubble·image"> 
14  · ···_.I_.F····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*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*
15  · ···_.I_.N_.C···················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary7  ·_.U_.s_.a_.g_.e·····················The·O\x8OU\x8UT\x8TP\x8PU\x8UT\x8T·tag·can·be·used·to·create·auxillary
16  · ···_.I_.M_.G···················files·besides·the·main·HTML·file.·The·text·between8  ·HTP·Tags··················files·besides·the·main·HTML·file.·The·text·between
17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············this·tag·and·the·corresponding·</OUTPUT>·tag·is9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············this·tag·and·the·corresponding·</OUTPUT>·tag·is
18  · ···_\x8O_.P_.T···················written·to·output·file.10  · ···_\x8B_.L_.O_.C_.K·················written·to·output·file.
19  ·[>]·_.O_.U_.T_.P_.U_.T················Normally·the·outputfile·is·cleared·before·writing11  · ···_.B_.L_.O_.C_.K_.D_.E_.F··············Normally·the·outputfile·is·cleared·before·writing
20  · ···_\x8Q_.U_.O_.T_.E·················to·it,·but·you·can·use·the·APPEND·attribute·to12  · ···_\x8D_.E_.F···················to·it,·but·you·can·use·the·APPEND·attribute·to
21  · ···_\x8S_.E_.T···················extend·an·existing·file.·The·text·written·to·the13  · ···_\x8F_.I_.L_.E··················extend·an·existing·file.·The·text·written·to·the
22  · ···_\x8U_.N_.D_.E_.F·················file·is·normally·not·expanded,·i.e.·all·tags·inside14  · ···_\x8I_.F····················file·is·normally·not·expanded,·i.e.·all·tags·inside
23  · ···_\x8U_.N_.S_.E_.T·················this·block·are·not·executed·but·written·unmodified15  · ···_\x8I_.N_.C···················this·block·are·not·executed·but·written·unmodified
24  · ···_\x8U_.S_.E_.,_.·_.$················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D16  · ···_\x8I_.M_.G···················to·the·file.·However,·you·can·use·the·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8D
25  · ···_\x8W_.H_.I_.L_.E·················attribute·to·override·this·behaviour.17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············attribute·to·override·this·behaviour.
 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-26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
3.77 KB
./usr/share/doc/htp/quote.html
    
Offset 114, 16 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="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attr[·...·truncated·by·diffoscope;·len:·41,·SHA:·c307b64234d6823929ed9f16ceacf981e5f77bb6009119f0b64ba03d5d2cd4cd·...·]&gt;</span><br>
 122 <br>
 123 oname2="macrovalue2"·...]·[GLOBAL]><br>
123 <br>124 <br>
124 </code></p>125 </code></p>
125 <h2>synopsis</h2>126 <h2>synopsis</h2>
126 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise127 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise
127 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a128 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a
128 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early129 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early
129 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still130 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still
2.39 KB
html2text {}
    
Offset 1, 21 lines modifiedOffset 1, 21 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·Q\x8QU\x8UO\x8OT\x8TE\x8E·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.n_.s_.e_.t·macroname>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8Q_.U_.O_.T_.E·TAG·[ATTRIBUTE=VALUE·...]>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·> 
6  ·_\x8T_.u_.t_.o_.r_.i_.a_.l5  ·_\x8L_.i_.c_.e_.n_.s_.e
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················oname2="macrovalue2"·...]·[GLOBAL]>
 7  ·_\x8U_\x8s_\x8a_\x8g_\x8e
7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
8  ·HTP·Tags··················Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise9  · ···_.A_.L_.T_.T_.E_.X_.T···············Q\x8QU\x8UO\x8OT\x8TE\x8E·is·used·to·quote·a·macro·that·would·otherwise
9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············be·interpreted·by·HTP.·It·may·be·useful·in10  · ···_\x8B_.L_.O_.C_.K·················be·interpreted·by·HTP.·It·may·be·useful·in
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············conjunction·with·a·surrounding·_\x8E_\x8X_\x8P_\x8A_\x8N_\x8Ded·block·to
11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············prevent·early·expansion·of·some·contained·blocks.12  · ···_\x8D_.E_.F···················prevent·early·expansion·of·some·contained·blocks.
12  · ···_\x8D_.E_.F···················Note·that·'$'·evaluation·is·still·done·inside·a13  · ···_\x8F_.I_.L_.E··················Note·that·'$'·evaluation·is·still·done·inside·a
13  · ···_\x8F_.I_.L_.E··················quote·block.14  · ···_\x8I_.F····················quote·block.
14  · ···_\x8I_\x8F 
15  · ···_\x8I_\x8N_\x8C15  · ···_\x8I_\x8N_\x8C
16  · ···_\x8I_\x8M_\x8G16  · ···_\x8I_\x8M_\x8G
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
18  · ···_\x8O_\x8P_\x8T18  · ···_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E20  ·[>]·_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
Offset 27, 14 lines modifiedOffset 27, 15 lines modified
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
36 _\x8h_\x8t_\x8p_\x8]36 _\x8h_\x8t_\x8p_\x8]
6.59 KB
./usr/share/doc/htp/set.html
    
Offset 114, 24 lines modifiedOffset 114, 22 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br>
121 <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="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·block<br> 
123 <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> 
124 <br>122 <br>
125 </code></p>123 </code></p>
126 <h2>synopsis</h2>124 <h2>synopsis</h2>
127 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded125 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
128 anywhere·in·the·HTML·document.··To·create·a·macro:126 anywhere·in·the·HTML·document.··To·create·a·macro:
129 ··<p><code>127 ··<p><code>
130 &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>128 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
131 </code></p>129 </code></p>
132 <P>130 <P>
133 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">131 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">
134 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular132 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular
135 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the133 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
136 <A·HREF="use.html">'$'</A>·operator.134 <A·HREF="use.html">'$'</A>·operator.
137 <P>135 <P>
4.45 KB
html2text {}
    
Offset 1, 37 lines modifiedOffset 1, 36 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·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]_\x8W_.H_.I_.L_.E·[NOT]·conditional>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8S_.E_.T·macroname1="macrovalue1"
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················[macroname2="macrovalue2"·...]·[GLOBAL]>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e 
8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
9  · ···_.A_.L_.T_.T_.E_.X_.T···············S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be8  ·HTP·Tags··················S\x8SE\x8ET\x8T·creates·a·macro·definition·that·can·later·be
10  · ···_\x8B_.L_.O_.C_.K·················expanded·anywhere·in·the·HTML·document.·To·create·a9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············expanded·anywhere·in·the·HTML·document.·To·create·a
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············macro:10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················macro:
12  · ···_\x8D_.E_.F··················· · ·<_.[_.[_.r_.e_.f_.]_.]_.u_.n_.s_.e_.t·email_addr·home_url·login_name>11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F·············· · ·<_.[_.[_.r_.e_.f_.]_.]_.S_.E_.T·emailaddr="jnelson@crl.com">
13  · ···_\x8F_.I_.L_.E··················The·macro·"emailaddr"·can·then·be·expanded·later.12  · ···_\x8D_.E_.F···················The·macro·"emailaddr"·can·then·be·expanded·later.
14  · ···_\x8I_.F····················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a13  · ···_\x8F_.I_.L_.E··················The·_\x8U_\x8S_\x8E·tag·is·used·to·expand·the·macro·outside·a
15  · ···_\x8I_\x8N_.C···················tag·(i.e.,·into·the·regular·text).·If·the·macro14  · ···_\x8I_\x8F····················tag·(i.e.,·into·the·regular·text).·If·the·macro
16  · ···_\x8I_\x8M_.G···················needs·to·be·expanded·inside·a·markup·tag,·use·the15  · ···_\x8I_\x8N_.C···················needs·to·be·expanded·inside·a·markup·tag,·use·the
17  · ···_\x8I_\x8M_\x8A_.G_.E_.U_.R_.L··············_\x8'_\x8$_\x8'·operator.16  · ···_\x8I_\x8M_\x8G···················_\x8'_\x8$_\x8'·operator.
18  · ···_\x8O_.P_.T···················Multiple·macros·can·be·declared·in·a·single·markup17  · ···_\x8I_.M_.A_.G_.E_.U_.R_.L··············Multiple·macros·can·be·declared·in·a·single·markup
19  · ···_\x8O_\x8U_.T_.P_.U_.T················tag,·as·the·second·syntax·line·shows.18  · ···_\x8O_\x8P_.T···················tag,·as·the·second·syntax·line·shows.
20  · ···_\x8Q_.U_.O_.T_.E·················SET·should·only·be·used·for·a·single·line's·worth19  · ···_\x8O_.U_.T_.P_.U_.T················SET·should·only·be·used·for·a·single·line's·worth
21  ·[>]·_.S_.E_.T···················of·text.·Multi-line·macros·can·be·defined·with·the20  · ···_.Q_.U_.O_.T_.E·················of·text.·Multi-line·macros·can·be·defined·with·the
22  · ···_.U_.N_.D_.E_.F·················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the21  ·[>]·_.S_.E_.T···················_\x8B_\x8L_\x8O_\x8C_\x8K·tag.·The·_\x8B_\x8L_\x8O_\x8C_\x8K·tag·is·also·useful·if·the
23  · ···_\x8U_\x8N_\x8S_.E_.T·················macro·contains·a·quotation·character·and·you·don't22  · ···_\x8U_\x8N_\x8D_.E_.F·················macro·contains·a·quotation·character·and·you·don't
24  · ···_\x8U_\x8S_.E_.,_.·_.$················want·to·fool·around·with·special·escape·characters.23  · ···_\x8U_\x8N_.S_.E_.T·················want·to·fool·around·with·special·escape·characters.
25  · ···_\x8W_.H_.I_.L_.E·················Macros·can·be·redefined·by·using·another·SET24  · ···_\x8U_.S_.E_.,_.·_.$················Macros·can·be·redefined·by·using·another·SET
26  · ···_\x8<_.!_.-_.-_.-·················command·with·the·same·macro·name.·The·prior25  · ···_\x8W_.H_.I_.L_.E·················command·with·the·same·macro·name.·The·prior
27  ·_.H_.i_.s_.t_.o_.r_.y···················definition·will·be·destroyed,·however.·Also,·the26  · ···_.<_.!_.-_.-_.-·················definition·will·be·destroyed,·however.·Also,·the
28  ·_\x8W_.i_.s_.h_.·_.l_.i_.s_.t·················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T27  ·_\x8H_.i_.s_.t_.o_.r_.y···················macro·can·be·removed·(destroyed)·with·the·_\x8U_\x8N_\x8S_\x8E_\x8T
29  ·_\x8B_\x8u_\x8g_\x8s······················tag. 
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t·················tag.
 29  ·_\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·Wed·Jun·17,·202623 ··last·updated·Thu·May·15,·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·Wed·Jun·17,·20268 last·updated·Thu·May·15,·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·Wed·Jun·17,·202612 last·updated·Thu·May·15,·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·Wed·Jun·17,·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·Thu·May·15,·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·Wed·Jun·17,·202620 ··last·updated·Thu·May·15,·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·Wed·Jun·17,·20266 last·updated·Thu·May·15,·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·Wed·Jun·17,·202620 ··last·updated·Thu·May·15,·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·Wed·Jun·17,·20266 last·updated·Thu·May·15,·2025
3.86 KB
./usr/share/doc/htp/undef.html
    
Offset 114, 17 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·block<br> 
123 <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>121 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br>
 122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
124 <br>123 <br>
125 </code></p>124 </code></p>
126 <h2>synopsis</h2>125 <h2>synopsis</h2>
127 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags126 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags
128 created·by·<A·HREF="def.html">DEF</A>·and·<A127 created·by·<A·HREF="def.html">DEF</A>·and·<A
129 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF128 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF
130 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by129 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by
2.46 KB
html2text {}
    
Offset 1, 21 lines modifiedOffset 1, 21 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8ND\x8DE\x8EF\x8F·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_.H_.I_.L_.E·[NOT]·conditional>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.n_.s_.e_.t·macroname>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e 
8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
9  · ···_.A_.L_.T_.T_.E_.X_.T···············U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags8  ·HTP·Tags··················U\x8UN\x8ND\x8DE\x8EF\x8F·removes·a·metatag·definition.·Metatags
10  · ···_\x8B_.L_.O_.C_.K·················created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············created·by·_\x8D_\x8E_\x8F·and·_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F·can·be·removed·with·the
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············UNDEF·command.·Once·removed,·the·metatag·will·no10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················UNDEF·command.·Once·removed,·the·metatag·will·no
12  · ···_\x8D_.E_.F···················longer·be·recognized·by·htp·until·it·is·reassigned.11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············longer·be·recognized·by·htp·until·it·is·reassigned.
13  · ···_\x8F_.I_.L_.E··················Multiple·metatags·can·be·removed·by·placing·each12  · ···_\x8D_.E_.F···················Multiple·metatags·can·be·removed·by·placing·each
14  · ···_\x8I_.F····················name·as·an·attribute.13  · ···_\x8F_.I_.L_.E··················name·as·an·attribute.
 14  · ···_\x8I_\x8F
15  · ···_\x8I_\x8N_\x8C15  · ···_\x8I_\x8N_\x8C
16  · ···_\x8I_\x8M_\x8G16  · ···_\x8I_\x8M_\x8G
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L
18  · ···_\x8O_\x8P_\x8T18  · ···_\x8O_\x8P_\x8T
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E
21  · ···_\x8S_\x8E_\x8T21  · ···_\x8S_\x8E_\x8T
Offset 27, 15 lines modifiedOffset 27, 14 lines modified
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
29  ·_\x8B_\x8u_\x8g_\x8s29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e30  ·_\x8p_\x8a_\x8g_\x8e_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t31  ·_\x8h_\x8t_\x8p_\x8·_\x8p_\x8r_\x8o_\x8j_\x8e_\x8c_\x8t
32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e32  ·_\x8h_\x8t_\x8p_\x8·_\x8h_\x8o_\x8m_\x8e_\x8p_\x8a_\x8g_\x8e
33 hosted·by33 hosted·by
34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e34 _\x8S_\x8o_\x8u_\x8r_\x8c_\x8e_\x8f_\x8o_\x8r_\x8g_\x8e
35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y35 HTML·coding_\x8[_\x8P_\x8o_\x8w_\x8e_\x8r_\x8e_\x8d_\x8·_\x8b_\x8y
36 _\x8h_\x8t_\x8p_\x8]36 _\x8h_\x8t_\x8p_\x8]
8.1 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 37 lines modifiedOffset 114, 31 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <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="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·block<br> 
123 <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>121 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br>
 122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
124 <br>123 <br>
125 </code></p>124 </code></p>
126 <h2>synopsis</h2>125 <h2>synopsis</h2>
127 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.126 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.
128 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.127 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.
129 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or128 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or
130 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The129 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The
131 old·macro·definition·will·be·removed·automatically.)130 old·macro·definition·will·be·removed·automatically.)
132 <P>131 <P>
133 For·example:132 For·example:
134 ··<p><code>133 ··<p><code>
135 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br> 
136 &nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br>134 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 135 &nbsp;·&nbsp;·block<br>
137 <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 <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>
138 <br> 
139 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br> 
140 <br>137 <br>
141 This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
142 But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br> 
143 And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
144 </code></p>138 </code></p>
145 <P>139 <P>
146 More·than·one·macro·may·be·removed·in·the·same·tag:140 More·than·one·macro·may·be·removed·in·the·same·tag:
147 ··<p><code>141 ··<p><code>
148 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>142 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>
149 &nbsp;·&nbsp;·...<br>143 &nbsp;·&nbsp;·...<br>
150 &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>144 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>
4.08 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:·U\x8UN\x8NS\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8UN\x8NS\x8SE\x8ET\x8T·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_.H_.I_.L_.E·[NOT]·conditional>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_.n_.s_.e_.t·macroname>
 5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·macroname1·macroname2·...·>
 6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e··················· · ·block 
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E> 
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e 
8  ·HTP·Tags··················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*7  ·_.U_.s_.a_.g_.e·····················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
9  · ···_.A_.L_.T_.T_.E_.X_.T···············U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's8  ·HTP·Tags··················U\x8UN\x8NS\x8SE\x8ET\x8T·removes·(or·deletes)·a·macro·and·it's
10  · ···_\x8B_.L_.O_.C_.K·················definition.·The·macro·is·subsequently·not·available9  · ···_\x8A_.L_.T_.T_.E_.X_.T···············definition.·The·macro·is·subsequently·not·available
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_.D_.E_.F··············for·use·in·the·pre-processed·files.·(Note·that10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················for·use·in·the·pre-processed·files.·(Note·that
12  · ···_\x8D_.E_.F···················simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or11  · ···_\x8B_.L_.O_.C_.K_.D_.E_.F··············simply·redefining·the·macro·with·another·_\x8S_\x8E_\x8T·or
13  · ···_\x8F_.I_.L_.E··················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.12  · ···_\x8D_.E_.F···················_\x8B_\x8L_\x8O_\x8C_\x8K·definition·with·the·same·name·is·acceptable.
14  · ···_\x8I_.F····················The·old·macro·definition·will·be·removed13  · ···_\x8F_.I_.L_.E··················The·old·macro·definition·will·be·removed
15  · ···_\x8I_\x8N_.C···················automatically.)14  · ···_\x8I_\x8F····················automatically.)
16  · ···_\x8I_\x8M_.G···················For·example:15  · ···_\x8I_\x8N_.C···················For·example:
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8b_\x8l_\x8o_\x8c_\x8k·stuff> 
18  · ···_\x8O_.P_.T··················· ·<a·href=$email>send·email</a>16  · ···_\x8I_.M_.G···················<_.[_.[_.r_.e_.f_.]_.]_.W_.H_.I_.L_.E·[NOT]·conditional>
 17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L·············· · ·block
19  · ···_\x8O_\x8U_.T_.P_.U_.T················<_.[_.[_.r_.e_.f_.]_.]_./_.b_.l_.o_.c_.k>18  · ···_\x8O_\x8P_.T···················<_.[_.[_.r_.e_.f_.]_.]_./_.W_.H_.I_.L_.E>
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E 
21  · ···_\x8S_\x8E_\x8T···················<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8s_\x8e_\x8t·morestuff=$email> 
22  · ···_\x8U_.N_.D_.E_.F19  · ···_\x8O_.U_.T_.P_.U_.T
23  ·[>]·_\x8U_\x8N_\x8S_\x8E_\x8T·················This·works:· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·stuff 
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················email="jnelson@crl.com"> 
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················But·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·email> 
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················And·this·fails:·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·morestuff 
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················email="jnelson@crl.com"> 
28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················More·than·one·macro·may·be·removed·in·the·same·tag:20  · ···_.Q_.U_.O_.T_.E·················More·than·one·macro·may·be·removed·in·the·same·tag:
29  ·_.B_.u_.g_.s······················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10">21  · ···_.S_.E_.T··················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10">
30 ···························· · ·...22  · ···_.U_.N_.D_.E_.F················· · ·...
31 ···························· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>23  ·[>]·_.U_.N_.S_.E_.T················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
32 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>24  · ···_.U_.S_.E_.,_.·_.$················ ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
  
  
  
  
 25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E
 26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-
 27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y
 28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t
 29  ·_\x8B_\x8u_\x8g_\x8s
  
  
  
  
  
  
  
4.93 KB
./usr/share/doc/htp/use.html
    
Offset 114, 15 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &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>&gt;</span><br>121 &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 </code></p>122 </code></p>
123 <h2>synopsis</h2>123 <h2>synopsis</h2>
124 <strong>USE</strong>·will·expand·macros·that·have·been·previously124 <strong>USE</strong>·will·expand·macros·that·have·been·previously
125 declared·with·either·<A·HREF="set.html">SET</A>·or·<A125 declared·with·either·<A·HREF="set.html">SET</A>·or·<A
126 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other126 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other
127 markup·tags.127 markup·tags.
128 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will128 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will
Offset 132, 15 lines modifiedOffset 132, 15 lines modified
132 attribute·to·prevent·further·expansion.··</p>132 attribute·to·prevent·further·expansion.··</p>
133 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros133 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
134 for·the·expanded·macro.··This·is·only·valid·for·<A134 for·the·expanded·macro.··This·is·only·valid·for·<A
135 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A135 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
136 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For136 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
137 example:</p>137 example:</p>
138 ··<p><code>138 ··<p><code>
139 <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>139 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>
140 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>140 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
141 <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>141 <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>
142 <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>142 <font·size="-2">&nbsp;4.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
143 </code></p>143 </code></p>
144 <P>144 <P>
145 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on145 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
146 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and146 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
2.45 KB
html2text {}
    
Offset 1, 26 lines modifiedOffset 1, 26 lines modified
1 [HTP]1 [HTP]
2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8*2 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tp\x8p·o\x8on\x8n-\x8-l\x8li\x8in\x8ne\x8e·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·:\x8:·U\x8US\x8SE\x8E,\x8,·$\x8$·*\x8**\x8**\x8**\x8**\x8**\x8*
3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*3 _\x8T_\x8a_\x8b_\x8l_\x8e_\x8·_\x8o_\x8f_\x8·_\x8C_\x8o_\x8n_\x8t_\x8e_\x8n_\x8t_\x8s···········*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8nt\x8ta\x8ax\x8x·*\x8**\x8**\x8**\x8**\x8*
4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr>4  ·_\x8I_\x8n_\x8t_\x8r_\x8o_\x8d_\x8u_\x8c_\x8t_\x8i_\x8o_\x8n·············· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8n_\x8s_\x8e_\x8t·email_addr·home_url·login_name>
5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*5  ·_\x8L_\x8i_\x8c_\x8e_\x8n_\x8s_\x8e···················*\x8**\x8**\x8**\x8**\x8*·s\x8sy\x8yn\x8no\x8op\x8ps\x8si\x8is\x8s·*\x8**\x8**\x8**\x8**\x8*
6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously6  ·_\x8T_\x8u_\x8t_\x8o_\x8r_\x8i_\x8a_\x8l··················U\x8US\x8SE\x8E·will·expand·macros·that·have·been·previously
7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be7  ·_\x8U_\x8s_\x8a_\x8g_\x8e·····················declared·with·either·_\x8S_\x8E_\x8T·or·_\x8B_\x8L_\x8O_\x8C_\x8K.·USE·can·only·be
8  ·HTP·Tags··················used·outside·of·other·markup·tags.8  ·HTP·Tags··················used·outside·of·other·markup·tags.
9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············If·you·USE·a·block·macro·the·value·of·expanded9  · ···_\x8A_\x8L_\x8T_\x8T_\x8E_\x8X_\x8T···············If·you·USE·a·block·macro·the·value·of·expanded
10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················block·macros·will·be·further·parsed·by·htp.·This·is10  · ···_\x8B_\x8L_\x8O_\x8C_\x8K·················block·macros·will·be·further·parsed·by·htp.·This·is
11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············maybe·not·what·you·want,·for·example,·if·the·use·is11  · ···_\x8B_\x8L_\x8O_\x8C_\x8K_\x8D_\x8E_\x8F··············maybe·not·what·you·want,·for·example,·if·the·use·is
12  · ···_\x8D_\x8E_\x8F···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use12  · ···_\x8D_\x8E_\x8F···················inside·a·block·which·_\x8e_\x8x_\x8p_\x8a_\x8n_\x8d_\x8s·itself.·You·can·use
13  · ···_\x8F_\x8I_\x8L_\x8E··················the·noexpand·attribute·to·prevent·further13  · ···_\x8F_\x8I_\x8L_\x8E··················the·noexpand·attribute·to·prevent·further
14  · ···_\x8I_\x8F····················expansion.14  · ···_\x8I_\x8F····················expansion.
15  · ···_\x8I_\x8N_\x8C···················USE·will·accept·additional·parameters,·which·are15  · ···_\x8I_\x8N_\x8C···················USE·will·accept·additional·parameters,·which·are
16  · ···_\x8I_\x8M_\x8G···················"local"·macros·for·the·expanded·macro.·This·is·only16  · ···_\x8I_\x8M_\x8G···················"local"·macros·for·the·expanded·macro.·This·is·only
17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T17  · ···_\x8I_\x8M_\x8A_\x8G_\x8E_\x8U_\x8R_\x8L··············valid·for·_\x8B_\x8L_\x8O_\x8C_\x8K·macros.·Macros·created·using·_\x8S_\x8E_\x8T
18  · ···_\x8O_\x8P_\x8T···················cannot·have·parameters·passed.·For·example:18  · ···_\x8O_\x8P_\x8T···················cannot·have·parameters·passed.·For·example:
19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·sect-$i>19  · ···_\x8O_\x8U_\x8T_\x8P_\x8U_\x8T················ 1.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10">
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· 2.· · ·...20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E················· 2.· · ·...
21  · ···_\x8S_\x8E_\x8T··················· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>21  · ···_\x8S_\x8E_\x8T··················· 3.· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F················· 4.· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················(See·below·for·a·description·of·the·'$'·operator.)23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T·················(See·below·for·a·description·of·the·'$'·operator.)
24  ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················The·example·on·line·7·works·because·"stuff"·has24  ·[>]·_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················The·example·on·line·7·works·because·"stuff"·has
25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················been·declared·as·a·block·macro,·and·the·tag·is25  · ···_\x8W_\x8H_\x8I_\x8L_\x8E·················been·declared·as·a·block·macro,·and·the·tag·is
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················passing·the·"email"·macro·to·the·"stuff"·macro.26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-·················passing·the·"email"·macro·to·the·"stuff"·macro.
4.2 KB
./usr/share/doc/htp/while.html
    
Offset 137, 19 lines modifiedOffset 137, 14 lines modified
137 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the137 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the
138 conditional·is·reversed:138 conditional·is·reversed:
139 ··<p><code>139 ··<p><code>
140 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>140 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>
141 &nbsp;·&nbsp;·...<br>141 &nbsp;·&nbsp;·...<br>
142 &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>142 &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>
143 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>143 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
144 while·sect-${sect-ctr}><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> 
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> 
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> 
149 </code></p>144 </code></p>
150 <P>145 <P>
151 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·a146 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
152 macro's·existance:147 macro's·existance:
153 ··<p><code>148 ··<p><code>
154 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>149 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
155 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>150 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
1.94 KB
html2text {}
    
Offset 20, 22 lines modifiedOffset 20, 17 lines modified
20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················value·of·a·macro·against·a·literal·string.·If·the20  · ···_\x8Q_\x8U_\x8O_\x8T_\x8E·················value·of·a·macro·against·a·literal·string.·If·the
21  · ···_\x8S_\x8E_\x8T···················NOT·tag·is·present·in·the·WHILE·markup,·the21  · ···_\x8S_\x8E_\x8T···················NOT·tag·is·present·in·the·WHILE·markup,·the
22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················evaluation·of·the·conditional·is·reversed:22  · ···_\x8U_\x8N_\x8D_\x8E_\x8F·················evaluation·of·the·conditional·is·reversed:
23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10">23  · ···_\x8U_\x8N_\x8S_\x8E_\x8T················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8W_\x8H_\x8I_\x8L_\x8E·NOT·i="10">
24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·...24  · ···_\x8U_\x8S_\x8E_\x8,_\x8·_\x8$················ · ·...
25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>25  ·[>]·_\x8W_\x8H_\x8I_\x8L_\x8E················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8N_\x8C·i>
26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>26  · ···_\x8<_\x8!_\x8-_\x8-_\x8-················· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8W_\x8H_\x8I_\x8L_\x8E>
27  ·_\x8H_\x8i_\x8s_\x8t_\x8o_\x8r_\x8y···················while·sect-${sect-ctr}> 
28  ·_\x8W_\x8i_\x8s_\x8h_\x8·_\x8l_\x8i_\x8s_\x8t················· · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8u_\x8s_\x8e·sect-${sect-ctr}> 
29  ·_\x8B_\x8u_\x8g_\x8s······················ · ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8i_\x8n_\x8c·sect-ctr> 
30 ···························· ·<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8/_\x8w_\x8h_\x8i_\x8l_\x8e> 
31 ····························<_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8f_\x8i_\x8l_\x8e·include="footer.hti"> 
32 ····························Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a27  ·_.H_.i_.s_.t_.o_.r_.y···················Just·as·with·_\x8[_\x8[_\x8r_\x8e_\x8f_\x8]_\x8]_\x8I_\x8F·you·can·also·check·for·a
33 ····························macro's·existance:28  ·_.W_.i_.s_.h_.·_.l_.i_.s_.t·················macro's·existance:
34 ····························<a·href="mailto:$email">mailto·hyperlink</a>29  ·_.B_.u_.g_.s······················<a·href="mailto:$email">mailto·hyperlink</a>
35 ····························<a·href="http://$domain/~${username}/">another30 ····························<a·href="http://$domain/~${username}/">another
36 ····························hyperlink</a>31 ····························hyperlink</a>
37 ····························If·the·condition·is·true,·the·block·is·evaluated32 ····························If·the·condition·is·true,·the·block·is·evaluated
38 ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If33 ····························and·afterwards·the·WHILE·tag·is·evaluated·again.·If
39 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is34 ····························the·'$'-operator·is·used·in·the·WHILE·tag·it·is
40 ····························also·reevaluated·on·each·iteration.35 ····························also·reevaluated·on·each·iteration.
41 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.36 ····························A·loop·block·m\x8mu\x8us\x8st\x8t·be·closed·with·the·/WHILE·tag.