99.3 KB
/srv/reproducible-results/rbuild-debian/r-b-build.cEkdGl0y/b1/htp_1.19-8_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.cEkdGl0y/b2/htp_1.19-8_amd64.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·e9cbbea7eef6385881e7f1851822049b·71324·debug·optional·htp-dbgsym_1.19-8_amd64.deb1 ·e9cbbea7eef6385881e7f1851822049b·71324·debug·optional·htp-dbgsym_1.19-8_amd64.deb
2 ·ded6717f34bd990de2b7944ab297dd76·116632·web·optional·htp_1.19-8_amd64.deb2 ·2a1f2d0c508787862a7cd6ab0c543694·116976·web·optional·htp_1.19-8_amd64.deb
98.9 KB
htp_1.19-8_amd64.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary
2 -rw-r--r--···0········0········0·····3612·2020-06-14·23:21:19.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···112828·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···113168·2020-06-14·23:21:19.000000·data.tar.xz
563 B
control.tar.xz
535 B
control.tar
465 B
./control
    
Offset 1, 12 lines modifiedOffset 1, 12 lines modified
1 Package:·htp1 Package:·htp
2 Version:·1.19-82 Version:·1.19-8
3 Architecture:·amd643 Architecture:·amd64
4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>
5 Installed-Size:·6205 Installed-Size:·628
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
97.8 KB
data.tar.xz
97.8 KB
data.tar
13.5 KB
file list
    
Offset 5, 23 lines modifiedOffset 5, 23 lines modified
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/
6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/
8 -rw-r--r--···0·root·········(0)·root·········(0)·····8180·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)·····8180·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html
9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp
10 -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····7882·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html
11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp
12 -rw-r--r--···0·root·········(0)·root·········(0)·····8676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····8339·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html
13 -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp13 -rw-r--r--···0·root·········(0)·root·········(0)·····1075·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.htp
14 -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html14 -rw-r--r--···0·root·········(0)·root·········(0)·····4763·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.html
15 -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp15 -rw-r--r--···0·root·········(0)·root·········(0)······737·2020-06-14·23:21:19.000000·./usr/share/doc/htp/bugs.htp
16 -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz16 -rw-r--r--···0·root·········(0)·root·········(0)······878·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz
17 -rw-r--r--···0·root·········(0)·root·········(0)·····7719·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)·····9389·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)·····9953·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····11050·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html
21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp
22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html
23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp
24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/
25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub
26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti
27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt
Offset 34, 24 lines modifiedOffset 34, 24 lines modified
34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp
35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def
36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html
37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp
38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt
39 -rw-r--r--···0·root·········(0)·root·········(0)·····7909·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)·····7909·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html
40 -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp40 -rw-r--r--···0·root·········(0)·root·········(0)·····3702·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.htp
41 -rw-r--r--···0·root·········(0)·root·········(0)····12223·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····12621·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)·····7951·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)····11640·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)·····8626·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)·····9248·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html
51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp51 -rw-r--r--···0·root·········(0)·root·········(0)·····2507·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.htp
52 -rw-r--r--···0·root·········(0)·root·········(0)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····8277·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html
53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp
54 -rw-r--r--···0·root·········(0)·root·········(0)·····8142·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)·····8142·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html
55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.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
Offset 60, 36 lines modifiedOffset 60, 36 lines modified
60 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.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)····11337·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····12065·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html
68 -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz68 -rw-r--r--···0·root·········(0)·root·········(0)·····2439·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.htp.gz
69 -rw-r--r--···0·root·········(0)·root·········(0)·····7558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····7558·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html
70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp
71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html
72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp
73 -rw-r--r--···0·root·········(0)·root·········(0)·····7777·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····8227·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp
75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/
76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png
77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png
78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png
79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png
80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png
81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png
82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png
83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png
84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png
85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl
86 -rw-r--r--···0·root·········(0)·root·········(0)·····7503·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)·····8086·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)····11947·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)·····9134·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html
89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp
90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css
91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html
92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz
93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def
94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/
95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti
Offset 104, 21 lines modifiedOffset 104, 21 lines modified
104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp
105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt
106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt
107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html
108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp
109 -rw-r--r--···0·root·········(0)·root·········(0)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····7559·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html
110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp110 -rw-r--r--···0·root·········(0)·root·········(0)······460·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.htp
111 -rw-r--r--···0·root·········(0)·root·········(0)····10864·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····9032·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)····12442·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····14948·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)·····8723·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)·····9688·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/
4.37 KB
./usr/share/doc/htp/blockdef.html
    
Offset 114, 38 lines modifiedOffset 114, 28 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> 
122 <br> 
123 &nbsp;block·#1<br> 
124 [<br> 
125 <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> 
126 &nbsp;·&nbsp;·block·#2<br> 
127 ...<br> 
128 ]<br> 
129 [<br> 
130 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
131 &nbsp;·&nbsp;·block·#3<br> 
132 ]<br> 
133 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
134 <br> 
135 </code></p>121 </code></p>
136 <h2>synopsis</h2>122 <h2>synopsis</h2>
137 <strong>BLOCKDEF</strong>·creates·block·<A123 <strong>BLOCKDEF</strong>·creates·block·<A
138 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it124 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
139 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block125 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
140 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and126 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
141 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored127 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
142 in·the·block·macro·named·BLOCK.128 in·the·block·macro·named·BLOCK.
143 <P>·For·example:</P>129 <P>·For·example:</P>
144 ··<p><code>130 ··<p><code>
 131 <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>
 132 &nbsp;·&nbsp;·block<br>
 133 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
 134 <br>
145 </code></p>135 </code></p>
146 <p>136 <p>
147 All·block·metatags·have·the·implicit·option·<a137 All·block·metatags·have·the·implicit·option·<a
148 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents138 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
149 of·the·block·before·the·definition·is·expanded.139 of·the·block·before·the·definition·is·expanded.
150 </p>140 </p>
151 <p>141 <p>
2.38 KB
html2text {}
    
Offset 1, 54 lines modifiedOffset 1, 44 lines modified
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·BLOCKDEF,·/BLOCKDEF·******2 ******·htp·on-line·reference·:·BLOCKDEF,·/BLOCKDEF·******
3 Table_of·········*****·syntax·*****3 Table_of·········*****·syntax·*****
 4 Contents·········*****·synopsis·*****
4 Contents·········<[[ref]]img·src="filename"·...> 
5  ·Introduction 
6  ·License········ block·#1 
7  ·Tutorial·······[ 
8  ·Usage··········<ELSEIF·[NOT]·conditional> 
9  ·HTP·Tags······· · ·block·#2 
10  · ···ALTTEXT····... 
11  · ···BLOCK······] 
12  ·[>]·BLOCKDEF···[ 
13  · ···DEF········<ELSE> 
14  · ···FILE······· · ·block·#3 
15  · ···IF·········] 
16  · ···INC········<[[ref]]/IF> 
17  · ···IMG 
18  · ···IMAGEURL···*****·synopsis·***** 
19  · ···OPT········BLOCKDEF·creates·block·metatags,·which·is·a·fancy·way·of5  ·Introduction···BLOCKDEF·creates·block·metatags,·which·is·a·fancy·way·of
20  · ···OUTPUT·····saying·it·creates·new·block·tags.·A·block·tag·is·a·tag·that6  ·License········saying·it·creates·new·block·tags.·A·block·tag·is·a·tag·that
21  · ···QUOTE······takes·a·whole·block·as·additional·parameter.·This·block·is7  ·Tutorial·······takes·a·whole·block·as·additional·parameter.·This·block·is
22  · ···SET········surrounded·by·<tagname>·and·</tagname>.·The·contents·of·this8  ·Usage··········surrounded·by·<tagname>·and·</tagname>.·The·contents·of·this
23  · ···UNDEF······block·are·automatically·stored·in·the·block·macro·named·BLOCK.9  ·HTP·Tags·······block·are·automatically·stored·in·the·block·macro·named·BLOCK.
24  · ···UNSET······For·example:10  · ···ALTTEXT····For·example:
 11  · ···BLOCK······<[[ref]]WHILE·[NOT]·conditional>
 12  ·[>]·BLOCKDEF··· · ·block
 13  · ···DEF········<[[ref]]/WHILE>
 14  · ···FILE
25  · ···USE,_$·····All·block·metatags·have·the·implicit·option·EXPAND,·which15  · ···IF·········All·block·metatags·have·the·implicit·option·EXPAND,·which
26  · ···WHILE······tells·htp·to·expand·the·contents·of·the·block·before·the16  · ···INC········tells·htp·to·expand·the·contents·of·the·block·before·the
27  · ···<!---······definition·is·expanded.17  · ···IMG········definition·is·expanded.
28  ·History········A·more·thorough·discussion·and·more·elaborate·examples·are18  · ···IMAGEURL···A·more·thorough·discussion·and·more·elaborate·examples·are
29  ·Wish_list······discussed·in·the·metatag·section.19  · ···OPT········discussed·in·the·metatag·section.
 20  · ···OUTPUT
 21  · ···QUOTE
 22  · ···SET
 23  · ···UNDEF
 24  · ···UNSET
 25  · ···USE,_$
 26  · ···WHILE
 27  · ···<!---
 28  ·History
 29  ·Wish_list
30  ·Bugs30  ·Bugs
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
31  ··page_source31  ··page_source
32  ··htp_project32  ··htp_project
33  ··htp_homepage33  ··htp_homepage
34 hosted·by34 hosted·by
4.86 KB
./usr/share/doc/htp/comment.html
    
Offset 114, 14 lines modifiedOffset 114, 21 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &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 </code></p>128 </code></p>
122 <h2>synopsis</h2>129 <h2>synopsis</h2>
123 <p>130 <p>
124 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful131 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
125 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.132 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
126 Example:133 Example:
127 </p>134 </p>
Offset 129, 14 lines modifiedOffset 136, 22 lines modified
129 </code></p>136 </code></p>
130 <p>137 <p>
131 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you138 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
132 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something139 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
133 like·this:140 like·this:
134 </p>141 </p>
135 ··<p><code>142 ··<p><code>
 143 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[noexpand]</span>&gt;</span><br>
 144 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 145 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 146 <br>
 147 <br>
 148 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
 149 <br>
 150 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
136 </code></p>151 </code></p>
137 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the152 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
138 reason·why·you·don't·want·to·include·this·block</p>153 reason·why·you·don't·want·to·include·this·block</p>
139 <p>154 <p>
140 </td>155 </td>
141 </tr>156 </tr>
142 <tr>157 <tr>
2.39 KB
html2text {}
    
Offset 1, 40 lines modifiedOffset 1, 56 lines modified
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·<!---·******2 ******·htp·on-line·reference·:·<!---·******
3 Table_of·········*****·syntax·*****3 Table_of·········*****·syntax·*****
4 Contents·········*****·synopsis·*****4 Contents········· · ·a·is·expanded·at·time·1.
 5  ·Introduction··· · ·b·is·expanded·at·time·0.
 6  ·License········ ·contents·of·a:· ·a·is·expanded·at·time·<[[ref]]use·time>.
 7  ·Tutorial······· ·contents·of·b:· ·b·is·expanded·at·time·0.
 8  ·Usage·········· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.
 9  ·HTP·Tags······· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.
 10  · ···ALTTEXT···· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<
 11  · ···BLOCK······[[ref]]use·time>.
 12  · ···BLOCKDEF···*****·synopsis·*****
5  ·Introduction···This·is·a·simple·comment·that·is·not·included·in·the·output.13  · ···DEF········This·is·a·simple·comment·that·is·not·included·in·the·output.
6  ·License········This·is·useful·when·commenting·metatags,·since·the·metatags·do14  · ···FILE·······This·is·useful·when·commenting·metatags,·since·the·metatags·do
7  ·Tutorial·······not·appear·the·output·either.·Example:15  · ···IF·········not·appear·the·output·either.·Example:
8  ·Usage··········Note·that·these·comments·should·not·include·<·or·>,·that·is16  · ···INC········Note·that·these·comments·should·not·include·<·or·>,·that·is
9  ·HTP·Tags·······you·should·not·use·it·to·comment·out·htp·code.·For·that17  · ···IMG········you·should·not·use·it·to·comment·out·htp·code.·For·that
10  · ···ALTTEXT····purpose·use·something·like·this:18  · ···IMAGEURL···purpose·use·something·like·this:
 19  · ···OPT········<[[ref]]use·macroname·[parameters·...]·[noexpand]>
 20  · ···OUTPUT·····<...·$macroname·...>
 21  · ···QUOTE······<...·${macroname}·...>
11  · ···BLOCK······Make·sure·that·the·variable·is·never·defined·and·xyz·should·be 
12  · ···BLOCKDEF···the·reason·why·you·don't·want·to·include·this·block 
13  · ···DEF 
14  · ···FILE 
15  · ···IF 
16  · ···INC 
17  · ···IMG 
18  · ···IMAGEURL 
19  · ···OPT 
20  · ···OUTPUT 
21  · ···QUOTE 
22  · ···SET22  · ···SET
23  · ···UNDEF23  · ···UNDEF
24  · ···UNSET24  · ···UNSET······ ·<[[ref]]/def>
25  · ···USE,_$25  · ···USE,_$
26  · ···WHILE 
27  ·[>]·<!--- 
28  ·History26  · ···WHILE······ ·<bigfont>Some·large·text</bigfont>
 27  ·[>]·<!---······Make·sure·that·the·variable·is·never·defined·and·xyz·should·be
 28  ·History········the·reason·why·you·don't·want·to·include·this·block
29  ·Wish_list29  ·Wish_list
30  ·Bugs30  ·Bugs
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
31  ··page_source31  ··page_source
32  ··htp_project32  ··htp_project
33  ··htp_homepage33  ··htp_homepage
34 hosted·by34 hosted·by
35 Sourceforge35 Sourceforge
36 HTML·coding36 HTML·coding
37 [Powered_by_htp]37 [Powered_by_htp]
6.73 KB
./usr/share/doc/htp/def.html
    
Offset 124, 14 lines modifiedOffset 124, 18 lines modified
124 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a124 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
125 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to125 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
126 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>126 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
127 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.127 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
128 For·example:128 For·example:
129 </p>129 </p>
130 ··<p><code>130 ··<p><code>
 131 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[noexpand]</span>&gt;</span><br>
 132 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 133 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 134 <br>
131 </code></p>135 </code></p>
132 <P>136 <P>
133 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to137 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
134 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A138 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
135 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster139 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
136 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing140 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
137 tag·with·a·preceding·slash.·For·example:141 tag·with·a·preceding·slash.·For·example:
Offset 143, 14 lines modifiedOffset 147, 16 lines modified
143 <P>147 <P>
144 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were148 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
145 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with149 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
146 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their150 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
147 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)151 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
148 </P>152 </P>
149 ··<p><code>153 ··<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>
 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 </code></p>156 </code></p>
151 <P>157 <P>
152 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is158 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
153 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are159 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
154 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the160 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
155 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a161 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
156 parameter·is·required,·simply·expand·it·without·first·checking.··When162 parameter·is·required,·simply·expand·it·without·first·checking.··When
4.23 KB
html2text {}
    
Offset 2, 36 lines modifiedOffset 2, 42 lines modified
2 ******·htp·on-line·reference·:·DEF,·/DEF·******2 ******·htp·on-line·reference·:·DEF,·/DEF·******
3 Table_of·········*****·syntax·*****3 Table_of·········*****·syntax·*****
4 Contents·········*****·synopsis·*****4 Contents·········*****·synopsis·*****
5  ·Introduction···DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it5  ·Introduction···DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it
6  ·License········creates·new·tags.·The·mechanism·is·very·similar·to·BLOCK6  ·License········creates·new·tags.·The·mechanism·is·very·similar·to·BLOCK
7  ·Tutorial·······macros,·except·that·the·USE·tag·is·not·used·to·expand·them.7  ·Tutorial·······macros,·except·that·the·USE·tag·is·not·used·to·expand·them.
8  ·Usage··········Instead,·they·are·expanded·by·their·own·name.·For·example:8  ·Usage··········Instead,·they·are·expanded·by·their·own·name.·For·example:
 9  ·HTP·Tags·······<[[ref]]use·macroname·[parameters·...]·[noexpand]>
 10  · ···ALTTEXT····<...·$macroname·...>
 11  · ···BLOCK······<...·${macroname}·...>
 12  · ···BLOCKDEF
9  ·HTP·Tags·······Some·metatags·will·require·an·opening·and·closing·tag13  ·[>]·DEF········Some·metatags·will·require·an·opening·and·closing·tag
10  · ···ALTTEXT····(comparable·to14  · ···FILE·······(comparable·to
11  · ···BLOCK······and15  · ···IF·········and
12  · ···BLOCKDEF···).·In·this·case,·you·should·use·the·BLOCKDEF·macro.·Another16  · ···INC········).·In·this·case,·you·should·use·the·BLOCKDEF·macro.·Another
13  ·[>]·DEF········slightly·faster·alternative·is·to·use·two·metatags,·the17  · ···IMG········slightly·faster·alternative·is·to·use·two·metatags,·the
14  · ···FILE·······opening·tag·and·the·closing·tag·with·a·preceding·slash.·For18  · ···IMAGEURL···opening·tag·and·the·closing·tag·with·a·preceding·slash.·For
15  · ···IF·········example:19  · ···OPT········example:
16  · ···INC········You·should·really·use·BLOCKDEF,·though,·as·it·will·check·for20  · ···OUTPUT·····You·should·really·use·BLOCKDEF,·though,·as·it·will·check·for
17  · ···IMG········matching·end·tag.·It·is·not·that·slower.21  · ···QUOTE······matching·end·tag.·It·is·not·that·slower.
18  · ···IMAGEURL···Options·can·be·passed·to·a·metatag,·which·can·then·expand·as22  · ···SET········Options·can·be·passed·to·a·metatag,·which·can·then·expand·as
19  · ···OPT········if·it·were·a·SET·macro.·Option·names·are·parameterized·with23  · ···UNDEF······if·it·were·a·SET·macro.·Option·names·are·parameterized·with
20  · ···OUTPUT·····the·OPTION·attribute.·Multiple·options·can·be·listed·by24  · ···UNSET······the·OPTION·attribute.·Multiple·options·can·be·listed·by
21  · ···QUOTE······separating·their·name·with·a·space·(which·therefore·requires25  · ···USE,_$·····separating·their·name·with·a·space·(which·therefore·requires
22  · ···SET········they·be·surrounded·by·quotes.)26  · ···WHILE······they·be·surrounded·by·quotes.)
 27  · ···<!---······<a·href="mailto:$email">mailto·hyperlink</a>
 28  ·History········<a·href="http://$domain/~${username}/">another·hyperlink</a>
23  · ···UNDEF······htp·will·do·very·specific·checking·of·parameters·when·a29  ·Wish_list······htp·will·do·very·specific·checking·of·parameters·when·a
24  · ···UNSET······metatag·is·invoked.·htp·assumes·that·all·parameter·options·to30  ·Bugs···········metatag·is·invoked.·htp·assumes·that·all·parameter·options·to
25  · ···USE,_$·····the·metatag·are·optional.·This·is·why·the·HEADERIMG·definition31 ·················the·metatag·are·optional.·This·is·why·the·HEADERIMG·definition
26  · ···WHILE······uses·IF·to·verify·the·SIZE·option·is·defined·before·expanding32 ·················uses·IF·to·verify·the·SIZE·option·is·defined·before·expanding
27  · ···<!---······it·in·the·block.·If·a·parameter·is·required,·simply·expand·it33 ·················it·in·the·block.·If·a·parameter·is·required,·simply·expand·it
28  ·History········without·first·checking.·When·htp·expands·the·metatag·and·the34 ·················without·first·checking.·When·htp·expands·the·metatag·and·the
29  ·Wish_list······macro·is·not·defined,·it·will·halt·processing·and·complain35 ·················macro·is·not·defined,·it·will·halt·processing·and·complain
30  ·Bugs···········with·an·error·message·and·the·required·macro·name.·Normally36 ·················with·an·error·message·and·the·required·macro·name.·Normally
31 ·················htp·will·not·allow·parameters·not·listed·in·the·OPTION37 ·················htp·will·not·allow·parameters·not·listed·in·the·OPTION
32 ·················attribute·to·be·added·to·the·tag.·This·is·why·the·third38 ·················attribute·to·be·added·to·the·tag.·This·is·why·the·third
33 ·················invocation·of·HEADERIMG·will·fail.·There·is·no·ALT·parameter39 ·················invocation·of·HEADERIMG·will·fail.·There·is·no·ALT·parameter
34 ·················specified·in·the·OPTION·attribute.·However,·there·is·the40 ·················specified·in·the·OPTION·attribute.·However,·there·is·the
35 ·················special·option·*,·which·matches·every·other·parameter.·It41 ·················special·option·*,·which·matches·every·other·parameter.·It
36 ·················should·be·used·to·pass·all·other·options·to·another·tag.42 ·················should·be·used·to·pass·all·other·options·to·another·tag.
37 ·················Metatags·can·be·removed·by·using·the·UNDEF·tag.·Note·that·both43 ·················Metatags·can·be·removed·by·using·the·UNDEF·tag.·Note·that·both
5.02 KB
./usr/share/doc/htp/file.html
    
Offset 124, 14 lines modifiedOffset 124, 18 lines modified
124 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of124 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
125 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be125 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
126 added·to·the·output·file·as·well.126 added·to·the·output·file·as·well.
127 <P>127 <P>
128 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the128 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
129 following·is·perfectly·acceptable:129 following·is·perfectly·acceptable:
130 ··<p><code>130 ··<p><code>
 131 <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>
 132 &nbsp;·&nbsp;·block<br>
 133 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
 134 <br>
131 </code></p>135 </code></p>
132 <P>136 <P>
133 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>137 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
134 <P>138 <P>
135 To·include·information·about·another·file,·such·as·an·archive·file·or139 To·include·information·about·another·file,·such·as·an·archive·file·or
136 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the140 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
137 type·of·information·to·be·displayed:141 type·of·information·to·be·displayed:
4.0 KB
html2text {}
    
Offset 4, 34 lines modifiedOffset 4, 38 lines modified
4 Contents·········*****·synopsis·*****4 Contents·········*****·synopsis·*****
5  ·Introduction···FILE·has·several·optional·parameters·of·differing·purpose.·The5  ·Introduction···FILE·has·several·optional·parameters·of·differing·purpose.·The
6  ·License········output·file's·name,·the·current·date·and·time,·and·the6  ·License········output·file's·name,·the·current·date·and·time,·and·the
7  ·Tutorial·······contents·of·another·file·may·be·included.·Another·file's·time,7  ·Tutorial·······contents·of·another·file·may·be·included.·Another·file's·time,
8  ·Usage··········date,·or·size·may·be·added·to·the·output·file·as·well.8  ·Usage··········date,·or·size·may·be·added·to·the·output·file·as·well.
9  ·HTP·Tags·······As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own9  ·HTP·Tags·······As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own
10  · ···ALTTEXT····line,·so·the·following·is·perfectly·acceptable:10  · ···ALTTEXT····line,·so·the·following·is·perfectly·acceptable:
 11  · ···BLOCK······<[[ref]]WHILE·[NOT]·conditional>
 12  · ···BLOCKDEF··· · ·block
 13  · ···DEF········<[[ref]]/WHILE>
 14  ·[>]·FILE
11  · ···BLOCK······****·NAME,·TIME,·SIZE·****15  · ···IF·········****·NAME,·TIME,·SIZE·****
12  · ···BLOCKDEF···To·include·information·about·another·file,·such·as·an·archive16  · ···INC········To·include·information·about·another·file,·such·as·an·archive
13  · ···DEF········file·or·graphic·image,·specify·its·name·with·the·NAME17  · ···IMG········file·or·graphic·image,·specify·its·name·with·the·NAME
14  ·[>]·FILE·······attribute·followed·by·the·type·of·information·to·be·displayed:18  · ···IMAGEURL···attribute·followed·by·the·type·of·information·to·be·displayed:
15  · ···IF·········For·file·size·information,·the·value·BYTE,·KBYTE,·etc.19  · ···OPT········For·file·size·information,·the·value·BYTE,·KBYTE,·etc.
16  · ···INC········dictates·how·the·information·is·displayed.·In·anything·other20  · ···OUTPUT·····dictates·how·the·information·is·displayed.·In·anything·other
17  · ···IMG········than·byte·format,·the·information·is·displayed·in·floating-21  · ···QUOTE······than·byte·format,·the·information·is·displayed·in·floating-
18  · ···IMAGEURL···point·notation.·The·amount·of·precision·(the·number·of·digits22  · ···SET········point·notation.·The·amount·of·precision·(the·number·of·digits
19  · ···OPT········to·the·right·of·the·decimal·point)·can·be·set·with·the23  · ···UNDEF······to·the·right·of·the·decimal·point)·can·be·set·with·the
20  · ···OUTPUT·····optional·PRECISION·attribute.·The·default·precision·is·zero24  · ···UNSET······optional·PRECISION·attribute.·The·default·precision·is·zero
21  · ···QUOTE······(0),·which·means·no·fractional·portion·is·displayed.25  · ···USE,_$·····(0),·which·means·no·fractional·portion·is·displayed.
22  · ···SET········At·the·request·of·many·people,·the·TIME·and·DATE·attributes26  · ···WHILE······At·the·request·of·many·people,·the·TIME·and·DATE·attributes
23  · ···UNDEF······will·now·accept·formatting·characters·that·are·passed·directly27  · ···<!---······will·now·accept·formatting·characters·that·are·passed·directly
24  · ···UNSET······into·the·ANSI·C·library·function.·This·allows·for·the·time·and28  ·History········into·the·ANSI·C·library·function.·This·allows·for·the·time·and
25  · ···USE,_$·····date·to·be·displayed·in·virtually·any·format.·Users·not29  ·Wish_list······date·to·be·displayed·in·virtually·any·format.·Users·not
26  · ···WHILE······wishing·to·mess·around·with·this·should·stick·to·the·default30  ·Bugs···········wishing·to·mess·around·with·this·should·stick·to·the·default
27  · ···<!---······format,·which·is·used·if·no·formatting·value·is·specified31 ·················format,·which·is·used·if·no·formatting·value·is·specified
28  ·History········(i.e.,·just·using·05:04:11·PM).32 ·················(i.e.,·just·using·05:04:11·PM).
29  ·Wish_list······Consult·any·C·programmer's·guide·discussing·the·standard·C33 ·················Consult·any·C·programmer's·guide·discussing·the·standard·C
30  ·Bugs···········library·function·strftime()·for·information·on·how·to·build·a34 ·················library·function·strftime()·for·information·on·how·to·build·a
31 ·················format·string.·If·unsure,·ask·an·experienced·C·programmer·for35 ·················format·string.·If·unsure,·ask·an·experienced·C·programmer·for
32 ·················help,·or·consider·just·sticking·to·the·default·formatting.36 ·················help,·or·consider·just·sticking·to·the·default·formatting.
33 ·················****·INCLUDE·****37 ·················****·INCLUDE·****
34 ·················INCLUDE·files·are·pre-processed·as·any·other·file.·The38 ·················INCLUDE·files·are·pre-processed·as·any·other·file.·The
35 ·················resulting·text·is·incorporated·into·the·HTML·output·as·if·the39 ·················resulting·text·is·incorporated·into·the·HTML·output·as·if·the
36 ·················file·had·been·copied·into·the·source·at·the·same·location·as40 ·················file·had·been·copied·into·the·source·at·the·same·location·as
37 ·················the·FILE·markup·tag.41 ·················the·FILE·markup·tag.
6.65 KB
./usr/share/doc/htp/if.html
    
Offset 127, 14 lines modifiedOffset 127, 39 lines modified
127 string:127 string:
128 ··<p><code>128 ··<p><code>
129 </code></p>129 </code></p>
130 <P>130 <P>
131 and·a·defined·operator·is·a·test·of·a·macro's·existance:131 and·a·defined·operator·is·a·test·of·a·macro's·existance:
132 <P>132 <P>
133 ··<p><code>133 ··<p><code>
 134 &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>
 135 &nbsp;OPTION="SRC·TITLE·SIZE"><br>
 136 &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>
 137 &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>
 138 &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>
 139 &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>
 140 &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>
 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>·<span·class="htp-attrib">size</span>&gt;</span><br>
 142 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 143 &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>
 144 &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>
 145 <br>
 146 &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>
 147 <br>
 148 &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>
 149 <br>
 150 &nbsp;·This·will·fail:<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">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>
 152 <br>
 153 &nbsp;·Instead,·use·*·like·this:<br>
 154 &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>
 155 &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>
 156 &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>
 157 &nbsp;·&nbsp;·<br>
 158 &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>
134 </code></p>159 </code></p>
135 <P>160 <P>
136 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the161 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
137 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that162 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
138 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the163 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
139 ELSE·block·is·taken·if·it·is·present.··A·conditional·block164 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
140 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.165 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
2.49 KB
html2text {}
    
Offset 4, 34 lines modifiedOffset 4, 60 lines modified
4 Contents·········*****·synopsis·*****4 Contents·········*****·synopsis·*****
5  ·Introduction···IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building·blocks·for5  ·Introduction···IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building·blocks·for
6  ·License········conditional·processing.·The·basic·form·is·shown·above.6  ·License········conditional·processing.·The·basic·form·is·shown·above.
7  ·Tutorial·······"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.7  ·Tutorial·······"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
8  ·Usage··········A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a8  ·Usage··········A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a
9  ·HTP·Tags·······literal·string:9  ·HTP·Tags·······literal·string:
10  · ···ALTTEXT····and·a·defined·operator·is·a·test·of·a·macro's·existance:10  · ···ALTTEXT····and·a·defined·operator·is·a·test·of·a·macro's·existance:
11  · ···BLOCK······If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of 
12  · ···BLOCKDEF···the·conditional·is·reversed.·The·first·IF·or·ELSEIF·condition 
13  · ···DEF········that·evaluates·to·true·is·chosen.·If·none·of·the·conditions·is 
14  · ···FILE·······true·the·ELSE·block·is·taken·if·it·is·present.·A·conditional 
15  ·[>]·IF·········block·must·be·closed·with·the·/IF·tag.·IF·tags·can·be·nested. 
16  · ···INC 
17  · ···IMG 
18  · ···IMAGEURL 
19  · ···OPT 
20  · ···OUTPUT 
21  · ···QUOTE11  · ···BLOCK······ · ·<[[ref]]unset·email_addr>
 12  · ···BLOCKDEF··· OPTION="SRC·TITLE·SIZE">
 13  · ···DEF········ · ·<[[ref]]IF·size>
 14  · ···FILE······· · · · ·<FONT·SIZE=${size}>
 15  ·[>]·IF········· · ·<[[ref]]/IF>
 16  · ···INC········ · ·<[[ref]]IMG·SRC=pics/${src}>
 17  · ···IMG········ · ·<[[ref]]USE·title>
 18  · ···IMAGEURL··· · ·<[[ref]]IF·size>
 19  · ···OPT········ · · · ·</FONT>
 20  · ···OUTPUT····· · ·<[[ref]]/IF>
 21  · ···QUOTE······ ·<[[ref]]/DEF>
22  · ···SET22  · ···SET
23  · ···UNDEF23  · ···UNDEF······ ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A·title">
24  · ···UNSET24  · ···UNSET
25  · ···USE,_$25  · ···USE,_$····· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized·title">
26  · ···WHILE26  · ···WHILE
27  · ···<!--- 
28  ·History 
29  ·Wish_list27  · ···<!---······ ·This·will·fail:
 28  ·History········ ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"·TITLE="Another
 29  ·Wish_list······title">
30  ·Bugs30  ·Bugs
 31 ················· ·Instead,·use·*·like·this:
 32 ················· ·<[[ref]]DEF·NAME="MYIMG"·OPTION="SRC·*">
 33 ················· · ·<[[ref]]IMG·SRC="pics/${src}"·$*>
 34 ················· ·<[[ref]]/DEF>
 35 ················· · 
 36 ················· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
 37 ·················If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of
 38 ·················the·conditional·is·reversed.·The·first·IF·or·ELSEIF·condition
 39 ·················that·evaluates·to·true·is·chosen.·If·none·of·the·conditions·is
 40 ·················true·the·ELSE·block·is·taken·if·it·is·present.·A·conditional
 41 ·················block·must·be·closed·with·the·/IF·tag.·IF·tags·can·be·nested.
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
31  ··page_source42  ··page_source
2.95 KB
./usr/share/doc/htp/imageurl.html
    
Offset 135, 14 lines modifiedOffset 135, 18 lines modified
135 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC135 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC
136 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.136 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.
137 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and137 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and
138 looked·up·in·the·current·directory.</P>138 looked·up·in·the·current·directory.</P>
139 <P>139 <P>
140 For·example:</P>140 For·example:</P>
141 ··<p><code>141 ··<p><code>
 142 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[noexpand]</span>&gt;</span><br>
 143 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 144 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 145 <br>
142 </code></p>146 </code></p>
143 <P>147 <P>
144 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as148 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
145 an·undefine,·and·is·removed.</P>149 an·undefine,·and·is·removed.</P>
146 <P>150 <P>
147 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout151 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
148 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an152 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
1.71 KB
html2text {}
    
Offset 13, 25 lines modifiedOffset 13, 29 lines modified
13  · ···DEF········account·(later·definitions·take·precedence·to·earlier):·For13  · ···DEF········account·(later·definitions·take·precedence·to·earlier):·For
14  · ···FILE·······each·defined·imageurl·it·checks·(case-insensitive)·if·it·is·a14  · ···FILE·······each·defined·imageurl·it·checks·(case-insensitive)·if·it·is·a
15  · ···IF·········prefix·of·the·image's·SRC·attribute.·If·it·matches·this·prefix15  · ···IF·········prefix·of·the·image's·SRC·attribute.·If·it·matches·this·prefix
16  · ···INC········is·replaced·by·the·given·PATH.·If·no·IMAGEURL·matches·the·SRC16  · ···INC········is·replaced·by·the·given·PATH.·If·no·IMAGEURL·matches·the·SRC
17  · ···IMG········is·considered·as·relative·link·and·looked·up·in·the·current17  · ···IMG········is·considered·as·relative·link·and·looked·up·in·the·current
18  ·[>]·IMAGEURL···directory.18  ·[>]·IMAGEURL···directory.
19  · ···OPT········For·example:19  · ···OPT········For·example:
 20  · ···OUTPUT·····<[[ref]]use·macroname·[parameters·...]·[noexpand]>
 21  · ···QUOTE······<...·$macroname·...>
 22  · ···SET········<...·${macroname}·...>
 23  · ···UNDEF
20  · ···OUTPUT·····If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it24  · ···UNSET······If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it
21  · ···QUOTE······is·treated·as·an·undefine,·and·is·removed.25  · ···USE,_$·····is·treated·as·an·undefine,·and·is·removed.
22  · ···SET········Since·you·usually·need·the·url·mapping·for·a·number·of·images26  · ···WHILE······Since·you·usually·need·the·url·mapping·for·a·number·of·images
23  · ···UNDEF······used·throughout·a·set·of·documents,·IMAGEURL·is·most27  · ···<!---······used·throughout·a·set·of·documents,·IMAGEURL·is·most
24  · ···UNSET······appropriately·put·into·an·include_file·or·the·htp.def·file.28  ·History········appropriately·put·into·an·include_file·or·the·htp.def·file.
25  · ···USE,_$·····In·addition·to·WIDTH·and·HEIGHT,·htp·can·also·(semi-29  ·Wish_list······In·addition·to·WIDTH·and·HEIGHT,·htp·can·also·(semi-
26  · ···WHILE······)automatically·add·an·ALT_text·attribute·to·IMG·tags.30  ·Bugs···········)automatically·add·an·ALT_text·attribute·to·IMG·tags.
27  · ···<!--- 
28  ·History 
29  ·Wish_list 
30  ·Bugs 
  
  
  
  
  
  
  
  
  
  
10.3 KB
./usr/share/doc/htp/metatag.html
    
Offset 88, 14 lines modifiedOffset 88, 16 lines modified
88 <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and88 <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and
89 undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P>89 undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P>
90 <P>90 <P>
91 As·an·example·we·show·how·to·define·a·tag·that·builds·a91 As·an·example·we·show·how·to·define·a·tag·that·builds·a
92 fancy·horizontal·rule·out·of·several·images.92 fancy·horizontal·rule·out·of·several·images.
93 </P>93 </P>
94 ··<p><code>94 ··<p><code>
 95 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="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>
 96 <font·size="-2">&nbsp;2.·</font><br>
95 </code></p>97 </code></p>
96 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.98 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.
97 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.99 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.
98 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and100 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and
99 <code>/def</code></a>·tags.··You·don't·have·to·understand·this101 <code>/def</code></a>·tags.··You·don't·have·to·understand·this
100 html·code,·but·you·should·understand·that·this·is·just·pure·html·to102 html·code,·but·you·should·understand·that·this·is·just·pure·html·to
101 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>103 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>
Offset 112, 25 lines modifiedOffset 114, 26 lines modified
112 </code></p>114 </code></p>
113 <h2>Using·parameters</h2>115 <h2>Using·parameters</h2>
114 <p>·More·sophisticated·tags·accept·parameters.··The116 <p>·More·sophisticated·tags·accept·parameters.··The
115 <code>option</code>·parameter·lets·multiple·metatag·parameters·be117 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
116 named·and·expanded·inside·the·<code>def</code>·or118 named·and·expanded·inside·the·<code>def</code>·or
117 <code>blockdef</code>·block:·</p>119 <code>blockdef</code>·block:·</p>
118 ··<p><code>120 ··<p><code>
 121 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br>
 122 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
 123 <font·size="-2">&nbsp;3.·</font><br>
119 </code></p>124 </code></p>
120 <h2>Saving·blocks·for·later</h2>125 <h2>Saving·blocks·for·later</h2>
121 <p>When·you·are·using·templates,·the·html·should·only·be·written·by126 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
122 the·template·file.··The·normal·htp·files·should·just·define·macros127 the·template·file.··The·normal·htp·files·should·just·define·macros
123 that·are·used·later·in·the·template.··So·you·may·want·to·write·block128 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
124 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this129 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
125 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to130 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
126 do·this:</p>131 do·this:</p>
127 ··<p><code>132 ··<p><code>
128 <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> 
129 <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> 
130 </code></p>133 </code></p>
131 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a134 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
132 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is135 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
133 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is136 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
134 build·from·this·counter.··So·the·first·section·is·stored·in·block137 build·from·this·counter.··So·the·first·section·is·stored·in·block
135 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>·flag138 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
136 in·line·4·tells·htp·that·these·macros·should·be·defined·globally139 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
Offset 149, 15 lines modifiedOffset 152, 16 lines modified
149 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be152 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be
150 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the153 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the
151 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you154 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you
152 use·expand·in·a·block·around·it.</p>155 use·expand·in·a·block·around·it.</p>
153 <p>To·close·this·example·we·show·how·to·expand·the156 <p>To·close·this·example·we·show·how·to·expand·the
154 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>157 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>
155 ··<p><code>158 ··<p><code>
156 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>&gt;</span><br>159 <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>
 160 <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>
157 </code></p>161 </code></p>
158 <p>162 <p>
159 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·whether163 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
160 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is164 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is
161 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards165 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards
162 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This166 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This
163 repeats·until·sect-${sect-ctr}·is·not·defined.167 repeats·until·sect-${sect-ctr}·is·not·defined.
4.87 KB
html2text {}
    
Offset 6, 43 lines modifiedOffset 6, 46 lines modified
6  ·License········abbreviates.·In·fact·metatags·are·just·like·block·macros,·but6  ·License········abbreviates.·In·fact·metatags·are·just·like·block·macros,·but
7  ·Tutorial·······they·have·a·nicer·syntax.·With·metatags·you·can·expand·htp's7  ·Tutorial·······they·have·a·nicer·syntax.·With·metatags·you·can·expand·htp's
8  · ···Macros·····functionality.8  · ···Macros·····functionality.
9  · ···Including··Metatags·are·defined·with·the·[[ref]]def·and·[[ref]]blockdef9  · ···Including··Metatags·are·defined·with·the·[[ref]]def·and·[[ref]]blockdef
10  · ···Templates··tags·and·undefined·with·the·[[ref]]undef·tag.10  · ···Templates··tags·and·undefined·with·the·[[ref]]undef·tag.
11  · ···Files······As·an·example·we·show·how·to·define·a·tag·that·builds·a·fancy11  · ···Files······As·an·example·we·show·how·to·define·a·tag·that·builds·a·fancy
12  ·[>]·Metatags···horizontal·rule·out·of·several·images.12  ·[>]·Metatags···horizontal·rule·out·of·several·images.
 13  ·Usage·········· 1.·<[[ref]]imageurl·url="imageurl"·[·path="path/in/local/
 14  ·HTP_Tags·······filesystem"·]>
 15  ·History········ 2.
13  ·Usage··········In·line·1·of·the·above·example·a·new·tag·named·imghr·is16  ·Wish_list······In·line·1·of·the·above·example·a·new·tag·named·imghr·is
14  ·HTP_Tags·······defined.·The·html·code·which·implements·this·rule·is·following17  ·Bugs···········defined.·The·html·code·which·implements·this·rule·is·following
15  ·History········in·lines·2-8.·between·the·[[ref]]def_and_/def·tags.·You·don't18 ·················in·lines·2-8.·between·the·[[ref]]def_and_/def·tags.·You·don't
16  ·Wish_list······have·to·understand·this·html·code,·but·you·should·understand19 ·················have·to·understand·this·html·code,·but·you·should·understand
17  ·Bugs···········that·this·is·just·pure·html·to·draw·the·fancy·rule.·Every·time20 ·················that·this·is·just·pure·html·to·draw·the·fancy·rule.·Every·time
18 ·················you·write·<imghr>·as·in·line·12·htp·will·replace·this·tag·with21 ·················you·write·<imghr>·as·in·line·12·htp·will·replace·this·tag·with
19 ·················the·corresponding·html·code.·To·make·metatags·available·to·all22 ·················the·corresponding·html·code.·To·make·metatags·available·to·all
20 ·················htp·documents·in·your·project,·place·them·in·a·common·[23 ·················htp·documents·in·your·project,·place·them·in·a·common·[
21 ·················[ref]]include_file.24 ·················[ref]]include_file.
22 ·················Often·you·want·to·define·tags·that·have·an·opening·and·a25 ·················Often·you·want·to·define·tags·that·have·an·opening·and·a
23 ·················closing·variant.·For·this·purpose·you·should·use·the·[26 ·················closing·variant.·For·this·purpose·you·should·use·the·[
24 ·················[ref]]blockdef·tag.·When·htp·encounters·a·blockdef·tag·it·will27 ·················[ref]]blockdef·tag.·When·htp·encounters·a·blockdef·tag·it·will
25 ·················automatically·search·for·the·matching·closing·tag·and·put28 ·················automatically·search·for·the·matching·closing·tag·and·put
26 ·················everything·between·these·tags·in·a·block·macro·named·block.29 ·················everything·between·these·tags·in·a·block·macro·named·block.
27 ·················Here·is·an·example·for·this.30 ·················Here·is·an·example·for·this.
28 ·················*****·Using·parameters·*****31 ·················*****·Using·parameters·*****
29 ·················More·sophisticated·tags·accept·parameters.·The·option32 ·················More·sophisticated·tags·accept·parameters.·The·option
30 ·················parameter·lets·multiple·metatag·parameters·be·named·and33 ·················parameter·lets·multiple·metatag·parameters·be·named·and
31 ·················expanded·inside·the·def·or·blockdef·block:34 ·················expanded·inside·the·def·or·blockdef·block:
 35 ················· 1.·<[[ref]]UNDEF·tagname>
 36 ················· 2.·<[[ref]]UNDEF·tagname1·tagname2·...·>
 37 ················· 3.
32 ·················*****·Saving·blocks·for·later·*****38 ·················*****·Saving·blocks·for·later·*****
33 ·················When·you·are·using·templates,·the·html·should·only·be·written39 ·················When·you·are·using·templates,·the·html·should·only·be·written
34 ·················by·the·template·file.·The·normal·htp·files·should·just·define40 ·················by·the·template·file.·The·normal·htp·files·should·just·define
35 ·················macros·that·are·used·later·in·the·template.·So·you·may·want·to41 ·················macros·that·are·used·later·in·the·template.·So·you·may·want·to
36 ·················write·block·tags·that·just·save·the·block·in·a·macro·for·later42 ·················write·block·tags·that·just·save·the·block·in·a·macro·for·later
37 ·················use.·Although·this·is·possible·with·htp·it·is·quite·tricky,·so43 ·················use.·Although·this·is·possible·with·htp·it·is·quite·tricky,·so
38 ·················here·we·present·the·way·to·do·this:44 ·················here·we·present·the·way·to·do·this:
39 ················· 1.·<a·href="mailto:$email">mailto·hyperlink</a> 
40 ················· 2.·<a·href="http://$domain/~${username}/">another·hyperlink</ 
41 ·················a> 
42 ·················This·defines·a·block·macro·named·section.·This·macro·uses·a45 ·················This·defines·a·block·macro·named·section.·This·macro·uses·a
43 ·················counter·sect-ctr·that·enumerates·the·sections.·It·is·increased46 ·················counter·sect-ctr·that·enumerates·the·sections.·It·is·increased
44 ·················for·every·section·(line·3)·and·then·the·block·macro·name·is47 ·················for·every·section·(line·3)·and·then·the·block·macro·name·is
45 ·················build·from·this·counter.·So·the·first·section·is·stored·in48 ·················build·from·this·counter.·So·the·first·section·is·stored·in
46 ·················block·sect-1,·the·second·in·sect-2·and·so·on.·The·[49 ·················block·sect-1,·the·second·in·sect-2·and·so·on.·The·[
47 ·················[ref]]global·flag·in·line·4·tells·htp·that·these·macros·should50 ·················[ref]]global·flag·in·line·4·tells·htp·that·these·macros·should
48 ·················be·defined·globally·for·the·remaining·run.·Otherwise·they51 ·················be·defined·globally·for·the·remaining·run.·Otherwise·they
Offset 60, 15 lines modifiedOffset 63, 17 lines modified
60 ·················opposite·and·prevents·the·contents·of·block·to·be·expanded63 ·················opposite·and·prevents·the·contents·of·block·to·be·expanded
61 ·················twice.·If·you·omit·it,·it·would·be·expanded·when·defining·the64 ·················twice.·If·you·omit·it,·it·would·be·expanded·when·defining·the
62 ·················sect-1·macro·and·when·using·it·later·in·the·template.65 ·················sect-1·macro·and·when·using·it·later·in·the·template.
63 ·················Generally·it·is·a·good·idea·to·use·noexpand·whenever·you·use66 ·················Generally·it·is·a·good·idea·to·use·noexpand·whenever·you·use
64 ·················expand·in·a·block·around·it.67 ·················expand·in·a·block·around·it.
65 ·················To·close·this·example·we·show·how·to·expand·the·sect-${sect-68 ·················To·close·this·example·we·show·how·to·expand·the·sect-${sect-
66 ·················ctr}·blocks·in·the·template:69 ·················ctr}·blocks·in·the·template:
67 ················· 1.· · ·<${tagName}·${attrName}=${value$ctr}>70 ················· 1.·<a·href="mailto:$email">mailto·hyperlink</a>
 71 ················· 2.·<a·href="http://$domain/~${username}/">another·hyperlink</
 72 ·················a>
68 ·················The·[[ref]]while·tag·in·line·3·checks·whether·the·macro·sect-$73 ·················The·[[ref]]while·tag·in·line·3·checks·whether·the·macro·sect-$
69 ·················{sect-ctr}·is·defined.·If·it·is·defined·the·body·is·evaluated,74 ·················{sect-ctr}·is·defined.·If·it·is·defined·the·body·is·evaluated,
70 ·················which·expands·the·macro·and·increases·sect-ctr.·Afterwards·the75 ·················which·expands·the·macro·and·increases·sect-ctr.·Afterwards·the
71 ·················while·condition·is·checked·again·to·check·for·sect-2·macro.76 ·················while·condition·is·checked·again·to·check·for·sect-2·macro.
72 ·················This·repeats·until·sect-${sect-ctr}·is·not·defined.77 ·················This·repeats·until·sect-${sect-ctr}·is·not·defined.
73 ·················*****·Conclusions·*****78 ·················*****·Conclusions·*****
74 ·················This·closes·our·short·htp·tutorial.·I·hope·you·did·enjoy·it79 ·················This·closes·our·short·htp·tutorial.·I·hope·you·did·enjoy·it
2.98 KB
./usr/share/doc/htp/output.html
    
Offset 114, 14 lines modifiedOffset 114, 18 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <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>
121 </code></p>125 </code></p>
122 <h2>synopsis</h2>126 <h2>synopsis</h2>
123 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary127 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary
124 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the128 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the
125 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>129 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>
126 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you130 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
127 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text131 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text
1.92 KB
html2text {}
    
Offset 1, 24 lines modifiedOffset 1, 24 lines modified
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·OUTPUT·******2 ******·htp·on-line·reference·:·OUTPUT·******
3 Table_of·········*****·syntax·*****3 Table_of·········*****·syntax·*****
 4 Contents·········<[[ref]]WHILE·[NOT]·conditional>
 5  ·Introduction··· · ·block
 6  ·License········<[[ref]]/WHILE>
 7  ·Tutorial
4 Contents·········*****·synopsis·*****8  ·Usage··········*****·synopsis·*****
5  ·Introduction···The·OUTPUT·tag·can·be·used·to·create·auxillary·files·besides9  ·HTP·Tags·······The·OUTPUT·tag·can·be·used·to·create·auxillary·files·besides
6  ·License········the·main·HTML·file.·The·text·between·this·tag·and·the10  · ···ALTTEXT····the·main·HTML·file.·The·text·between·this·tag·and·the
7  ·Tutorial·······corresponding·</OUTPUT>·tag·is·written·to·output·file.11  · ···BLOCK······corresponding·</OUTPUT>·tag·is·written·to·output·file.
8  ·Usage··········Normally·the·outputfile·is·cleared·before·writing·to·it,·but12  · ···BLOCKDEF···Normally·the·outputfile·is·cleared·before·writing·to·it,·but
9  ·HTP·Tags·······you·can·use·the·APPEND·attribute·to·extend·an·existing·file.13  · ···DEF········you·can·use·the·APPEND·attribute·to·extend·an·existing·file.
10  · ···ALTTEXT····The·text·written·to·the·file·is·normally·not·expanded,·i.e.14  · ···FILE·······The·text·written·to·the·file·is·normally·not·expanded,·i.e.
11  · ···BLOCK······all·tags·inside·this·block·are·not·executed·but·written15  · ···IF·········all·tags·inside·this·block·are·not·executed·but·written
12  · ···BLOCKDEF···unmodified·to·the·file.·However,·you·can·use·the·EXPAND16  · ···INC········unmodified·to·the·file.·However,·you·can·use·the·EXPAND
13  · ···DEF········attribute·to·override·this·behaviour.17  · ···IMG········attribute·to·override·this·behaviour.
14  · ···FILE 
15  · ···IF 
16  · ···INC 
17  · ···IMG 
18  · ···IMAGEURL18  · ···IMAGEURL
19  · ···OPT19  · ···OPT
20  ·[>]·OUTPUT20  ·[>]·OUTPUT
21  · ···QUOTE21  · ···QUOTE
22  · ···SET22  · ···SET
23  · ···UNDEF23  · ···UNDEF
24  · ···UNSET24  · ···UNSET
Offset 28, 14 lines modifiedOffset 28, 18 lines modified
28  ·History28  ·History
29  ·Wish_list29  ·Wish_list
30  ·Bugs30  ·Bugs
  
  
  
  
  
  
  
  
31  ··page_source31  ··page_source
32  ··htp_project32  ··htp_project
33  ··htp_homepage33  ··htp_homepage
34 hosted·by34 hosted·by
35 Sourceforge35 Sourceforge
36 HTML·coding36 HTML·coding
37 [Powered_by_htp]37 [Powered_by_htp]
2.52 KB
./usr/share/doc/htp/quote.html
    
Offset 114, 14 lines modifiedOffset 114, 18 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OUTPUT</a>·<span·class="htp-attrib">FILE</span>=<span·class="htp-string">"outputfilename"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">APPEND</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>&gt;</span><br>
 122 text·block<br>
 123 <span·class="htp-tag">&lt;<a·href="output.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/OUTPUT</a>&gt;</span><br>
 124 <br>
121 </code></p>125 </code></p>
122 <h2>synopsis</h2>126 <h2>synopsis</h2>
123 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise127 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise
124 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a128 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a
125 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early129 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early
126 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still130 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still
127 done·inside·a·quote·block.131 done·inside·a·quote·block.
1.37 KB
html2text {}
    
Offset 1, 20 lines modifiedOffset 1, 20 lines modified
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·QUOTE·******2 ******·htp·on-line·reference·:·QUOTE·******
3 Table_of·········*****·syntax·*****3 Table_of·········*****·syntax·*****
 4 Contents·········<[[ref]]OUTPUT·FILE="outputfilename"·[APPEND]·[EXPAND]>
 5  ·Introduction···text·block
 6  ·License········<[[ref]]/OUTPUT>
 7  ·Tutorial
4 Contents·········*****·synopsis·*****8  ·Usage··········*****·synopsis·*****
5  ·Introduction···QUOTE·is·used·to·quote·a·macro·that·would·otherwise·be9  ·HTP·Tags·······QUOTE·is·used·to·quote·a·macro·that·would·otherwise·be
6  ·License········interpreted·by·HTP.·It·may·be·useful·in·conjunction·with·a10  · ···ALTTEXT····interpreted·by·HTP.·It·may·be·useful·in·conjunction·with·a
7  ·Tutorial·······surrounding·EXPANDed·block·to·prevent·early·expansion·of·some11  · ···BLOCK······surrounding·EXPANDed·block·to·prevent·early·expansion·of·some
8  ·Usage··········contained·blocks.·Note·that·'$'·evaluation·is·still·done12  · ···BLOCKDEF···contained·blocks.·Note·that·'$'·evaluation·is·still·done
9  ·HTP·Tags·······inside·a·quote·block.13  · ···DEF········inside·a·quote·block.
10  · ···ALTTEXT 
11  · ···BLOCK 
12  · ···BLOCKDEF 
13  · ···DEF 
14  · ···FILE14  · ···FILE
15  · ···IF15  · ···IF
16  · ···INC16  · ···INC
17  · ···IMG17  · ···IMG
18  · ···IMAGEURL18  · ···IMAGEURL
19  · ···OPT19  · ···OPT
20  · ···OUTPUT20  · ···OUTPUT
Offset 24, 14 lines modifiedOffset 24, 18 lines modified
24  · ···UNSET24  · ···UNSET
25  · ···USE,_$25  · ···USE,_$
26  · ···WHILE26  · ···WHILE
27  · ···<!---27  · ···<!---
28  ·History28  ·History
29  ·Wish_list29  ·Wish_list
30  ·Bugs30  ·Bugs
  
  
  
  
31  ··page_source31  ··page_source
32  ··htp_project32  ··htp_project
33  ··htp_homepage33  ··htp_homepage
34 hosted·by34 hosted·by
35 Sourceforge35 Sourceforge
36 HTML·coding36 HTML·coding
37 [Powered_by_htp]37 [Powered_by_htp]
8.99 KB
./usr/share/doc/htp/set.html
    
Offset 114, 45 lines modifiedOffset 114, 26 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>
 124 <br>
121 </code></p>125 </code></p>
122 <h2>synopsis</h2>126 <h2>synopsis</h2>
123 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded127 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
124 anywhere·in·the·HTML·document.··To·create·a·macro:128 anywhere·in·the·HTML·document.··To·create·a·macro:
125 ··<p><code>129 ··<p><code>
126 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>·<span·class="htp-attrib">[noexpand]</span>&gt;</span><br> 
127 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
128 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
129 <br> 
130 ><br> 
131 &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> 
132 &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> 
133 &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>130 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br>
 131 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
134 &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> 
135 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
136 &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> 
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;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> 
140 <br> 
141 &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> 
142 <br> 
143 &nbsp;·This·will·fail:<br> 
144 &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> 
145 <br>132 <br>
146 &nbsp;·Instead,·use·*·like·this:<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>·<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> 
148 &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> 
149 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
150 &nbsp;·&nbsp;·<br> 
151 &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> 
152 </code></p>133 </code></p>
153 <P>134 <P>
154 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">135 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">
155 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular136 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular
156 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the137 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
157 <A·HREF="use.html">'$'</A>·operator.138 <A·HREF="use.html">'$'</A>·operator.
158 <P>139 <P>
3.77 KB
html2text {}
    
Offset 1, 57 lines modifiedOffset 1, 37 lines modified
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·SET·******2 ******·htp·on-line·reference·:·SET·******
3 Table_of·········*****·syntax·*****3 Table_of·········*****·syntax·*****
 4 Contents·········<[[ref]]WHILE·[NOT]·conditional>
 5  ·Introduction··· · ·block
 6  ·License········<[[ref]]/WHILE>
 7  ·Tutorial
4 Contents·········*****·synopsis·*****8  ·Usage··········*****·synopsis·*****
5  ·Introduction···SET·creates·a·macro·definition·that·can·later·be·expanded9  ·HTP·Tags·······SET·creates·a·macro·definition·that·can·later·be·expanded
6  ·License········anywhere·in·the·HTML·document.·To·create·a·macro:10  · ···ALTTEXT····anywhere·in·the·HTML·document.·To·create·a·macro:
 11  · ···BLOCK······<[[ref]]UNDEF·tagname>
 12  · ···BLOCKDEF···<[[ref]]UNDEF·tagname1·tagname2·...·>
7  ·Tutorial·······<[[ref]]use·macroname·[parameters·...]·[noexpand]> 
8  ·Usage··········<...·$macroname·...> 
9  ·HTP·Tags·······<...·${macroname}·...> 
10  · ···ALTTEXT 
11  · ···BLOCK······> 
12  · ···BLOCKDEF··· · ·<[[ref]]/IF> 
13  · ···DEF········ · ·<[[ref]]IMG·SRC=pics/${src}> 
14  · ···FILE······· · ·<[[ref]]USE·title> 
15  · ···IF········· · ·<[[ref]]IF·size> 
16  · ···INC········ · · · ·</FONT> 
17  · ···IMG········ · ·<[[ref]]/IF> 
18  · ···IMAGEURL··· ·<[[ref]]/DEF> 
19  · ···OPT 
20  · ···OUTPUT····· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A·title"> 
21  · ···QUOTE 
22  ·[>]·SET········ ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized·title"> 
23  · ···UNDEF13  · ···DEF
24  · ···UNSET······ ·This·will·fail: 
25  · ···USE,_$····· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"·TITLE="Another 
26  · ···WHILE······title"> 
27  · ···<!--- 
28  ·History········ ·Instead,·use·*·like·this: 
29  ·Wish_list······ ·<[[ref]]DEF·NAME="MYIMG"·OPTION="SRC·*"> 
30  ·Bugs··········· · ·<[[ref]]IMG·SRC="pics/${src}"·$*> 
31 ················· ·<[[ref]]/DEF> 
32 ················· ·  
33 ················· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
34 ·················The·macro·"emailaddr"·can·then·be·expanded·later.·The·USE·tag14  · ···FILE·······The·macro·"emailaddr"·can·then·be·expanded·later.·The·USE·tag
35 ·················is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the15  · ···IF·········is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the
36 ·················regular·text).·If·the·macro·needs·to·be·expanded·inside·a16  · ···INC········regular·text).·If·the·macro·needs·to·be·expanded·inside·a
37 ·················markup·tag,·use·the·'$'·operator.17  · ···IMG········markup·tag,·use·the·'$'·operator.
38 ·················Multiple·macros·can·be·declared·in·a·single·markup·tag,·as·the18  · ···IMAGEURL···Multiple·macros·can·be·declared·in·a·single·markup·tag,·as·the
39 ·················second·syntax·line·shows.19  · ···OPT········second·syntax·line·shows.
40 ·················SET·should·only·be·used·for·a·single·line's·worth·of·text.20  · ···OUTPUT·····SET·should·only·be·used·for·a·single·line's·worth·of·text.
41 ·················Multi-line·macros·can·be·defined·with·the·BLOCK·tag.·The·BLOCK21  · ···QUOTE······Multi-line·macros·can·be·defined·with·the·BLOCK·tag.·The·BLOCK
42 ·················tag·is·also·useful·if·the·macro·contains·a·quotation·character22  ·[>]·SET········tag·is·also·useful·if·the·macro·contains·a·quotation·character
43 ·················and·you·don't·want·to·fool·around·with·special·escape23  · ···UNDEF······and·you·don't·want·to·fool·around·with·special·escape
44 ·················characters.24  · ···UNSET······characters.
45 ·················Macros·can·be·redefined·by·using·another·SET·command·with·the25  · ···USE,_$·····Macros·can·be·redefined·by·using·another·SET·command·with·the
46 ·················same·macro·name.·The·prior·definition·will·be·destroyed,26  · ···WHILE······same·macro·name.·The·prior·definition·will·be·destroyed,
47 ·················however.·Also,·the·macro·can·be·removed·(destroyed)·with·the27  · ···<!---······however.·Also,·the·macro·can·be·removed·(destroyed)·with·the
48 ·················UNSET·tag. 
  
 28  ·History········UNSET·tag.
 29  ·Wish_list
 30  ·Bugs
  
  
  
  
  
  
  
790 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·Sat·Nov·22,·202523 ··last·updated·Fri·Dec·25,·2026
24 ·</body>24 ·</body>
25 </html>25 </html>
393 B
html2text {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 ···············******·Jochen·Hoenicke·******1 ···············******·Jochen·Hoenicke·******
2 Navigation·bar·[Photo]2 Navigation·bar·[Photo]
3 Main···········Room:··Bld.52·00-0203 Main···········Room:··Bld.52·00-020
4 Example········Phone:·+49·761·203-82434 Example········Phone:·+49·761·203-8243
5 ···············Fax:···+49·761·203-82425 ···············Fax:···+49·761·203-8242
6 ===============================================================================6 ===============================================================================
7 Copyright·by·Joe_Doe.7 Copyright·by·Joe_Doe.
8 last·updated·Sat·Nov·22,·20258 last·updated·Fri·Dec·25,·2026
643 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·Sat·Nov·22,·202512 last·updated·Fri·Dec·25,·2026
13 </body>13 </body>
303 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,·webmaster@domain.com,·last·updated·Sat·Nov·22,·20253 Copyright·by·Joe·Doe,·webmaster@domain.com,·last·updated·Fri·Dec·25,·2026
686 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·Sat·Nov·22,·202520 ··last·updated·Fri·Dec·25,·2026
21 ·</body>21 ·</body>
22 </html>22 </html>
338 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*****·Here·is·the·content·*****1 Navigation·bar·*****·Here·is·the·content·*****
2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 Example3 Example
4 ===============================================================================4 ===============================================================================
5 Copyright·by·Joe_Doe.5 Copyright·by·Joe_Doe.
6 last·updated·Sat·Nov·22,·20256 last·updated·Fri·Dec·25,·2026
684 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·Sat·Nov·22,·202520 ··last·updated·Fri·Dec·25,·2026
21 ·</body>21 ·</body>
22 </html>22 </html>
340 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*****·Here·are·the·contents·*****1 Navigation·bar·*****·Here·are·the·contents·*****
2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 Example3 Example
4 ===============================================================================4 ===============================================================================
5 Copyright·by·Joe_Doe.5 Copyright·by·Joe_Doe.
6 last·updated·Sat·Nov·22,·20256 last·updated·Fri·Dec·25,·2026
7.86 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 44 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 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">INCLUDE</span>=<span·class="htp-string">"include.hti"</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim·Nelson"</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
 122 &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>
121 </code></p>123 </code></p>
122 <h2>synopsis</h2>124 <h2>synopsis</h2>
123 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.125 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.
124 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.126 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.
125 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or127 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or
126 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The128 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The
127 old·macro·definition·will·be·removed·automatically.)129 old·macro·definition·will·be·removed·automatically.)
128 <P>130 <P>
129 For·example:131 For·example:
130 ··<p><code>132 ··<p><code>
 133 <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>
 134 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
131 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>&gt;</span><br> 
132 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
133 &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> 
134 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br> 
135 &nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
137 &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> 
138 </code></p>135 </code></p>
139 <P>136 <P>
140 More·than·one·macro·may·be·removed·in·the·same·tag:137 More·than·one·macro·may·be·removed·in·the·same·tag:
141 ··<p><code>138 ··<p><code>
 139 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>&gt;</span><br>
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">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br> 
143 &nbsp;·&nbsp;·...<br> 
144 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
145 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
146 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
147 &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> 
148 &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> 
149 &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> 
150 <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> 
151 </code></p>140 </code></p>
152 <p>141 <p>
153 </td>142 </td>
154 </tr>143 </tr>
155 <tr>144 <tr>
156 <td·width="20%"·bgcolor="white"·valign="bottom">145 <td·width="20%"·bgcolor="white"·valign="bottom">
157 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">146 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
2.53 KB
html2text {}
    
Offset 1, 54 lines modifiedOffset 1, 44 lines modified
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·UNSET·******2 ******·htp·on-line·reference·:·UNSET·******
3 Table_of·········*****·syntax·*****3 Table_of·········*****·syntax·*****
 4 Contents········· · ·<[[ref]]FILE·INCLUDE="include.hti"·name="Jim·Nelson"
 5  ·Introduction···email="jnelson@crl.com">
 6  ·License········ · ·This·tag·will·fail:·<[[ref]]USE·name>
4 Contents·········*****·synopsis·*****7  ·Tutorial·······*****·synopsis·*****
5  ·Introduction···UNSET·removes·(or·deletes)·a·macro·and·it's·definition.·The8  ·Usage··········UNSET·removes·(or·deletes)·a·macro·and·it's·definition.·The
6  ·License········macro·is·subsequently·not·available·for·use·in·the·pre-9  ·HTP·Tags·······macro·is·subsequently·not·available·for·use·in·the·pre-
7  ·Tutorial·······processed·files.·(Note·that·simply·redefining·the·macro·with10  · ···ALTTEXT····processed·files.·(Note·that·simply·redefining·the·macro·with
8  ·Usage··········another·SET·or·BLOCK·definition·with·the·same·name·is11  · ···BLOCK······another·SET·or·BLOCK·definition·with·the·same·name·is
9  ·HTP·Tags·······acceptable.·The·old·macro·definition·will·be·removed12  · ···BLOCKDEF···acceptable.·The·old·macro·definition·will·be·removed
10  · ···ALTTEXT····automatically.)13  · ···DEF········automatically.)
11  · ···BLOCK······For·example:14  · ···FILE·······For·example:
 15  · ···IF·········<a·href="mailto:$email">mailto·hyperlink</a>
 16  · ···INC········<a·href="http://$domain/~${username}/">another·hyperlink</a>
12  · ···BLOCKDEF··· ·<[[ref]]set·sect-ctr="0"> 
13  · ···DEF········ ·<[[ref]]blockdef·name="section"> 
14  · ···FILE······· · ·<[[ref]]inc·sect-ctr> 
15  · ···IF········· · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global> 
16  · ···INC········ · · ·<[[ref]]use·block·noexpand> 
17  · ···IMG········ · ·<[[ref]]/block> 
18  · ···IMAGEURL··· ·<[[ref]]/blockdef> 
19  · ···OPT········More·than·one·macro·may·be·removed·in·the·same·tag:17  · ···IMG········More·than·one·macro·may·be·removed·in·the·same·tag:
20  · ···OUTPUT····· ·<[[ref]]WHILE·sect-$i> 
21  · ···QUOTE······ · ·... 
22  · ···SET········ · ·<[[ref]]INC·i> 
23  · ···UNDEF······ ·<[[ref]]/WHILE> 
24  ·[>]·UNSET······ ·<[[ref]]while·sect-${sect-ctr}> 
25  · ···USE,_$····· · ·<[[ref]]use·sect-${sect-ctr}> 
26  · ···WHILE······ · ·<[[ref]]inc·sect-ctr> 
27  · ···<!---······ ·<[[ref]]/while> 
28  ·History········<[[ref]]file·include="footer.hti">18  · ···IMAGEURL··· · ·<${tagName}·${attrName}=${value$ctr}>
 19  · ···OPT
 20  · ···OUTPUT
 21  · ···QUOTE
 22  · ···SET
 23  · ···UNDEF
 24  ·[>]·UNSET
 25  · ···USE,_$
 26  · ···WHILE
 27  · ···<!---
 28  ·History
29  ·Wish_list29  ·Wish_list
30  ·Bugs30  ·Bugs
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
31  ··page_source31  ··page_source
32  ··htp_project32  ··htp_project
33  ··htp_homepage33  ··htp_homepage
34 hosted·by34 hosted·by
35 Sourceforge35 Sourceforge
12.9 KB
./usr/share/doc/htp/use.html
    
Offset 131, 15 lines modifiedOffset 131, 39 lines modified
131 attribute·to·prevent·further·expansion.··</p>131 attribute·to·prevent·further·expansion.··</p>
132 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros132 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
133 for·the·expanded·macro.··This·is·only·valid·for·<A133 for·the·expanded·macro.··This·is·only·valid·for·<A
134 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A134 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
135 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For135 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
136 example:</p>136 example:</p>
137 ··<p><code>137 ··<p><code>
138 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>&gt;</span><br>138 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>
 139 <font·size="-2">&nbsp;2.·</font>&nbsp;OPTION="SRC·TITLE·SIZE"><br>
 140 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 141 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br>
 142 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 143 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br>
 144 <font·size="-2">&nbsp;7.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br>
 145 <font·size="-2">&nbsp;8.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 146 <font·size="-2">&nbsp;9.·</font>&nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 147 <font·size="-2">10.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 148 <font·size="-2">11.·</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>
 149 <font·size="-2">12.·</font><br>
 150 <font·size="-2">13.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br>
 151 <font·size="-2">14.·</font><br>
 152 <font·size="-2">15.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br>
 153 <font·size="-2">16.·</font><br>
 154 <font·size="-2">17.·</font>&nbsp;·This·will·fail:<br>
 155 <font·size="-2">18.·</font>&nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br>
 156 <font·size="-2">19.·</font><br>
 157 <font·size="-2">20.·</font>&nbsp;·Instead,·use·*·like·this:<br>
 158 <font·size="-2">21.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br>
 159 <font·size="-2">22.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br>
 160 <font·size="-2">23.·</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>
 161 <font·size="-2">24.·</font>&nbsp;·&nbsp;·<br>
 162 <font·size="-2">25.·</font>&nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br>
139 </code></p>163 </code></p>
140 <P>164 <P>
141 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on165 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
142 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and166 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
143 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8167 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8
144 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is168 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is
145 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.169 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.
Offset 150, 23 lines modifiedOffset 174, 15 lines modified
150 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or174 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or
151 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.175 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.
152 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or176 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or
153 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it177 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it
154 replaces·the·macro·name·by·the·contents·of·the·macro·without·further178 replaces·the·macro·name·by·the·contents·of·the·macro·without·further
155 processing·the·contents.179 processing·the·contents.
156 ··<p><code>180 ··<p><code>
 181 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>&gt;</span><br>
157 <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> 
158 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br> 
159 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
160 <font·size="-2">&nbsp;4.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
161 <font·size="-2">&nbsp;5.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
162 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">${sect-ctr}</span></span>&gt;</span><br> 
163 <font·size="-2">&nbsp;7.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">inc</a>·<span·class="htp-attrib">sect-ctr</span>&gt;</span><br> 
164 <font·size="-2">&nbsp;8.·</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> 
165 <font·size="-2">&nbsp;9.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"footer.hti"</span>&gt;</span><br> 
166 </code></p>182 </code></p>
167 <P>183 <P>
168 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and184 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and
169 should·never·cause·confusion·with·surrounding·text.··If·no·curly185 should·never·cause·confusion·with·surrounding·text.··If·no·curly
170 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation186 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation
171 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;187 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;
172 and·&quot;_&quot;·that·follows·it.188 and·&quot;_&quot;·that·follows·it.
4.66 KB
html2text {}
    
Offset 10, 38 lines modifiedOffset 10, 55 lines modified
10  · ···ALTTEXT····want,·for·example,·if·the·use·is·inside·a·block·which·expands10  · ···ALTTEXT····want,·for·example,·if·the·use·is·inside·a·block·which·expands
11  · ···BLOCK······itself.·You·can·use·the·noexpand·attribute·to·prevent·further11  · ···BLOCK······itself.·You·can·use·the·noexpand·attribute·to·prevent·further
12  · ···BLOCKDEF···expansion.12  · ···BLOCKDEF···expansion.
13  · ···DEF········USE·will·accept·additional·parameters,·which·are·"local"13  · ···DEF········USE·will·accept·additional·parameters,·which·are·"local"
14  · ···FILE·······macros·for·the·expanded·macro.·This·is·only·valid·for·BLOCK14  · ···FILE·······macros·for·the·expanded·macro.·This·is·only·valid·for·BLOCK
15  · ···IF·········macros.·Macros·created·using·SET·cannot·have·parameters15  · ···IF·········macros.·Macros·created·using·SET·cannot·have·parameters
16  · ···INC········passed.·For·example:16  · ···INC········passed.·For·example:
17  · ···IMG········ 1.· · ·<[[ref]]unset·email_addr·home_url·login_name>17  · ···IMG········ 1.· · ·<[[ref]]unset·email_addr>
 18  · ···IMAGEURL··· 2.· OPTION="SRC·TITLE·SIZE">
 19  · ···OPT········ 3.· · ·<[[ref]]IF·size>
 20  · ···OUTPUT····· 4.· · · · ·<FONT·SIZE=${size}>
 21  · ···QUOTE······ 5.· · ·<[[ref]]/IF>
 22  · ···SET········ 6.· · ·<[[ref]]IMG·SRC=pics/${src}>
 23  · ···UNDEF······ 7.· · ·<[[ref]]USE·title>
 24  · ···UNSET······ 8.· · ·<[[ref]]IF·size>
 25  ·[>]·USE,_$····· 9.· · · · ·</FONT>
 26  · ···WHILE······10.· · ·<[[ref]]/IF>
 27  · ···<!---······11.· ·<[[ref]]/DEF>
 28  ·History········12.
 29  ·Wish_list······13.· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A·title">
 30  ·Bugs···········14.
 31 ·················15.· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized·title">
 32 ·················16.
 33 ·················17.· ·This·will·fail:
 34 ·················18.· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"·TITLE="Another
 35 ·················title">
 36 ·················19.
 37 ·················20.· ·Instead,·use·*·like·this:
 38 ·················21.· ·<[[ref]]DEF·NAME="MYIMG"·OPTION="SRC·*">
 39 ·················22.· · ·<[[ref]]IMG·SRC="pics/${src}"·$*>
 40 ·················23.· ·<[[ref]]/DEF>
 41 ·················24.· · 
 42 ·················25.· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
18  · ···IMAGEURL···(See·below·for·a·description·of·the·'$'·operator.)·The·example43 ·················(See·below·for·a·description·of·the·'$'·operator.)·The·example
19  · ···OPT········on·line·7·works·because·"stuff"·has·been·declared·as·a·block44 ·················on·line·7·works·because·"stuff"·has·been·declared·as·a·block
20  · ···OUTPUT·····macro,·and·the·tag·is·passing·the·"email"·macro·to·the·"stuff"45 ·················macro,·and·the·tag·is·passing·the·"email"·macro·to·the·"stuff"
21  · ···QUOTE······macro.·Line·8·fails·because·the·"email"·macro·is·unavailable46 ·················macro.·Line·8·fails·because·the·"email"·macro·is·unavailable
22  · ···SET········once·the·block·macro·is·completely·expanded,·and·cannot·be47 ·················once·the·block·macro·is·completely·expanded,·and·cannot·be
23  · ···UNDEF······passed·to·a·SET·macro.48 ·················passed·to·a·SET·macro.
24  · ···UNSET······Note·that·the·"email"·macro·is·available·to·other·macros·or49 ·················Note·that·the·"email"·macro·is·available·to·other·macros·or
25  ·[>]·USE,_$·····included·files·called·within·the·"stuff"·block.50 ·················included·files·called·within·the·"stuff"·block.
26  · ···WHILE······Inside·a·markup·tag,·like·IMG,·A·(anchor),·or·any·other51 ·················Inside·a·markup·tag,·like·IMG,·A·(anchor),·or·any·other
27  · ···<!---······standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.·The52 ·················standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.·The
28  ·History········'$'·should·be·immediately·followed·by·the·macro·name,·which53 ·················'$'·should·be·immediately·followed·by·the·macro·name,·which
29  ·Wish_list······may·or·may·not·be·surrounded·by·curly·braces.·When·htp54 ·················may·or·may·not·be·surrounded·by·curly·braces.·When·htp
30  ·Bugs···········encounters·this·it·replaces·the·macro·name·by·the·contents·of55 ·················encounters·this·it·replaces·the·macro·name·by·the·contents·of
31 ·················the·macro·without·further·processing·the·contents.56 ·················the·macro·without·further·processing·the·contents.
 57 ················· 1.· · ·<[[ref]]unset·email_addr·home_url·login_name>
32 ················· 1.· ·<[[ref]]WHILE·sect-$i> 
33 ················· 2.· · ·... 
34 ················· 3.· · ·<[[ref]]INC·i> 
35 ················· 4.· ·<[[ref]]/WHILE> 
36 ················· 5.· ·<[[ref]]while·sect-${sect-ctr}> 
37 ················· 6.· · ·<[[ref]]use·sect-${sect-ctr}> 
38 ················· 7.· · ·<[[ref]]inc·sect-ctr> 
39 ················· 8.· ·<[[ref]]/while> 
40 ················· 9.·<[[ref]]file·include="footer.hti"> 
41 ·················The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust58 ·················The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust
42 ·················and·should·never·cause·confusion·with·surrounding·text.·If·no59 ·················and·should·never·cause·confusion·with·surrounding·text.·If·no
43 ·················curly·braces·are·used·the·macro·name·consists·either·of·a60 ·················curly·braces·are·used·the·macro·name·consists·either·of·a
44 ·················single·punctuation·character·or·the·maximum·sequence·of61 ·················single·punctuation·character·or·the·maximum·sequence·of
45 ·················letters,·digits,·"-"·and·"_"·that·follows·it.62 ·················letters,·digits,·"-"·and·"_"·that·follows·it.
46 ·················If·a·'$'·character·needs·to·be·kept·in·the·final·output,·and63 ·················If·a·'$'·character·needs·to·be·kept·in·the·final·output,·and
47 ·················not·interpreted·as·a·macro·name,·it·must·be·escaped·by·another64 ·················not·interpreted·as·a·macro·name,·it·must·be·escaped·by·another
5.4 KB
./usr/share/doc/htp/while.html
    
Offset 124, 22 lines modifiedOffset 124, 30 lines modified
124 The·basic·form·is·shown·above.124 The·basic·form·is·shown·above.
125 <P>125 <P>
126 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.126 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
127 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.127 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.
128 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the128 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the
129 conditional·is·reversed:129 conditional·is·reversed:
130 ··<p><code>130 ··<p><code>
131 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br> 
132 <span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>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;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</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 <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>
 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>
133 </code></p>140 </code></p>
134 <P>141 <P>
135 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·a142 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
136 macro's·existance:143 macro's·existance:
137 ··<p><code>144 ··<p><code>
138 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>&gt;</span><br>145 &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·Nels[·...·truncated·by·diffoscope;·len:·91,·SHA:·e3a4194b2005dc79de96d048404af54ee26ace7020a13078a34de50b2b13650a·...·]</span>&gt;</span><br>
 146 &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>
139 </code></p>147 </code></p>
140 <P>148 <P>
141 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the149 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
142 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the150 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
143 WHILE·tag·it·is·also·reevaluated·on·each·iteration.151 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
144 <P>152 <P>
145 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.153 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.
2.22 KB
html2text {}
    
Offset 4, 41 lines modifiedOffset 4, 50 lines modified
4 Contents·········*****·synopsis·*****4 Contents·········*****·synopsis·*****
5  ·Introduction···WHILE·is·the·building·block·for·repeated·processing.·The·basic5  ·Introduction···WHILE·is·the·building·block·for·repeated·processing.·The·basic
6  ·License········form·is·shown·above.6  ·License········form·is·shown·above.
7  ·Tutorial·······"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.7  ·Tutorial·······"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
8  ·Usage··········A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a8  ·Usage··········A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a
9  ·HTP·Tags·······literal·string.·If·the·NOT·tag·is·present·in·the·WHILE·markup,9  ·HTP·Tags·······literal·string.·If·the·NOT·tag·is·present·in·the·WHILE·markup,
10  · ···ALTTEXT····the·evaluation·of·the·conditional·is·reversed:10  · ···ALTTEXT····the·evaluation·of·the·conditional·is·reversed:
11  · ···BLOCK······<a·href="mailto:$email">mailto·hyperlink</a> 
12  · ···BLOCKDEF···<a·href="http://$domain/~${username}/">another·hyperlink</a>11  · ···BLOCK······ ·<[[ref]]def·name="bigfont">
 12  · ···BLOCKDEF··· · ·<font·size="+4">
 13  · ···DEF········ ·<[[ref]]/def>
 14  · ···FILE
 15  · ···IF········· ·<[[ref]]def·name="/bigfont">
 16  · ···INC········ · ·</font>
 17  · ···IMG········ ·<[[ref]]/def>
 18  · ···IMAGEURL
 19  · ···OPT········ ·<bigfont>Some·large·text</bigfont>
13  · ···DEF········Just·as·with·[[ref]]IF·you·can·also·check·for·a·macro's20  · ···OUTPUT·····Just·as·with·[[ref]]IF·you·can·also·check·for·a·macro's
14  · ···FILE·······existance:21  · ···QUOTE······existance:
15  · ···IF········· · ·<${tagName}·${attrName}=${value$ctr}>22  · ···SET········ · ·<[[ref]]FILE·INCLUDE="include.hti"·name="Jim·Nelson"
 23  · ···UNDEF······email="jnelson@crl.com">
 24  · ···UNSET······ · ·This·tag·will·fail:·<[[ref]]USE·name>
16  · ···INC········If·the·condition·is·true,·the·block·is·evaluated·and25  · ···USE,_$·····If·the·condition·is·true,·the·block·is·evaluated·and
17  · ···IMG········afterwards·the·WHILE·tag·is·evaluated·again.·If·the·'$'-26  ·[>]·WHILE······afterwards·the·WHILE·tag·is·evaluated·again.·If·the·'$'-
18  · ···IMAGEURL···operator·is·used·in·the·WHILE·tag·it·is·also·reevaluated·on27  · ···<!---······operator·is·used·in·the·WHILE·tag·it·is·also·reevaluated·on
19  · ···OPT········each·iteration.28  ·History········each·iteration.
20  · ···OUTPUT·····A·loop·block·must·be·closed·with·the·/WHILE·tag.29  ·Wish_list······A·loop·block·must·be·closed·with·the·/WHILE·tag.
21  · ···QUOTE 
22  · ···SET 
23  · ···UNDEF 
24  · ···UNSET 
25  · ···USE,_$ 
26  ·[>]·WHILE 
27  · ···<!--- 
28  ·History 
29  ·Wish_list 
30  ·Bugs30  ·Bugs
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
31  ··page_source31  ··page_source
32  ··htp_project32  ··htp_project
33  ··htp_homepage33  ··htp_homepage