197 KB
/srv/reproducible-results/rbuild-debian/r-b-build.O7zKIJdn/b1/htp_1.19-8_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.O7zKIJdn/b2/htp_1.19-8_armhf.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·08715f0dea4f2df54c98ec3884ee3f1f·69240·debug·optional·htp-dbgsym_1.19-8_armhf.deb1 ·08715f0dea4f2df54c98ec3884ee3f1f·69240·debug·optional·htp-dbgsym_1.19-8_armhf.deb
2 ·6786214c4d595145e46d1b8a1baa1e66·112424·web·optional·htp_1.19-8_armhf.deb2 ·b632af9fe5e889d0af2fd7fe82252dbe·112852·web·optional·htp_1.19-8_armhf.deb
197 KB
htp_1.19-8_armhf.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary1 -rw-r--r--···0········0········0········4·2020-06-14·23:21:19.000000·debian-binary
2 -rw-r--r--···0········0········0·····3616·2020-06-14·23:21:19.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3612·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···108616·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···109048·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:·armhf3 Architecture:·armhf
4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>
5 Installed-Size:·6245 Installed-Size:·639
6 Depends:·libc6·(>=·2.34)6 Depends:·libc6·(>=·2.34)
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
195 KB
data.tar.xz
195 KB
data.tar
13.4 KB
file list
    
Offset 1, 27 lines modifiedOffset 1, 27 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/bin/
4 -rwxr-xr-x···0·root·········(0)·root·········(0)····42560·2020-06-14·23:21:19.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····42560·2020-06-14·23:21:19.000000·./usr/bin/htp
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/
6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/6 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/
8 -rw-r--r--···0·root·········(0)·root·········(0)····10128·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)·····9211·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html
9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp9 -rw-r--r--···0·root·········(0)·root·········(0)·····1418·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.htp
10 -rw-r--r--···0·root·········(0)·root·········(0)·····9500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····8850·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)····10283·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····9584·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)·····8557·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)····15492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html
18 -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp18 -rw-r--r--···0·root·········(0)·root·········(0)······676·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.htp
19 -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright19 -rw-r--r--···0·root·········(0)·root·········(0)····13083·2020-06-14·23:16:46.000000·./usr/share/doc/htp/copyright
20 -rw-r--r--···0·root·········(0)·root·········(0)····17712·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····17819·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html
21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp
22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html
23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp
24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/
25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub
26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti
27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt
Offset 32, 49 lines modifiedOffset 32, 49 lines modified
32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp
33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html
34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp
35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def
36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html
37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp
38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt
39 -rw-r--r--···0·root·········(0)·root·········(0)····15649·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)····13032·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)····13996·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····20821·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)·····9228·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)····12140·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)·····9632·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)····12121·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)·····8536·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····8662·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)·····8940·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)····10059·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html
55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp55 -rw-r--r--···0·root·········(0)·root·········(0)·····1092·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.htp
56 -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.html56 -rw-r--r--···0·root·········(0)·root·········(0)·····9881·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.html
57 -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.htp57 -rw-r--r--···0·root·········(0)·root·········(0)·····1894·2020-06-14·23:21:19.000000·./usr/share/doc/htp/include.htp
58 -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.html58 -rw-r--r--···0·root·········(0)·root·········(0)·····4874·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.html
59 -rw-r--r--···0·root·········(0)·root·········(0)·······78·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.htp59 -rw-r--r--···0·root·········(0)·root·········(0)·······78·2020-06-14·23:21:19.000000·./usr/share/doc/htp/index.htp
60 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.html60 -rw-r--r--···0·root·········(0)·root·········(0)·····7733·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.html
61 -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.htp61 -rw-r--r--···0·root·········(0)·root·········(0)·····3489·2020-06-14·23:21:19.000000·./usr/share/doc/htp/intro.htp
62 -rw-r--r--···0·root·········(0)·root·········(0)····10774·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.html62 -rw-r--r--···0·root·········(0)·root·········(0)····10774·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.html
63 -rw-r--r--···0·root·········(0)·root·········(0)······454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.htp63 -rw-r--r--···0·root·········(0)·root·········(0)······454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/license.htp
64 -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.def64 -rw-r--r--···0·root·········(0)·root·········(0)·····3782·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.def
65 -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.html65 -rw-r--r--···0·root·········(0)·root·········(0)·····5088·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.html
66 -rw-r--r--···0·root·········(0)·root·········(0)······388·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.htp66 -rw-r--r--···0·root·········(0)·root·········(0)······388·2020-06-14·23:21:19.000000·./usr/share/doc/htp/macros.htp
67 -rw-r--r--···0·root·········(0)·root·········(0)····15953·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····15244·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)·····8471·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)·····8360·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····8130·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp
75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/
76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png
77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png
78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png
79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png
80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png
Offset 102, 23 lines modifiedOffset 102, 23 lines modified
102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp
103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html
104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp
105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt
106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt
107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html
108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp
109 -rw-r--r--···0·root·········(0)·root·········(0)·····8015·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····9042·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)·····8967·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)····10591·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)····12549·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····12127·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)·····9199·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)·····9341·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html
118 -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp118 -rw-r--r--···0·root·········(0)·root·········(0)······938·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.htp
119 -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html119 -rw-r--r--···0·root·········(0)·root·········(0)·····5288·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.html
120 -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp120 -rw-r--r--···0·root·········(0)·root·········(0)·····1311·2020-06-14·23:21:19.000000·./usr/share/doc/htp/wishlist.htp
121 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/121 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc-base/
122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp.htp122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/htp.htp
123 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/123 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/
124 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/124 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/lintian/overrides/
7.72 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 41 lines modifiedOffset 114, 33 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="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">"blockname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>&gt;</span><br> 
122 text·block<br>121 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp[·...·truncated·by·diffoscope;·len:·355,·SHA:·fe5453c94bf9499acd7934274bd6831d8f34678892846aecbb92b696c38b7a5c·...·]<br>
 122 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br>
123 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/BLOCK</a>&gt;</span><br>123 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
124 <br>124 <br>
125 </code></p>125 </code></p>
126 <h2>synopsis</h2>126 <h2>synopsis</h2>
127 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A127 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
128 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.128 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.
129 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the129 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the
130 filename·is·considered·in·all·comparisons.130 filename·is·considered·in·all·comparisons.
131 <p>131 <p>
132 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT132 When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an·ALT
133 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to133 attribute·only·if·one·is·not·already·present.··This·allows·for·ALT·text·to
134 be·overridden·on·specific·images·and·default·text·on·all·others.134 be·overridden·on·specific·images·and·default·text·on·all·others.
135 <p>135 <p>
136 For·example:136 For·example:
137 ··<p><code>137 ··<p><code>
 138 <span·class="comment">&lt;!---·comment·---&gt;</span><br>
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>&gt;</span><br> 
139 &nbsp;·&nbsp;<span·class="htp-tag">&lt;h1&gt;</span><span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>&gt;</span><span·class="htp-tag">&lt;/h1&gt;</span><br> 
140 &nbsp;·&nbsp;<span·class="htp-tag">&lt;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
141 &nbsp;·&nbsp;·&nbsp;<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br> 
142 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br> 
143 &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> 
144 <br>139 <br>
145 &nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br> 
146 &nbsp;·&nbsp;·This·is·a·fancy·section.<br> 
147 &nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br> 
148 </code></p>140 </code></p>
149 <p>141 <p>
150 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT142 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT
151 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not143 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not
152 changed.144 changed.
153 <p>145 <p>
154 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,146 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,
3.79 KB
html2text {}
    
Offset 1, 44 lines modifiedOffset 1, 37 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·ALTTEXT·******2 ******·htp·on-line·reference·:·ALTTEXT·******
3 Table_of_Contents············*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
4  Introduction···············<[[ref]]BLOCK·NAME="blockname"·[GLOBAL]·[EXPAND]> 
5  License····················text·block 
6  Tutorial···················<[[ref]]/BLOCK> 
7  Usage4  Introduction···············<[[ref]]blockdef·name="tagname"·[option="option1
 5  License····················[option2·...]"·]·[global]·[expand]>
 6  Tutorial··················· ·...·<[[ref]]use·block> ...
 7  Usage······················<[[ref]]/blockdef>
 8  HTP·Tags
8  HTP·Tags···················*****·synopsis·*****9  [>]·ALTTEXT················*****·synopsis·*****
9  [>]·ALTTEXT················ALTTEXT·declares·an·ALT·attribute·for·any·IMG·tag10   ··BLOCK··················ALTTEXT·declares·an·ALT·attribute·for·any·IMG·tag
10   ··BLOCK··················with·a·SRC·matching·the·ALTTEXT·NAME.·Since11   ··BLOCKDEF···············with·a·SRC·matching·the·ALTTEXT·NAME.·Since
11   ··BLOCKDEF···············relative·paths·can·be·used·to·point·to·the·same12   ··DEF····················relative·paths·can·be·used·to·point·to·the·same
12   ··DEF····················image,·only·the·filename·is·considered·in·all13   ··FILE···················image,·only·the·filename·is·considered·in·all
13   ··FILE···················comparisons.14   ··IF·····················comparisons.
14   ··IF·····················When·an·IMG·tag·with·a·matching·source·is15   ··INC····················When·an·IMG·tag·with·a·matching·source·is
15   ··INC····················encountered,·htp·will·add·an·ALT·attribute·only·if16   ··IMG····················encountered,·htp·will·add·an·ALT·attribute·only·if
16   ··IMG····················one·is·not·already·present.·This·allows·for·ALT17   ··IMAGEURL···············one·is·not·already·present.·This·allows·for·ALT
17   ··IMAGEURL···············text·to·be·overridden·on·specific·images·and18   ··OPT····················text·to·be·overridden·on·specific·images·and
18   ··OPT····················default·text·on·all·others.19   ··OUTPUT·················default·text·on·all·others.
19   ··OUTPUT·················For·example:20   ··QUOTE··················For·example:
 21   ··SET····················<!---·comment·--->
 22   ··UNDEF
20   ··QUOTE·················· ·<[[ref]]blockdef·name="section"·option="title"> 
21   ··SET···················· · <h1><[[ref]]use·title></h1> 
22   ··UNDEF·················· · <p·class="section"> 
23   ··UNSET·················· · · <[[ref]]use·block> 
24   ··USE,_$················· · </p> 
25   ··WHILE·················· ·<[[ref]]/blockdef> 
26   ··<!--- 
27  History···················· ·<section·title="My·Section"> 
28  Wish_list·················· · ·This·is·a·fancy·section. 
29  Bugs······················· ·</section> 
30 ·····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute23   ··UNSET··················An·ALTTEXT·tag·with·a·name·but·no·text·attribute
31 ·····························removes·any·ALT·mapping·for·this·image.·Successing24   ··USE,_$·················removes·any·ALT·mapping·for·this·image.·Successing
32 ·····························IMG·tags·with·a·matching·SRC·name·are·not·changed.25   ··WHILE··················IMG·tags·with·a·matching·SRC·name·are·not·changed.
33 ·····························Since·this·is·useful·for·an·image·used·throughout26   ··<!---··················Since·this·is·useful·for·an·image·used·throughout
34 ·····························a·set·of·documents,·ALTTEXT·is·most·appropriate·in27  History····················a·set·of·documents,·ALTTEXT·is·most·appropriate·in
35 ·····························an·include_file·or·a·default_file.28  Wish_list··················an·include_file·or·a·default_file.
36 ·····························In·addition·to·ALTTEXT,·htp·can·also·automatically29  Bugs·······················In·addition·to·ALTTEXT,·htp·can·also·automatically
37 ·····························add·WIDTH·and·HEIGHT·attributes·to·IMG·tags.30 ·····························add·WIDTH·and·HEIGHT·attributes·to·IMG·tags.
  
  
  
  
  
  
6.24 KB
./usr/share/doc/htp/block.html
    
Offset 114, 26 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="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">"blockname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">EXPAND</span><span·class="ebnf">]</span>&gt;</span><br> 
122 text·block<br>121 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp[·...·truncated·by·diffoscope;·len:·355,·SHA:·fe5453c94bf9499acd7934274bd6831d8f34678892846aecbb92b696c38b7a5c·...·]<br>
 122 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br>
123 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/BLOCK</a>&gt;</span><br>123 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
124 <br>124 <br>
125 mg·src="logo.gif"><br> 
126 &nbsp;·becomes·this·after·processing:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br> 
127 <br> 
128 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>&gt;</span><br> 
129 &nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br> 
130 <br> 
131 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>&gt;</span><br> 
132 &nbsp;·remains·unchanged.<br> 
133 </code></p>125 </code></p>
134 <h2>synopsis</h2>126 <h2>synopsis</h2>
135 <P>127 <P>
136 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which128 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which
137 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be129 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be
138 multi-line·definitions.130 multi-line·definitions.
139 </P>131 </P>
3.25 KB
html2text {}
    
Offset 1, 35 lines modifiedOffset 1, 34 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·BLOCK,·/BLOCK·******2 ******·htp·on-line·reference·:·BLOCK,·/BLOCK·******
3 Table_of·······*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
4 Contents·······<[[ref]]BLOCK·NAME="blockname"·[GLOBAL]·[EXPAND]> 
5  Introduction·text·block 
6  License······<[[ref]]/BLOCK> 
7  Tutorial 
8  Usage········mg·src="logo.gif"> 
9  HTP·Tags····· ·becomes·this·after·processing:·<[[ref]]img·src="logo.gif"·alt="Company 
10   ··ALTTEXT··logo"> 
11  [>]·BLOCK 
12   ··BLOCKDEF· ·this·line:·<[[ref]]img·src="../image/logo.gif"> 
13   ··DEF······ ·will·also·have·an·ALT·attribute·appended·to·it4  Introduction···············<[[ref]]blockdef·name="tagname"·[option="option1
 5  License····················[option2·...]"·]·[global]·[expand]>
 6  Tutorial··················· ·...·<[[ref]]use·block> ...
 7  Usage······················<[[ref]]/blockdef>
 8  HTP·Tags
 9   ··ALTTEXT················*****·synopsis·*****
 10  [>]·BLOCK··················BLOCK·and·/BLOCK·are·used·to·create·block·macros,
 11   ··BLOCKDEF···············which·are·similar·in·use·to·SET·macros,·but·can·be
 12   ··DEF····················multi-line·definitions.
 13   ··FILE···················Any·text·and·formatting·may·be·set·inside·the
 14   ··IF·····················block.·You·can·use·any·htp·or·user·defined·metatag
 15   ··INC····················including·FILE_INCLUDE.·The·metatags·won't·be
 16   ··IMG····················expanded·before·the·block·is·USEd·except·if·you
 17   ··IMAGEURL···············give·the·EXPAND·parameter.
 18   ··OPT····················The·block·macro·is·dereferenced·(expanded)·with
 19   ··OUTPUT·················the·USE_tag_or_the_'$'_operator.·See·the·notes·on
 20   ··QUOTE··················the·USE·tag·on·how·to·pass·parameters·to·a·block
 21   ··SET····················macro.
 22   ··UNDEF
 23   ··UNSET
 24   ··USE,_$
14   ··FILE25   ··WHILE
 26   ··<!---
15   ··IF······· ·this·line:·<[[ref]]img·src="logo.gif"·alt="Click·here·for·more 
16   ··INC······information!"> 
17   ··IMG······ ·remains·unchanged. 
18   ··IMAGEURL·*****·synopsis·***** 
19   ··OPT······BLOCK·and·/BLOCK·are·used·to·create·block·macros,·which·are·similar·in 
20   ··OUTPUT···use·to·SET·macros,·but·can·be·multi-line·definitions. 
21   ··QUOTE····Any·text·and·formatting·may·be·set·inside·the·block.·You·can·use·any·htp 
22   ··SET······or·user·defined·metatag·including·FILE_INCLUDE.·The·metatags·won't·be 
23   ··UNDEF····expanded·before·the·block·is·USEd·except·if·you·give·the·EXPAND 
24   ··UNSET····parameter. 
25   ··USE,_$···The·block·macro·is·dereferenced·(expanded)·with·the·USE_tag_or_the_'$' 
26   ··WHILE····operator.·See·the·notes·on·the·USE·tag·on·how·to·pass·parameters·to·a 
27   ··<!---····block·macro. 
28  History27  History
29  Wish_list28  Wish_list
30  Bugs29  Bugs
  
  
  
  
Offset 37, 28 lines modifiedOffset 36, 22 lines modified
  
  
  
  
  
  
  
  
  
  
  
  
37  page_source36  page_source
38  htp_project37  htp_project
39  htp_homepage38  htp_homepage
40 hosted·by39 hosted·by
41 Sourceforge40 Sourceforge
 41 HTML·coding·[Powered_by
42 HTML·coding 
43 [Powered_by 
44 htp]42 htp]
45 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/43 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
46 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.44 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
47 ·····Maintainers:·Jochen_Hoenicke.45 ·····Maintainers:·Jochen_Hoenicke.
48 Copyright·©·1995–96·Jim·Nelson.46 Copyright·©·1995–96·Jim·Nelson.
49 Copyright·©·2001–2014·Jochen_Hoenicke.47 Copyright·©·2001–2014·Jochen_Hoenicke.
50 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to48 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
51 terms·described·in·the·License_section.49 according·to·terms·described·in·the·License_section.
52 last·updated·Sat·May·16,·201550 last·updated·Sat·May·16,·2015
8.6 KB
./usr/share/doc/htp/blockdef.html
    
Offset 114, 38 lines modifiedOffset 114, 36 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·<span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br> 
122 &nbsp;·...·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span>&nbsp;...<br> 
123 <span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
124 <br>122 <br>
 123 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 124 &nbsp;·becomes·this·after·processing:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
 125 <br>
 126 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"../image/logo.gif"</span>&gt;</span><br>
 127 &nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br>
 128 <br>
 129 &nbsp;·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Click·here·for·more·information!"</span>&gt;</span><br>
 130 &nbsp;·remains·unchanged.<br>
125 </code></p>131 </code></p>
126 <h2>synopsis</h2>132 <h2>synopsis</h2>
127 <strong>BLOCKDEF</strong>·creates·block·<A133 <strong>BLOCKDEF</strong>·creates·block·<A
128 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it134 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
129 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block135 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
130 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and136 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
131 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored137 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
132 in·the·block·macro·named·BLOCK.138 in·the·block·macro·named·BLOCK.
133 <P>·For·example:</P>139 <P>·For·example:</P>
134 ··<p><code>140 ··<p><code>
 141 <span·class="comment">&lt;!---·comment·---&gt;</span><br>
135 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>&gt;</span><br> 
136 &nbsp;·&nbsp;<span·class="htp-tag">&lt;h1&gt;</span><span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>&gt;</span><span·class="htp-tag">&lt;/h1&gt;</span><br> 
137 &nbsp;·&nbsp;<span·class="htp-tag">&lt;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
138 &nbsp;·&nbsp;·&nbsp;<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br> 
139 &nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br> 
140 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
141 <br>142 <br>
142 &nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br> 
143 &nbsp;·&nbsp;·This·is·a·fancy·section.<br> 
144 &nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br> 
145 </code></p>143 </code></p>
146 <p>144 <p>
147 All·block·metatags·have·the·implicit·option·<a145 All·block·metatags·have·the·implicit·option·<a
148 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents146 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
149 of·the·block·before·the·definition·is·expanded.147 of·the·block·before·the·definition·is·expanded.
150 </p>148 </p>
151 <p>149 <p>
3.83 KB
html2text {}
    
Offset 1, 42 lines modifiedOffset 1, 38 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·BLOCKDEF,·/BLOCKDEF·******2 ******·htp·on-line·reference·:·BLOCKDEF,·/BLOCKDEF·******
3 Table_of_Contents············*****·syntax·*****3 Table_of·······*****·syntax·*****
4  Introduction···············<[[ref]]blockdef·name="tagname"·[option="option1 
5  License····················[option2·...]"·]·[global]·[expand]> 
6  Tutorial··················· ·...·<[[ref]]use·block> ... 
7  Usage······················<[[ref]]/blockdef>4 Contents······· ·<[[ref]]alttext·name="logo.gif"·text="Company·logo">
 5  Introduction
 6  License······ ·this·line:·<[[ref]]img·src="logo.gif">
 7  Tutorial····· ·becomes·this·after·processing:·<[[ref]]img·src="logo.gif"·alt="Company
 8  Usage········logo">
8  HTP·Tags9  HTP·Tags
 10   ··ALTTEXT·· ·this·line:·<[[ref]]img·src="../image/logo.gif">
 11   ··BLOCK···· ·will·also·have·an·ALT·attribute·appended·to·it
 12  [>]·BLOCKDEF
 13   ··DEF······ ·this·line:·<[[ref]]img·src="logo.gif"·alt="Click·here·for·more
 14   ··FILE·····information!">
 15   ··IF······· ·remains·unchanged.
9   ··ALTTEXT················*****·synopsis·*****16   ··INC······*****·synopsis·*****
10   ··BLOCK··················BLOCKDEF·creates·block·metatags,·which·is·a·fancy17   ··IMG······BLOCKDEF·creates·block·metatags,·which·is·a·fancy·way·of·saying·it
 18   ··IMAGEURL·creates·new·block·tags.·A·block·tag·is·a·tag·that·takes·a·whole·block·as
11  [>]·BLOCKDEF···············way·of·saying·it·creates·new·block·tags.·A·block 
12   ··DEF····················tag·is·a·tag·that·takes·a·whole·block·as 
13   ··FILE···················additional·parameter.·This·block·is·surrounded·by19   ··OPT······additional·parameter.·This·block·is·surrounded·by·<tagname>·and·</
 20   ··OUTPUT···tagname>.·The·contents·of·this·block·are·automatically·stored·in·the
 21   ··QUOTE····block·macro·named·BLOCK.
 22   ··SET······For·example:
 23   ··UNDEF····<!---·comment·--->
 24   ··UNSET
 25   ··USE,_$···All·block·metatags·have·the·implicit·option·EXPAND,·which·tells·htp·to
 26   ··WHILE····expand·the·contents·of·the·block·before·the·definition·is·expanded.
 27   ··<!---····A·more·thorough·discussion·and·more·elaborate·examples·are·discussed·in
 28  History······the·metatag·section.
 29  Wish_list
 30  Bugs
14   ··IF·····················<tagname>·and·</tagname>.·The·contents·of·this 
15   ··INC····················block·are·automatically·stored·in·the·block·macro 
16   ··IMG····················named·BLOCK. 
17   ··IMAGEURL···············For·example: 
18   ··OPT···················· ·<[[ref]]blockdef·name="section"·option="title"> 
19   ··OUTPUT················· · <h1><[[ref]]use·title></h1> 
20   ··QUOTE·················· · <p·class="section"> 
21   ··SET···················· · · <[[ref]]use·block> 
22   ··UNDEF·················· · </p> 
23   ··UNSET·················· ·<[[ref]]/blockdef> 
24   ··USE,_$ 
25   ··WHILE·················· ·<section·title="My·Section"> 
26   ··<!---·················· · ·This·is·a·fancy·section. 
27  History···················· ·</section> 
28  Wish_list··················All·block·metatags·have·the·implicit·option 
29  Bugs·······················EXPAND,·which·tells·htp·to·expand·the·contents·of 
30 ·····························the·block·before·the·definition·is·expanded. 
31 ·····························A·more·thorough·discussion·and·more·elaborate 
32 ·····························examples·are·discussed·in·the·metatag·section. 
  
  
  
  
  
  
  
  
  
Offset 52, 17 lines modifiedOffset 48, 18 lines modified
  
  
52  page_source48  page_source
53  htp_project49  htp_project
54  htp_homepage50  htp_homepage
55 hosted·by51 hosted·by
56 Sourceforge52 Sourceforge
57 HTML·coding·[Powered_by53 HTML·coding
 54 [Powered_by
58 htp]55 htp]
59 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/56 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
60 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.57 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
61 ·····Maintainers:·Jochen_Hoenicke.58 ·····Maintainers:·Jochen_Hoenicke.
62 Copyright·©·1995–96·Jim·Nelson.59 Copyright·©·1995–96·Jim·Nelson.
63 Copyright·©·2001–2014·Jochen_Hoenicke.60 Copyright·©·2001–2014·Jochen_Hoenicke.
64 Permission·to·reproduce·and·distribute·this·hypertext·document·granted61 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to
65 according·to·terms·described·in·the·License_section.62 terms·described·in·the·License_section.
66 last·updated·Sat·May·16,·201563 last·updated·Sat·May·16,·2015
11.3 KB
./usr/share/doc/htp/comment.html
    
Offset 114, 24 lines modifiedOffset 114, 53 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="comment">&lt;!---·comment·---&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=[·...·truncated·by·diffoscope;·len:·321,·SHA:·afef3f25562c6ab1ebcd48834b32d156e2fcdcdf7aa22b59215c6fcb37ce8aeb·...·]&gt;</span><br>
 122 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
122 <br>123 <br>
123 </code></p>124 </code></p>
124 <h2>synopsis</h2>125 <h2>synopsis</h2>
125 <p>126 <p>
126 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful127 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
127 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.128 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
128 Example:129 Example:
129 </p>130 </p>
130 ··<p><code>131 ··<p><code>
 132 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
 133 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
 134 &nbsp;·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 135 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 136 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 137 &nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 138 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 139 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
 140 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
 141 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>&gt;</span><br>
 142 &nbsp;·contents·of·a:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 143 &nbsp;·contents·of·b:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 144 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 145 &nbsp;·&nbsp;·c·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
 146 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 147 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
 148 &nbsp;·&nbsp;·d·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 149 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 150 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>&gt;</span><br>
 151 &nbsp;·&nbsp;·e·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br>
 152 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 153 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>&gt;</span><br>
 154 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
 155 &nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 156 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 157 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>&gt;</span><br>
 158 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>&gt;</span><br>
 159 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>&gt;</span><br>
131 </code></p>160 </code></p>
132 <p>161 <p>
133 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you162 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
134 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something163 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
135 like·this:164 like·this:
136 </p>165 </p>
137 ··<p><code>166 ··<p><code>
3.72 KB
html2text {}
    
Offset 1, 38 lines modifiedOffset 1, 68 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·······<!---·comment·---> 
5  Introduction4 Contents·······<[[ref]]def·name="tagname"·[option="option1·[option2·...]"·]·[global]
 5  Introduction·[expand]>
 6  License······<[[ref]]/def>
 7  Tutorial
6  License······*****·synopsis·*****8  Usage········*****·synopsis·*****
7  Tutorial·····This·is·a·simple·comment·that·is·not·included·in·the·output.·This·is·useful9  HTP·Tags·····This·is·a·simple·comment·that·is·not·included·in·the·output.·This·is·useful
8  Usage········when·commenting·metatags,·since·the·metatags·do·not·appear·the·output10   ··ALTTEXT··when·commenting·metatags,·since·the·metatags·do·not·appear·the·output
9  HTP·Tags·····either.·Example:11   ··BLOCK····either.·Example:
 12   ··BLOCKDEF· ·<[[ref]]set·time="0">
 13   ··DEF······ ·<[[ref]]block·name=a>
 14   ··FILE····· · ·a·is·expanded·at·time·<[[ref]]use·time>.
 15   ··IF······· ·<[[ref]]/block>
 16   ··INC······ ·<[[ref]]block·name=b·expand>
 17   ··IMG······ · ·b·is·expanded·at·time·<[[ref]]use·time>.
 18   ··IMAGEURL· ·<[[ref]]/block>
 19   ··OPT······ ·<[[ref]]set·time="1">
 20   ··OUTPUT··· ·<[[ref]]use·a>
 21   ··QUOTE···· ·<[[ref]]use·b>
 22   ··SET······ ·contents·of·a:·<[[ref]]use·a·noexpand>
 23   ··UNDEF···· ·contents·of·b:·<[[ref]]use·b·noexpand>
 24   ··UNSET···· ·<[[ref]]block·name=c·expand>
 25   ··USE,_$··· · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a>
 26   ··WHILE···· ·<[[ref]]/block>
 27  [>]·<!---···· ·<[[ref]]block·name=d·expand>
 28  History······ · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand>
 29  Wish_list···· ·<[[ref]]/block>
 30  Bugs········· ·<[[ref]]block·name=e>
 31 ··············· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand>
 32 ··············· ·<[[ref]]/block>
 33 ··············· ·<[[ref]]set·time="2">
 34 ··············· ·<[[ref]]block·name=a>
 35 ··············· · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>.
 36 ··············· ·<[[ref]]/block>
 37 ··············· ·<[[ref]]use·c>
 38 ··············· ·<[[ref]]use·d>
 39 ··············· ·<[[ref]]use·e>
10   ··ALTTEXT··Note·that·these·comments·should·not·include·<·or·>,·that·is·you·should·not40 ···············Note·that·these·comments·should·not·include·<·or·>,·that·is·you·should·not
11   ··BLOCK····use·it·to·comment·out·htp·code.·For·that·purpose·use·something·like·this:41 ···············use·it·to·comment·out·htp·code.·For·that·purpose·use·something·like·this:
12   ··BLOCKDEF· · ·a·is·expanded·at·time·1.42 ··············· · ·a·is·expanded·at·time·1.
13   ··DEF······ · ·b·is·expanded·at·time·0.43 ··············· · ·b·is·expanded·at·time·0.
14   ··FILE····· ·contents·of·a:· ·a·is·expanded·at·time·<[[ref]]use·time>.44 ··············· ·contents·of·a:· ·a·is·expanded·at·time·<[[ref]]use·time>.
15   ··IF······· ·contents·of·b:· ·b·is·expanded·at·time·0.45 ··············· ·contents·of·b:· ·b·is·expanded·at·time·0.
16   ··INC······ · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.46 ··············· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.
17   ··IMG······ · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.47 ··············· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.
18   ··IMAGEURL· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<[[ref]]use48 ··············· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<[[ref]]use
19   ··OPT······time>.49 ···············time>.
20   ··OUTPUT···Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the·reason50 ···············Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the·reason
21   ··QUOTE····why·you·don't·want·to·include·this·block51 ···············why·you·don't·want·to·include·this·block
22   ··SET 
23   ··UNDEF 
24   ··UNSET 
25   ··USE,_$ 
26   ··WHILE 
27  [>]·<!--- 
28  History 
29  Wish_list 
30  Bugs 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
17.7 KB
./usr/share/doc/htp/def.html
    
Offset 114, 41 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="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
123 <br> 
124 </code></p>122 </code></p>
125 <h2>synopsis</h2>123 <h2>synopsis</h2>
126 <p>124 <p>
127 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a125 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
128 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to126 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
129 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>127 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
130 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.128 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
131 For·example:129 For·example:
132 </p>130 </p>
133 ··<p><code>131 ··<p><code>
 132 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>&gt;</span><br>
134 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br> 
135 </code></p> 
136 <P> 
137 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to 
138 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A 
139 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster 
140 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing 
141 tag·with·a·preceding·slash.·For·example: 
142 </P> 
143 ··<p><code> 
144 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br>133 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
145 &nbsp;·...<br> 
146 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>&gt;</span><br> 
147 a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>134 &nbsp;·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
148 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>135 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
149 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>136 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>&gt;</span><br>
150 &nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>137 &nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
151 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>138 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
152 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>&gt;</span><br>139 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
153 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>140 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>
154 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>&gt;</span><br>141 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>&gt;</span><br>
Offset 167, 30 lines modifiedOffset 154, 35 lines modified
167 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>154 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br>
168 &nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>155 &nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
169 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>156 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
170 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>&gt;</span><br>157 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>&gt;</span><br>
171 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>&gt;</span><br>158 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>&gt;</span><br>
172 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>&gt;</span><br>159 &nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>&gt;</span><br>
173 </code></p>160 </code></p>
 161 <P>
 162 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
 163 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
 164 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
 165 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
 166 tag·with·a·preceding·slash.·For·example:
 167 </P>
 168 ··<p><code>
 169 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;EM&gt;</span>File·"<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>&gt;</span>"·last·updated·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">DATE</span>&gt;</span><span·class="htp-tag">&lt;/EM&gt;</span><br>
 170 </code></p>
174 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,171 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
175 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>172 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
176 <P>173 <P>
177 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were174 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
178 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with175 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
179 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their176 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
180 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)177 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
181 </P>178 </P>
182 ··<p><code>179 ··<p><code>
 180 &nbsp;·&nbsp;·File·image.gif·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>&gt;</span>&nbsp;kilobytes<br>
 181 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
183 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br> 
184 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br> 
185 &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> 
186 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br> 
187 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br> 
188 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br> 
189 &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> 
190 </code></p>182 </code></p>
191 <P>183 <P>
192 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is184 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
193 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are185 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
194 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the186 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
195 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a187 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
196 parameter·is·required,·simply·expand·it·without·first·checking.··When188 parameter·is·required,·simply·expand·it·without·first·checking.··When
8.75 KB
html2text {}
    
Offset 1, 88 lines modifiedOffset 1, 80 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·DEF,·/DEF·******2 ******·htp·on-line·reference·:·DEF,·/DEF·******
3 Table_of·······*****·syntax·*****3 Table_of·······*****·syntax·*****
 4 Contents·······<!---·This·comment·doesn't·appear·in·the·HTML·file·--->
 5  Introduction·*****·synopsis·*****
4 Contents·······<[[ref]]def·name="tagname"·[option="option1·[option2·...]"·]·[global] 
5  Introduction·[expand]> 
6  License······<[[ref]]/def> 
7  Tutorial 
8  Usage········*****·synopsis·***** 
9  HTP·Tags·····DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it·creates·new·tags.6  License······DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it·creates·new·tags.
10   ··ALTTEXT··The·mechanism·is·very·similar·to·BLOCK·macros,·except·that·the·USE·tag·is7  Tutorial·····The·mechanism·is·very·similar·to·BLOCK·macros,·except·that·the·USE·tag·is
11   ··BLOCK····not·used·to·expand·them.·Instead,·they·are·expanded·by·their·own·name.·For8  Usage········not·used·to·expand·them.·Instead,·they·are·expanded·by·their·own·name.
 9  HTP·Tags·····For·example:
 10   ··ALTTEXT·· ·<[[ref]]set·time="0">
 11   ··BLOCK···· ·<[[ref]]block·name=a>
 12   ··BLOCKDEF· · ·a·is·expanded·at·time·<[[ref]]use·time>.
 13  [>]·DEF······ ·<[[ref]]/block>
 14   ··FILE····· ·<[[ref]]block·name=b·expand>
12   ··BLOCKDEF·example: 
13  [>]·DEF······<!---·This·comment·doesn't·appear·in·the·HTML·file·---> 
14   ··FILE·····Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to 
15   ··IF·······and 
16   ··INC······).·In·this·case,·you·should·use·the·BLOCKDEF·macro.·Another·slightly·faster 
17   ··IMG······alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing·tag 
18   ··IMAGEURL·with·a·preceding·slash.·For·example: 
19   ··OPT······<[[ref]]if·disabled_because_xyz> 
20   ··OUTPUT··· ·... 
21   ··QUOTE····<[[ref]]/if> 
22   ··SET······a·is·expanded·at·time·<[[ref]]use·time>.15   ··IF······· · ·b·is·expanded·at·time·<[[ref]]use·time>.
 16   ··INC······ ·<[[ref]]/block>
 17   ··IMG······ ·<[[ref]]set·time="1">
 18   ··IMAGEURL· ·<[[ref]]use·a>
 19   ··OPT······ ·<[[ref]]use·b>
 20   ··OUTPUT··· ·contents·of·a:·<[[ref]]use·a·noexpand>
 21   ··QUOTE···· ·contents·of·b:·<[[ref]]use·b·noexpand>
 22   ··SET······ ·<[[ref]]block·name=c·expand>
 23   ··UNDEF···· · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a>
23   ··UNDEF···· ·<[[ref]]/block>24   ··UNSET···· ·<[[ref]]/block>
24   ··UNSET···· ·<[[ref]]block·name=b·expand>25   ··USE,_$··· ·<[[ref]]block·name=d·expand>
25   ··USE,_$··· · ·b·is·expanded·at·time·<[[ref]]use·time>. 
26   ··WHILE···· ·<[[ref]]/block> 
27   ··<!---···· ·<[[ref]]set·time="1"> 
28  History······ ·<[[ref]]use·a> 
29  Wish_list···· ·<[[ref]]use·b> 
30  Bugs········· ·contents·of·a:·<[[ref]]use·a·noexpand> 
31 ··············· ·contents·of·b:·<[[ref]]use·b·noexpand> 
32 ··············· ·<[[ref]]block·name=c·expand> 
33 ··············· · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a> 
34 ··············· ·<[[ref]]/block> 
35 ··············· ·<[[ref]]block·name=d·expand> 
36 ··············· · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand>26   ··WHILE···· · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand>
37 ··············· ·<[[ref]]/block>27   ··<!---···· ·<[[ref]]/block>
38 ··············· ·<[[ref]]block·name=e>28  History······ ·<[[ref]]block·name=e>
39 ··············· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand>29  Wish_list···· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand>
40 ··············· ·<[[ref]]/block>30  Bugs········· ·<[[ref]]/block>
41 ··············· ·<[[ref]]set·time="2">31 ··············· ·<[[ref]]set·time="2">
42 ··············· ·<[[ref]]block·name=a>32 ··············· ·<[[ref]]block·name=a>
43 ··············· · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>.33 ··············· · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>.
44 ··············· ·<[[ref]]/block>34 ··············· ·<[[ref]]/block>
45 ··············· ·<[[ref]]use·c>35 ··············· ·<[[ref]]use·c>
46 ··············· ·<[[ref]]use·d>36 ··············· ·<[[ref]]use·d>
47 ··············· ·<[[ref]]use·e>37 ··············· ·<[[ref]]use·e>
 38 ···············Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
 39 ···············and
 40 ···············).·In·this·case,·you·should·use·the·BLOCKDEF·macro.·Another·slightly
 41 ···············faster·alternative·is·to·use·two·metatags,·the·opening·tag·and·the
 42 ···············closing·tag·with·a·preceding·slash.·For·example:
 43 ··············· · ·<EM>File·"<[[ref]]FILE·NAME>"·last·updated·<[[ref]]FILE·TIME>,·<[
 44 ···············[ref]]FILE·DATE></EM>
48 ···············You·should·really·use·BLOCKDEF,·though,·as·it·will·check·for·matching·end45 ···············You·should·really·use·BLOCKDEF,·though,·as·it·will·check·for·matching·end
49 ···············tag.·It·is·not·that·slower.46 ···············tag.·It·is·not·that·slower.
50 ···············Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were·a47 ···············Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were·a
51 ···············SET·macro.·Option·names·are·parameterized·with·the·OPTION·attribute.48 ···············SET·macro.·Option·names·are·parameterized·with·the·OPTION·attribute.
52 ···············Multiple·options·can·be·listed·by·separating·their·name·with·a·space·(which49 ···············Multiple·options·can·be·listed·by·separating·their·name·with·a·space
53 ···············therefore·requires·they·be·surrounded·by·quotes.)50 ···············(which·therefore·requires·they·be·surrounded·by·quotes.)
 51 ··············· · ·File·image.gif·<[[ref]]FILE·NAME="image.gif"·SIZE=KBYTE> kilobytes
 52 ··············· · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE
 53 ···············NAME="image.gif"·DATE>
54 ··············· · ·a·is·expanded·at·time·1. 
55 ··············· · ·b·is·expanded·at·time·0. 
56 ··············· ·contents·of·a:· ·a·is·expanded·at·time·<[[ref]]use·time>. 
57 ··············· ·contents·of·b:· ·b·is·expanded·at·time·0. 
58 ··············· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1. 
59 ··············· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2. 
60 ··············· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<[[ref]]use 
61 ···············time>. 
62 ···············htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is·invoked.54 ···············htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
63 ···············htp·assumes·that·all·parameter·options·to·the·metatag·are·optional.·This·is55 ···············invoked.·htp·assumes·that·all·parameter·options·to·the·metatag·are
64 ···············why·the·HEADERIMG·definition·uses·IF·to·verify·the·SIZE·option·is·defined56 ···············optional.·This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the·SIZE
65 ···············before·expanding·it·in·the·block.·If·a·parameter·is·required,·simply·expand57 ···············option·is·defined·before·expanding·it·in·the·block.·If·a·parameter·is
66 ···············it·without·first·checking.·When·htp·expands·the·metatag·and·the·macro·is 
67 ···············not·defined,·it·will·halt·processing·and·complain·with·an·error·message·and 
68 ···············the·required·macro·name.·Normally·htp·will·not·allow·parameters·not·listed 
69 ···············in·the·OPTION·attribute·to·be·added·to·the·tag.·This·is·why·the·third 
70 ···············invocation·of·HEADERIMG·will·fail.·There·is·no·ALT·parameter·specified·in 
71 ···············the·OPTION·attribute.·However,·there·is·the·special·option·*,·which·matches 
72 ···············every·other·parameter.·It·should·be·used·to·pass·all·other·options·to 
73 ···············another·tag.58 ···············required,·simply·expand·it·without·first·checking.·When·htp·expands·the
 59 ···············metatag·and·the·macro·is·not·defined,·it·will·halt·processing·and
 60 ···············complain·with·an·error·message·and·the·required·macro·name.·Normally·htp
 61 ···············will·not·allow·parameters·not·listed·in·the·OPTION·attribute·to·be·added
 62 ···············to·the·tag.·This·is·why·the·third·invocation·of·HEADERIMG·will·fail.
 63 ···············There·is·no·ALT·parameter·specified·in·the·OPTION·attribute.·However,
 64 ···············there·is·the·special·option·*,·which·matches·every·other·parameter.·It
 65 ···············should·be·used·to·pass·all·other·options·to·another·tag.
74 ···············Metatags·can·be·removed·by·using·the·UNDEF·tag.·Note·that·both·open·and66 ···············Metatags·can·be·removed·by·using·the·UNDEF·tag.·Note·that·both·open·and
75 ···············close·tags·must·be·removed·with·UNDEF.·Removing·one·will·not·remove·both.67 ···············close·tags·must·be·removed·with·UNDEF.·Removing·one·will·not·remove·both.
76 ···············Warning:·Although·possible,·def·should·not·be·used·to·override·standard68 ···············Warning:·Although·possible,·def·should·not·be·used·to·override·standard
77 ···············HTML·and·htp·tag·names,·as·this·can·cause·much·confusion·and·unexpected69 ···············HTML·and·htp·tag·names,·as·this·can·cause·much·confusion·and·unexpected
78 ···············results.·The·def·tag·can·even·be·used·to·override·its·own·tag·name.·Because70 ···············results.·The·def·tag·can·even·be·used·to·override·its·own·tag·name.
79 ···············of·the·problems·this·can·cause,·its·highly·recommended·to·not·override71 ···············Because·of·the·problems·this·can·cause,·its·highly·recommended·to·not
80 ···············known·tag·names.72 ···············override·known·tag·names.
81 ···············You·can·find·some·other·examples·in·the·[[ref]]metatag·section·of·the73 ···············You·can·find·some·other·examples·in·the·[[ref]]metatag·section·of·the
82 ···············tutorial.74 ···············tutorial.
  
  
  
  
  
Offset 110, 10 lines modifiedOffset 102, 10 lines modified
110 [Powered_by102 [Powered_by
111 htp]103 htp]
112 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/104 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
113 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.105 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
114 ·····Maintainers:·Jochen_Hoenicke.106 ·····Maintainers:·Jochen_Hoenicke.
Max diff block lines reached; 323/8939 bytes (3.61%) of diff not shown.
22.6 KB
./usr/share/doc/htp/expand.html
    
Offset 98, 53 lines modifiedOffset 98, 50 lines modified
98 <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code>98 <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code>
99 modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to99 modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to
100 store·something·in·a·block·macro,·that·depends·on·the·current·value·of100 store·something·in·a·block·macro,·that·depends·on·the·current·value·of
101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value
102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when
103 the·htp·tags·are·expanded:·</P>103 the·htp·tags·are·expanded:·</P>
104 ··<p><code>104 ··<p><code>
105 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br> 
106 <font·size="-2">&nbsp;2.·</font>&nbsp;·...<br>105 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>&gt;</span><br>
 106 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br>
107 <font·size="-2">&nbsp;3.·</font><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>107 <font·size="-2">&nbsp;3.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
108 <font·size="-2">&nbsp;4.·</font>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>108 <font·size="-2">&nbsp;4.·</font><br>
 109 <font·size="-2">&nbsp;5.·</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">"/bigfont"</span>&gt;</span><br>
 110 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br>
109 <font·size="-2">&nbsp;5.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>111 <font·size="-2">&nbsp;7.·</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>
 112 <font·size="-2">&nbsp;8.·</font><br>
 113 <font·size="-2">&nbsp;9.·</font>&nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
110 <font·size="-2">&nbsp;6.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
111 <font·size="-2">&nbsp;7.·</font>&nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br> 
112 <font·size="-2">&nbsp;8.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
113 <font·size="-2">&nbsp;9.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>&gt;</span><br> 
114 <font·size="-2">10.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br> 
115 <font·size="-2">11.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>&gt;</span><br> 
116 <font·size="-2">12.·</font>&nbsp;·contents·of·a:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
117 <font·size="-2">13.·</font>&nbsp;·contents·of·b:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
118 <font·size="-2">14.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
119 <font·size="-2">15.·</font>&nbsp;·&nbsp;·c·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br> 
120 <font·size="-2">16.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
121 <font·size="-2">17.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
122 <font·size="-2">18.·</font>&nbsp;·&nbsp;·d·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
123 <font·size="-2">19.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
124 <font·size="-2">20.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>&gt;</span><br> 
125 <font·size="-2">21.·</font>&nbsp;·&nbsp;·e·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
126 <font·size="-2">22.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
127 <font·size="-2">23.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>&gt;</span><br> 
128 <font·size="-2">24.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br> 
129 <font·size="-2">25.·</font>&nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br> 
130 <font·size="-2">26.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
131 <font·size="-2">27.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>&gt;</span><br> 
132 <font·size="-2">28.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>&gt;</span><br> 
133 <font·size="-2">29.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>&gt;</span><br> 
134 </code></p>114 </code></p>
135 This·produces·the·following:115 This·produces·the·following:
136 ··<p><code>116 ··<p><code>
137 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br> 
138 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br>117 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class=[·...·truncated·by·diffoscope;·len:·47,·SHA:·38186744e4ad50b51137fddd536505943cf9dfe4f6229bb74f718bd94c6a6c8f·...·]<br>
 118 &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>
 119 &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>
 120 &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>
 121 &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>
139 &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>122 &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>
140 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br> 
141 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br> 
142 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br> 
143 &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>123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 124 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 126 &nbsp;·<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>
 127 <br>
 128 &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>
 129 <br>
 130 &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>
 131 <br>
 132 &nbsp;·This·will·fail:<br>
 133 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">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>
 134 <br>
 135 &nbsp;·Instead,·use·*·like·this:<br>
 136 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br>
 137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br>
 138 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 139 &nbsp;·&nbsp;·<br>
 140 &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>
144 </code></p>141 </code></p>
145 <P>142 <P>
146 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a143 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a
147 are·taken·literally,·however,·the·contents·for·b·are·already·expanded144 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
148 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it145 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
149 is·used,·while·the·contents·of·b·are·already·expanded.146 is·used,·while·the·contents·of·b·are·already·expanded.
150 </P>147 </P>
9.18 KB
html2text {}
    
Offset 1, 80 lines modifiedOffset 1, 80 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·global·and·expand·******2 ******·htp·on-line·reference·:·global·and·expand·******
3 Table_of·········*****·The·global·attribute·*****3 Table_of·········*****·The·global·attribute·*****
4 Contents·········Normally·when·you·define·a·macro·it·is·only·defined·in·the·current·scope.·A4 Contents·········Normally·when·you·define·a·macro·it·is·only·defined·in·the·current
5  Introduction···scope·is·for·example·the·definition·of·a·metatag.·Once·the·definition·is5  Introduction···scope.·A·scope·is·for·example·the·definition·of·a·metatag.·Once
6  License········expanded·and·the·metatag·has·finished·the·macro·is·automatically·removed. 
7  Tutorial·······In·some·cases·you·want·to·define·a·macro·inside·a·metatag·and·use·it·later. 
8  Usage··········You·can·do·this·with·the·global·attribute·that·you·can·add·to·[[ref]]set,·[6  License········the·definition·is·expanded·and·the·metatag·has·finished·the·macro
 7  Tutorial·······is·automatically·removed.·In·some·cases·you·want·to·define·a·macro
 8  Usage··········inside·a·metatag·and·use·it·later.·You·can·do·this·with·the·global
 9   ··Command-···attribute·that·you·can·add·to·[[ref]]set,·[[ref]]inc,·[
9   ··Command-···[ref]]inc,·[[ref]]block,·[[ref]]def,·and·[[ref]]blockdef·tags.10 ······line·······[ref]]block,·[[ref]]def,·and·[[ref]]blockdef·tags.
10 ······line·······*****·The·expand·attribute·*****11   ··Options····*****·The·expand·attribute·*****
11   ··Options····The·expand·attribute·is·not·a·tag·of·its·own·but·is·an·attribute·of·all12   ··Predefined·The·expand·attribute·is·not·a·tag·of·its·own·but·is·an·attribute
12   ··Predefined·block·tags·even·metatags·defined·with·the·blockdef·macro.·Normally·htp·uses 
13 ······macros·····a·lazy·evaluation·strategy,·i.e.·it·expands·htp·tags,·metatags·and·macros 
14  [>]·global_and·when·the·HTML·document·is·written·not·when·they're·stored·into·block 
15 ······expand·····macros.·When·you·use·a·macro·defined·with·the·blockdef·tag·the·html·code 
16  HTP_Tags·······between·the·tags·is·just·copied·literally·into·the·macro·named·block,13 ······macros·····of·all·block·tags·even·metatags·defined·with·the·blockdef·macro.
 14  [>]·global_and·Normally·htp·uses·a·lazy·evaluation·strategy,·i.e.·it·expands·htp
 15 ······expand·····tags,·metatags·and·macros·when·the·HTML·document·is·written·not
 16  HTP_Tags·······when·they're·stored·into·block·macros.·When·you·use·a·macro
 17  History········defined·with·the·blockdef·tag·the·html·code·between·the·tags·is
 18  Wish_list······just·copied·literally·into·the·macro·named·block,·without·any
17  History········without·any·expansion·going·on.19  Bugs···········expansion·going·on.
18  Wish_list······However,·if·the·block·tag·is·marked·with·the·expand·modifier·it·is·expanded20 ·················However,·if·the·block·tag·is·marked·with·the·expand·modifier·it·is
19  Bugs···········immediately.·This·is·useful·if·you·want·to·store·something·in·a·block 
20 ·················macro,·that·depends·on·the·current·value·of·another·macro.·This·other·macro 
21 ·················may·no·longer·have·the·correct·value·when·the·macro·is·expanded.·Here·is21 ·················expanded·immediately.·This·is·useful·if·you·want·to·store
 22 ·················something·in·a·block·macro,·that·depends·on·the·current·value·of
 23 ·················another·macro.·This·other·macro·may·no·longer·have·the·correct
 24 ·················value·when·the·macro·is·expanded.·Here·is·some·code·that
22 ·················some·code·that·demonstrate·when·the·htp·tags·are·expanded:25 ·················demonstrate·when·the·htp·tags·are·expanded:
23 ················· 1.<[[ref]]if·disabled_because_xyz> 
24 ················· 2·...26 ················· 1·<[[ref]]def·name="bigfont">
 27 ················· 2. · ·<font·size="+4">
25 ················· 3.<[[ref]]/if>28 ················· 3. ·<[[ref]]/def>
 29 ················· 4.
26 ················· 4.a·is·expanded·at·time·<[[ref]]use·time>. 
27 ················· 5. ·<[[ref]]/block> 
28 ················· 6. ·<[[ref]]block·name=b·expand> 
29 ················· 7. · ·b·is·expanded·at·time·<[[ref]]use·time>. 
30 ················· 8. ·<[[ref]]/block> 
31 ················· 9·<[[ref]]set·time="1">30 ················· 5·<[[ref]]def·name="/bigfont">
 31 ················· 6. · ·</font>
32 ·················10. ·<[[ref]]use·a> 
33 ·················11. ·<[[ref]]use·b> 
34 ·················12. ·contents·of·a:·<[[ref]]use·a·noexpand> 
35 ·················13. ·contents·of·b:·<[[ref]]use·b·noexpand> 
36 ·················14. ·<[[ref]]block·name=c·expand> 
37 ·················15. · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a> 
38 ·················16. ·<[[ref]]/block> 
39 ·················17. ·<[[ref]]block·name=d·expand> 
40 ·················18. · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
41 ·················19. ·<[[ref]]/block> 
42 ·················20. ·<[[ref]]block·name=e> 
43 ·················21. · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
44 ·················22. ·<[[ref]]/block> 
45 ·················23. ·<[[ref]]set·time="2"> 
46 ·················24. ·<[[ref]]block·name=a> 
47 ·················25. · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>. 
48 ·················26. ·<[[ref]]/block> 
49 ·················27. ·<[[ref]]use·c>32 ················· 7. ·<[[ref]]/def>
50 ·················28. ·<[[ref]]use·d> 
51 ·················29. ·<[[ref]]use·e>33 ················· 8.
 34 ················· 9. ·<bigfont>Some·large·text</bigfont>
52 ·················This·produces·the·following:35 ·················This·produces·the·following:
53 ················· · ·a·is·expanded·at·time·1. 
54 ················· · ·b·is·expanded·at·time·0. 
55 ················· ·contents·of·a:· ·a·is·expanded·at·time·<[[ref]]use·time>. 
56 ················· ·contents·of·b:· ·b·is·expanded·at·time·0. 
57 ················· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1. 
58 ················· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2. 
59 ················· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<[[ref]]use36 ················· ·<[[ref]]DEF·NAME="HEADERIMG"·OPTION="SRC·TITLE·SIZE">
 37 ················· · ·<[[ref]]IF·size>
 38 ················· · · · ·<FONT·SIZE=${size}>
 39 ················· · ·<[[ref]]/IF>
 40 ················· · ·<[[ref]]IMG·SRC=pics/${src}>
 41 ················· · ·<[[ref]]USE·title>
 42 ················· · ·<[[ref]]IF·size>
 43 ················· · · · ·</FONT>
 44 ················· · ·<[[ref]]/IF>
 45 ················· ·<[[ref]]/DEF>
  
 46 ················· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A·title">
  
 47 ················· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized·title">
  
 48 ················· ·This·will·fail:
 49 ················· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"·TITLE="Another·title">
  
 50 ················· ·Instead,·use·*·like·this:
 51 ················· ·<[[ref]]DEF·NAME="MYIMG"·OPTION="SRC·*">
 52 ················· · ·<[[ref]]IMG·SRC="pics/${src}"·$*>
 53 ················· ·<[[ref]]/DEF>
60 ·················time>.54 ················· · 
 55 ················· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
61 ·················When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a·are56 ·················When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of
62 ·················taken·literally,·however,·the·contents·for·b·are·already·expanded·so·the57 ·················a·are·taken·literally,·however,·the·contents·for·b·are·already
63 ·················macro·time·is·evaluated.·So·a·is·expanded·when·it·is·used,·while·the58 ·················expanded·so·the·macro·time·is·evaluated.·So·a·is·expanded·when·it
64 ·················contents·of·b·are·already·expanded.59 ·················is·used,·while·the·contents·of·b·are·already·expanded.
65 ·················In·line·10·and·12·the·[[ref]]use·tag·is·used·with·the·noexpand·attribute60 ·················In·line·10·and·12·the·[[ref]]use·tag·is·used·with·the·noexpand
66 ·················which·prevents·the·expansion·of·the·macro·value.·Here·it·is·used·to·show61 ·················attribute·which·prevents·the·expansion·of·the·macro·value.·Here·it
67 ·················you·what·the·value·of·the·block·macros·really·is.62 ·················is·used·to·show·you·what·the·value·of·the·block·macros·really·is.
68 ·················A·more·important·reason·to·use·the·noexpand·attribute·is·to·prevent·double63 ·················A·more·important·reason·to·use·the·noexpand·attribute·is·to
69 ·················expansion·and·to·restore·the·original·lazy·expansion·policy·when·you·have 
70 ·················to·use·the·expand·attribute·as·for·block·d·in·the·example·above.·See·the64 ·················prevent·double·expansion·and·to·restore·the·original·lazy
 65 ·················expansion·policy·when·you·have·to·use·the·expand·attribute·as·for
 66 ·················block·d·in·the·example·above.·See·the·section·example·in·the·[
71 ·················section·example·in·the·[[ref]]metatag_tutorial.·Rule·of·thumb:·The·use·tags67 ·················[ref]]metatag_tutorial.·Rule·of·thumb:·The·use·tags·in·an·expanded
72 ·················in·an·expanded·block·should·be·tagged·with·noexpand.68 ·················block·should·be·tagged·with·noexpand.
  
  
  
  
  
  
  
Offset 89, 10 lines modifiedOffset 89, 10 lines modified
89 [Powered_by89 [Powered_by
90 htp]90 htp]
91 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/91 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
92 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.92 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
93 ·····Maintainers:·Jochen_Hoenicke.93 ·····Maintainers:·Jochen_Hoenicke.
94 Copyright·©·1995–96·Jim·Nelson.94 Copyright·©·1995–96·Jim·Nelson.
95 Copyright·©·2001–2014·Jochen_Hoenicke.95 Copyright·©·2001–2014·Jochen_Hoenicke.
Max diff block lines reached; 0/9378 bytes (0.00%) of diff not shown.
28.8 KB
./usr/share/doc/htp/file.html
    
Offset 114, 47 lines modifiedOffset 114, 65 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·&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 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·block·#1<br> 
123 [<br> 
124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
125 &nbsp;·&nbsp;·block·#2<br> 
126 ...<br> 
127 ]<br> 
128 [<br> 
129 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
130 &nbsp;·&nbsp;·block·#3<br> 
131 ]<br> 
132 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
133 <br> 
134 </code></p>128 </code></p>
135 <h2>synopsis</h2>129 <h2>synopsis</h2>
136 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.130 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
137 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of131 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of
138 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be132 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
139 added·to·the·output·file·as·well.133 added·to·the·output·file·as·well.
140 <P>134 <P>
141 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the135 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
142 following·is·perfectly·acceptable:136 following·is·perfectly·acceptable:
143 ··<p><code>137 ··<p><code>
144 <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·cla[·...·truncated·by·diffoscope;·len:·113,·SHA:·2b0cbcace7e121b70e0d0fd885d64360a056137b5ec7cac94cd7521c0544fbda·...·]</span>&gt;</span><br>138 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span[·...·truncated·by·diffoscope;·len:·36,·SHA:·a48e3b5043fdef3852f24d4ca2018699e1810cae7d53ba3772ebebc1f092846f·...·]</span>&gt;</span><br>
 139 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 140 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;FONT·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value"><span·class="htp-macro">${size}</span></span>&gt;</span><br>
 141 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 142 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-value">pics/<span·class="htp-macro">${src}</span></span>&gt;</span><br>
 143 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br>
 144 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br>
 145 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 146 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
 147 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 148 <br>
 149 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br>
 150 <br>
 151 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br>
145 <br>152 <br>
 153 &nbsp;·This·will·fail:<br>
 154 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Another·title"</span>&gt;</span><br>
 155 <br>
 156 &nbsp;·Instead,·use·*·like·this:<br>
 157 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"MYIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·*"</span>&gt;</span><br>
 158 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IMG</a>·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"pics/<span·class="htp-macro">${src}</span>"</span>·<span·class="htp-attrib"><span·class="htp-macro">$*</span></span>&gt;</span><br>
 159 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 160 &nbsp;·&nbsp;·<br>
 161 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br>
146 </code></p>162 </code></p>
147 <P>163 <P>
148 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>164 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
149 <P>165 <P>
150 To·include·information·about·another·file,·such·as·an·archive·file·or166 To·include·information·about·another·file,·such·as·an·archive·file·or
151 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the167 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
152 type·of·information·to·be·displayed:168 type·of·information·to·be·displayed:
153 ··<p><code>169 ··<p><code>
 170 &nbsp;·&nbsp;·File·image.gif·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>&gt;</span>&nbsp;kilobytes<br>
 171 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
154 </code></p>172 </code></p>
155 <P>173 <P>
156 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the174 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
157 information·is·displayed.··In·anything·other·than·byte·format,·the·information175 information·is·displayed.··In·anything·other·than·byte·format,·the·information
158 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number176 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
159 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional177 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
160 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no178 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 183, 16 lines modifiedOffset 201, 36 lines modified
183 <P>201 <P>
184 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are202 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
185 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros203 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
186 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it204 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
187 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer205 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
188 available.··So:206 available.··So:
189 ··<p><code>207 ··<p><code>
190 &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> 
191 &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>208 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path<[·...·truncated·by·diffoscope;·len:·53,·SHA:·86c883bdee8402de4fb025e83a268d959894f39762ba8ab02b60f226172c9353·...·]</span>&gt;</span><br>
 209 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br>
 210 <br>
 211 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 212 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
 213 &nbsp;·(no·URL·replacement).<br>
 214 <br>
 215 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br>
 216 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br>
 217 <br>
 218 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br>
 219 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br>
 220 &nbsp;·will·not·be·added.<br>
 221 <br>
 222 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br>
 223 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br>
 224 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br>
 225 <br>
 226 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br>
 227 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
 228 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
 229 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
192 </code></p>230 </code></p>
193 <P>231 <P>
194 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included232 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
195 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the233 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
196 second·statement·will·fail.)234 second·statement·will·fail.)
197 <P>235 <P>
198 <h3><a·name="template">TEMPLATE</a></h3>236 <h3><a·name="template">TEMPLATE</a></h3>
16.7 KB
html2text {}
    
Offset 1, 126 lines modifiedOffset 1, 145 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·FILE·******2 ******·htp·on-line·reference·:·FILE·******
3 Table_of_Contents····*****·syntax·*****3 Table_of·······*****·syntax·*****
 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·<[[ref]]use
 11   ··BLOCK····time>.
 12   ··BLOCKDEF·*****·synopsis·*****
4  Introduction·······<[[ref]]IF·[NOT]·conditional> 
5  License············ · ·block·#1 
6  Tutorial···········[ 
7  Usage··············<ELSEIF·[NOT]·conditional> 
8  HTP·Tags··········· · ·block·#2 
9   ··ALTTEXT········... 
10   ··BLOCK··········] 
11   ··BLOCKDEF·······[ 
12   ··DEF············<ELSE> 
13  [>]·FILE··········· · ·block·#3 
14   ··IF·············] 
15   ··INC············<[[ref]]/IF> 
16   ··IMG 
17   ··IMAGEURL·······*****·synopsis·***** 
18   ··OPT············FILE·has·several·optional·parameters·of·differing·purpose.13   ··DEF······FILE·has·several·optional·parameters·of·differing·purpose.·The·output·file's
 14  [>]·FILE·····name,·the·current·date·and·time,·and·the·contents·of·another·file·may·be
19   ··OUTPUT·········The·output·file's·name,·the·current·date·and·time,·and·the 
20   ··QUOTE··········contents·of·another·file·may·be·included.·Another·file's 
21   ··SET············time,·date,·or·size·may·be·added·to·the·output·file·as15   ··IF·······included.·Another·file's·time,·date,·or·size·may·be·added·to·the·output·file
22   ··UNDEF··········well.16   ··INC······as·well.
23   ··UNSET··········As·with·all·HTML,·these·tags·do·not·have·to·be·on·their17   ··IMG······As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
24   ··USE,_$·········own·line,·so·the·following·is·perfectly·acceptable: 
25   ··WHILE··········<[[ref]]imageurl·url="imageurl"·[·path="path/in/local/ 
26   ··<!---··········filesystem"·]> 
27  History18   ··IMAGEURL·following·is·perfectly·acceptable:
 19   ··OPT······ ·<[[ref]]DEF·NAME="HEADERIMG"·OPTION="SRC·TITLE·SIZE">
 20   ··OUTPUT··· · ·<[[ref]]IF·size>
 21   ··QUOTE···· · · · ·<FONT·SIZE=${size}>
 22   ··SET······ · ·<[[ref]]/IF>
 23   ··UNDEF···· · ·<[[ref]]IMG·SRC=pics/${src}>
 24   ··UNSET···· · ·<[[ref]]USE·title>
 25   ··USE,_$··· · ·<[[ref]]IF·size>
 26   ··WHILE···· · · · ·</FONT>
 27   ··<!---···· · ·<[[ref]]/IF>
 28  History······ ·<[[ref]]/DEF>
 29  Wish_list
 30  Bugs········· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A·title">
  
 31 ··············· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized·title">
  
 32 ··············· ·This·will·fail:
 33 ··············· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"·TITLE="Another·title">
  
 34 ··············· ·Instead,·use·*·like·this:
 35 ··············· ·<[[ref]]DEF·NAME="MYIMG"·OPTION="SRC·*">
 36 ··············· · ·<[[ref]]IMG·SRC="pics/${src}"·$*>
 37 ··············· ·<[[ref]]/DEF>
 38 ··············· · 
 39 ··············· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
28  Wish_list··········****·NAME,·TIME,·SIZE·****40 ···············****·NAME,·TIME,·SIZE·****
29  Bugs···············To·include·information·about·another·file,·such·as·an41 ···············To·include·information·about·another·file,·such·as·an·archive·file·or·graphic
 42 ···············image,·specify·its·name·with·the·NAME·attribute·followed·by·the·type·of
30 ·····················archive·file·or·graphic·image,·specify·its·name·with·the 
31 ·····················NAME·attribute·followed·by·the·type·of·information·to·be 
32 ·····················displayed:43 ···············information·to·be·displayed:
 44 ··············· · ·File·image.gif·<[[ref]]FILE·NAME="image.gif"·SIZE=KBYTE> kilobytes
 45 ··············· · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE
 46 ···············NAME="image.gif"·DATE>
33 ·····················For·file·size·information,·the·value·BYTE,·KBYTE,·etc.47 ···············For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
 48 ···············information·is·displayed.·In·anything·other·than·byte·format,·the·information
34 ·····················dictates·how·the·information·is·displayed.·In·anything 
35 ·····················other·than·byte·format,·the·information·is·displayed·in 
36 ·····················floating-point·notation.·The·amount·of·precision·(the49 ···············is·displayed·in·floating-point·notation.·The·amount·of·precision·(the·number
37 ·····················number·of·digits·to·the·right·of·the·decimal·point)·can·be50 ···············of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
 51 ···············PRECISION·attribute.·The·default·precision·is·zero·(0),·which·means·no
 52 ···············fractional·portion·is·displayed.
38 ·····················set·with·the·optional·PRECISION·attribute.·The·default 
39 ·····················precision·is·zero·(0),·which·means·no·fractional·portion 
40 ·····················is·displayed. 
41 ·····················At·the·request·of·many·people,·the·TIME·and·DATE53 ···············At·the·request·of·many·people,·the·TIME·and·DATE·attributes·will·now·accept
 54 ···············formatting·characters·that·are·passed·directly·into·the·ANSI·C·library
42 ·····················attributes·will·now·accept·formatting·characters·that·are 
43 ·····················passed·directly·into·the·ANSI·C·library·function.·This 
44 ·····················allows·for·the·time·and·date·to·be·displayed·in·virtually55 ···············function.·This·allows·for·the·time·and·date·to·be·displayed·in·virtually·any
45 ·····················any·format.·Users·not·wishing·to·mess·around·with·this56 ···············format.·Users·not·wishing·to·mess·around·with·this·should·stick·to·the
 57 ···············default·format,·which·is·used·if·no·formatting·value·is·specified·(i.e.,·just
 58 ···············using·05:04:11·PM).
46 ·····················should·stick·to·the·default·format,·which·is·used·if·no 
47 ·····················formatting·value·is·specified·(i.e.,·just·using·05:04:11 
48 ·····················PM). 
49 ·····················Consult·any·C·programmer's·guide·discussing·the·standard·C59 ···············Consult·any·C·programmer's·guide·discussing·the·standard·C·library·function
 60 ···············strftime()·for·information·on·how·to·build·a·format·string.·If·unsure,·ask·an
50 ·····················library·function·strftime()·for·information·on·how·to 
51 ·····················build·a·format·string.·If·unsure,·ask·an·experienced·C 
52 ·····················programmer·for·help,·or·consider·just·sticking·to·the61 ···············experienced·C·programmer·for·help,·or·consider·just·sticking·to·the·default
53 ·····················default·formatting.62 ···············formatting.
54 ·····················****·INCLUDE·****63 ···············****·INCLUDE·****
55 ·····················INCLUDE·files·are·pre-processed·as·any·other·file.·The64 ···············INCLUDE·files·are·pre-processed·as·any·other·file.·The·resulting·text·is
 65 ···············incorporated·into·the·HTML·output·as·if·the·file·had·been·copied·into·the
56 ·····················resulting·text·is·incorporated·into·the·HTML·output·as·if 
57 ·····················the·file·had·been·copied·into·the·source·at·the·same 
58 ·····················location·as·the·FILE·markup·tag.66 ···············source·at·the·same·location·as·the·FILE·markup·tag.
59 ·····················htp·will·automatically·convert·slashes·and·backslashes·to67 ···············htp·will·automatically·convert·slashes·and·backslashes·to·match·the·operating
60 ·····················match·the·operating·system's·directory·separator.68 ···············system's·directory·separator.
61 ·····················Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,69 ···············Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
 70 ···············interpreted·as·macros·that·are·"passed"·to·the·included·file.·The·macros·are
62 ·····················which·are·interpreted·as·macros·that·are·"passed"·to·the 
63 ·····················included·file.·The·macros·are·available·only·to·the 
64 ·····················include·file·(and·any·macros·or·included·files·it·holds).71 ···············available·only·to·the·include·file·(and·any·macros·or·included·files·it
65 ·····················After·the·file·is·completely·included,·the·macros·are·no72 ···············holds).·After·the·file·is·completely·included,·the·macros·are·no·longer
66 ·····················longer·available.·So:73 ···············available.·So:
67 ····················· · ·<[[ref]]FILE·INCLUDE="include.hti"·name="Jim·Nelson" 
68 ·····················email="jnelson@crl.com"> 
69 ····················· · ·This·tag·will·fail:·<[[ref]]USE·name>74 ··············· ·<[[ref]]imageurl·url="http://my.domain.org/"·path="/var/www/my.domain/">
 75 ··············· ·<[[ref]]imageurl·url="other.domain.org/"·path="/var/www/other.domain/">
  
 76 ··············· ·For·this·line:·<[[ref]]img·src="logo.gif">
 77 ··············· ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions
 78 ··············· ·(no·URL·replacement).
  
 79 ··············· ·For·this·line:·<[[ref]]img·src="http://my.domain.org/logo.gif">
 80 ··············· ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.
  
 81 ··············· ·But·for·this·line:·<[[ref]]img·src="http://other.domain.org/logo.gif">
Max diff block lines reached; 667/17111 bytes (3.90%) of diff not shown.
10.5 KB
./usr/share/doc/htp/if.html
    
Offset 114, 16 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="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>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<[·...·truncated·by·diffoscope;·len:·150,·SHA:·52a877f809b4eded8fe2ae68b732227341f3304b8f237ab59de52d7b3122af23·...·]<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>
123 </code></p>123 </code></p>
124 <h2>synopsis</h2>124 <h2>synopsis</h2>
125 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building125 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
126 blocks·for·conditional·processing.··The·basic·form·is·shown·above.126 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
127 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A127 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
128 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal128 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
129 string:129 string:
Offset 131, 16 lines modifiedOffset 131, 36 lines modified
131 <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>131 <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>
132 <br>132 <br>
133 </code></p>133 </code></p>
134 <P>134 <P>
135 and·a·defined·operator·is·a·test·of·a·macro's·existance:135 and·a·defined·operator·is·a·test·of·a·macro's·existance:
136 <P>136 <P>
137 ··<p><code>137 ··<p><code>
138 &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> 
139 &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>138 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path<[·...·truncated·by·diffoscope;·len:·53,·SHA:·86c883bdee8402de4fb025e83a268d959894f39762ba8ab02b60f226172c9353·...·]</span>&gt;</span><br>
 139 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br>
 140 <br>
 141 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 142 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
 143 &nbsp;·(no·URL·replacement).<br>
 144 <br>
 145 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br>
 146 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br>
 147 <br>
 148 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br>
 149 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br>
 150 &nbsp;·will·not·be·added.<br>
 151 <br>
 152 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br>
 153 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br>
 154 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br>
 155 <br>
 156 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br>
 157 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
 158 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
 159 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
140 </code></p>160 </code></p>
141 <P>161 <P>
142 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the162 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
143 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that163 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
144 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the164 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
145 ELSE·block·is·taken·if·it·is·present.··A·conditional·block165 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
146 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.166 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
4.49 KB
html2text {}
    
Offset 1, 37 lines modifiedOffset 1, 55 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·IF,·ELSEIF,·ELSE,·/IF·******2 ******·htp·on-line·reference·:·IF,·ELSEIF,·ELSE,·/IF·******
3 Table_of_Contents····*****·syntax·*****3 Table_of·······*****·syntax·*****
4  Introduction·······<[[ref]]img·src="filename"·...> 
5  License4 Contents······· · ·<[[ref]]FILE·INCLUDE="include.hti"·name="Jim·Nelson"
 5  Introduction·email="jnelson@crl.com">
 6  License······ · ·This·tag·will·fail:·<[[ref]]USE·name>
6  Tutorial···········*****·synopsis·*****7  Tutorial·····*****·synopsis·*****
7  Usage··············IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building·blocks·for8  Usage········IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building·blocks·for·conditional
8  HTP·Tags···········conditional·processing.·The·basic·form·is·shown·above.9  HTP·Tags·····processing.·The·basic·form·is·shown·above.
9   ··ALTTEXT········"Conditional"·is·either·a·"compare"·or·"is·defined"10   ··ALTTEXT··"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.·A·compare
 11   ··BLOCK····operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string:
10   ··BLOCK··········operation.·A·compare·operator·is·a·test·of·the·value·of·a 
11   ··BLOCKDEF·······macro·against·a·literal·string: 
12   ··DEF············<[[ref]]imageurl·url="imageurl"·[·path="path/in/local/12   ··BLOCKDEF·<[[ref]]imageurl·url="imageurl"·[·path="path/in/local/filesystem"·]>
 13   ··DEF
13   ··FILE···········filesystem"·]> 
14  [>]·IF 
15   ··INC············and·a·defined·operator·is·a·test·of·a·macro's·existance:14   ··FILE·····and·a·defined·operator·is·a·test·of·a·macro's·existance:
16   ··IMG············ · ·<[[ref]]FILE·INCLUDE="include.hti"·name="Jim·Nelson" 
17   ··IMAGEURL·······email="jnelson@crl.com"> 
18   ··OPT············ · ·This·tag·will·fail:·<[[ref]]USE·name> 
19   ··OUTPUT·········If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation 
20   ··QUOTE··········of·the·conditional·is·reversed.·The·first·IF·or·ELSEIF 
21   ··SET············condition·that·evaluates·to·true·is·chosen.·If·none·of·the 
22   ··UNDEF··········conditions·is·true·the·ELSE·block·is·taken·if·it·is 
23   ··UNSET··········present.·A·conditional·block·must·be·closed·with·the·/IF 
24   ··USE,_$·········tag.·IF·tags·can·be·nested. 
25   ··WHILE 
26   ··<!---15  [>]·IF······· ·<[[ref]]imageurl·url="http://my.domain.org/"·path="/var/www/my.domain/">
 16   ··INC······ ·<[[ref]]imageurl·url="other.domain.org/"·path="/var/www/other.domain/">
 17   ··IMG
 18   ··IMAGEURL· ·For·this·line:·<[[ref]]img·src="logo.gif">
 19   ··OPT······ ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions
 20   ··OUTPUT··· ·(no·URL·replacement).
 21   ··QUOTE
 22   ··SET······ ·For·this·line:·<[[ref]]img·src="http://my.domain.org/logo.gif">
 23   ··UNDEF···· ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.
 24   ··UNSET
 25   ··USE,_$··· ·But·for·this·line:·<[[ref]]img·src="http://other.domain.org/logo.gif">
 26   ··WHILE···· ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions
 27   ··<!---···· ·will·not·be·added.
27  History28  History
28  Wish_list 
29  Bugs29  Wish_list···· ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:
 30  Bugs········· ·<[[ref]]imageurl·url="/"·path="/var/www/htdocs/">
 31 ··············· ·<[[ref]]imageurl·url="/test/"·path="/var/www/test/">
  
 32 ··············· ·<[[ref]]img·src="/image.gif"> and·<[[ref]]img·src="/test/image.gif"> are
 33 ···············mapped·to
 34 ··············· ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.
 35 ··············· ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second
 36 ··············· ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.
 37 ···············If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the·conditional
 38 ···············is·reversed.·The·first·IF·or·ELSEIF·condition·that·evaluates·to·true·is
 39 ···············chosen.·If·none·of·the·conditions·is·true·the·ELSE·block·is·taken·if·it·is
 40 ···············present.·A·conditional·block·must·be·closed·with·the·/IF·tag.·IF·tags·can·be
 41 ···············nested.
  
  
  
  
  
  
  
  
  
  
  
  
Offset 45, 16 lines modifiedOffset 63, 17 lines modified
  
45  page_source63  page_source
46  htp_project64  htp_project
47  htp_homepage65  htp_homepage
48 hosted·by66 hosted·by
49 Sourceforge67 Sourceforge
50 HTML·coding68 HTML·coding
51 [Powered_by_htp]69 [Powered_by
 70 htp]
52 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/71 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
53 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.72 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
54 ·····Maintainers:·Jochen_Hoenicke.73 ·····Maintainers:·Jochen_Hoenicke.
55 Copyright·©·1995–96·Jim·Nelson.74 Copyright·©·1995–96·Jim·Nelson.
56 Copyright·©·2001–2014·Jochen_Hoenicke.75 Copyright·©·2001–2014·Jochen_Hoenicke.
57 Permission·to·reproduce·and·distribute·this·hypertext·document·granted76 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to·terms
58 according·to·terms·described·in·the·License_section.77 described·in·the·License_section.
59 last·updated·Sat·May·16,·201578 last·updated·Sat·May·16,·2015
11.1 KB
./usr/share/doc/htp/imageurl.html
    
Offset 114, 16 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"path/in/local/filesystem"</span>·<span·class="ebnf">]</span>&gt;</span><br> 
122 <br> 
123 </code></p>122 </code></p>
124 <h2>synopsis</h2>123 <h2>synopsis</h2>
125 <P>124 <P>
126 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local125 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local
127 file·system.··declares·an·URL·replacement·that·is·used·for126 file·system.··declares·an·URL·replacement·that·is·used·for
128 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions127 size·lookups·in·any·<A·HREF="img.html">IMG</A>·tag.·This·definitions
129 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is128 takes·effect·only·if·the·<A·HREF="opt.html">IMGXY</A>·option·is
Offset 137, 16 lines modifiedOffset 136, 36 lines modified
137 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC136 checks·(case-insensitive)·if·it·is·a·prefix·of·the·image's·SRC
138 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.137 attribute.·If·it·matches·this·prefix·is·replaced·by·the·given·PATH.
139 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and138 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and
140 looked·up·in·the·current·directory.</P>139 looked·up·in·the·current·directory.</P>
141 <P>140 <P>
142 For·example:</P>141 For·example:</P>
143 ··<p><code>142 ··<p><code>
144 &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> 
145 &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>143 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path<[·...·truncated·by·diffoscope;·len:·53,·SHA:·86c883bdee8402de4fb025e83a268d959894f39762ba8ab02b60f226172c9353·...·]</span>&gt;</span><br>
 144 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br>
 145 <br>
 146 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br>
 147 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
 148 &nbsp;·(no·URL·replacement).<br>
 149 <br>
 150 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br>
 151 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br>
 152 <br>
 153 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br>
 154 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br>
 155 &nbsp;·will·not·be·added.<br>
 156 <br>
 157 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br>
 158 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br>
 159 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br>
 160 <br>
 161 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br>
 162 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
 163 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
 164 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
146 </code></p>165 </code></p>
147 <P>166 <P>
148 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as167 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
149 an·undefine,·and·is·removed.</P>168 an·undefine,·and·is·removed.</P>
150 <P>169 <P>
151 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout170 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
152 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an171 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
5.6 KB
html2text {}
    
Offset 1, 41 lines modifiedOffset 1, 55 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·IMAGEURL·******2 ******·htp·on-line·reference·:·IMAGEURL·******
3 Table_of_Contents····*****·syntax·*****3 Table_of·······*****·syntax·*****
 4 Contents······· · ·<[[ref]]IF·name>...<[[ref]]/IF>
 5  Introduction·*****·synopsis·*****
4  Introduction·······<[[ref]]imageurl·url="imageurl"·[·path="path/in/local/ 
5  License············filesystem"·]> 
6  Tutorial 
7  Usage··············*****·synopsis·***** 
8  HTP·Tags···········IMAGEURL·tells·htp,·where·to·find·images·on·the·local·file6  License······IMAGEURL·tells·htp,·where·to·find·images·on·the·local·file·system.·declares
 7  Tutorial·····an·URL·replacement·that·is·used·for·size·lookups·in·any·IMG·tag.·This
 8  Usage········definitions·takes·effect·only·if·the·IMGXY·option·is·enabled.·Beacause·htp
9   ··ALTTEXT········system.·declares·an·URL·replacement·that·is·used·for·size 
10   ··BLOCK··········lookups·in·any·IMG·tag.·This·definitions·takes·effect·only 
11   ··BLOCKDEF·······if·the·IMGXY·option·is·enabled.·Beacause·htp·can't·lookup 
12   ··DEF············files·in·the·world·wide·web·you·have·to·map·absolute·image9  HTP·Tags·····can't·lookup·files·in·the·world·wide·web·you·have·to·map·absolute·image·URLs
13   ··FILE···········URLs·to·a·directory·in·the·local·file·system.10   ··ALTTEXT··to·a·directory·in·the·local·file·system.
14   ··IF·············When·an·IMG·tag·is·encountered·where·htp·has·to·insert11   ··BLOCK····When·an·IMG·tag·is·encountered·where·htp·has·to·insert·width·and·height·the
 12   ··BLOCKDEF·defined·URL·replacements·will·be·taken·into·account·(later·definitions·take
15   ··INC············width·and·height·the·defined·URL·replacements·will·be 
16   ··IMG············taken·into·account·(later·definitions·take·precedence·to 
17  [>]·IMAGEURL·······earlier):·For·each·defined·imageurl·it·checks·(case-13   ··DEF······precedence·to·earlier):·For·each·defined·imageurl·it·checks·(case-
 14   ··FILE·····insensitive)·if·it·is·a·prefix·of·the·image's·SRC·attribute.·If·it·matches
 15   ··IF·······this·prefix·is·replaced·by·the·given·PATH.·If·no·IMAGEURL·matches·the·SRC·is
18   ··OPT············insensitive)·if·it·is·a·prefix·of·the·image's·SRC 
19   ··OUTPUT·········attribute.·If·it·matches·this·prefix·is·replaced·by·the 
20   ··QUOTE··········given·PATH.·If·no·IMAGEURL·matches·the·SRC·is·considered 
21   ··SET············as·relative·link·and·looked·up·in·the·current·directory.16   ··INC······considered·as·relative·link·and·looked·up·in·the·current·directory.
22   ··UNDEF··········For·example:17   ··IMG······For·example:
23   ··UNSET·········· · ·<[[ref]]FILE·INCLUDE="include.hti"·name="Jim·Nelson" 
24   ··USE,_$·········email="jnelson@crl.com"> 
25   ··WHILE·········· · ·This·tag·will·fail:·<[[ref]]USE·name>18  [>]·IMAGEURL· ·<[[ref]]imageurl·url="http://my.domain.org/"·path="/var/www/my.domain/">
 19   ··OPT······ ·<[[ref]]imageurl·url="other.domain.org/"·path="/var/www/other.domain/">
 20   ··OUTPUT
 21   ··QUOTE···· ·For·this·line:·<[[ref]]img·src="logo.gif">
 22   ··SET······ ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions
 23   ··UNDEF···· ·(no·URL·replacement).
 24   ··UNSET
 25   ··USE,_$··· ·For·this·line:·<[[ref]]img·src="http://my.domain.org/logo.gif">
 26   ··WHILE···· ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.
 27   ··<!---
 28  History······ ·But·for·this·line:·<[[ref]]img·src="http://other.domain.org/logo.gif">
 29  Wish_list···· ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions
 30  Bugs········· ·will·not·be·added.
  
 31 ··············· ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:
 32 ··············· ·<[[ref]]imageurl·url="/"·path="/var/www/htdocs/">
 33 ··············· ·<[[ref]]imageurl·url="/test/"·path="/var/www/test/">
  
 34 ··············· ·<[[ref]]img·src="/image.gif"> and·<[[ref]]img·src="/test/image.gif"> are
 35 ···············mapped·to
 36 ··············· ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.
 37 ··············· ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second
 38 ··············· ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.
26   ··<!---··········If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,39 ···············If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
27  History············it·is·treated·as·an·undefine,·and·is·removed.40 ···············an·undefine,·and·is·removed.
28  Wish_list··········Since·you·usually·need·the·url·mapping·for·a·number·of41 ···············Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
29  Bugs···············images·used·throughout·a·set·of·documents,·IMAGEURL·is 
30 ·····················most·appropriately·put·into·an·include_file·or·the·htp.def42 ···············a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an·include_file
31 ·····················file.43 ···············or·the·htp.def·file.
32 ·····················In·addition·to·WIDTH·and·HEIGHT,·htp·can·also·(semi-44 ···············In·addition·to·WIDTH·and·HEIGHT,·htp·can·also·(semi-)automatically·add·an·ALT
33 ·····················)automatically·add·an·ALT_text·attribute·to·IMG·tags.45 ···············text·attribute·to·IMG·tags.
  
  
  
  
  
  
  
Offset 54, 16 lines modifiedOffset 68, 17 lines modified
  
54  page_source68  page_source
55  htp_project69  htp_project
56  htp_homepage70  htp_homepage
57 hosted·by71 hosted·by
58 Sourceforge72 Sourceforge
59 HTML·coding73 HTML·coding
60 [Powered_by_htp]74 [Powered_by
 75 htp]
61 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/76 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
62 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.77 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
63 ·····Maintainers:·Jochen_Hoenicke.78 ·····Maintainers:·Jochen_Hoenicke.
64 Copyright·©·1995–96·Jim·Nelson.79 Copyright·©·1995–96·Jim·Nelson.
65 Copyright·©·2001–2014·Jochen_Hoenicke.80 Copyright·©·2001–2014·Jochen_Hoenicke.
66 Permission·to·reproduce·and·distribute·this·hypertext·document·granted81 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to·terms
67 according·to·terms·described·in·the·License_section.82 described·in·the·License_section.
68 last·updated·Sat·May·16,·201583 last·updated·Sat·May·16,·2015
4.69 KB
./usr/share/doc/htp/img.html
    
Offset 114, 15 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"imageurl"</span>·<span·class="ebnf">[</span>·<span·class="htp-attrib">path</span>=<span·class="ht[·...·truncated·by·diffoscope;·len:·64,·SHA:·5458c7318048c396336185e59bbfc8b6345dca93cc1e1aa675aeba6a7a3641be·...·]</span>&gt;</span><br>
122 <br>122 <br>
123 </code></p>123 </code></p>
124 <h2>synopsis</h2>124 <h2>synopsis</h2>
125 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified125 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified
126 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage126 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage
127 of·not·having·to·determine·each·image's·size·manually,·which·is·especially127 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
128 useful·if·the·image·may·change·frequently.·</P>128 useful·if·the·image·may·change·frequently.·</P>
3.52 KB
html2text {}
    
Offset 1, 37 lines modifiedOffset 1, 38 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·IMG·******2 ******·htp·on-line·reference·:·IMG·******
3 Table_of_Contents············*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
4  Introduction···············<[[ref]]img·src="filename"·...> 
5  License4  Introduction···············<[[ref]]imageurl·url="imageurl"·[·path="path/in/
 5  License····················local/filesystem"·]>
 6  Tutorial
6  Tutorial···················*****·synopsis·*****7  Usage······················*****·synopsis·*****
7  Usage······················img·is·a·standard·HTML·tag.·htp·can·add·the8  HTP·Tags···················img·is·a·standard·HTML·tag.·htp·can·add·the
8  HTP·Tags···················specified·image's·width·and·height·to·the·tag9   ··ALTTEXT················specified·image's·width·and·height·to·the·tag
9   ··ALTTEXT················automatically.·This·has·the·advantage·of·not10   ··BLOCK··················automatically.·This·has·the·advantage·of·not
10   ··BLOCK··················having·to·determine·each·image's·size·manually,11   ··BLOCKDEF···············having·to·determine·each·image's·size·manually,
11   ··BLOCKDEF···············which·is·especially·useful·if·the·image·may·change12   ··DEF····················which·is·especially·useful·if·the·image·may·change
12   ··DEF····················frequently.13   ··FILE···················frequently.
13   ··FILE···················htp·adds·this·information·with·the·WIDTH·and14   ··IF·····················htp·adds·this·information·with·the·WIDTH·and
14   ··IF·····················HEIGHT·markup·attributes.·If·htp·detects·these15   ··INC····················HEIGHT·markup·attributes.·If·htp·detects·these
15   ··INC····················attributes·are·already·present·in·the·tag,·it·will16  [>]·IMG····················attributes·are·already·present·in·the·tag,·it·will
16  [>]·IMG····················not·modify·the·values.·If·htp·cannot·find·the17   ··IMAGEURL···············not·modify·the·values.·If·htp·cannot·find·the
17   ··IMAGEURL···············image·file,·it·will·issue·a·warning·but·not·halt18   ··OPT····················image·file,·it·will·issue·a·warning·but·not·halt
18   ··OPT····················processing.19   ··OUTPUT·················processing.
19   ··OUTPUT·················At·this·time,·GIF·(Graphic·Interchange·Format),20   ··QUOTE··················At·this·time,·GIF·(Graphic·Interchange·Format),
20   ··QUOTE··················PNG·(Portable·Network·Graphics),·and·JFIF·(JPEG21   ··SET····················PNG·(Portable·Network·Graphics),·and·JFIF·(JPEG
21   ··SET····················File·Interchange·Format)·are·supported.22   ··UNDEF··················File·Interchange·Format)·are·supported.
22   ··UNDEF··················The·IMGXY_and_NOIMGXY·options·control·whether·or23   ··UNSET··················The·IMGXY_and_NOIMGXY·options·control·whether·or
23   ··UNSET··················not·htp·actually·adds·this·information·as·it24   ··USE,_$·················not·htp·actually·adds·this·information·as·it
24   ··USE,_$·················executes.25   ··WHILE··················executes.
25   ··WHILE··················Since·htp·is·able·to·lookup·files·only·in·the26   ··<!---··················Since·htp·is·able·to·lookup·files·only·in·the
26   ··<!---··················local·filesystem,·the·IMAGEURL·tag·may·be·used·to27  History····················local·filesystem,·the·IMAGEURL·tag·may·be·used·to
27  History····················map·URLs·to·local·files.28  Wish_list··················map·URLs·to·local·files.
28  Wish_list··················htp·can·also·add·default·ALT·text·to·IMG·tags29  Bugs·······················htp·can·also·add·default·ALT·text·to·IMG·tags
29  Bugs·······················using·ALTTEXT.30 ·····························using·ALTTEXT.
  
  
  
  
  
  
  
4.47 KB
./usr/share/doc/htp/inc.html
    
Offset 130, 15 lines modifiedOffset 130, 22 lines modified
130 macroname·must·be·the·name·of·a·defined·macro·that·contains·an130 macroname·must·be·the·name·of·a·defined·macro·that·contains·an
131 integer.··If·the·increment·is·ommitted·it·defaults·to·1.131 integer.··If·the·increment·is·ommitted·it·defaults·to·1.
132 The·effect·of·this·operation·is·that·the·macro·is·redefined132 The·effect·of·this·operation·is·that·the·macro·is·redefined
133 to·contain·the·sum·of·its·previous·value·and·its·increment.133 to·contain·the·sum·of·its·previous·value·and·its·increment.
134 <P>134 <P>
135 To·increment·or·decrement·a·variable·you·can·use·this·form:135 To·increment·or·decrement·a·variable·you·can·use·this·form:
136 ··<p><code>136 ··<p><code>
137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="h[·...·truncated·by·diffoscope;·len:·15,·SHA:·9b11e2054279385dab0eb9eaa3f7e0c24e5f45d651372a188a49301d354669e6·...·]</span>&gt;</span><br>137 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(IMGXY|NOIMGXY)</span>&gt;</span><br>
 138 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(QUIET|VERBOSE)</span>&gt;</span><br>
 139 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(DEPEND|NODEPEND)</span>&gt;</span><br>
 140 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(PRECIOUS|NOPRECIOUS)</span>&gt;</span><br>
 141 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>&gt;</span><br>
 142 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="htp-value">(HTML|SQUARE|CURLY)</span>&gt;</span><br>
 143 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(XML|XML</span>=<span·class="htp-value">FALSE)</span>&gt;</span><br>
 144 <br>
138 </code></p>145 </code></p>
139 <p>146 <p>
140 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It147 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It
141 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer148 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer
142 values·are·limited·to·the·range·-2^31..2^31.149 values·are·limited·to·the·range·-2^31..2^31.
143 <P>150 <P>
144 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.151 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.
2.13 KB
html2text {}
    
Offset 15, 23 lines modifiedOffset 15, 30 lines modified
15   ··IF·····················be·the·name·of·a·defined·macro·that·contains·an15   ··IF·····················be·the·name·of·a·defined·macro·that·contains·an
16  [>]·INC····················integer.·If·the·increment·is·ommitted·it·defaults16  [>]·INC····················integer.·If·the·increment·is·ommitted·it·defaults
17   ··IMG····················to·1.·The·effect·of·this·operation·is·that·the17   ··IMG····················to·1.·The·effect·of·this·operation·is·that·the
18   ··IMAGEURL···············macro·is·redefined·to·contain·the·sum·of·its18   ··IMAGEURL···············macro·is·redefined·to·contain·the·sum·of·its
19   ··OPT····················previous·value·and·its·increment.19   ··OPT····················previous·value·and·its·increment.
20   ··OUTPUT·················To·increment·or·decrement·a·variable·you·can·use20   ··OUTPUT·················To·increment·or·decrement·a·variable·you·can·use
21   ··QUOTE··················this·form:21   ··QUOTE··················this·form:
22   ··SET···················· · ·<[[ref]]INC·i="1"·j="-1">22   ··SET····················<[[ref]]OPT·(IMGXY|NOIMGXY)>
 23   ··UNDEF··················<[[ref]]OPT·(QUIET|VERBOSE)>
 24   ··UNSET··················<[[ref]]OPT·(DEPEND|NODEPEND)>
 25   ··USE,_$·················<[[ref]]OPT·(PRECIOUS|NOPRECIOUS)>
 26   ··WHILE··················<[[ref]]OPT·(CONDENSE|SEMICONDENSE|NOCONDENSE)>
 27   ··<!---··················<[[ref]]OPT·DELIM=(HTML|SQUARE|CURLY)>
 28  History····················<[[ref]]OPT·(XML|XML=FALSE)>
 29  Wish_list
23   ··UNDEF··················Note·that·INC·doesn't·check·if·the·strings·really30  Bugs·······················Note·that·INC·doesn't·check·if·the·strings·really
24   ··UNSET··················denote·integers.·It·may·give·weired·results·when31 ·····························denote·integers.·It·may·give·weired·results·when
25   ··USE,_$·················used·on·arbitrary·strings.·The·integer·values·are32 ·····························used·on·arbitrary·strings.·The·integer·values·are
26   ··WHILE··················limited·to·the·range·-2^31..2^31.33 ·····························limited·to·the·range·-2^31..2^31.
27   ··<!---··················Note·further·that·htp·wasn't·designed·to·do34 ·····························Note·further·that·htp·wasn't·designed·to·do
28  History····················extensive·calculations.·The·INC·tag·is·useful·in35 ·····························extensive·calculations.·The·INC·tag·is·useful·in
29  Wish_list··················conjunction·with·WHILE·to·iterate·over·the·defined36 ·····························conjunction·with·WHILE·to·iterate·over·the·defined
30  Bugs·······················blocks.37 ·····························blocks.
  
  
  
  
  
  
  
7.15 KB
./usr/share/doc/htp/metatag.html
    
Offset 88, 27 lines modifiedOffset 88, 22 lines modified
88 <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and88 <P>·Metatags·are·defined·with·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code></a>·and·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tags·and
89 undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P>89 undefined·with·the·<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>undef</code></a>·tag.··</P>
90 <P>90 <P>
91 As·an·example·we·show·how·to·define·a·tag·that·builds·a91 As·an·example·we·show·how·to·define·a·tag·that·builds·a
92 fancy·horizontal·rule·out·of·several·images.92 fancy·horizontal·rule·out·of·several·images.
93 </P>93 </P>
94 ··<p><code>94 ··<p><code>
 95 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(IMGXY|NOIMGXY)</span>&gt;</span><br>
 96 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(QUIET|VERBOSE)</span>&gt;</span><br>
 97 <font·size="-2">&nbsp;3.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(DEPEND|NODEPEND)</span>&gt;</span><br>
 98 <font·size="-2">&nbsp;4.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(PRECIOUS|NOPRECIOUS)</span>&gt;</span><br>
 99 <font·size="-2">&nbsp;5.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>&gt;</span><br>
 100 <font·size="-2">&nbsp;6.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="htp-value">(HTML|SQUARE|CURLY)</span>&gt;</span><br>
 101 <font·size="-2">&nbsp;7.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(XML|XML</span>=<span·class="htp-value">FALSE)</span>&gt;</span><br>
95 <font·size="-2">&nbsp;1.·</font>&nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"imghr"</span>&gt;</span><br> 
96 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;table·<span·class="htp-attrib">border</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellspacing</span>=<span·class="htp-string">"0"</span>·<span·class="htp-attrib">cellpadding</span>=<span·class="htp-string">"0"</span>&gt;</span><br> 
97 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;tr&gt;</span><br> 
98 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"leftsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br> 
99 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-string">"95%"</span>·<span·class="htp-attrib">background</span>=<span·class="htp-string">"midsep.png"</span>&gt;</span>&amp;nbsp;<span·class="htp-tag">&lt;/td&gt;</span><br> 
100 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;td·<span·class="htp-attrib">width</span>=<span·class="htp-value">10</span>&gt;</span><span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"rightsep.png"</span>&gt;</span><span·class="htp-tag">&lt;/td&gt;</span><br> 
101 <font·size="-2">&nbsp;7.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;/tr&gt;</span><br> 
102 <font·size="-2">&nbsp;8.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;/table&gt;</span><br> 
103 <font·size="-2">&nbsp;9.·</font>&nbsp;<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
104 <font·size="-2">10.·</font><br>102 <font·size="-2">&nbsp;8.·</font><br>
105 <font·size="-2">11.·</font>&nbsp;paragraph<br> 
106 <font·size="-2">12.·</font>&nbsp;<span·class="htp-tag">&lt;imghr&gt;</span><br> 
107 <font·size="-2">13.·</font>&nbsp;paragraph<br> 
108 </code></p>103 </code></p>
109 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.104 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.
110 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.105 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.
111 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and106 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and
112 <code>/def</code></a>·tags.··You·don't·have·to·understand·this107 <code>/def</code></a>·tags.··You·don't·have·to·understand·this
113 html·code,·but·you·should·understand·that·this·is·just·pure·html·to108 html·code,·but·you·should·understand·that·this·is·just·pure·html·to
114 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>109 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>
2.08 KB
html2text {}
    
Offset 6, 27 lines modifiedOffset 6, 22 lines modified
6  Introduction··metatag·you·have·to·provide·the·HTML·code·which·it·abbreviates.·In·fact6  Introduction··metatag·you·have·to·provide·the·HTML·code·which·it·abbreviates.·In·fact
7  License·······metatags·are·just·like·block·macros,·but·they·have·a·nicer·syntax.·With7  License·······metatags·are·just·like·block·macros,·but·they·have·a·nicer·syntax.·With
8  Tutorial······metatags·you·can·expand·htp's·functionality.8  Tutorial······metatags·you·can·expand·htp's·functionality.
9   ··Macros····Metatags·are·defined·with·the·[[ref]]def·and·[[ref]]blockdef·tags·and9   ··Macros····Metatags·are·defined·with·the·[[ref]]def·and·[[ref]]blockdef·tags·and
10   ··Including·undefined·with·the·[[ref]]undef·tag.10   ··Including·undefined·with·the·[[ref]]undef·tag.
11   ··Templates·As·an·example·we·show·how·to·define·a·tag·that·builds·a·fancy·horizontal11   ··Templates·As·an·example·we·show·how·to·define·a·tag·that·builds·a·fancy·horizontal
12   ··Files·····rule·out·of·several·images.12   ··Files·····rule·out·of·several·images.
 13  [>]·Metatags·· 1.<[[ref]]OPT·(IMGXY|NOIMGXY)>
 14  Usage········· 2.<[[ref]]OPT·(QUIET|VERBOSE)>
 15  HTP_Tags······ 3.<[[ref]]OPT·(DEPEND|NODEPEND)>
 16  History······· 4.<[[ref]]OPT·(PRECIOUS|NOPRECIOUS)>
 17  Wish_list····· 5.<[[ref]]OPT·(CONDENSE|SEMICONDENSE|NOCONDENSE)>
 18  Bugs·········· 6.<[[ref]]OPT·DELIM=(HTML|SQUARE|CURLY)>
 19 ················ 7.<[[ref]]OPT·(XML|XML=FALSE)>
13  [>]·Metatags·· 1. <[[ref]]def·name="imghr"> 
14  Usage········· 2. · <table·border="0"·cellspacing="0"·cellpadding="0"> 
15  HTP_Tags······ 3. · <tr> 
16  History······· 4. · ·<td·width=10><[[ref]]img·src="leftsep.png"></td> 
17  Wish_list····· 5. · ·<td·width="95%"·background="midsep.png">&nbsp;</td> 
18  Bugs·········· 6. · ·<td·width=10><[[ref]]img·src="rightsep.png"></td> 
19 ················ 7. · </tr> 
20 ················ 8. · </table> 
21 ················ 9. <[[ref]]/def> 
22 ················10.20 ················ 8.
23 ················11. paragraph 
24 ················12. <imghr> 
25 ················13. paragraph 
26 ················In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.·The21 ················In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.·The
27 ················html·code·which·implements·this·rule·is·following·in·lines·2-8.·between22 ················html·code·which·implements·this·rule·is·following·in·lines·2-8.·between
28 ················the·[[ref]]def_and_/def·tags.·You·don't·have·to·understand·this·html23 ················the·[[ref]]def_and_/def·tags.·You·don't·have·to·understand·this·html
29 ················code,·but·you·should·understand·that·this·is·just·pure·html·to·draw·the24 ················code,·but·you·should·understand·that·this·is·just·pure·html·to·draw·the
30 ················fancy·rule.·Every·time·you·write·<imghr>·as·in·line·12·htp·will·replace25 ················fancy·rule.·Every·time·you·write·<imghr>·as·in·line·12·htp·will·replace
31 ················this·tag·with·the·corresponding·html·code.·To·make·metatags·available·to26 ················this·tag·with·the·corresponding·html·code.·To·make·metatags·available·to
32 ················all·htp·documents·in·your·project,·place·them·in·a·common·[[ref]]include27 ················all·htp·documents·in·your·project,·place·them·in·a·common·[[ref]]include
2.91 KB
./usr/share/doc/htp/opt.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;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br>
 122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br>
 123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br>
 124 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br>
 125 &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>
 126 <br>
 127 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br>
121 </code></p>128 </code></p>
122 <h2>synopsis</h2>129 <h2>synopsis</h2>
123 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing130 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing
124 options·inside·the·actual·document·being·processed.··The·options·are131 options·inside·the·actual·document·being·processed.··The·options·are
125 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not132 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not
126 preceded·by·a·&lsquo;-&rsquo;·character.133 preceded·by·a·&lsquo;-&rsquo;·character.
127 <P>134 <P>
1.48 KB
html2text {}
    
Offset 1, 23 lines modifiedOffset 1, 23 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·OPT·******2 ******·htp·on-line·reference·:·OPT·******
3 Table_of·······*****·syntax·*****3 Table_of·······*****·syntax·*****
4 Contents·······*****·synopsis·***** 
5  Introduction·OPT·is·an·htp·tag·that·can·be·used·to·specify·processing·options·inside·the 
6  License······actual·document·being·processed.·The·options·are·used·exactly·as·they·would·be 
7  Tutorial·····on·the·command-line,·although·they·are·not·preceded·by·a·‘-’·character. 
8  Usage········Click·here·for·more_information_on_using_customization_options_with_htp.4 Contents······· ·<[[ref]]blockdef·name="bolditalic">
 5  Introduction· · ·<b><i>
 6  License······ · ·<[[ref]]use·block>
 7  Tutorial····· · ·</i></b>
 8  Usage········ ·<[[ref]]/blockdef>
9  HTP·Tags9  HTP·Tags
10   ··ALTTEXT 
11   ··BLOCK 
12   ··BLOCKDEF 
13   ··DEF 
14   ··FILE 
15   ··IF10   ··ALTTEXT·· ·This·is·<bolditalic>bold·and·italic</bolditalic>
 11   ··BLOCK····*****·synopsis·*****
 12   ··BLOCKDEF·OPT·is·an·htp·tag·that·can·be·used·to·specify·processing·options·inside·the
 13   ··DEF······actual·document·being·processed.·The·options·are·used·exactly·as·they·would·be
 14   ··FILE·····on·the·command-line,·although·they·are·not·preceded·by·a·‘-’·character.
 15   ··IF·······Click·here·for·more_information_on_using_customization_options_with_htp.
16   ··INC16   ··INC
17   ··IMG17   ··IMG
18   ··IMAGEURL18   ··IMAGEURL
19  [>]·OPT19  [>]·OPT
20   ··OUTPUT20   ··OUTPUT
21   ··QUOTE21   ··QUOTE
22   ··SET22   ··SET
Offset 25, 14 lines modifiedOffset 25, 19 lines modified
25   ··UNSET25   ··UNSET
26   ··USE,_$26   ··USE,_$
27   ··WHILE27   ··WHILE
28   ··<!---28   ··<!---
29  History29  History
30  Wish_list30  Wish_list
31  Bugs31  Bugs
  
  
  
  
  
32  page_source32  page_source
33  htp_project33  htp_project
34  htp_homepage34  htp_homepage
35 hosted·by35 hosted·by
36 Sourceforge36 Sourceforge
37 HTML·coding37 HTML·coding
38 [Powered_by38 [Powered_by
3.81 KB
./usr/share/doc/htp/output.html
    
Offset 114, 17 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="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>122 <br>
125 </code></p>123 </code></p>
126 <h2>synopsis</h2>124 <h2>synopsis</h2>
127 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary125 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary
128 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the126 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the
129 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>127 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>
130 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you128 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
2.34 KB
html2text {}
    
Offset 1, 28 lines modifiedOffset 1, 28 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·OUTPUT·******2 ******·htp·on-line·reference·:·OUTPUT·******
3 Table_of_Contents············*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
 4  Introduction···············<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]>
 5  License
4  Introduction···············<[[ref]]OUTPUT·FILE="outputfilename"·[APPEND] 
5  License····················[EXPAND]> 
6  Tutorial···················text·block 
7  Usage······················<[[ref]]/OUTPUT> 
8  HTP·Tags 
9   ··ALTTEXT················*****·synopsis·*****6  Tutorial···················*****·synopsis·*****
10   ··BLOCK··················The·OUTPUT·tag·can·be·used·to·create·auxillary7  Usage······················The·OUTPUT·tag·can·be·used·to·create·auxillary
11   ··BLOCKDEF···············files·besides·the·main·HTML·file.·The·text·between8  HTP·Tags···················files·besides·the·main·HTML·file.·The·text·between
12   ··DEF····················this·tag·and·the·corresponding·</OUTPUT>·tag·is9   ··ALTTEXT················this·tag·and·the·corresponding·</OUTPUT>·tag·is
13   ··FILE···················written·to·output·file.10   ··BLOCK··················written·to·output·file.
14   ··IF·····················Normally·the·outputfile·is·cleared·before·writing11   ··BLOCKDEF···············Normally·the·outputfile·is·cleared·before·writing
15   ··INC····················to·it,·but·you·can·use·the·APPEND·attribute·to12   ··DEF····················to·it,·but·you·can·use·the·APPEND·attribute·to
16   ··IMG····················extend·an·existing·file.·The·text·written·to·the13   ··FILE···················extend·an·existing·file.·The·text·written·to·the
17   ··IMAGEURL···············file·is·normally·not·expanded,·i.e.·all·tags14   ··IF·····················file·is·normally·not·expanded,·i.e.·all·tags
18   ··OPT····················inside·this·block·are·not·executed·but·written15   ··INC····················inside·this·block·are·not·executed·but·written
19  [>]·OUTPUT·················unmodified·to·the·file.·However,·you·can·use·the16   ··IMG····················unmodified·to·the·file.·However,·you·can·use·the
20   ··QUOTE··················EXPAND·attribute·to·override·this·behaviour.17   ··IMAGEURL···············EXPAND·attribute·to·override·this·behaviour.
 18   ··OPT
 19  [>]·OUTPUT
 20   ··QUOTE
21   ··SET21   ··SET
22   ··UNDEF22   ··UNDEF
23   ··UNSET23   ··UNSET
24   ··USE,_$24   ··USE,_$
25   ··WHILE25   ··WHILE
26   ··<!---26   ··<!---
27  History27  History
Offset 31, 17 lines modifiedOffset 31, 14 lines modified
  
  
  
  
  
  
  
  
  
  
  
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·coding·[Powered_by36 HTML·coding·[Powered_by
4.4 KB
./usr/share/doc/htp/undef.html
    
Offset 114, 17 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 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"header.hti"</span>&gt;</span><br>
 122 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"1"</span>&gt;</span><br>
 123 &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>
 124 &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>
121 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br>125 &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>
122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br> 
123 <br>126 &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>
 127 <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>
124 </code></p>128 </code></p>
125 <h2>synopsis</h2>129 <h2>synopsis</h2>
126 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags130 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags
127 created·by·<A·HREF="def.html">DEF</A>·and·<A131 created·by·<A·HREF="def.html">DEF</A>·and·<A
128 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF132 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF
129 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by133 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by
130 htp·until·it·is·reassigned.··</P>134 htp·until·it·is·reassigned.··</P>
1.95 KB
html2text {}
    
Offset 1, 26 lines modifiedOffset 1, 26 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·UNDEF·******2 ******·htp·on-line·reference·:·UNDEF·******
3 Table_of_Contents············*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
4  Introduction···············<[[ref]]unset·macroname> 
5  License····················<[[ref]]unset·macroname1·macroname2·...·> 
6  Tutorial4  Introduction···············<[[ref]]file·include="header.hti">
 5  License···················· ·<[[ref]]set·sect-ctr="1">
 6  Tutorial··················· ·<[[ref]]while·sect-${sect-ctr}>
 7  Usage······················ · ·<[[ref]]use·sect-${sect-ctr}>
 8  HTP·Tags··················· · ·<[[ref]]inc·sect-ctr>
 9   ··ALTTEXT················ ·<[[ref]]/while>
 10   ··BLOCK··················<[[ref]]file·include="footer.hti">
7  Usage······················*****·synopsis·*****11   ··BLOCKDEF···············*****·synopsis·*****
8  HTP·Tags···················UNDEF·removes·a·metatag·definition.·Metatags12   ··DEF····················UNDEF·removes·a·metatag·definition.·Metatags
9   ··ALTTEXT················created·by·DEF·and·BLOCKDEF·can·be·removed·with13   ··FILE···················created·by·DEF·and·BLOCKDEF·can·be·removed·with
10   ··BLOCK··················the·UNDEF·command.·Once·removed,·the·metatag·will14   ··IF·····················the·UNDEF·command.·Once·removed,·the·metatag·will
11   ··BLOCKDEF···············no·longer·be·recognized·by·htp·until·it·is15   ··INC····················no·longer·be·recognized·by·htp·until·it·is
12   ··DEF····················reassigned.16   ··IMG····················reassigned.
13   ··FILE···················Multiple·metatags·can·be·removed·by·placing·each17   ··IMAGEURL···············Multiple·metatags·can·be·removed·by·placing·each
14   ··IF·····················name·as·an·attribute.18   ··OPT····················name·as·an·attribute.
15   ··INC 
16   ··IMG 
17   ··IMAGEURL 
18   ··OPT 
19   ··OUTPUT19   ··OUTPUT
20   ··QUOTE20   ··QUOTE
21   ··SET21   ··SET
22  [>]·UNDEF22  [>]·UNDEF
23   ··UNSET23   ··UNSET
24   ··USE,_$24   ··USE,_$
25   ··WHILE25   ··WHILE
Offset 29, 14 lines modifiedOffset 29, 18 lines modified
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·coding·[Powered_by36 HTML·coding·[Powered_by
37 htp]37 htp]
8.05 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 36 lines modifiedOffset 114, 45 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>121 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]<[·...·truncated·by·diffoscope;·len:·101,·SHA:·1a678b2d1a44d0208ca617865c98e41434969dfb4a8ace1b0ccf2ae7a59e941f·...·]&gt;</span><br>
 122 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
 123 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>
123 <br>124 <br>
124 </code></p>125 </code></p>
125 <h2>synopsis</h2>126 <h2>synopsis</h2>
126 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.127 <STRONG>UNSET</STRONG>·removes·(or·deletes)·a·macro·and·it's·definition.
127 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.128 The·macro·is·subsequently·not·available·for·use·in·the·pre-processed·files.
128 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or129 (Note·that·simply·redefining·the·macro·with·another·<A·HREF="set.html">SET</A>·or
129 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The130 <A·HREF="block.html">BLOCK</A>·definition·with·the·same·name·is·acceptable.··The
130 old·macro·definition·will·be·removed·automatically.)131 old·macro·definition·will·be·removed·automatically.)
131 <P>132 <P>
132 For·example:133 For·example:
133 ··<p><code>134 ··<p><code>
 135 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br>
 136 &nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br>
 137 <span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>
 138 <br>
 139 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br>
 140 <br>
 141 This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
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>142 But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br>
 143 And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
135 </code></p>144 </code></p>
136 <P>145 <P>
137 More·than·one·macro·may·be·removed·in·the·same·tag:146 More·than·one·macro·may·be·removed·in·the·same·tag:
138 ··<p><code>147 ··<p><code>
139 <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> 
140 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
141 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
142 <br>148 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>
 149 &nbsp;·&nbsp;·...<br>
 150 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>
 151 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
143 </code></p>152 </code></p>
144 <p>153 <p>
145 </td>154 </td>
146 </tr>155 </tr>
147 <tr>156 <tr>
148 <td·width="20%"·bgcolor="white"·valign="bottom">157 <td·width="20%"·bgcolor="white"·valign="bottom">
149 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">158 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
3.05 KB
html2text {}
    
Offset 1, 37 lines modifiedOffset 1, 46 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·UNSET·******2 ******·htp·on-line·reference·:·UNSET·******
3 Table_of_Contents············*****·syntax·*****3 Table_of··········*****·syntax·*****
4  Introduction···············<[[ref]]unset·macroname> 
5  License····················<[[ref]]unset·macroname1·macroname2·...·>4 Contents··········<[[ref]]use·macroname·[parameters·...]·[noexpand]>
 5  Introduction····<...·$macroname·...>
 6  License·········<...·${macroname}·...>
6  Tutorial7  Tutorial
7  Usage······················*****·synopsis·*****8  Usage···········*****·synopsis·*****
8  HTP·Tags···················UNSET·removes·(or·deletes)·a·macro·and·it's9  HTP·Tags········UNSET·removes·(or·deletes)·a·macro·and·it's·definition.·The
 10   ··ALTTEXT·····macro·is·subsequently·not·available·for·use·in·the·pre-
9   ··ALTTEXT················definition.·The·macro·is·subsequently·not 
10   ··BLOCK··················available·for·use·in·the·pre-processed·files. 
11   ··BLOCKDEF···············(Note·that·simply·redefining·the·macro·with11   ··BLOCK·······processed·files.·(Note·that·simply·redefining·the·macro·with
12   ··DEF····················another·SET·or·BLOCK·definition·with·the·same·name12   ··BLOCKDEF····another·SET·or·BLOCK·definition·with·the·same·name·is
13   ··FILE···················is·acceptable.·The·old·macro·definition·will·be13   ··DEF·········acceptable.·The·old·macro·definition·will·be·removed
14   ··IF·····················removed·automatically.)14   ··FILE········automatically.)
15   ··INC····················For·example:15   ··IF··········For·example:
16   ··IMG···················· · ·<[[ref]]unset·email_addr>16   ··INC·········<[[ref]]block·stuff>
 17   ··IMG········· ·<a·href=$email>send·email</a>
 18   ··IMAGEURL····<[[ref]]/block>
 19   ··OPT
 20   ··OUTPUT······<[[ref]]set·morestuff=$email>
 21   ··QUOTE
 22   ··SET·········This·works:· · ·<[[ref]]use·stuff·email="jnelson@crl.com">
 23   ··UNDEF·······But·this·fails:·<[[ref]]use·email>
 24  [>]·UNSET·······And·this·fails:·<[[ref]]use·morestuff
 25   ··USE,_$······email="jnelson@crl.com">
17   ··IMAGEURL···············More·than·one·macro·may·be·removed·in·the·same26   ··WHILE·······More·than·one·macro·may·be·removed·in·the·same·tag:
18   ··OPT····················tag: 
19   ··OUTPUT·················<[[ref]]use·macroname·[parameters·...]·[noexpand]> 
20   ··QUOTE··················<...·$macroname·...> 
21   ··SET····················<...·${macroname}·...> 
22   ··UNDEF 
23  [>]·UNSET 
24   ··USE,_$ 
25   ··WHILE 
26   ··<!--- 
27  History 
28  Wish_list 
29  Bugs27   ··<!---······· ·<[[ref]]WHILE·NOT·i="10">
 28  History········· · ·...
 29  Wish_list······· · ·<[[ref]]INC·i>
 30  Bugs············ ·<[[ref]]/WHILE>
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
Offset 42, 16 lines modifiedOffset 51, 16 lines modified
  
  
42  page_source51  page_source
43  htp_project52  htp_project
44  htp_homepage53  htp_homepage
45 hosted·by54 hosted·by
46 Sourceforge55 Sourceforge
47 HTML·coding·[Powered_by 
48 htp]56 HTML·coding
 57 [Powered_by_htp]
49 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/58 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
50 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.59 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
51 ·····Maintainers:·Jochen_Hoenicke.60 ·····Maintainers:·Jochen_Hoenicke.
52 Copyright·©·1995–96·Jim·Nelson.61 Copyright·©·1995–96·Jim·Nelson.
53 Copyright·©·2001–2014·Jochen_Hoenicke.62 Copyright·©·2001–2014·Jochen_Hoenicke.
54 Permission·to·reproduce·and·distribute·this·hypertext·document·granted63 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
55 according·to·terms·described·in·the·License_section.64 according·to·terms·described·in·the·License_section.
16.1 KB
./usr/share/doc/htp/use.html
    
Offset 114, 17 lines modifiedOffset 114, 17 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">macroname</span>·<span·class="ebnf">[</span><span·class="htp-attrib">parameters</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">noexpand</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
123 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>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>124 <br>
125 </code></p>125 </code></p>
126 <h2>synopsis</h2>126 <h2>synopsis</h2>
127 <strong>USE</strong>·will·expand·macros·that·have·been·previously127 <strong>USE</strong>·will·expand·macros·that·have·been·previously
128 declared·with·either·<A·HREF="set.html">SET</A>·or·<A128 declared·with·either·<A·HREF="set.html">SET</A>·or·<A
129 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other129 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other
130 markup·tags.130 markup·tags.
Offset 135, 23 lines modifiedOffset 135, 18 lines modified
135 attribute·to·prevent·further·expansion.··</p>135 attribute·to·prevent·further·expansion.··</p>
136 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros136 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
137 for·the·expanded·macro.··This·is·only·valid·for·<A137 for·the·expanded·macro.··This·is·only·valid·for·<A
138 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A138 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
139 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For139 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
140 example:</p>140 example:</p>
141 ··<p><code>141 ··<p><code>
 142 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>
 143 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
142 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">stuff</span>&gt;</span><br>144 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>
143 <font·size="-2">&nbsp;2.·</font>&nbsp;·<span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span>send·email<span·class="htp-tag">&lt;/a&gt;</span><br> 
144 <font·size="-2">&nbsp;3.·</font><span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br>145 <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>
145 <font·size="-2">&nbsp;4.·</font><br> 
146 <font·size="-2">&nbsp;5.·</font><span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">morestuff</span>=<span·class="htp-value"><span·class="htp-macro">$email</span></span>&gt;</span><br> 
147 <font·size="-2">&nbsp;6.·</font><br> 
148 <font·size="-2">&nbsp;7.·</font>This·works:·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">stuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
149 <font·size="-2">&nbsp;8.·</font>But·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">email</span>&gt;</span><br> 
150 <font·size="-2">&nbsp;9.·</font>And·this·fails:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">morestuff</span>·<span·class="htp-attrib">email</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br> 
151 </code></p>146 </code></p>
152 <P>147 <P>
153 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on148 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
154 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and149 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
155 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8150 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8
156 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is151 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is
157 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.152 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.
Offset 162, 14 lines modifiedOffset 157, 18 lines modified
162 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or157 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or
163 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.158 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.
164 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or159 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or
165 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it160 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it
166 replaces·the·macro·name·by·the·contents·of·the·macro·without·further161 replaces·the·macro·name·by·the·contents·of·the·macro·without·further
167 processing·the·contents.162 processing·the·contents.
168 ··<p><code>163 ··<p><code>
 164 <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>
 165 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br>
 166 <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>
 167 <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>
169 </code></p>168 </code></p>
170 <P>169 <P>
171 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and170 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and
172 should·never·cause·confusion·with·surrounding·text.··If·no·curly171 should·never·cause·confusion·with·surrounding·text.··If·no·curly
173 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation172 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation
174 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;173 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;
175 and·&quot;_&quot;·that·follows·it.174 and·&quot;_&quot;·that·follows·it.
Offset 183, 14 lines modifiedOffset 182, 15 lines modified
183 delimiting·the·text·as·if·it·were·additional·markup·attributes.182 delimiting·the·text·as·if·it·were·additional·markup·attributes.
184 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),183 If·the·'$'·macro·is·surrounded·by·other·text·(as·in·the·two·examples·above),
185 quotation·marks·are·not·automatically·supplied.184 quotation·marks·are·not·automatically·supplied.
186 <P>185 <P>
187 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can186 Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and·can
188 be·nested.··This·is·valid:187 be·nested.··This·is·valid:
189 ··<p><code>188 ··<p><code>
 189 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<span·class="htp-macro">${tagName}</span>·<span·class="htp-attrib"><span·class="htp-macro">${attrName}</span></span>=<span·class="htp-value"><span·class="htp-macro">${value$ctr}</span></span>&gt;</span><br>
190 </code></p>190 </code></p>
191 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined191 <P>·The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined
192 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX192 metatag.··Note·that·<code>$ctr</code>·is·expanded·before·the·valueX
193 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand193 macro·is·expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand
194 value1.194 value1.
195 <p>195 <p>
196 </td>196 </td>
9.04 KB
html2text {}
    
Offset 1, 69 lines modifiedOffset 1, 78 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·USE,·$·******2 ******·htp·on-line·reference·:·USE,·$·******
3 Table_of·······*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
4 Contents·······<[[ref]]use·macroname·[parameters·...]·[noexpand]> 
5  Introduction·<...·$macroname·...> 
6  License······<...·${macroname}·...> 
7  Tutorial4  Introduction···············<[[ref]]WHILE·[NOT]·conditional>
 5  License···················· · ·block
 6  Tutorial···················<[[ref]]/WHILE>
 7  Usage
8  Usage········*****·synopsis·*****8  HTP·Tags···················*****·synopsis·*****
9  HTP·Tags·····USE·will·expand·macros·that·have·been·previously·declared·with 
10   ··ALTTEXT··either·SET·or·BLOCK.·USE·can·only·be·used·outside·of·other·markup 
11   ··BLOCK····tags. 
12   ··BLOCKDEF·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will 
13   ··DEF······be·further·parsed·by·htp.·This·is·maybe·not·what·you·want,·for9   ··ALTTEXT················USE·will·expand·macros·that·have·been·previously
 10   ··BLOCK··················declared·with·either·SET·or·BLOCK.·USE·can·only·be
 11   ··BLOCKDEF···············used·outside·of·other·markup·tags.
 12   ··DEF····················If·you·USE·a·block·macro·the·value·of·expanded
 13   ··FILE···················block·macros·will·be·further·parsed·by·htp.·This
 14   ··IF·····················is·maybe·not·what·you·want,·for·example,·if·the
14   ··FILE·····example,·if·the·use·is·inside·a·block·which·expands·itself.·You15   ··INC····················use·is·inside·a·block·which·expands·itself.·You
15   ··IF·······can·use·the·noexpand·attribute·to·prevent·further·expansion.16   ··IMG····················can·use·the·noexpand·attribute·to·prevent·further
 17   ··IMAGEURL···············expansion.
16   ··INC······USE·will·accept·additional·parameters,·which·are·"local"·macros18   ··OPT····················USE·will·accept·additional·parameters,·which·are
 19   ··OUTPUT·················"local"·macros·for·the·expanded·macro.·This·is
 20   ··QUOTE··················only·valid·for·BLOCK·macros.·Macros·created·using
 21   ··SET····················SET·cannot·have·parameters·passed.·For·example:
 22   ··UNDEF·················· 1. ·<[[ref]]WHILE·NOT·i="10">
 23   ··UNSET·················· 2. · ·...
 24  [>]·USE,_$················· 3. · ·<[[ref]]INC·i>
 25   ··WHILE·················· 4. ·<[[ref]]/WHILE>
 26   ··<!---··················(See·below·for·a·description·of·the·'$'·operator.)
 27  History····················The·example·on·line·7·works·because·"stuff"·has
 28  Wish_list··················been·declared·as·a·block·macro,·and·the·tag·is
17   ··IMG······for·the·expanded·macro.·This·is·only·valid·for·BLOCK·macros. 
18   ··IMAGEURL·Macros·created·using·SET·cannot·have·parameters·passed.·For 
19   ··OPT······example: 
20   ··OUTPUT··· 1.<[[ref]]block·stuff> 
21   ··QUOTE···· 2. ·<a·href=$email>send·email</a> 
22   ··SET······ 3.<[[ref]]/block> 
23   ··UNDEF···· 4. 
24   ··UNSET···· 5.<[[ref]]set·morestuff=$email> 
25  [>]·USE,_$··· 6. 
26   ··WHILE···· 7.This·works:· · ·<[[ref]]use·stuff·email="jnelson@crl.com"> 
27   ··<!---···· 8.But·this·fails:·<[[ref]]use·email> 
28  History······ 9.And·this·fails:·<[[ref]]use·morestuff·email="jnelson@crl.com"> 
29  Wish_list····(See·below·for·a·description·of·the·'$'·operator.)·The·example·on 
30  Bugs·········line·7·works·because·"stuff"·has·been·declared·as·a·block·macro, 
31 ···············and·the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.29  Bugs·······················passing·the·"email"·macro·to·the·"stuff"·macro.
32 ···············Line·8·fails·because·the·"email"·macro·is·unavailable·once·the30 ·····························Line·8·fails·because·the·"email"·macro·is
33 ···············block·macro·is·completely·expanded,·and·cannot·be·passed·to·a·SET 
34 ···············macro.31 ·····························unavailable·once·the·block·macro·is·completely
 32 ·····························expanded,·and·cannot·be·passed·to·a·SET·macro.
35 ···············Note·that·the·"email"·macro·is·available·to·other·macros·or33 ·····························Note·that·the·"email"·macro·is·available·to·other
36 ···············included·files·called·within·the·"stuff"·block.34 ·····························macros·or·included·files·called·within·the·"stuff"
 35 ·····························block.
37 ···············Inside·a·markup·tag,·like·IMG,·A·(anchor),·or·any·other·standard36 ·····························Inside·a·markup·tag,·like·IMG,·A·(anchor),·or·any
38 ···············HTML·or·htp·tag,·the·'$'·operator·must·be·used.·The·'$'·should·be37 ·····························other·standard·HTML·or·htp·tag,·the·'$'·operator
 38 ·····························must·be·used.·The·'$'·should·be·immediately
39 ···············immediately·followed·by·the·macro·name,·which·may·or·may·not·be39 ·····························followed·by·the·macro·name,·which·may·or·may·not
40 ···············surrounded·by·curly·braces.·When·htp·encounters·this·it·replaces40 ·····························be·surrounded·by·curly·braces.·When·htp·encounters
41 ···············the·macro·name·by·the·contents·of·the·macro·without·further 
42 ···············processing·the·contents.41 ·····························this·it·replaces·the·macro·name·by·the·contents·of
 42 ·····························the·macro·without·further·processing·the·contents.
 43 ····························· 1. ·<[[ref]]WHILE·sect-$i>
 44 ····························· 2. · ·...
 45 ····························· 3. · ·<[[ref]]INC·i>
 46 ····························· 4. ·<[[ref]]/WHILE>
43 ···············The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and47 ·····························The·use·of·curly·braces·is·encouraged,·since·it·is
44 ···············should·never·cause·confusion·with·surrounding·text.·If·no·curly48 ·····························more·robust·and·should·never·cause·confusion·with
 49 ·····························surrounding·text.·If·no·curly·braces·are·used·the
45 ···············braces·are·used·the·macro·name·consists·either·of·a·single50 ·····························macro·name·consists·either·of·a·single·punctuation
46 ···············punctuation·character·or·the·maximum·sequence·of·letters,·digits,51 ·····························character·or·the·maximum·sequence·of·letters,
47 ···············"-"·and·"_"·that·follows·it.52 ·····························digits,·"-"·and·"_"·that·follows·it.
48 ···············If·a·'$'·character·needs·to·be·kept·in·the·final·output,·and·not53 ·····························If·a·'$'·character·needs·to·be·kept·in·the·final
49 ···············interpreted·as·a·macro·name,·it·must·be·escaped·by·another·'$'54 ·····························output,·and·not·interpreted·as·a·macro·name,·it
 55 ·····························must·be·escaped·by·another·'$'·character.·This·is
50 ···············character.·This·is·especially·true·for·PHP·code.56 ·····························especially·true·for·PHP·code.
51 ···············If·the·'$'·macro·is·the·only·text·in·the·attribute's·value,·htp 
52 ···············will·automatically·surround·it·with·quotation·marks·to·prevent57 ·····························If·the·'$'·macro·is·the·only·text·in·the
 58 ·····························attribute's·value,·htp·will·automatically·surround
 59 ·····························it·with·quotation·marks·to·prevent·spaces·from
53 ···············spaces·from·delimiting·the·text·as·if·it·were·additional·markup60 ·····························delimiting·the·text·as·if·it·were·additional
54 ···············attributes.·If·the·'$'·macro·is·surrounded·by·other·text·(as·in 
55 ···············the·two·examples·above),·quotation·marks·are·not·automatically 
56 ···············supplied.61 ·····························markup·attributes.·If·the·'$'·macro·is·surrounded
 62 ·····························by·other·text·(as·in·the·two·examples·above),
 63 ·····························quotation·marks·are·not·automatically·supplied.
57 ···············Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and64 ·····························Note·that·a·'$'·macro·can·be·placed·anywhere·in·a
58 ···············can·be·nested.·This·is·valid:65 ·····························markup·tag·and·can·be·nested.·This·is·valid:
 66 ····························· · ·<${tagName}·${attrName}=${value$ctr}>
59 ···············The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined67 ·····························The·tagName·macro·can·contain·any·tag·name,·even·a
60 ···············metatag.·Note·that·$ctr·is·expanded·before·the·valueX·macro·is68 ·····························self-defined·metatag.·Note·that·$ctr·is·expanded
 69 ·····························before·the·valueX·macro·is·expanded,·so·assuming
61 ···············expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand·value1.70 ·····························that·ctr·was·set·to·1·it·will·expand·value1.
  
  
  
  
  
  
  
Offset 81, 18 lines modifiedOffset 90, 17 lines modified
  
  
81  page_source90  page_source
82  htp_project91  htp_project
83  htp_homepage92  htp_homepage
84 hosted·by93 hosted·by
85 Sourceforge94 Sourceforge
 95 HTML·coding·[Powered_by
86 HTML·coding 
87 [Powered_by 
88 htp]96 htp]
89 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/97 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
90 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.98 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
91 ·····Maintainers:·Jochen_Hoenicke.99 ·····Maintainers:·Jochen_Hoenicke.
92 Copyright·©·1995–96·Jim·Nelson.100 Copyright·©·1995–96·Jim·Nelson.
93 Copyright·©·2001–2014·Jochen_Hoenicke.101 Copyright·©·2001–2014·Jochen_Hoenicke.
94 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according102 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
95 to·terms·described·in·the·License_section.103 according·to·terms·described·in·the·License_section.
96 last·updated·Sat·May·16,·2015104 last·updated·Sat·May·16,·2015
5.89 KB
./usr/share/doc/htp/while.html
    
Offset 114, 28 lines modifiedOffset 114, 27 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &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>
121 </code></p>122 </code></p>
122 <h2>synopsis</h2>123 <h2>synopsis</h2>
123 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.124 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.
124 The·basic·form·is·shown·above.125 The·basic·form·is·shown·above.
125 <P>126 <P>
126 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.127 "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.128 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·the129 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the
129 conditional·is·reversed:130 conditional·is·reversed:
130 ··<p><code>131 ··<p><code>
 132 <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>
 133 <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="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br> 
132 &nbsp;·&nbsp;·...<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">i</span>&gt;</span><br> 
134 &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> 
135 </code></p>134 </code></p>
136 <P>135 <P>
137 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·a136 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
138 macro's·existance:137 macro's·existance:
139 ··<p><code>138 ··<p><code>
140 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">sect-<span·class="htp-macro">$i</span></span>&gt;</span><br>139 &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>
141 &nbsp;·&nbsp;·...<br>140 &nbsp;·&nbsp;·...<br>
3.49 KB
html2text {}
    
Offset 1, 34 lines modifiedOffset 1, 34 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·WHILE·******2 ******·htp·on-line·reference·:·WHILE·******
3 Table_of_Contents············*****·syntax·*****3 Table_of_Contents·······*****·syntax·*****
 4  Introduction·········· · ·<[[ref]]unset·email_addr·home_url·login_name>
4  Introduction···············*****·synopsis·*****5  License···············*****·synopsis·*****
5  License····················WHILE·is·the·building·block·for·repeated6  Tutorial··············WHILE·is·the·building·block·for·repeated
6  Tutorial···················processing.·The·basic·form·is·shown·above.7  Usage·················processing.·The·basic·form·is·shown·above.
7  Usage······················"Conditional"·is·either·a·"compare"·or·"is8  HTP·Tags··············"Conditional"·is·either·a·"compare"·or·"is·defined"
8  HTP·Tags···················defined"·operation.·A·compare·operator·is·a·test9   ··ALTTEXT···········operation.·A·compare·operator·is·a·test·of·the
9   ··ALTTEXT················of·the·value·of·a·macro·against·a·literal·string.10   ··BLOCK·············value·of·a·macro·against·a·literal·string.·If·the
10   ··BLOCK··················If·the·NOT·tag·is·present·in·the·WHILE·markup,·the11   ··BLOCKDEF··········NOT·tag·is·present·in·the·WHILE·markup,·the
11   ··BLOCKDEF···············evaluation·of·the·conditional·is·reversed:12   ··DEF···············evaluation·of·the·conditional·is·reversed:
 13   ··FILE··············<a·href="mailto:$email">mailto·hyperlink</a>
 14   ··IF················<a·href="http://$domain/~${username}/">another
 15   ··INC···············hyperlink</a>
12   ··DEF···················· ·<[[ref]]WHILE·NOT·i="10"> 
13   ··FILE··················· · ·... 
14   ··IF····················· · ·<[[ref]]INC·i> 
15   ··INC···················· ·<[[ref]]/WHILE> 
16   ··IMG····················Just·as·with·[[ref]]IF·you·can·also·check·for·a16   ··IMG···············Just·as·with·[[ref]]IF·you·can·also·check·for·a
17   ··IMAGEURL···············macro's·existance:17   ··IMAGEURL··········macro's·existance:
18   ··OPT···················· ·<[[ref]]WHILE·sect-$i>18   ··OPT··············· ·<[[ref]]WHILE·sect-$i>
19   ··OUTPUT················· · ·...19   ··OUTPUT············ · ·...
20   ··QUOTE·················· · ·<[[ref]]INC·i>20   ··QUOTE············· · ·<[[ref]]INC·i>
21   ··SET···················· ·<[[ref]]/WHILE>21   ··SET··············· ·<[[ref]]/WHILE>
22   ··UNDEF··················If·the·condition·is·true,·the·block·is·evaluated22   ··UNDEF·············If·the·condition·is·true,·the·block·is·evaluated
23   ··UNSET··················and·afterwards·the·WHILE·tag·is·evaluated·again.23   ··UNSET·············and·afterwards·the·WHILE·tag·is·evaluated·again.·If
24   ··USE,_$·················If·the·'$'-operator·is·used·in·the·WHILE·tag·it·is24   ··USE,_$············the·'$'-operator·is·used·in·the·WHILE·tag·it·is
25  [>]·WHILE··················also·reevaluated·on·each·iteration.25  [>]·WHILE·············also·reevaluated·on·each·iteration.
26   ··<!---··················A·loop·block·must·be·closed·with·the·/WHILE·tag.26   ··<!---·············A·loop·block·must·be·closed·with·the·/WHILE·tag.
27  History27  History
28  Wish_list28  Wish_list
29  Bugs29  Bugs
  
  
  
  
Offset 46, 16 lines modifiedOffset 46, 16 lines modified
  
  
46  page_source46  page_source
47  htp_project47  htp_project
48  htp_homepage48  htp_homepage
49 hosted·by49 hosted·by
50 Sourceforge50 Sourceforge
51 HTML·coding·[Powered_by51 HTML·coding·[Powered
52 htp]52 by_htp]
53 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/53 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
54 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.54 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
55 ·····Maintainers:·Jochen_Hoenicke.55 ·····Maintainers:·Jochen_Hoenicke.
56 Copyright·©·1995–96·Jim·Nelson.56 Copyright·©·1995–96·Jim·Nelson.
57 Copyright·©·2001–2014·Jochen_Hoenicke.57 Copyright·©·2001–2014·Jochen_Hoenicke.
58 Permission·to·reproduce·and·distribute·this·hypertext·document·granted58 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
59 according·to·terms·described·in·the·License_section.59 according·to·terms·described·in·the·License_section.