200 KB
/srv/reproducible-results/rbuild-debian/r-b-build.gHj5SPVK/b1/htp_1.19-8_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.gHj5SPVK/b2/htp_1.19-8_armhf.changes
264 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·50fb85d91453f04ecefdc0ca78080897·68916·debug·optional·htp-dbgsym_1.19-8_armhf.deb1 ·50fb85d91453f04ecefdc0ca78080897·68916·debug·optional·htp-dbgsym_1.19-8_armhf.deb
2 ·90eb9e4fd8ea070d61233c24b765f000·112836·web·optional·htp_1.19-8_armhf.deb2 ·c6ff3cdb60ee75029f670f866cf64f5e·112244·web·optional·htp_1.19-8_armhf.deb
200 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···109028·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···108440·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:·6345 Installed-Size:·616
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
199 KB
data.tar.xz
199 KB
data.tar
15.1 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)····38464·2020-06-14·23:21:19.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····38464·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)····10728·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)····10522·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)·····8850·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····9462·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html
11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp11 -rw-r--r--···0·root·········(0)·root·········(0)······781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.htp
12 -rw-r--r--···0·root·········(0)·root·········(0)····10895·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)····10895·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)····15347·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)····10176·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)····20408·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····14811·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html
21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp21 -rw-r--r--···0·root·········(0)·root·········(0)·····3601·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.htp
22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html22 -rw-r--r--···0·root·········(0)·root·········(0)·····8030·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.html
23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp23 -rw-r--r--···0·root·········(0)·root·········(0)·····3149·2020-06-14·23:21:19.000000·./usr/share/doc/htp/default.htp
24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/24 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/
25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub25 -rw-r--r--···0·root·········(0)·root·········(0)······536·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/Makefile.sub
26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti26 -rw-r--r--···0·root·········(0)·root·········(0)·····2404·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.hti
27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt27 -rw-r--r--···0·root·········(0)·root·········(0)·····1087·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/album.htt
Offset 32, 64 lines modifiedOffset 32, 64 lines modified
32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp32 -rw-r--r--···0·root·········(0)·root·········(0)······818·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/prime.htp
33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html33 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/quine.html
34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp34 -rw-r--r--···0·root·········(0)·root·········(0)·····1576·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/quine.htp
35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def35 -rw-r--r--···0·root·········(0)·root·········(0)······604·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.def
36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html36 -rw-r--r--···0·root·········(0)·root·········(0)·····1189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/examples/section.html
37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp37 -rw-r--r--···0·root·········(0)·root·········(0)······918·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htp
38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt38 -rw-r--r--···0·root·········(0)·root·········(0)······375·2015-05-16·17:04:11.000000·./usr/share/doc/htp/examples/section.htt
39 -rw-r--r--···0·root·········(0)·root·········(0)····15732·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)····11691·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)····14517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····20208·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)·····9871·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)·····9130·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)·····9424·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)·····9382·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)·····9160·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····8639·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html
53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp53 -rw-r--r--···0·root·········(0)·root·········(0)·····1168·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.htp
54 -rw-r--r--···0·root·········(0)·root·········(0)····11607·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)·····8940·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)····16708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····14786·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)·····8499·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····7911·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html
70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp70 -rw-r--r--···0·root·········(0)·root·········(0)······608·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.htp
71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html71 -rw-r--r--···0·root·········(0)·root·········(0)·····7809·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.html
72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp72 -rw-r--r--···0·root·········(0)·root·········(0)·····3100·2020-06-14·23:21:19.000000·./usr/share/doc/htp/options.htp
73 -rw-r--r--···0·root·········(0)·root·········(0)·····9260·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····8851·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp
75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/
76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png
77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png
78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png
79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png
80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png
81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png
82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png
83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png
84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png
85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl
86 -rw-r--r--···0·root·········(0)·root·········(0)·····7856·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)·····7856·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html
87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp87 -rw-r--r--···0·root·········(0)·root·········(0)······390·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.htp
88 -rw-r--r--···0·root·········(0)·root·········(0)·····9189·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)·····9962·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html
89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp89 -rw-r--r--···0·root·········(0)·root·········(0)·····1200·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.htp
90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css90 -rw-r--r--···0·root·········(0)·root·········(0)······500·2020-06-14·23:21:19.000000·./usr/share/doc/htp/styles.css
91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html91 -rw-r--r--···0·root·········(0)·root·········(0)····27219·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.html
92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz92 -rw-r--r--···0·root·········(0)·root·········(0)·····2235·2020-06-14·23:21:19.000000·./usr/share/doc/htp/template.htp.gz
93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def93 -rw-r--r--···0·root·········(0)·root·········(0)·····1914·2020-06-14·23:21:19.000000·./usr/share/doc/htp/toc.def
94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/94 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/
95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti95 -rw-r--r--···0·root·········(0)·root·········(0)······146·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/footer.hti
Offset 102, 23 lines modifiedOffset 102, 23 lines modified
102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp102 -rw-r--r--···0·root·········(0)·root·········(0)······192·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut2.htp
103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html103 -rw-r--r--···0·root·········(0)·root·········(0)······501·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.html
104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp104 -rw-r--r--···0·root·········(0)·root·········(0)······191·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htp
105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt105 -rw-r--r--···0·root·········(0)·root·········(0)······356·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut3.htt
106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt106 -rw-r--r--···0·root·········(0)·root·········(0)······297·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tut/tut4.htt
107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html107 -rw-r--r--···0·root·········(0)·root·········(0)····10517·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.html
108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp108 -rw-r--r--···0·root·········(0)·root·········(0)·····3393·2020-06-14·23:21:19.000000·./usr/share/doc/htp/tutorial.htp
109 -rw-r--r--···0·root·········(0)·root·········(0)·····8009·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····7804·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)····10326·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····9288·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)····12880·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····11278·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)·····9446·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)·····9173·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/
8.18 KB
./usr/share/doc/htp/alttext.html
    
Offset 131, 24 lines modifiedOffset 131, 24 lines modified
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 &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>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>
139 <br>144 <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>
140 &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> 
141 &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> 
142 <br> 
143 &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> 
144 &nbsp;·will·also·have·an·ALT·attribute·appended·to·it<br> 
145 <br> 
146 &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> 
147 &nbsp;·remains·unchanged.<br> 
148 </code></p>148 </code></p>
149 <p>149 <p>
150 An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT150 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·not151 mapping·for·this·image.··Successing·IMG·tags·with·a·matching·SRC·name·are·not
152 changed.152 changed.
153 <p>153 <p>
154 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,154 Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,
4.71 KB
html2text {}
    
Offset 1, 43 lines modifiedOffset 1, 46 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·ALTTEXT·******2 ******·htp·on-line·reference·:·ALTTEXT·******
3 Table_of·······*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
4 Contents·······<[[ref]]blockdef·name="tagname"·[option="option1·[option2·...]"·] 
5  Introduction·[global]·[expand]> 
6  License······ ·...·<[[ref]]use·block> ... 
7  Tutorial·····<[[ref]]/blockdef> 
8  Usage 
9  HTP·Tags·····*****·synopsis·***** 
10  [>]·ALTTEXT··ALTTEXT·declares·an·ALT·attribute·for·any·IMG·tag·with·a·SRC·matching·the4  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··················ALTTEXT·declares·an·ALT·attribute·for·any·IMG·tag
 11   ··BLOCKDEF···············with·a·SRC·matching·the·ALTTEXT·NAME.·Since
11   ··BLOCK····ALTTEXT·NAME.·Since·relative·paths·can·be·used·to·point·to·the·same12   ··DEF····················relative·paths·can·be·used·to·point·to·the·same
12   ··BLOCKDEF·image,·only·the·filename·is·considered·in·all·comparisons. 
13   ··DEF······When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an13   ··FILE···················image,·only·the·filename·is·considered·in·all
 14   ··IF·····················comparisons.
 15   ··INC····················When·an·IMG·tag·with·a·matching·source·is
 16   ··IMG····················encountered,·htp·will·add·an·ALT·attribute·only·if
14   ··FILE·····ALT·attribute·only·if·one·is·not·already·present.·This·allows·for·ALT17   ··IMAGEURL···············one·is·not·already·present.·This·allows·for·ALT
 18   ··OPT····················text·to·be·overridden·on·specific·images·and
 19   ··OUTPUT·················default·text·on·all·others.
 20   ··QUOTE··················For·example:
 21   ··SET···················· ·<[[ref]]blockdef·name="section"·option="title">
 22   ··UNDEF·················· · <h1><[[ref]]use·title></h1>
 23   ··UNSET·················· · <p·class="section">
 24   ··USE,_$················· · · <[[ref]]use·block>
 25   ··WHILE·················· · </p>
 26   ··<!---·················· ·<[[ref]]/blockdef>
 27  History
 28  Wish_list·················· ·<section·title="My·Section">
 29  Bugs······················· · ·This·is·a·fancy·section.
 30 ····························· ·</section>
 31 ·····························An·ALTTEXT·tag·with·a·name·but·no·text·attribute
 32 ·····························removes·any·ALT·mapping·for·this·image.·Successing
 33 ·····························IMG·tags·with·a·matching·SRC·name·are·not·changed.
15   ··IF·······text·to·be·overridden·on·specific·images·and·default·text·on·all·others. 
16   ··INC······For·example: 
17   ··IMG······ ·<[[ref]]alttext·name="logo.gif"·text="Company·logo"> 
18   ··IMAGEURL 
19   ··OPT······ ·this·line:·<[[ref]]img·src="logo.gif"> 
20   ··OUTPUT··· ·becomes·this·after·processing:·<[[ref]]img·src="logo.gif"·alt="Company 
21   ··QUOTE····logo"> 
22   ··SET 
23   ··UNDEF···· ·this·line:·<[[ref]]img·src="../image/logo.gif"> 
24   ··UNSET···· ·will·also·have·an·ALT·attribute·appended·to·it 
25   ··USE,_$ 
26   ··WHILE···· ·this·line:·<[[ref]]img·src="logo.gif"·alt="Click·here·for·more 
27   ··<!---····information!"> 
28  History······ ·remains·unchanged. 
29  Wish_list····An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT·mapping 
30  Bugs·········for·this·image.·Successing·IMG·tags·with·a·matching·SRC·name·are·not 
31 ···············changed. 
32 ···············Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,34 ·····························Since·this·is·useful·for·an·image·used·throughout
 35 ·····························a·set·of·documents,·ALTTEXT·is·most·appropriate·in
33 ···············ALTTEXT·is·most·appropriate·in·an·include_file·or·a·default_file.36 ·····························an·include_file·or·a·default_file.
34 ···············In·addition·to·ALTTEXT,·htp·can·also·automatically·add·WIDTH·and·HEIGHT37 ·····························In·addition·to·ALTTEXT,·htp·can·also·automatically
35 ···············attributes·to·IMG·tags.38 ·····························add·WIDTH·and·HEIGHT·attributes·to·IMG·tags.
  
  
  
  
  
  
  
Offset 55, 18 lines modifiedOffset 58, 17 lines modified
  
  
55  page_source58  page_source
56  htp_project59  htp_project
57  htp_homepage60  htp_homepage
58 hosted·by61 hosted·by
59 Sourceforge62 Sourceforge
 63 HTML·coding·[Powered_by
60 HTML·coding 
61 [Powered_by 
62 htp]64 htp]
63 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/65 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
64 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.66 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
65 ·····Maintainers:·Jochen_Hoenicke.67 ·····Maintainers:·Jochen_Hoenicke.
66 Copyright·©·1995–96·Jim·Nelson.68 Copyright·©·1995–96·Jim·Nelson.
67 Copyright·©·2001–2014·Jochen_Hoenicke.69 Copyright·©·2001–2014·Jochen_Hoenicke.
68 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to70 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
69 terms·described·in·the·License_section.71 according·to·terms·described·in·the·License_section.
70 last·updated·Sat·May·16,·201572 last·updated·Sat·May·16,·2015
6.16 KB
./usr/share/doc/htp/block.html
    
Offset 114, 18 lines modifiedOffset 114, 24 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·<span·class="htp-tag">&lt;<a·href="alttext.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">alttext</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">text</span>=<span·class="htp-string">"Company·logo"</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="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 <P>133 <P>
128 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which134 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which
129 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be135 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be
130 multi-line·definitions.136 multi-line·definitions.
131 </P>137 </P>
3.22 KB
html2text {}
    
Offset 1, 32 lines modifiedOffset 1, 33 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·BLOCK,·/BLOCK·******2 ******·htp·on-line·reference·:·BLOCK,·/BLOCK·******
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·*****
 17   ··IMG······BLOCK·and·/BLOCK·are·used·to·create·block·macros,·which·are·similar·in
 18   ··IMAGEURL·use·to·SET·macros,·but·can·be·multi-line·definitions.
 19   ··OPT······Any·text·and·formatting·may·be·set·inside·the·block.·You·can·use·any·htp
 20   ··OUTPUT···or·user·defined·metatag·including·FILE_INCLUDE.·The·metatags·won't·be
 21   ··QUOTE····expanded·before·the·block·is·USEd·except·if·you·give·the·EXPAND
 22   ··SET······parameter.
 23   ··UNDEF····The·block·macro·is·dereferenced·(expanded)·with·the·USE_tag_or_the_'$'
 24   ··UNSET····operator.·See·the·notes·on·the·USE·tag·on·how·to·pass·parameters·to·a
 25   ··USE,_$···block·macro.
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,_$ 
25   ··WHILE26   ··WHILE
26   ··<!---27   ··<!---
27  History28  History
28  Wish_list29  Wish_list
29  Bugs30  Bugs
  
  
Offset 36, 22 lines modifiedOffset 37, 26 lines modified
  
  
  
  
  
  
  
  
  
  
36  page_source37  page_source
37  htp_project38  htp_project
38  htp_homepage39  htp_homepage
39 hosted·by40 hosted·by
40 Sourceforge41 Sourceforge
41 HTML·coding·[Powered_by42 HTML·coding
 43 [Powered_by
42 htp]44 htp]
43 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/45 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
44 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.46 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
45 ·····Maintainers:·Jochen_Hoenicke.47 ·····Maintainers:·Jochen_Hoenicke.
46 Copyright·©·1995–96·Jim·Nelson.48 Copyright·©·1995–96·Jim·Nelson.
47 Copyright·©·2001–2014·Jochen_Hoenicke.49 Copyright·©·2001–2014·Jochen_Hoenicke.
48 Permission·to·reproduce·and·distribute·this·hypertext·document·granted50 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to
49 according·to·terms·described·in·the·License_section.51 terms·described·in·the·License_section.
50 last·updated·Sat·May·16,·201552 last·updated·Sat·May·16,·2015
11.9 KB
./usr/share/doc/htp/comment.html
    
Offset 125, 55 lines modifiedOffset 125, 31 lines modified
125 <h2>synopsis</h2>125 <h2>synopsis</h2>
126 <p>126 <p>
127 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
128 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.
129 Example:129 Example:
130 </p>130 </p>
131 ··<p><code>131 ··<p><code>
132 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"centered"</span>&gt;</span><br>132 &nbsp;·<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>
133 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br>133 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br>
134 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>134 &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>
135 <br>135 <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">"/bigfont"</span>&gt;</span><br>
136 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br>137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br>
137 &nbsp;·&nbsp;·This·text·is·centered.<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 <br>
 140 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
138 </code></p>141 </code></p>
139 <p>142 <p>
140 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you143 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
141 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something144 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
142 like·this:145 like·this:
143 </p>146 </p>
144 ··<p><code>147 ··<p><code>
 148 &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>
145 &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> 
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>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br> 
147 &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> 
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> 
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> 
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> 
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> 
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> 
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> 
155 &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> 
156 &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> 
157 &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> 
158 &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> 
159 &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> 
160 &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> 
161 &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> 
162 &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> 
163 &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> 
164 &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> 
165 &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> 
166 &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> 
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> 
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> 
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> 
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> 
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> 
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> 
173 </code></p>149 </code></p>
174 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the150 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
175 reason·why·you·don't·want·to·include·this·block</p>151 reason·why·you·don't·want·to·include·this·block</p>
176 <p>152 <p>
177 </td>153 </td>
178 </tr>154 </tr>
179 <tr>155 <tr>
2.87 KB
html2text {}
    
Offset 6, 56 lines modifiedOffset 6, 33 lines modified
6  Introduction·[expand]>6  Introduction·[expand]>
7  License······<[[ref]]/def>7  License······<[[ref]]/def>
8  Tutorial8  Tutorial
9  Usage········*****·synopsis·*****9  Usage········*****·synopsis·*****
10  HTP·Tags·····This·is·a·simple·comment·that·is·not·included·in·the·output.·This·is10  HTP·Tags·····This·is·a·simple·comment·that·is·not·included·in·the·output.·This·is
11   ··ALTTEXT··useful·when·commenting·metatags,·since·the·metatags·do·not·appear·the11   ··ALTTEXT··useful·when·commenting·metatags,·since·the·metatags·do·not·appear·the
12   ··BLOCK····output·either.·Example:12   ··BLOCK····output·either.·Example:
13   ··BLOCKDEF· · ·<[[ref]]def·name="centered">13   ··BLOCKDEF· ·<[[ref]]def·name="bigfont">
14   ··DEF······ · ·<p·align=center>14   ··DEF······ · ·<font·size="+4">
15   ··FILE····· · ·<[[ref]]/def>15   ··FILE····· ·<[[ref]]/def>
16   ··IF16   ··IF
17   ··INC······ · ·<centered> 
18   ··IMG······ · ·This·text·is·centered.17   ··INC······ ·<[[ref]]def·name="/bigfont">
 18   ··IMG······ · ·</font>
 19   ··IMAGEURL· ·<[[ref]]/def>
 20   ··OPT
 21   ··OUTPUT··· ·<bigfont>Some·large·text</bigfont>
19   ··IMAGEURL·Note·that·these·comments·should·not·include·<·or·>,·that·is·you·should22   ··QUOTE····Note·that·these·comments·should·not·include·<·or·>,·that·is·you·should
20   ··OPT······not·use·it·to·comment·out·htp·code.·For·that·purpose·use·something23   ··SET······not·use·it·to·comment·out·htp·code.·For·that·purpose·use·something·like
 24   ··UNDEF····this:
 25   ··UNSET···· · ·<EM>File·"<[[ref]]FILE·NAME>"·last·updated·<[[ref]]FILE·TIME>,·<[
 26   ··USE,_$···[ref]]FILE·DATE></EM>
21   ··OUTPUT···like·this: 
22   ··QUOTE···· ·<[[ref]]set·time="0"> 
23   ··SET······ ·<[[ref]]block·name=a> 
24   ··UNDEF···· · ·a·is·expanded·at·time·<[[ref]]use·time>. 
25   ··UNSET···· ·<[[ref]]/block> 
26   ··USE,_$··· ·<[[ref]]block·name=b·expand> 
27   ··WHILE···· · ·b·is·expanded·at·time·<[[ref]]use·time>. 
28  [>]·<!---···· ·<[[ref]]/block> 
29  History······ ·<[[ref]]set·time="1"> 
30  Wish_list···· ·<[[ref]]use·a> 
31  Bugs········· ·<[[ref]]use·b> 
32 ··············· ·contents·of·a:·<[[ref]]use·a·noexpand> 
33 ··············· ·contents·of·b:·<[[ref]]use·b·noexpand> 
34 ··············· ·<[[ref]]block·name=c·expand> 
35 ··············· · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a> 
36 ··············· ·<[[ref]]/block> 
37 ··············· ·<[[ref]]block·name=d·expand> 
38 ··············· · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
39 ··············· ·<[[ref]]/block> 
40 ··············· ·<[[ref]]block·name=e> 
41 ··············· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
42 ··············· ·<[[ref]]/block> 
43 ··············· ·<[[ref]]set·time="2"> 
44 ··············· ·<[[ref]]block·name=a> 
45 ··············· · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>. 
46 ··············· ·<[[ref]]/block> 
47 ··············· ·<[[ref]]use·c> 
48 ··············· ·<[[ref]]use·d> 
49 ··············· ·<[[ref]]use·e> 
50 ···············Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the27   ··WHILE····Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
51 ···············reason·why·you·don't·want·to·include·this·block28  [>]·<!---····reason·why·you·don't·want·to·include·this·block
  
  
 29  History
 30  Wish_list
 31  Bugs
  
  
  
  
  
  
  
25.4 KB
./usr/share/doc/htp/def.html
    
Offset 114, 99 lines modifiedOffset 114, 66 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>=[·...·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>
 123 <br>
122 </code></p>124 </code></p>
123 <h2>synopsis</h2>125 <h2>synopsis</h2>
124 <p>126 <p>
125 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a127 <strong>DEF</strong>·creates·<a·href="metatag.html">metatags</a>,·which·is·a
126 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to128 fancy·way·of·saying·it·creates·new·tags.··The·mechanism·is·very·similar·to
127 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>129 <a·href="block.html">BLOCK</a>·macros,·except·that·the·<a·href="use.html">USE</a>
128 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.130 tag·is·not·used·to·expand·them.··Instead,·they·are·expanded·by·their·own·name.
129 For·example:131 For·example:
130 </p>132 </p>
131 ··<p><code>133 ··<p><code>
 134 <span·class="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>
 135 t)·[noerror]><br>
 136 <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">"includefilename"</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>&gt;</span><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>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br>137 <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><br>
133 &nbsp;·...<br> 
134 <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>138 <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">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-[·...·truncated·by·diffoscope;·len:·220,·SHA:·d952db001a9afde6cf53f2162f88dbcd904c08f48b4d5631404ac77f4b443be1·...·]>&gt;</span><br>
 139 <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">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">time[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>
 140 <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">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">date[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>
 141 <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">search</span>=<span·class="htp-string">"searchpath"</span>&gt;</span><br>
 142 <span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>&gt;</span><br>
 143 <br>
135 </code></p>144 </code></p>
136 <P>145 <P>
137 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to146 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
138 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A147 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
139 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster148 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
140 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing149 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
141 tag·with·a·preceding·slash.·For·example:150 tag·with·a·preceding·slash.·For·example:
142 </P>151 </P>
143 ··<p><code>152 ··<p><code>
144 &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>153 &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>
 154 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br>
145 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br> 
146 &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> 
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>&gt;</span><br>155 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&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>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
149 &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>156 <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">"/bigfont"</span>&gt;</span><br>
 158 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&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>&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 <br>
 161 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
151 &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> 
152 &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> 
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">b</span>&gt;</span><br> 
154 &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> 
155 &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> 
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>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
157 &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> 
158 &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> 
159 &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> 
160 &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> 
161 &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> 
162 &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> 
163 &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> 
164 &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> 
165 &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> 
166 &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> 
167 &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> 
168 &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> 
169 &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> 
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">d</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">e</span>&gt;</span><br> 
172 </code></p>162 </code></p>
173 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,163 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
174 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>164 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
175 <P>165 <P>
176 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were166 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
177 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with167 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
178 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their168 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
179 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)169 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
180 </P>170 </P>
181 ··<p><code>171 ··<p><code>
 172 &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>
182 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"HEADERIMG"</span>·<span·class="htp-attrib">OPTION</span>=<span·class="htp-string">"SRC·TITLE·SIZE"</span>&gt;</span><br> 
183 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">size</span>&gt;</span><br> 
184 &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> 
185 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
186 &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> 
187 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br> 
188 &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> 
189 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br> 
190 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
191 &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> 
192 <br> 
193 &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> 
194 <br> 
195 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"Normal·sized·title"</span>&gt;</span><br> 
196 <br> 
197 &nbsp;·This·will·fail:<br> 
198 &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> 
199 <br> 
200 &nbsp;·Instead,·use·*·like·this:<br> 
201 &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> 
202 &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> 
203 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br> 
204 &nbsp;·&nbsp;·<br> 
205 &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> 
206 </code></p>173 </code></p>
207 <P>174 <P>
208 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is175 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
209 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are176 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
210 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the177 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
211 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a178 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
212 parameter·is·required,·simply·expand·it·without·first·checking.··When179 parameter·is·required,·simply·expand·it·without·first·checking.··When
8.63 KB
html2text {}
    
Offset 1, 104 lines modifiedOffset 1, 73 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·*****
6  License······DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it·creates·new9  HTP·Tags·····DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it·creates·new
7  Tutorial·····tags.·The·mechanism·is·very·similar·to·BLOCK·macros,·except·that·the10   ··ALTTEXT··tags.·The·mechanism·is·very·similar·to·BLOCK·macros,·except·that·the
8  Usage········USE·tag·is·not·used·to·expand·them.·Instead,·they·are·expanded·by11   ··BLOCK····USE·tag·is·not·used·to·expand·them.·Instead,·they·are·expanded·by·their
9  HTP·Tags·····their·own·name.·For·example: 
10   ··ALTTEXT··<[[ref]]if·disabled_because_xyz> 
11   ··BLOCK···· ·... 
12   ··BLOCKDEF·<[[ref]]/if>12   ··BLOCKDEF·own·name.·For·example:
 13  [>]·DEF······<!---·This·comment·doesn't·appear·in·the·HTML·file·--->
 14   ··FILE·····t)·[noerror]>
 15   ··IF·······<[[ref]]file·include="includefilename"·[parameters·...]>
 16   ··INC······<[[ref]]file·name>
 17   ··IMG······<[[ref]]file·[·name="filename"·]·size[·=·(byte|kbyte|mbyte|gbyte)·]
 18   ··IMAGEURL·[precision=n]>
 19   ··OPT······<[[ref]]file·[·name="filename"·]·time[·="format"·]>
 20   ··OUTPUT···<[[ref]]file·[·name="filename"·]·date[·="format"·]>
 21   ··QUOTE····<[[ref]]file·search="searchpath">
 22   ··SET······<[[ref]]file·template="templatefilename">
 23   ··UNDEF
13  [>]·DEF······Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to24   ··UNSET····Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
14   ··FILE·····and25   ··USE,_$···and
15   ··IF·······).·In·this·case,·you·should·use·the·BLOCKDEF·macro.·Another·slightly26   ··WHILE····).·In·this·case,·you·should·use·the·BLOCKDEF·macro.·Another·slightly
16   ··INC······faster·alternative·is·to·use·two·metatags,·the·opening·tag·and·the27   ··<!---····faster·alternative·is·to·use·two·metatags,·the·opening·tag·and·the
17   ··IMG······closing·tag·with·a·preceding·slash.·For·example:28  History······closing·tag·with·a·preceding·slash.·For·example:
 29  Wish_list···· ·<[[ref]]def·name="bigfont">
 30  Bugs········· · ·<font·size="+4">
18   ··IMAGEURL· ·<[[ref]]set·time="0"> 
19   ··OPT······ ·<[[ref]]block·name=a> 
20   ··OUTPUT··· · ·a·is·expanded·at·time·<[[ref]]use·time>. 
21   ··QUOTE···· ·<[[ref]]/block> 
22   ··SET······ ·<[[ref]]block·name=b·expand> 
23   ··UNDEF···· · ·b·is·expanded·at·time·<[[ref]]use·time>. 
24   ··UNSET···· ·<[[ref]]/block> 
25   ··USE,_$··· ·<[[ref]]set·time="1"> 
26   ··WHILE···· ·<[[ref]]use·a> 
27   ··<!---···· ·<[[ref]]use·b> 
28  History······ ·contents·of·a:·<[[ref]]use·a·noexpand> 
29  Wish_list···· ·contents·of·b:·<[[ref]]use·b·noexpand> 
30  Bugs········· ·<[[ref]]block·name=c·expand> 
31 ··············· · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a> 
32 ··············· ·<[[ref]]/block> 
33 ··············· ·<[[ref]]block·name=d·expand> 
34 ··············· · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
35 ··············· ·<[[ref]]/block> 
36 ··············· ·<[[ref]]block·name=e> 
37 ··············· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
38 ··············· ·<[[ref]]/block> 
39 ··············· ·<[[ref]]set·time="2"> 
40 ··············· ·<[[ref]]block·name=a> 
41 ··············· · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>. 
42 ··············· ·<[[ref]]/block> 
43 ··············· ·<[[ref]]use·c>31 ··············· ·<[[ref]]/def>
  
 32 ··············· ·<[[ref]]def·name="/bigfont">
 33 ··············· · ·</font>
44 ··············· ·<[[ref]]use·d>34 ··············· ·<[[ref]]/def>
45 ··············· ·<[[ref]]use·e> 
 35 ··············· ·<bigfont>Some·large·text</bigfont>
46 ···············You·should·really·use·BLOCKDEF,·though,·as·it·will·check·for·matching36 ···············You·should·really·use·BLOCKDEF,·though,·as·it·will·check·for·matching
47 ···············end·tag.·It·is·not·that·slower.37 ···············end·tag.·It·is·not·that·slower.
48 ···············Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it38 ···············Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
49 ···············were·a·SET·macro.·Option·names·are·parameterized·with·the·OPTION39 ···············a·SET·macro.·Option·names·are·parameterized·with·the·OPTION·attribute.
50 ···············attribute.·Multiple·options·can·be·listed·by·separating·their·name40 ···············Multiple·options·can·be·listed·by·separating·their·name·with·a·space
51 ···············with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)41 ···············(which·therefore·requires·they·be·surrounded·by·quotes.)
 42 ··············· · ·<EM>File·"<[[ref]]FILE·NAME>"·last·updated·<[[ref]]FILE·TIME>,·<[
 43 ···············[ref]]FILE·DATE></EM>
52 ··············· ·<[[ref]]DEF·NAME="HEADERIMG"·OPTION="SRC·TITLE·SIZE"> 
53 ··············· · ·<[[ref]]IF·size> 
54 ··············· · · · ·<FONT·SIZE=${size}> 
55 ··············· · ·<[[ref]]/IF> 
56 ··············· · ·<[[ref]]IMG·SRC=pics/${src}> 
57 ··············· · ·<[[ref]]USE·title> 
58 ··············· · ·<[[ref]]IF·size> 
59 ··············· · · · ·</FONT> 
60 ··············· · ·<[[ref]]/IF> 
61 ··············· ·<[[ref]]/DEF> 
  
62 ··············· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A·title"> 
  
63 ··············· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized·title"> 
  
64 ··············· ·This·will·fail: 
65 ··············· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"·TITLE="Another·title"> 
  
66 ··············· ·Instead,·use·*·like·this: 
67 ··············· ·<[[ref]]DEF·NAME="MYIMG"·OPTION="SRC·*"> 
68 ··············· · ·<[[ref]]IMG·SRC="pics/${src}"·$*> 
69 ··············· ·<[[ref]]/DEF> 
70 ··············· ·  
71 ··············· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo"> 
72 ···············htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is44 ···············htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
73 ···············invoked.·htp·assumes·that·all·parameter·options·to·the·metatag·are45 ···············invoked.·htp·assumes·that·all·parameter·options·to·the·metatag·are
74 ···············optional.·This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the46 ···············optional.·This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
75 ···············SIZE·option·is·defined·before·expanding·it·in·the·block.·If·a47 ···············SIZE·option·is·defined·before·expanding·it·in·the·block.·If·a·parameter
76 ···············parameter·is·required,·simply·expand·it·without·first·checking.·When48 ···············is·required,·simply·expand·it·without·first·checking.·When·htp·expands
77 ···············htp·expands·the·metatag·and·the·macro·is·not·defined,·it·will·halt49 ···············the·metatag·and·the·macro·is·not·defined,·it·will·halt·processing·and
78 ···············processing·and·complain·with·an·error·message·and·the·required·macro50 ···············complain·with·an·error·message·and·the·required·macro·name.·Normally
79 ···············name.·Normally·htp·will·not·allow·parameters·not·listed·in·the·OPTION51 ···············htp·will·not·allow·parameters·not·listed·in·the·OPTION·attribute·to·be
80 ···············attribute·to·be·added·to·the·tag.·This·is·why·the·third·invocation·of52 ···············added·to·the·tag.·This·is·why·the·third·invocation·of·HEADERIMG·will
81 ···············HEADERIMG·will·fail.·There·is·no·ALT·parameter·specified·in·the·OPTION53 ···············fail.·There·is·no·ALT·parameter·specified·in·the·OPTION·attribute.
82 ···············attribute.·However,·there·is·the·special·option·*,·which·matches·every54 ···············However,·there·is·the·special·option·*,·which·matches·every·other
83 ···············other·parameter.·It·should·be·used·to·pass·all·other·options·to55 ···············parameter.·It·should·be·used·to·pass·all·other·options·to·another·tag.
84 ···············another·tag. 
85 ···············Metatags·can·be·removed·by·using·the·UNDEF·tag.·Note·that·both·open56 ···············Metatags·can·be·removed·by·using·the·UNDEF·tag.·Note·that·both·open·and
86 ···············and·close·tags·must·be·removed·with·UNDEF.·Removing·one·will·not57 ···············close·tags·must·be·removed·with·UNDEF.·Removing·one·will·not·remove
87 ···············remove·both.58 ···············both.
88 ···············Warning:·Although·possible,·def·should·not·be·used·to·override59 ···············Warning:·Although·possible,·def·should·not·be·used·to·override·standard
89 ···············standard·HTML·and·htp·tag·names,·as·this·can·cause·much·confusion·and60 ···············HTML·and·htp·tag·names,·as·this·can·cause·much·confusion·and·unexpected
90 ···············unexpected·results.·The·def·tag·can·even·be·used·to·override·its·own61 ···············results.·The·def·tag·can·even·be·used·to·override·its·own·tag·name.
91 ···············tag·name.·Because·of·the·problems·this·can·cause,·its·highly62 ···············Because·of·the·problems·this·can·cause,·its·highly·recommended·to·not
92 ···············recommended·to·not·override·known·tag·names.63 ···············override·known·tag·names.
93 ···············You·can·find·some·other·examples·in·the·[[ref]]metatag·section·of·the64 ···············You·can·find·some·other·examples·in·the·[[ref]]metatag·section·of·the
94 ···············tutorial.65 ···············tutorial.
  
  
  
  
  
Max diff block lines reached; -1/8813 bytes (-0.01%) of diff not shown.
19.8 KB
./usr/share/doc/htp/expand.html
    
Offset 98, 52 lines modifiedOffset 98, 36 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="comment">&lt;!---··This·comment·doesn't·appear·in·the·HTML·file·---&gt;</span><br>
 106 <font·size="-2">&nbsp;2.·</font>t)·[noerror]><br>
 107 <font·size="-2">&nbsp;3.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">include</span>=<span·class="htp-string">"includefilename"</span>·<span·class="htp-attrib">[parameters</span>·<span·class="htp-attrib">...]</span>&gt;</span><br>
105 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"0"</span>&gt;</span><br> 
106 <font·size="-2">&nbsp;2.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br> 
107 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br> 
108 <font·size="-2">&nbsp;4.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
109 <font·size="-2">&nbsp;5.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">b</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
110 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·b·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br> 
111 <font·size="-2">&nbsp;7.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
112 <font·size="-2">&nbsp;8.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"1"</span>&gt;</span><br> 
113 <font·size="-2">&nbsp;9.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br>108 <font·size="-2">&nbsp;4.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">name</span>&gt;</span><br>
 109 <font·size="-2">&nbsp;5.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">size[</span>·=<span·class="htp-value"></span>·<span·class="htp-attrib">(byte|kbyte|mbyte|gbyte)</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">[precision</span>=<span·class="htp-value">n]</span>&gt;</span><br>
 110 <font·size="-2">&nbsp;6.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">time[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>
 111 <font·size="-2">&nbsp;7.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">[</span>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">]</span>·<span·class="htp-attrib">date[</span>·=<span·class="htp-string">"format"</span>·<span·class="htp-attrib">]</span>&gt;</span><br>
 112 <font·size="-2">&nbsp;8.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">search</span>=<span·class="htp-string">"searchpath"</span>&gt;</span><br>
 113 <font·size="-2">&nbsp;9.·</font><span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">file</a>·<span·class="htp-attrib">template</span>=<span·class="htp-string">"templatefilename"</span>&gt;</span><br>
 114 <font·size="-2">10.·</font><br>
114 <font·size="-2">10.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>&gt;</span><br> 
115 <font·size="-2">11.·</font>&nbsp;·contents·of·a:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
116 <font·size="-2">12.·</font>&nbsp;·contents·of·b:·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">b</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
117 <font·size="-2">13.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
118 <font·size="-2">14.·</font>&nbsp;·&nbsp;·c·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>&gt;</span><br> 
119 <font·size="-2">15.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
120 <font·size="-2">16.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
121 <font·size="-2">17.·</font>&nbsp;·&nbsp;·d·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
122 <font·size="-2">18.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
123 <font·size="-2">19.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">e</span>&gt;</span><br> 
124 <font·size="-2">20.·</font>&nbsp;·&nbsp;·e·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">a</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
125 <font·size="-2">21.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
126 <font·size="-2">22.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">time</span>=<span·class="htp-string">"2"</span>&gt;</span><br> 
127 <font·size="-2">23.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">a</span>&gt;</span><br> 
128 <font·size="-2">24.·</font>&nbsp;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br> 
129 <font·size="-2">25.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
130 <font·size="-2">26.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">c</span>&gt;</span><br> 
131 <font·size="-2">27.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">d</span>&gt;</span><br> 
132 <font·size="-2">28.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">e</span>&gt;</span><br> 
133 </code></p>115 </code></p>
134 This·produces·the·following:116 This·produces·the·following:
135 ··<p><code>117 ··<p><code>
136 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br> 
137 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br>118 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bigfont"</span>&gt;</span><br>
 119 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br>
138 &nbsp;·contents·of·a:·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>120 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
139 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br> 
140 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br> 
141 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br> 
142 &nbsp;·&nbsp;·e·is·expanded·at·time·2;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>121 <br>
 122 &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>
 123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br>
 124 &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>
 125 <br>
 126 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
143 </code></p>127 </code></p>
144 <P>128 <P>
145 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a129 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a
146 are·taken·literally,·however,·the·contents·for·b·are·already·expanded130 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
147 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it131 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
148 is·used,·while·the·contents·of·b·are·already·expanded.132 is·used,·while·the·contents·of·b·are·already·expanded.
149 </P>133 </P>
7.63 KB
html2text {}
    
Offset 1, 79 lines modifiedOffset 1, 65 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·the
6  License········expanded·and·the·metatag·has·finished·the·macro·is·automatically·removed.6  License········definition·is·expanded·and·the·metatag·has·finished·the·macro·is
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,·[ 
9   ··Command-···[ref]]inc,·[[ref]]block,·[[ref]]def,·and·[[ref]]blockdef·tags.7  Tutorial·······automatically·removed.·In·some·cases·you·want·to·define·a·macro·inside·a
 8  Usage··········metatag·and·use·it·later.·You·can·do·this·with·the·global·attribute·that
 9   ··Command-···you·can·add·to·[[ref]]set,·[[ref]]inc,·[[ref]]block,·[[ref]]def,·and·[
 10 ······line·······[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·of·all
12   ··Predefined·block·tags·even·metatags·defined·with·the·blockdef·macro.·Normally·htp·uses13 ······macros·····block·tags·even·metatags·defined·with·the·blockdef·macro.·Normally·htp
13 ······macros·····a·lazy·evaluation·strategy,·i.e.·it·expands·htp·tags,·metatags·and·macros14  [>]·global_and·uses·a·lazy·evaluation·strategy,·i.e.·it·expands·htp·tags,·metatags·and
14  [>]·global_and·when·the·HTML·document·is·written·not·when·they're·stored·into·block15 ······expand·····macros·when·the·HTML·document·is·written·not·when·they're·stored·into
15 ······expand·····macros.·When·you·use·a·macro·defined·with·the·blockdef·tag·the·html·code16  HTP_Tags·······block·macros.·When·you·use·a·macro·defined·with·the·blockdef·tag·the
16  HTP_Tags·······between·the·tags·is·just·copied·literally·into·the·macro·named·block,17  History········html·code·between·the·tags·is·just·copied·literally·into·the·macro·named
17  History········without·any·expansion·going·on.18  Wish_list······block,·without·any·expansion·going·on.
18  Wish_list······However,·if·the·block·tag·is·marked·with·the·expand·modifier·it·is·expanded19  Bugs···········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·block20 ·················expanded·immediately.·This·is·useful·if·you·want·to·store·something·in·a
20 ·················macro,·that·depends·on·the·current·value·of·another·macro.·This·other·macro21 ·················block·macro,·that·depends·on·the·current·value·of·another·macro.·This
21 ·················may·no·longer·have·the·correct·value·when·the·macro·is·expanded.·Here·is22 ·················other·macro·may·no·longer·have·the·correct·value·when·the·macro·is
22 ·················some·code·that·demonstrate·when·the·htp·tags·are·expanded:23 ·················expanded.·Here·is·some·code·that·demonstrate·when·the·htp·tags·are
23 ················· 1. ·<[[ref]]set·time="0">24 ·················expanded:
 25 ················· 1.<!---·This·comment·doesn't·appear·in·the·HTML·file·--->
 26 ················· 2.t)·[noerror]>
 27 ················· 3.<[[ref]]file·include="includefilename"·[parameters·...]>
24 ················· 2. ·<[[ref]]block·name=a>28 ················· 4.<[[ref]]file·name>
 29 ················· 5.<[[ref]]file·[·name="filename"·]·size[·=·(byte|kbyte|mbyte|gbyte)·]
 30 ·················[precision=n]>
 31 ················· 6.<[[ref]]file·[·name="filename"·]·time[·="format"·]>
 32 ················· 7.<[[ref]]file·[·name="filename"·]·date[·="format"·]>
 33 ················· 8.<[[ref]]file·search="searchpath">
 34 ················· 9.<[[ref]]file·template="templatefilename">
 35 ·················10.
25 ················· 3. · ·a·is·expanded·at·time·<[[ref]]use·time>. 
26 ················· 4. ·<[[ref]]/block> 
27 ················· 5. ·<[[ref]]block·name=b·expand> 
28 ················· 6. · ·b·is·expanded·at·time·<[[ref]]use·time>. 
29 ················· 7. ·<[[ref]]/block> 
30 ················· 8. ·<[[ref]]set·time="1"> 
31 ················· 9. ·<[[ref]]use·a> 
32 ·················10. ·<[[ref]]use·b> 
33 ·················11. ·contents·of·a:·<[[ref]]use·a·noexpand> 
34 ·················12. ·contents·of·b:·<[[ref]]use·b·noexpand> 
35 ·················13. ·<[[ref]]block·name=c·expand> 
36 ·················14. · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a> 
37 ·················15. ·<[[ref]]/block> 
38 ·················16. ·<[[ref]]block·name=d·expand> 
39 ·················17. · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
40 ·················18. ·<[[ref]]/block> 
41 ·················19. ·<[[ref]]block·name=e> 
42 ·················20. · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
43 ·················21. ·<[[ref]]/block> 
44 ·················22. ·<[[ref]]set·time="2"> 
45 ·················23. ·<[[ref]]block·name=a> 
46 ·················24. · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>. 
47 ·················25. ·<[[ref]]/block> 
48 ·················26. ·<[[ref]]use·c> 
49 ·················27. ·<[[ref]]use·d> 
50 ·················28. ·<[[ref]]use·e> 
51 ·················This·produces·the·following:36 ·················This·produces·the·following:
52 ················· · ·a·is·expanded·at·time·1. 
53 ················· · ·b·is·expanded·at·time·0. 
54 ················· ·contents·of·a:· ·a·is·expanded·at·time·<[[ref]]use·time>. 
55 ················· ·contents·of·b:· ·b·is·expanded·at·time·0. 
56 ················· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1. 
57 ················· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2. 
58 ················· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<[[ref]]use 
59 ·················time>.37 ················· ·<[[ref]]def·name="bigfont">
 38 ················· · ·<font·size="+4">
 39 ················· ·<[[ref]]/def>
  
 40 ················· ·<[[ref]]def·name="/bigfont">
 41 ················· · ·</font>
 42 ················· ·<[[ref]]/def>
  
 43 ················· ·<bigfont>Some·large·text</bigfont>
60 ·················When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a·are44 ·················When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a·are
61 ·················taken·literally,·however,·the·contents·for·b·are·already·expanded·so·the45 ·················taken·literally,·however,·the·contents·for·b·are·already·expanded·so·the
62 ·················macro·time·is·evaluated.·So·a·is·expanded·when·it·is·used,·while·the46 ·················macro·time·is·evaluated.·So·a·is·expanded·when·it·is·used,·while·the
63 ·················contents·of·b·are·already·expanded.47 ·················contents·of·b·are·already·expanded.
64 ·················In·line·10·and·12·the·[[ref]]use·tag·is·used·with·the·noexpand·attribute48 ·················In·line·10·and·12·the·[[ref]]use·tag·is·used·with·the·noexpand·attribute
65 ·················which·prevents·the·expansion·of·the·macro·value.·Here·it·is·used·to·show49 ·················which·prevents·the·expansion·of·the·macro·value.·Here·it·is·used·to·show
66 ·················you·what·the·value·of·the·block·macros·really·is.50 ·················you·what·the·value·of·the·block·macros·really·is.
67 ·················A·more·important·reason·to·use·the·noexpand·attribute·is·to·prevent·double51 ·················A·more·important·reason·to·use·the·noexpand·attribute·is·to·prevent
68 ·················expansion·and·to·restore·the·original·lazy·expansion·policy·when·you·have52 ·················double·expansion·and·to·restore·the·original·lazy·expansion·policy·when
69 ·················to·use·the·expand·attribute·as·for·block·d·in·the·example·above.·See·the53 ·················you·have·to·use·the·expand·attribute·as·for·block·d·in·the·example
70 ·················section·example·in·the·[[ref]]metatag_tutorial.·Rule·of·thumb:·The·use·tags54 ·················above.·See·the·section·example·in·the·[[ref]]metatag_tutorial.·Rule·of
71 ·················in·an·expanded·block·should·be·tagged·with·noexpand.55 ·················thumb:·The·use·tags·in·an·expanded·block·should·be·tagged·with·noexpand.
  
  
  
  
  
  
  
26.2 KB
./usr/share/doc/htp/file.html
    
Offset 114, 49 lines modifiedOffset 114, 61 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">if</a>·<span·class="htp-attrib">disabled_because_xyz</span>&gt;</span><br>
 122 &nbsp;·...<br>
121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·block·#1<br> 
123 [<br> 
124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
125 &nbsp;·&nbsp;·block·#2<br> 
126 ...<br> 
127 ]<br> 
128 [<br> 
129 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
130 &nbsp;·&nbsp;·block·#3<br> 
131 ]<br> 
132 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>123 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/if</a>&gt;</span><br>
 124 TLE·SIZE"><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>·<span·class="htp-attrib">size</span>&gt;</span><br>
 126 &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>
 127 &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>
 128 &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>
 129 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">USE</a>·<span·class="htp-attrib">title</span>&gt;</span><br>
 130 &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>
 131 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 132 &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>
 133 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
133 <br>134 <br>
 135 &nbsp;·<span·class="htp-tag">&lt;HEADERIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-string">"+2"</span>·<span·class="htp-attrib">TITLE</span>=<span·class="htp-string">"A·title"</span>&gt;</span><br>
 136 <br>
 137 &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>
 138 <br>
 139 &nbsp;·This·will·fail:<br>
 140 &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>
 141 <br>
 142 &nbsp;·Instead,·use·*·like·this:<br>
 143 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">DEF</a>·<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>
 144 &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>
 145 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
 146 &nbsp;·&nbsp;·<br>
 147 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br>
134 </code></p>148 </code></p>
135 <h2>synopsis</h2>149 <h2>synopsis</h2>
136 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.150 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
137 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of151 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·be152 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
139 added·to·the·output·file·as·well.153 added·to·the·output·file·as·well.
140 <P>154 <P>
141 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the155 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
142 following·is·perfectly·acceptable:156 following·is·perfectly·acceptable:
143 ··<p><code>157 ··<p><code>
 158 &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>
144 <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> 
145 <br> 
146 </code></p>159 </code></p>
147 <P>160 <P>
148 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>161 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
149 <P>162 <P>
150 To·include·information·about·another·file,·such·as·an·archive·file·or163 To·include·information·about·another·file,·such·as·an·archive·file·or
151 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the164 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
152 type·of·information·to·be·displayed:165 type·of·information·to·be·displayed:
153 ··<p><code>166 ··<p><code>
 167 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
154 &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> 
155 &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> 
156 </code></p>168 </code></p>
157 <P>169 <P>
158 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the170 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
159 information·is·displayed.··In·anything·other·than·byte·format,·the·information171 information·is·displayed.··In·anything·other·than·byte·format,·the·information
160 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number172 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
161 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional173 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
162 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no174 PRECISION·attribute.··The·default·precision·is·zero·(0),·which·means·no
Offset 185, 16 lines modifiedOffset 197, 36 lines modified
185 <P>197 <P>
186 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are198 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
187 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros199 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
188 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it200 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
189 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer201 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
190 available.··So:202 available.··So:
191 ··<p><code>203 ··<p><code>
192 <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>204 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib[·...·truncated·by·diffoscope;·len:·60,·SHA:·622fb2ed751c25ce3faa11fd5042311c2c7d1e207f2a53f4e01bedbc5f9ea4a5·...·]</span>&gt;</span><br>
 205 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br>
 206 <br>
 207 &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>
 208 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br>
 209 &nbsp;·(no·URL·replacement).<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">"http://my.domain.org/logo.gif"</span>&gt;</span><br>
 212 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br>
 213 <br>
 214 &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>
 215 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br>
 216 &nbsp;·will·not·be·added.<br>
 217 <br>
 218 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br>
 219 &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>
 220 &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>
193 <br>221 <br>
 222 &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>
 223 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br>
 224 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br>
 225 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br>
194 </code></p>226 </code></p>
195 <P>227 <P>
196 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included228 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
197 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the229 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
198 second·statement·will·fail.)230 second·statement·will·fail.)
199 <P>231 <P>
200 <h3><a·name="template">TEMPLATE</a></h3>232 <h3><a·name="template">TEMPLATE</a></h3>
14.2 KB
html2text {}
    
Offset 1, 109 lines modifiedOffset 1, 140 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·FILE·******2 ******·htp·on-line·reference·:·FILE·******
3 Table_of·······*****·syntax·*****3 Table_of·······*****·syntax·*****
4 Contents·······<[[ref]]IF·[NOT]·conditional> 
5  Introduction· · ·block·#1 
6  License······[ 
7  Tutorial·····<ELSEIF·[NOT]·conditional> 
8  Usage········ · ·block·#2 
9  HTP·Tags·····... 
10   ··ALTTEXT··] 
11   ··BLOCK····[ 
12   ··BLOCKDEF·<ELSE> 
13   ··DEF······ · ·block·#3 
14  [>]·FILE·····]4 Contents·······<[[ref]]if·disabled_because_xyz>
 5  Introduction· ·...
 6  License······<[[ref]]/if>
 7  Tutorial·····TLE·SIZE">
 8  Usage········ · ·<[[ref]]IF·size>
 9  HTP·Tags····· · · · ·<FONT·SIZE=${size}>
 10   ··ALTTEXT·· · ·<[[ref]]/IF>
 11   ··BLOCK···· · ·<[[ref]]IMG·SRC=pics/${src}>
 12   ··BLOCKDEF· · ·<[[ref]]USE·title>
 13   ··DEF······ · ·<[[ref]]IF·size>
 14  [>]·FILE····· · · · ·</FONT>
15   ··IF·······<[[ref]]/IF>15   ··IF······· · ·<[[ref]]/IF>
16   ··INC16   ··INC······ ·<[[ref]]/DEF>
 17   ··IMG
 18   ··IMAGEURL· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A·title">
 19   ··OPT
 20   ··OUTPUT··· ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized·title">
 21   ··QUOTE
 22   ··SET······ ·This·will·fail:
 23   ··UNDEF···· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"·TITLE="Another·title">
 24   ··UNSET
 25   ··USE,_$··· ·Instead,·use·*·like·this:
 26   ··WHILE···· ·<[[ref]]DEF·NAME="MYIMG"·OPTION="SRC·*">
 27   ··<!---···· · ·<[[ref]]IMG·SRC="pics/${src}"·$*>
 28  History······ ·<[[ref]]/DEF>
 29  Wish_list···· · 
 30  Bugs········· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
17   ··IMG······*****·synopsis·*****31 ···············*****·synopsis·*****
18   ··IMAGEURL·FILE·has·several·optional·parameters·of·differing·purpose.·The·output32 ···············FILE·has·several·optional·parameters·of·differing·purpose.·The·output·file's
19   ··OPT······file's·name,·the·current·date·and·time,·and·the·contents·of·another·file33 ···············name,·the·current·date·and·time,·and·the·contents·of·another·file·may·be
20   ··OUTPUT···may·be·included.·Another·file's·time,·date,·or·size·may·be·added·to·the34 ···············included.·Another·file's·time,·date,·or·size·may·be·added·to·the·output·file
21   ··QUOTE····output·file·as·well.35 ···············as·well.
22   ··SET······As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the36 ···············As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
23   ··UNDEF····following·is·perfectly·acceptable:37 ···············following·is·perfectly·acceptable:
24   ··UNSET····<[[ref]]img·src="filename"·...> 
25   ··USE,_$38 ··············· · ·<EM>File·"<[[ref]]FILE·NAME>"·last·updated·<[[ref]]FILE·TIME>,·<[
 39 ···············[ref]]FILE·DATE></EM>
26   ··WHILE····****·NAME,·TIME,·SIZE·****40 ···············****·NAME,·TIME,·SIZE·****
27   ··<!---····To·include·information·about·another·file,·such·as·an·archive·file·or41 ···············To·include·information·about·another·file,·such·as·an·archive·file·or·graphic
28  History······graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the42 ···············image,·specify·its·name·with·the·NAME·attribute·followed·by·the·type·of
 43 ···············information·to·be·displayed:
 44 ··············· · ·<[[ref]]IF·name="Jim">...<[[ref]]/IF>
29  Wish_list····type·of·information·to·be·displayed: 
30  Bugs········· · ·File·image.gif·<[[ref]]FILE·NAME="image.gif"·SIZE=KBYTE> kilobytes 
31 ··············· · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE 
32 ···············NAME="image.gif"·DATE> 
33 ···············For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the45 ···············For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
34 ···············information·is·displayed.·In·anything·other·than·byte·format,·the46 ···············information·is·displayed.·In·anything·other·than·byte·format,·the·information
35 ···············information·is·displayed·in·floating-point·notation.·The·amount·of47 ···············is·displayed·in·floating-point·notation.·The·amount·of·precision·(the·number
36 ···············precision·(the·number·of·digits·to·the·right·of·the·decimal·point)·can·be48 ···············of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
37 ···············set·with·the·optional·PRECISION·attribute.·The·default·precision·is·zero49 ···············PRECISION·attribute.·The·default·precision·is·zero·(0),·which·means·no
38 ···············(0),·which·means·no·fractional·portion·is·displayed.50 ···············fractional·portion·is·displayed.
39 ···············At·the·request·of·many·people,·the·TIME·and·DATE·attributes·will·now51 ···············At·the·request·of·many·people,·the·TIME·and·DATE·attributes·will·now·accept
40 ···············accept·formatting·characters·that·are·passed·directly·into·the·ANSI·C52 ···············formatting·characters·that·are·passed·directly·into·the·ANSI·C·library
41 ···············library·function.·This·allows·for·the·time·and·date·to·be·displayed·in53 ···············function.·This·allows·for·the·time·and·date·to·be·displayed·in·virtually·any
42 ···············virtually·any·format.·Users·not·wishing·to·mess·around·with·this·should54 ···············format.·Users·not·wishing·to·mess·around·with·this·should·stick·to·the
43 ···············stick·to·the·default·format,·which·is·used·if·no·formatting·value·is55 ···············default·format,·which·is·used·if·no·formatting·value·is·specified·(i.e.,·just
44 ···············specified·(i.e.,·just·using·05:04:11·PM).56 ···············using·05:04:11·PM).
45 ···············Consult·any·C·programmer's·guide·discussing·the·standard·C·library57 ···············Consult·any·C·programmer's·guide·discussing·the·standard·C·library·function
46 ···············function·strftime()·for·information·on·how·to·build·a·format·string.·If58 ···············strftime()·for·information·on·how·to·build·a·format·string.·If·unsure,·ask·an
47 ···············unsure,·ask·an·experienced·C·programmer·for·help,·or·consider·just59 ···············experienced·C·programmer·for·help,·or·consider·just·sticking·to·the·default
48 ···············sticking·to·the·default·formatting.60 ···············formatting.
49 ···············****·INCLUDE·****61 ···············****·INCLUDE·****
50 ···············INCLUDE·files·are·pre-processed·as·any·other·file.·The·resulting·text·is62 ···············INCLUDE·files·are·pre-processed·as·any·other·file.·The·resulting·text·is
51 ···············incorporated·into·the·HTML·output·as·if·the·file·had·been·copied·into·the63 ···············incorporated·into·the·HTML·output·as·if·the·file·had·been·copied·into·the
52 ···············source·at·the·same·location·as·the·FILE·markup·tag.64 ···············source·at·the·same·location·as·the·FILE·markup·tag.
53 ···············htp·will·automatically·convert·slashes·and·backslashes·to·match·the65 ···············htp·will·automatically·convert·slashes·and·backslashes·to·match·the·operating
54 ···············operating·system's·directory·separator.66 ···············system's·directory·separator.
55 ···············Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are67 ···············Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
56 ···············interpreted·as·macros·that·are·"passed"·to·the·included·file.·The·macros68 ···············interpreted·as·macros·that·are·"passed"·to·the·included·file.·The·macros·are
57 ···············are·available·only·to·the·include·file·(and·any·macros·or·included·files69 ···············available·only·to·the·include·file·(and·any·macros·or·included·files·it
58 ···············it·holds).·After·the·file·is·completely·included,·the·macros·are·no70 ···············holds).·After·the·file·is·completely·included,·the·macros·are·no·longer
59 ···············longer·available.·So:71 ···············available.·So:
60 ···············<[[ref]]imageurl·url="imageurl"·[·path="path/in/local/filesystem"·]>72 ··············· ·<[[ref]]imageurl·url="http://my.domain.org/"·path="/var/www/my.domain/">
 73 ··············· ·<[[ref]]imageurl·url="other.domain.org/"·path="/var/www/other.domain/">
  
 74 ··············· ·For·this·line:·<[[ref]]img·src="logo.gif">
 75 ··············· ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions
 76 ··············· ·(no·URL·replacement).
  
 77 ··············· ·For·this·line:·<[[ref]]img·src="http://my.domain.org/logo.gif">
 78 ··············· ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.
  
 79 ··············· ·But·for·this·line:·<[[ref]]img·src="http://other.domain.org/logo.gif">
 80 ··············· ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions
 81 ··············· ·will·not·be·added.
  
 82 ··············· ·Order·is·important;·last·IMAGEURL·tag·takes·precedence:
 83 ··············· ·<[[ref]]imageurl·url="/"·path="/var/www/htdocs/">
 84 ··············· ·<[[ref]]imageurl·url="/test/"·path="/var/www/test/">
  
 85 ··············· ·<[[ref]]img·src="/image.gif"> and·<[[ref]]img·src="/test/image.gif"> are
 86 ···············mapped·to
 87 ··············· ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.
 88 ··············· ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second
 89 ··············· ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.
61 ···············Macros·named·"name"·and·"email"·are·set,·and·available·inside·the90 ···············Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
62 ···············included·file.·They·are·not·available,·however,·past·the·tag·(which·is91 ···············file.·They·are·not·available,·however,·past·the·tag·(which·is·why·the·second
63 ···············why·the·second·statement·will·fail.)92 ···············statement·will·fail.)
64 ···············****·TEMPLATE·****93 ···············****·TEMPLATE·****
65 ···············A·template·file·is·nothing·more·than·a·default·include·file,·one·that·is94 ···············A·template·file·is·nothing·more·than·a·default·include·file,·one·that·is
66 ···············included·once·the·input·text·has·been·completely·processed.·So,·an·input95 ···············included·once·the·input·text·has·been·completely·processed.·So,·an·input·file
67 ···············file·can·define·many·"standard"·macros,·which·are·then·expanded·by·a96 ···············can·define·many·"standard"·macros,·which·are·then·expanded·by·a·template·file
68 ···············template·file·to·form·a·consistent·page·layout.97 ···············to·form·a·consistent·page·layout.
69 ···············The·template·file·can·be·set·many·times,·but·only·the·last·filename98 ···············The·template·file·can·be·set·many·times,·but·only·the·last·filename·specified
70 ···············specified·will·be·processed·by·htp.·If·multiple·template·files·need·to·be99 ···············will·be·processed·by·htp.·If·multiple·template·files·need·to·be·included,
71 ···············included,·specify·one·template·file,·and·from·that·file·use·FILE·INCLUDE100 ···············specify·one·template·file,·and·from·that·file·use·FILE·INCLUDE·to·branch·off.
72 ···············to·branch·off. 
73 ···············Template·files·are·most·useful·when·placed·inside·an·htp·default_file.101 ···············Template·files·are·most·useful·when·placed·inside·an·htp·default_file.
74 ···············****·SEARCH·****102 ···············****·SEARCH·****
75 ···············A·search·path·can·be·specified,·which·is·searched·if·an·include·file103 ···············A·search·path·can·be·specified,·which·is·searched·if·an·include·file·cannot
76 ···············cannot·be·found.·This·is·handy·to·keep·a·set·of·"common"·include·files104 ···············be·found.·This·is·handy·to·keep·a·set·of·"common"·include·files·that·many
77 ···············that·many·documents·in·many·directories·may·need·to·access.·More·than·one105 ···············documents·in·many·directories·may·need·to·access.·More·than·one·directory·can
Max diff block lines reached; 3307/14511 bytes (22.79%) of diff not shown.
7.5 KB
./usr/share/doc/htp/if.html
    
Offset 114, 31 lines modifiedOffset 114, 31 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&nbsp;·<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·cla[·...·truncated·by·diffoscope;·len:·368,·SHA:·cf16eab7d3111286e5776e8c30394cdec2ecd69c87885069d63cd4536acf5ae5·...·]&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="ht[·...·truncated·by·diffoscope;·len:·108,·SHA:·13c809b8ff3f328287ac906095f4b72fc5f987cd69aee90c94573c9a69645d03·...·]&gt;</span><br>
 122 <br>
122 </code></p>123 </code></p>
123 <h2>synopsis</h2>124 <h2>synopsis</h2>
124 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building125 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
125 blocks·for·conditional·processing.··The·basic·form·is·shown·above.126 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
126 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A127 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
127 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal128 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
128 string:129 string:
129 ··<p><code>130 ··<p><code>
 131 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
130 &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> 
131 &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> 
132 </code></p>132 </code></p>
133 <P>133 <P>
134 and·a·defined·operator·is·a·test·of·a·macro's·existance:134 and·a·defined·operator·is·a·test·of·a·macro's·existance:
135 <P>135 <P>
136 ··<p><code>136 ··<p><code>
137 <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·cl[·...·truncated·by·diffoscope;·len:·76,·SHA:·4c7a18af5eabd76d7cbd31b136a8f89a972c952494490db5099c3da0fffbd4e6·...·]]</span>&gt;</span><br>137 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"increment2[·...·truncated·by·diffoscope;·len:·111,·SHA:·22df89048e4d1d1b0af38e17d1323e1f98b25e863f0723af1f0ed671a8eb7783·...·]]</span>&gt;</span><br>
138 <br>138 <br>
139 </code></p>139 </code></p>
140 <P>140 <P>
141 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the141 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
142 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that142 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
143 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the143 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
144 ELSE·block·is·taken·if·it·is·present.··A·conditional·block144 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
3.55 KB
html2text {}
    
Offset 1, 58 lines modifiedOffset 1, 62 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·······*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
4 Contents······· · ·<EM>File·"<[[ref]]FILE·NAME>"·last·updated·<[[ref]]FILE·TIME>,·<[ 
5  Introduction·[ref]]FILE·DATE></EM> 
6  License······*****·synopsis·***** 
7  Tutorial·····IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building·blocks·for·conditional 
8  Usage········processing.·The·basic·form·is·shown·above. 
9  HTP·Tags·····"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.·A·compare4  Introduction···············<[[ref]]imageurl·url="imageurl"·[·path="path/in/
 5  License····················local/filesystem"·]>
 6  Tutorial
 7  Usage······················*****·synopsis·*****
 8  HTP·Tags···················IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building
 9   ··ALTTEXT················blocks·for·conditional·processing.·The·basic·form
 10   ··BLOCK··················is·shown·above.
 11   ··BLOCKDEF···············"Conditional"·is·either·a·"compare"·or·"is
 12   ··DEF····················defined"·operation.·A·compare·operator·is·a·test
10   ··ALTTEXT··operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string:13   ··FILE···················of·the·value·of·a·macro·against·a·literal·string:
 14  [>]·IF····················· · ·<[[ref]]IF·name="Jim">...<[[ref]]/IF>
11   ··BLOCK···· · ·File·image.gif·<[[ref]]FILE·NAME="image.gif"·SIZE=KBYTE> kilobytes 
12   ··BLOCKDEF· · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE 
13   ··DEF······NAME="image.gif"·DATE> 
14   ··FILE·····and·a·defined·operator·is·a·test·of·a·macro's·existance:15   ··INC····················and·a·defined·operator·is·a·test·of·a·macro's
15  [>]·IF·······<[[ref]]imageurl·url="imageurl"·[·path="path/in/local/filesystem"·]> 
16   ··INC16   ··IMG····················existance:
 17   ··IMAGEURL···············<[[ref]]INC·macroname1="increment1"
 18   ··OPT····················[macroname2="increment2"·...·]·[GLOBAL]>
 19   ··OUTPUT
17   ··IMG······If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the20   ··QUOTE··················If·the·NOT·tag·is·present·in·the·IF·markup,·the
18   ··IMAGEURL·conditional·is·reversed.·The·first·IF·or·ELSEIF·condition·that·evaluates21   ··SET····················evaluation·of·the·conditional·is·reversed.·The
 22   ··UNDEF··················first·IF·or·ELSEIF·condition·that·evaluates·to
19   ··OPT······to·true·is·chosen.·If·none·of·the·conditions·is·true·the·ELSE·block·is23   ··UNSET··················true·is·chosen.·If·none·of·the·conditions·is·true
 24   ··USE,_$·················the·ELSE·block·is·taken·if·it·is·present.·A
 25   ··WHILE··················conditional·block·must·be·closed·with·the·/IF·tag.
 26   ··<!---··················IF·tags·can·be·nested.
20   ··OUTPUT···taken·if·it·is·present.·A·conditional·block·must·be·closed·with·the·/IF 
21   ··QUOTE····tag.·IF·tags·can·be·nested. 
22   ··SET 
23   ··UNDEF 
24   ··UNSET 
25   ··USE,_$ 
26   ··WHILE 
27   ··<!--- 
28  History27  History
29  Wish_list28  Wish_list
30  Bugs29  Bugs
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
31  page_source30  page_source
32  htp_project31  htp_project
33  htp_homepage32  htp_homepage
34 hosted·by33 hosted·by
35 Sourceforge34 Sourceforge
 35 HTML·coding·[Powered_by
36 HTML·coding 
37 [Powered_by 
38 htp]36 htp]
39 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/37 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
40 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.38 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
41 ·····Maintainers:·Jochen_Hoenicke.39 ·····Maintainers:·Jochen_Hoenicke.
42 Copyright·©·1995–96·Jim·Nelson.40 Copyright·©·1995–96·Jim·Nelson.
43 Copyright·©·2001–2014·Jochen_Hoenicke.41 Copyright·©·2001–2014·Jochen_Hoenicke.
44 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to42 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
45 terms·described·in·the·License_section.43 according·to·terms·described·in·the·License_section.
46 last·updated·Sat·May·16,·201544 last·updated·Sat·May·16,·2015
6.29 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="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <br> 
123 </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, 15 lines modifiedOffset 136, 16 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="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>143 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="htp-attrib">[macroname2</span>=[·...·truncated·by·diffoscope;·len:·148,·SHA:·0bd4001aa7116389675a913ec1cb37ee7a8b38f1a8069d3d55701a0ff2fe5674·...·]</span>&gt;</span><br>
 144 <br>
145 </code></p>145 </code></p>
146 <P>146 <P>
147 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as147 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
148 an·undefine,·and·is·removed.</P>148 an·undefine,·and·is·removed.</P>
149 <P>149 <P>
150 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout150 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
151 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an151 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
3.65 KB
html2text {}
    
Offset 1, 34 lines modifiedOffset 1, 34 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_Contents············*****·syntax·*****
 4  Introduction··············· · ·<[[ref]]IF·name>...<[[ref]]/IF>
4  Introduction···············<[[ref]]INC·macroname1="increment1" 
5  License····················[macroname2="increment2"·...·]·[GLOBAL]> 
6  Tutorial 
7  Usage······················*****·synopsis·*****5  License····················*****·synopsis·*****
8  HTP·Tags···················IMAGEURL·tells·htp,·where·to·find·images·on·the6  Tutorial···················IMAGEURL·tells·htp,·where·to·find·images·on·the
9   ··ALTTEXT················local·file·system.·declares·an·URL·replacement7  Usage······················local·file·system.·declares·an·URL·replacement
10   ··BLOCK··················that·is·used·for·size·lookups·in·any·IMG·tag.·This8  HTP·Tags···················that·is·used·for·size·lookups·in·any·IMG·tag.·This
11   ··BLOCKDEF···············definitions·takes·effect·only·if·the·IMGXY·option9   ··ALTTEXT················definitions·takes·effect·only·if·the·IMGXY·option
12   ··DEF····················is·enabled.·Beacause·htp·can't·lookup·files·in·the10   ··BLOCK··················is·enabled.·Beacause·htp·can't·lookup·files·in·the
13   ··FILE···················world·wide·web·you·have·to·map·absolute·image·URLs11   ··BLOCKDEF···············world·wide·web·you·have·to·map·absolute·image·URLs
14   ··IF·····················to·a·directory·in·the·local·file·system.12   ··DEF····················to·a·directory·in·the·local·file·system.
15   ··INC····················When·an·IMG·tag·is·encountered·where·htp·has·to13   ··FILE···················When·an·IMG·tag·is·encountered·where·htp·has·to
16   ··IMG····················insert·width·and·height·the·defined·URL14   ··IF·····················insert·width·and·height·the·defined·URL
17  [>]·IMAGEURL···············replacements·will·be·taken·into·account·(later15   ··INC····················replacements·will·be·taken·into·account·(later
18   ··OPT····················definitions·take·precedence·to·earlier):·For·each16   ··IMG····················definitions·take·precedence·to·earlier):·For·each
19   ··OUTPUT·················defined·imageurl·it·checks·(case-insensitive)·if17  [>]·IMAGEURL···············defined·imageurl·it·checks·(case-insensitive)·if
20   ··QUOTE··················it·is·a·prefix·of·the·image's·SRC·attribute.·If·it18   ··OPT····················it·is·a·prefix·of·the·image's·SRC·attribute.·If·it
21   ··SET····················matches·this·prefix·is·replaced·by·the·given·PATH.19   ··OUTPUT·················matches·this·prefix·is·replaced·by·the·given·PATH.
22   ··UNDEF··················If·no·IMAGEURL·matches·the·SRC·is·considered·as20   ··QUOTE··················If·no·IMAGEURL·matches·the·SRC·is·considered·as
23   ··UNSET··················relative·link·and·looked·up·in·the·current21   ··SET····················relative·link·and·looked·up·in·the·current
24   ··USE,_$·················directory.22   ··UNDEF··················directory.
25   ··WHILE··················For·example:23   ··UNSET··················For·example:
26   ··<!---·················· · ·<[[ref]]INC·i="1"·j="-1">24   ··USE,_$·················<[[ref]]INC·macroname1="increment1"
 25   ··WHILE··················[macroname2="increment2"·...·]·[GLOBAL]>
 26   ··<!---
27  History····················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH27  History····················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH
28  Wish_list··················attribute,·it·is·treated·as·an·undefine,·and·is28  Wish_list··················attribute,·it·is·treated·as·an·undefine,·and·is
29  Bugs·······················removed.29  Bugs·······················removed.
30 ·····························Since·you·usually·need·the·url·mapping·for·a30 ·····························Since·you·usually·need·the·url·mapping·for·a
31 ·····························number·of·images·used·throughout·a·set·of31 ·····························number·of·images·used·throughout·a·set·of
32 ·····························documents,·IMAGEURL·is·most·appropriately·put·into32 ·····························documents,·IMAGEURL·is·most·appropriately·put·into
33 ·····························an·include_file·or·the·htp.def·file.33 ·····························an·include_file·or·the·htp.def·file.
5.73 KB
./usr/share/doc/htp/img.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>=<span·class="htp-string">"Jim"</span>&gt;</span>...<span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>
121 &nbsp;·&nbsp;·File·image.gif·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">SIZE</span>=<span·class="htp-value">KBYTE</span>&gt;</span>&nbsp;kilobytes<br> 
122 &nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br> 
123 </code></p>122 </code></p>
124 <h2>synopsis</h2>123 <h2>synopsis</h2>
125 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified124 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified
126 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage125 image's·width·and·height·to·the·tag·automatically.··This·has·the·advantage
127 of·not·having·to·determine·each·image's·size·manually,·which·is·especially126 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
128 useful·if·the·image·may·change·frequently.·</P>127 useful·if·the·image·may·change·frequently.·</P>
129 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup128 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup
3.91 KB
html2text {}
    
Offset 1, 59 lines modifiedOffset 1, 64 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·IMG·******2 ******·htp·on-line·reference·:·IMG·******
3 Table_of·······*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
 4  Introduction··············· · ·<[[ref]]IF·name="Jim">...<[[ref]]/IF>
 5  License····················*****·synopsis·*****
 6  Tutorial···················img·is·a·standard·HTML·tag.·htp·can·add·the
 7  Usage······················specified·image's·width·and·height·to·the·tag
4 Contents······· · ·File·image.gif·<[[ref]]FILE·NAME="image.gif"·SIZE=KBYTE> kilobytes 
5  Introduction· · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE 
6  License······NAME="image.gif"·DATE> 
7  Tutorial·····*****·synopsis·***** 
8  Usage········img·is·a·standard·HTML·tag.·htp·can·add·the·specified·image's·width·and 
9  HTP·Tags·····height·to·the·tag·automatically.·This·has·the·advantage·of·not·having·to8  HTP·Tags···················automatically.·This·has·the·advantage·of·not
10   ··ALTTEXT··determine·each·image's·size·manually,·which·is·especially·useful·if·the 
11   ··BLOCK····image·may·change·frequently. 
12   ··BLOCKDEF·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup·attributes.·If9   ··ALTTEXT················having·to·determine·each·image's·size·manually,
 10   ··BLOCK··················which·is·especially·useful·if·the·image·may·change
 11   ··BLOCKDEF···············frequently.
 12   ··DEF····················htp·adds·this·information·with·the·WIDTH·and
 13   ··FILE···················HEIGHT·markup·attributes.·If·htp·detects·these
13   ··DEF······htp·detects·these·attributes·are·already·present·in·the·tag,·it·will·not14   ··IF·····················attributes·are·already·present·in·the·tag,·it·will
 15   ··INC····················not·modify·the·values.·If·htp·cannot·find·the
 16  [>]·IMG····················image·file,·it·will·issue·a·warning·but·not·halt
 17   ··IMAGEURL···············processing.
 18   ··OPT····················At·this·time,·GIF·(Graphic·Interchange·Format),
 19   ··OUTPUT·················PNG·(Portable·Network·Graphics),·and·JFIF·(JPEG
 20   ··QUOTE··················File·Interchange·Format)·are·supported.
 21   ··SET····················The·IMGXY_and_NOIMGXY·options·control·whether·or
 22   ··UNDEF··················not·htp·actually·adds·this·information·as·it
 23   ··UNSET··················executes.
 24   ··USE,_$·················Since·htp·is·able·to·lookup·files·only·in·the
 25   ··WHILE··················local·filesystem,·the·IMAGEURL·tag·may·be·used·to
 26   ··<!---··················map·URLs·to·local·files.
 27  History····················htp·can·also·add·default·ALT·text·to·IMG·tags
 28  Wish_list··················using·ALTTEXT.
14   ··FILE·····modify·the·values.·If·htp·cannot·find·the·image·file,·it·will·issue·a 
15   ··IF·······warning·but·not·halt·processing. 
16   ··INC······At·this·time,·GIF·(Graphic·Interchange·Format),·PNG·(Portable·Network 
17  [>]·IMG······Graphics),·and·JFIF·(JPEG·File·Interchange·Format)·are·supported. 
18   ··IMAGEURL·The·IMGXY_and_NOIMGXY·options·control·whether·or·not·htp·actually·adds 
19   ··OPT······this·information·as·it·executes. 
20   ··OUTPUT···Since·htp·is·able·to·lookup·files·only·in·the·local·filesystem,·the 
21   ··QUOTE····IMAGEURL·tag·may·be·used·to·map·URLs·to·local·files. 
22   ··SET······htp·can·also·add·default·ALT·text·to·IMG·tags·using·ALTTEXT. 
23   ··UNDEF 
24   ··UNSET 
25   ··USE,_$ 
26   ··WHILE 
27   ··<!--- 
28  History 
29  Wish_list 
30  Bugs29  Bugs
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
31  page_source30  page_source
32  htp_project31  htp_project
33  htp_homepage32  htp_homepage
34 hosted·by33 hosted·by
35 Sourceforge34 Sourceforge
 35 HTML·coding·[Powered_by
36 HTML·coding 
37 [Powered_by 
38 htp]36 htp]
39 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/37 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
40 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.38 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
41 ·····Maintainers:·Jochen_Hoenicke.39 ·····Maintainers:·Jochen_Hoenicke.
42 Copyright·©·1995–96·Jim·Nelson.40 Copyright·©·1995–96·Jim·Nelson.
43 Copyright·©·2001–2014·Jochen_Hoenicke.41 Copyright·©·2001–2014·Jochen_Hoenicke.
44 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to42 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
45 terms·described·in·the·License_section.43 according·to·terms·described·in·the·License_section.
46 last·updated·Sat·May·16,·201544 last·updated·Sat·May·16,·2015
9.12 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 36 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"increment1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"increment2"</span>·<span·class="htp-attrib">...</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br>
121 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"http://my.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/my.domain/"</span>&gt;</span><br> 
122 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/other.domain/"</span>&gt;</span><br> 
123 <br>122 <br>
124 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"logo.gif"</span>&gt;</span><br> 
125 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
126 &nbsp;·(no·URL·replacement).<br> 
127 <br> 
128 &nbsp;·For·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://my.domain.org/logo.gif"</span>&gt;</span><br> 
129 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
130 <br> 
131 &nbsp;·But·for·this·line:·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"http://other.domain.org/logo.gif"</span>&gt;</span><br> 
132 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
133 &nbsp;·will·not·be·added.<br> 
134 <br> 
135 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
136 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/htdocs/"</span>&gt;</span><br> 
137 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"/test/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/www/test/"</span>&gt;</span><br> 
138 <br> 
139 &nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/image.gif"</span>&gt;</span>&nbsp;and·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/test/image.gif"</span>&gt;</span>&nbsp;are·mapped·to<br> 
140 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
141 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
142 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
143 </code></p>123 </code></p>
144 <h2>synopsis</h2>124 <h2>synopsis</h2>
145 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a125 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
146 variable·or·for·variable·addition.··The·basic·form·is·shown·above.126 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
147 <P>127 <P>
148 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a128 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
149 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The129 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
4.97 KB
html2text {}
    
Offset 1, 49 lines modifiedOffset 1, 37 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·INC·******2 ******·htp·on-line·reference·:·INC·******
3 Table_of·······*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
 4  Introduction···············<[[ref]]INC·macroname1="increment1"
 5  License····················[macroname2="increment2"·...·]·[GLOBAL]>
 6  Tutorial
 7  Usage······················*****·synopsis·*****
 8  HTP·Tags···················The·INC·can·be·used·for·incrementing/decrementing
 9   ··ALTTEXT················a·variable·or·for·variable·addition.·The·basic
 10   ··BLOCK··················form·is·shown·above.
 11   ··BLOCKDEF···············The·"increment"·is·anything·that·evaluates·to·a
 12   ··DEF····················integer.·It·can·be·a·literal·string·or·a·macro
4 Contents······· ·<[[ref]]imageurl·url="http://my.domain.org/"·path="/var/www/my.domain/"> 
5  Introduction· ·<[[ref]]imageurl·url="other.domain.org/"·path="/var/www/other.domain/"> 
6  License 
7  Tutorial····· ·For·this·line:·<[[ref]]img·src="logo.gif"> 
8  Usage········ ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions 
9  HTP·Tags····· ·(no·URL·replacement). 
10   ··ALTTEXT 
11   ··BLOCK···· ·For·this·line:·<[[ref]]img·src="http://my.domain.org/logo.gif"> 
12   ··BLOCKDEF· ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used. 
13   ··DEF 
14   ··FILE····· ·But·for·this·line:·<[[ref]]img·src="http://other.domain.org/logo.gif"> 
15   ··IF······· ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions 
16  [>]·INC······ ·will·not·be·added. 
17   ··IMG 
18   ··IMAGEURL· ·Order·is·important;·last·IMAGEURL·tag·takes·precedence: 
19   ··OPT······ ·<[[ref]]imageurl·url="/"·path="/var/www/htdocs/"> 
20   ··OUTPUT··· ·<[[ref]]imageurl·url="/test/"·path="/var/www/test/"> 
21   ··QUOTE 
22   ··SET······ ·<[[ref]]img·src="/image.gif"> and·<[[ref]]img·src="/test/image.gif"> are 
23   ··UNDEF····mapped·to 
24   ··UNSET···· ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp. 
25   ··USE,_$··· ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second 
26   ··WHILE···· ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif. 
27   ··<!---····*****·synopsis·***** 
28  History······The·INC·can·be·used·for·incrementing/decrementing·a·variable·or·for·variable 
29  Wish_list····addition.·The·basic·form·is·shown·above. 
30  Bugs·········The·"increment"·is·anything·that·evaluates·to·a·integer.·It·can·be·a·literal 
31 ···············string·or·a·macro·preceeded·by·the·'$'-operator.·The·macroname·must·be·the13   ··FILE···················preceeded·by·the·'$'-operator.·The·macroname·must
32 ···············name·of·a·defined·macro·that·contains·an·integer.·If·the·increment·is14   ··IF·····················be·the·name·of·a·defined·macro·that·contains·an
 15  [>]·INC····················integer.·If·the·increment·is·ommitted·it·defaults
33 ···············ommitted·it·defaults·to·1.·The·effect·of·this·operation·is·that·the·macro·is16   ··IMG····················to·1.·The·effect·of·this·operation·is·that·the
34 ···············redefined·to·contain·the·sum·of·its·previous·value·and·its·increment.17   ··IMAGEURL···············macro·is·redefined·to·contain·the·sum·of·its
 18   ··OPT····················previous·value·and·its·increment.
35 ···············To·increment·or·decrement·a·variable·you·can·use·this·form:19   ··OUTPUT·················To·increment·or·decrement·a·variable·you·can·use
 20   ··QUOTE··················this·form:
36 ··············· · ·<[[ref]]INC·i="1"·j="-1">21   ··SET···················· · ·<[[ref]]INC·i="1"·j="-1">
37 ···············Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.·It·may22   ··UNDEF··················Note·that·INC·doesn't·check·if·the·strings·really
 23   ··UNSET··················denote·integers.·It·may·give·weired·results·when
38 ···············give·weired·results·when·used·on·arbitrary·strings.·The·integer·values·are24   ··USE,_$·················used·on·arbitrary·strings.·The·integer·values·are
39 ···············limited·to·the·range·-2^31..2^31.25   ··WHILE··················limited·to·the·range·-2^31..2^31.
40 ···············Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.·The·INC26   ··<!---··················Note·further·that·htp·wasn't·designed·to·do
 27  History····················extensive·calculations.·The·INC·tag·is·useful·in
41 ···············tag·is·useful·in·conjunction·with·WHILE·to·iterate·over·the·defined·blocks.28  Wish_list··················conjunction·with·WHILE·to·iterate·over·the·defined
 29  Bugs·······················blocks.
  
  
  
  
  
  
  
Offset 61, 18 lines modifiedOffset 49, 17 lines modified
  
  
61  page_source49  page_source
62  htp_project50  htp_project
63  htp_homepage51  htp_homepage
64 hosted·by52 hosted·by
65 Sourceforge53 Sourceforge
 54 HTML·coding·[Powered_by
66 HTML·coding 
67 [Powered_by 
68 htp]55 htp]
69 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/56 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
70 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.57 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
71 ·····Maintainers:·Jochen_Hoenicke.58 ·····Maintainers:·Jochen_Hoenicke.
72 Copyright·©·1995–96·Jim·Nelson.59 Copyright·©·1995–96·Jim·Nelson.
73 Copyright·©·2001–2014·Jochen_Hoenicke.60 Copyright·©·2001–2014·Jochen_Hoenicke.
74 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to·terms61 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
75 described·in·the·License_section.62 according·to·terms·described·in·the·License_section.
76 last·updated·Sat·May·16,·201563 last·updated·Sat·May·16,·2015
11.2 KB
./usr/share/doc/htp/metatag.html
    
Offset 88, 22 lines modifiedOffset 88, 18 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>95 <font·size="-2">&nbsp;1.·</font><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="htp-attrib">[APPE[·...·truncated·by·diffoscope;·len:·44,·SHA:·383f79db1c9cd344af2d0950186a12c478d0d0c3709b8c9fbdf3af5df93772d7·...·]</span>&gt;</span><br>
 96 <font·size="-2">&nbsp;2.·</font>text·block<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>97 <font·size="-2">&nbsp;3.·</font><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>
98 <font·size="-2">&nbsp;4.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(PRECIOUS|NOPRECIOUS)</span>&gt;</span><br> 
99 <font·size="-2">&nbsp;5.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(CONDENSE|SEMICONDENSE|NOCONDENSE)</span>&gt;</span><br> 
100 <font·size="-2">&nbsp;6.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">DELIM</span>=<span·class="htp-value">(HTML|SQUARE|CURLY)</span>&gt;</span><br> 
101 <font·size="-2">&nbsp;7.·</font><span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(XML|XML</span>=<span·class="htp-value">FALSE)</span>&gt;</span><br> 
102 <font·size="-2">&nbsp;8.·</font><br>98 <font·size="-2">&nbsp;4.·</font><br>
103 </code></p>99 </code></p>
104 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.100 <P>·In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.
105 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.101 The·html·code·which·implements·this·rule·is·following·in·lines·2-8.
106 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and102 between·the·<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>def</code>·and
107 <code>/def</code></a>·tags.··You·don't·have·to·understand·this103 <code>/def</code></a>·tags.··You·don't·have·to·understand·this
108 html·code,·but·you·should·understand·that·this·is·just·pure·html·to104 html·code,·but·you·should·understand·that·this·is·just·pure·html·to
109 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>105 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>
Offset 113, 21 lines modifiedOffset 109, 16 lines modified
113 file</a>.··</p>109 file</a>.··</p>
114 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing110 <P>·Often·you·want·to·define·tags·that·have·an·opening·and·a·closing
115 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp111 variant.··For·this·purpose·you·should·use·the·<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>blockdef</code></a>·tag.··When·htp
116 encounters·a·blockdef·tag·it·will·automatically·search·for·the112 encounters·a·blockdef·tag·it·will·automatically·search·for·the
117 matching·closing·tag·and·put·everything·between·these·tags·in·a·block113 matching·closing·tag·and·put·everything·between·these·tags·in·a·block
118 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>114 macro·named·<code>block</code>.··Here·is·an·example·for·this.··</P>
119 ··<p><code>115 ··<p><code>
 116 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="htp-attrib">[ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...]</span>&gt;</span><br>
120 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br> 
121 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br> 
122 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br> 
123 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br> 
124 <font·size="-2">&nbsp;5.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br> 
125 <font·size="-2">&nbsp;6.·</font><br>117 <font·size="-2">&nbsp;2.·</font><br>
126 <font·size="-2">&nbsp;7.·</font>&nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br> 
127 </code></p>118 </code></p>
128 <h2>Using·parameters</h2>119 <h2>Using·parameters</h2>
129 <p>·More·sophisticated·tags·accept·parameters.··The120 <p>·More·sophisticated·tags·accept·parameters.··The
130 <code>option</code>·parameter·lets·multiple·metatag·parameters·be121 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
131 named·and·expanded·inside·the·<code>def</code>·or122 named·and·expanded·inside·the·<code>def</code>·or
132 <code>blockdef</code>·block:·</p>123 <code>blockdef</code>·block:·</p>
133 ··<p><code>124 ··<p><code>
Offset 174, 16 lines modifiedOffset 165, 15 lines modified
174 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be165 contents·of·block·to·be·expanded·twice.··If·you·omit·it,·it·would·be
175 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the166 expanded·when·defining·the·sect-1·macro·and·when·using·it·later·in·the
176 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you167 template.··Generally·it·is·a·good·idea·to·use·noexpand·whenever·you
177 use·expand·in·a·block·around·it.</p>168 use·expand·in·a·block·around·it.</p>
178 <p>To·close·this·example·we·show·how·to·expand·the169 <p>To·close·this·example·we·show·how·to·expand·the
179 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>170 <code>sect-${sect-ctr}</code>·blocks·in·the·template:</p>
180 ··<p><code>171 ··<p><code>
 172 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
181 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="htp-attrib">[ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...]</span>&gt;</span><br> 
182 <font·size="-2">&nbsp;2.·</font><br> 
183 </code></p>173 </code></p>
184 <p>174 <p>
185 The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether175 The·<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">while</a>·tag·in·line·3·checks·whether
186 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is176 the·macro·sect-${sect-ctr}·is·defined.··If·it·is·defined·the·body·is
187 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards177 evaluated,·which·expands·the·macro·and·increases·sect-ctr.··Afterwards
188 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This178 the·while·condition·is·checked·again·to·check·for·sect-2·macro.··This
189 repeats·until·sect-${sect-ctr}·is·not·defined.179 repeats·until·sect-${sect-ctr}·is·not·defined.
4.25 KB
html2text {}
    
Offset 6, 42 lines modifiedOffset 6, 33 lines modified
6  Introduction··a·metatag·you·have·to·provide·the·HTML·code·which·it·abbreviates.·In6  Introduction··a·metatag·you·have·to·provide·the·HTML·code·which·it·abbreviates.·In
7  License·······fact·metatags·are·just·like·block·macros,·but·they·have·a·nicer7  License·······fact·metatags·are·just·like·block·macros,·but·they·have·a·nicer
8  Tutorial······syntax.·With·metatags·you·can·expand·htp's·functionality.8  Tutorial······syntax.·With·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·fancy11   ··Templates·As·an·example·we·show·how·to·define·a·tag·that·builds·a·fancy
12   ··Files·····horizontal·rule·out·of·several·images.12   ··Files·····horizontal·rule·out·of·several·images.
 13  [>]·Metatags·· 1.<[[ref]]OUTPUT·FILE="outputfilename"·[APPEND]·[EXPAND]>
 14  Usage········· 2.text·block
 15  HTP_Tags······ 3.<[[ref]]/OUTPUT>
 16  History······· 4.
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)> 
20 ················ 8. 
21 ················In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.·The17  Wish_list·····In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.·The
22 ················html·code·which·implements·this·rule·is·following·in·lines·2-8.18  Bugs··········html·code·which·implements·this·rule·is·following·in·lines·2-8.
23 ················between·the·[[ref]]def_and_/def·tags.·You·don't·have·to·understand19 ················between·the·[[ref]]def_and_/def·tags.·You·don't·have·to·understand
24 ················this·html·code,·but·you·should·understand·that·this·is·just·pure·html20 ················this·html·code,·but·you·should·understand·that·this·is·just·pure·html
25 ················to·draw·the·fancy·rule.·Every·time·you·write·<imghr>·as·in·line·1221 ················to·draw·the·fancy·rule.·Every·time·you·write·<imghr>·as·in·line·12
26 ················htp·will·replace·this·tag·with·the·corresponding·html·code.·To·make22 ················htp·will·replace·this·tag·with·the·corresponding·html·code.·To·make
27 ················metatags·available·to·all·htp·documents·in·your·project,·place·them23 ················metatags·available·to·all·htp·documents·in·your·project,·place·them
28 ················in·a·common·[[ref]]include_file.24 ················in·a·common·[[ref]]include_file.
29 ················Often·you·want·to·define·tags·that·have·an·opening·and·a·closing25 ················Often·you·want·to·define·tags·that·have·an·opening·and·a·closing
30 ················variant.·For·this·purpose·you·should·use·the·[[ref]]blockdef·tag.26 ················variant.·For·this·purpose·you·should·use·the·[[ref]]blockdef·tag.
31 ················When·htp·encounters·a·blockdef·tag·it·will·automatically·search·for27 ················When·htp·encounters·a·blockdef·tag·it·will·automatically·search·for
32 ················the·matching·closing·tag·and·put·everything·between·these·tags·in·a28 ················the·matching·closing·tag·and·put·everything·between·these·tags·in·a
33 ················block·macro·named·block.·Here·is·an·example·for·this.29 ················block·macro·named·block.·Here·is·an·example·for·this.
 30 ················ 1.<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]>
34 ················ 1. ·<[[ref]]blockdef·name="bolditalic"> 
35 ················ 2. · ·<b><i> 
36 ················ 3. · ·<[[ref]]use·block> 
37 ················ 4. · ·</i></b> 
38 ················ 5. ·<[[ref]]/blockdef> 
39 ················ 6.31 ················ 2.
40 ················ 7. ·This·is·<bolditalic>bold·and·italic</bolditalic> 
41 ················*****·Using·parameters·*****32 ················*****·Using·parameters·*****
42 ················More·sophisticated·tags·accept·parameters.·The·option·parameter·lets33 ················More·sophisticated·tags·accept·parameters.·The·option·parameter·lets
43 ················multiple·metatag·parameters·be·named·and·expanded·inside·the·def·or34 ················multiple·metatag·parameters·be·named·and·expanded·inside·the·def·or
44 ················blockdef·block:35 ················blockdef·block:
45 ················ 1. ·<[[ref]]def·name="sharedimg"·option="name·alt">36 ················ 1. ·<[[ref]]def·name="sharedimg"·option="name·alt">
46 ················ 2. · ·<[[ref]]img·src="/home/sharedimages/${name}"·alt="${alt}">;37 ················ 2. · ·<[[ref]]img·src="/home/sharedimages/${name}"·alt="${alt}">;
47 ················ 3. ·<[[ref]]/def>38 ················ 3. ·<[[ref]]/def>
Offset 79, 16 lines modifiedOffset 70, 15 lines modified
79 ················The·noexpand·attribute·of·the·[[ref]]use·tag·is·just·the·opposite·and70 ················The·noexpand·attribute·of·the·[[ref]]use·tag·is·just·the·opposite·and
80 ················prevents·the·contents·of·block·to·be·expanded·twice.·If·you·omit·it,71 ················prevents·the·contents·of·block·to·be·expanded·twice.·If·you·omit·it,
81 ················it·would·be·expanded·when·defining·the·sect-1·macro·and·when·using·it72 ················it·would·be·expanded·when·defining·the·sect-1·macro·and·when·using·it
82 ················later·in·the·template.·Generally·it·is·a·good·idea·to·use·noexpand73 ················later·in·the·template.·Generally·it·is·a·good·idea·to·use·noexpand
83 ················whenever·you·use·expand·in·a·block·around·it.74 ················whenever·you·use·expand·in·a·block·around·it.
84 ················To·close·this·example·we·show·how·to·expand·the·sect-${sect-ctr}75 ················To·close·this·example·we·show·how·to·expand·the·sect-${sect-ctr}
85 ················blocks·in·the·template:76 ················blocks·in·the·template:
 77 ················ 1. · ·<[[ref]]SET·emailaddr="jnelson@crl.com">
86 ················ 1.<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]> 
87 ················ 2. 
88 ················The·[[ref]]while·tag·in·line·3·checks·whether·the·macro·sect-${sect-78 ················The·[[ref]]while·tag·in·line·3·checks·whether·the·macro·sect-${sect-
89 ················ctr}·is·defined.·If·it·is·defined·the·body·is·evaluated,·which79 ················ctr}·is·defined.·If·it·is·defined·the·body·is·evaluated,·which
90 ················expands·the·macro·and·increases·sect-ctr.·Afterwards·the·while80 ················expands·the·macro·and·increases·sect-ctr.·Afterwards·the·while
91 ················condition·is·checked·again·to·check·for·sect-2·macro.·This·repeats81 ················condition·is·checked·again·to·check·for·sect-2·macro.·This·repeats
92 ················until·sect-${sect-ctr}·is·not·defined.82 ················until·sect-${sect-ctr}·is·not·defined.
93 ················*****·Conclusions·*****83 ················*****·Conclusions·*****
94 ················This·closes·our·short·htp·tutorial.·I·hope·you·did·enjoy·it·and·see84 ················This·closes·our·short·htp·tutorial.·I·hope·you·did·enjoy·it·and·see
3.36 KB
./usr/share/doc/htp/opt.html
    
Offset 114, 22 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>&gt;</span><br>
121 &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>122 <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> 
128 if"·alt="Bubble·image"><br> 
129 </code></p>123 </code></p>
130 <h2>synopsis</h2>124 <h2>synopsis</h2>
131 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing125 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing
132 options·inside·the·actual·document·being·processed.··The·options·are126 options·inside·the·actual·document·being·processed.··The·options·are
133 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not127 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not
134 preceded·by·a·&lsquo;-&rsquo;·character.128 preceded·by·a·&lsquo;-&rsquo;·character.
135 <P>129 <P>
1.56 KB
html2text {}
    
Offset 1, 44 lines modifiedOffset 1, 38 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·······<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]>
 5  Introduction
 6  License······*****·synopsis·*****
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·Tags 
10   ··ALTTEXT·· ·This·is·<bolditalic>bold·and·italic</bolditalic> 
11   ··BLOCK····if"·alt="Bubble·image"> 
12   ··BLOCKDEF·*****·synopsis·***** 
13   ··DEF······OPT·is·an·htp·tag·that·can·be·used·to·specify·processing·options·inside·the7  Tutorial·····OPT·is·an·htp·tag·that·can·be·used·to·specify·processing·options·inside·the
14   ··FILE·····actual·document·being·processed.·The·options·are·used·exactly·as·they·would·be8  Usage········actual·document·being·processed.·The·options·are·used·exactly·as·they·would·be
15   ··IF·······on·the·command-line,·although·they·are·not·preceded·by·a·‘-’·character.9  HTP·Tags·····on·the·command-line,·although·they·are·not·preceded·by·a·‘-’·character.
16   ··INC······Click·here·for·more_information_on_using_customization_options_with_htp.10   ··ALTTEXT··Click·here·for·more_information_on_using_customization_options_with_htp.
 11   ··BLOCK
 12   ··BLOCKDEF
 13   ··DEF
 14   ··FILE
 15   ··IF
 16   ··INC
17   ··IMG17   ··IMG
18   ··IMAGEURL18   ··IMAGEURL
19  [>]·OPT19  [>]·OPT
20   ··OUTPUT20   ··OUTPUT
21   ··QUOTE21   ··QUOTE
22   ··SET22   ··SET
23   ··UNDEF23   ··UNDEF
24   ··UNSET24   ··UNSET
25   ··USE,_$25   ··USE,_$
26   ··WHILE26   ··WHILE
27   ··<!---27   ··<!---
28  History28  History
29  Wish_list29  Wish_list
30  Bugs30  Bugs
  
  
  
  
  
  
31  page_source31  page_source
32  htp_project32  htp_project
33  htp_homepage33  htp_homepage
34 hosted·by34 hosted·by
35 Sourceforge35 Sourceforge
36 HTML·coding36 HTML·coding
37 [Powered_by37 [Powered_by
6.23 KB
./usr/share/doc/htp/output.html
    
Offset 114, 21 lines modifiedOffset 114, 19 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sharedimg"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"name·alt"</span>&gt;</span><br>
 122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br>
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> 
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> 
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>123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
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 <br>
 125 &nbsp;·<span·class="htp-tag">&lt;sharedimg·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bubble.gif"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"Bubble·image"</span>&gt;</span><br>
128 </code></p>126 </code></p>
129 <h2>synopsis</h2>127 <h2>synopsis</h2>
130 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary128 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary
131 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the129 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the
132 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>130 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>
133 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you131 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
134 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text132 can·use·the·APPEND·attribute·to·extend·an·existing·file.··The·text
3.1 KB
html2text {}
    
Offset 1, 30 lines modifiedOffset 1, 31 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·······*****·syntax·*****
 4 Contents······· ·<[[ref]]def·name="sharedimg"·option="name·alt">
 5  Introduction· · ·<[[ref]]img·src="/home/sharedimages/${name}"·alt="${alt}">;
 6  License······ ·<[[ref]]/def>
 7  Tutorial
 8  Usage········ ·<sharedimg·name="bubble.gif"·alt="Bubble·image">
 9  HTP·Tags·····*****·synopsis·*****
 10   ··ALTTEXT··The·OUTPUT·tag·can·be·used·to·create·auxillary·files·besides·the
 11   ··BLOCK····main·HTML·file.·The·text·between·this·tag·and·the·corresponding
 12   ··BLOCKDEF·</OUTPUT>·tag·is·written·to·output·file.
4  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"> 
11   ··BLOCKDEF···············*****·synopsis·***** 
12   ··DEF····················The·OUTPUT·tag·can·be·used·to·create·auxillary 
13   ··FILE···················files·besides·the·main·HTML·file.·The·text·between 
14   ··IF·····················this·tag·and·the·corresponding·</OUTPUT>·tag·is 
15   ··INC····················written·to·output·file. 
16   ··IMG····················Normally·the·outputfile·is·cleared·before·writing13   ··DEF······Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
 14   ··FILE·····can·use·the·APPEND·attribute·to·extend·an·existing·file.·The·text
17   ··IMAGEURL···············to·it,·but·you·can·use·the·APPEND·attribute·to 
18   ··OPT····················extend·an·existing·file.·The·text·written·to·the 
19  [>]·OUTPUT·················file·is·normally·not·expanded,·i.e.·all·tags15   ··IF·······written·to·the·file·is·normally·not·expanded,·i.e.·all·tags
20   ··QUOTE··················inside·this·block·are·not·executed·but·written 
21   ··SET····················unmodified·to·the·file.·However,·you·can·use·the 
22   ··UNDEF··················EXPAND·attribute·to·override·this·behaviour.16   ··INC······inside·this·block·are·not·executed·but·written·unmodified·to·the
 17   ··IMG······file.·However,·you·can·use·the·EXPAND·attribute·to·override·this
 18   ··IMAGEURL·behaviour.
 19   ··OPT
 20  [>]·OUTPUT
 21   ··QUOTE
 22   ··SET
 23   ··UNDEF
23   ··UNSET24   ··UNSET
24   ··USE,_$25   ··USE,_$
25   ··WHILE26   ··WHILE
26   ··<!---27   ··<!---
27  History28  History
28  Wish_list29  Wish_list
29  Bugs30  Bugs
Offset 32, 27 lines modifiedOffset 33, 23 lines modified
  
  
  
  
  
  
  
  
  
  
  
  
32  page_source33  page_source
33  htp_project34  htp_project
34  htp_homepage35  htp_homepage
35 hosted·by36 hosted·by
36 Sourceforge37 Sourceforge
37 HTML·coding·[Powered_by38 HTML·coding
 39 [Powered_by
38 htp]40 htp]
39 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/41 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
40 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.42 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
41 ·····Maintainers:·Jochen_Hoenicke.43 ·····Maintainers:·Jochen_Hoenicke.
42 Copyright·©·1995–96·Jim·Nelson.44 Copyright·©·1995–96·Jim·Nelson.
43 Copyright·©·2001–2014·Jochen_Hoenicke.45 Copyright·©·2001–2014·Jochen_Hoenicke.
44 Permission·to·reproduce·and·distribute·this·hypertext·document·granted46 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according
45 according·to·terms·described·in·the·License_section.47 to·terms·described·in·the·License_section.
46 last·updated·Sat·May·16,·201548 last·updated·Sat·May·16,·2015
7.03 KB
./usr/share/doc/htp/set.html
    
Offset 114, 24 lines modifiedOffset 114, 27 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">macroname2</span>=<span·class="htp-string">"macrovalue2"</span>·<span·class="htp-attrib">...</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">GLOBAL</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <br>121 <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>
 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>
 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>
123 </code></p>128 </code></p>
124 <h2>synopsis</h2>129 <h2>synopsis</h2>
125 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded130 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
126 anywhere·in·the·HTML·document.··To·create·a·macro:131 anywhere·in·the·HTML·document.··To·create·a·macro:
127 ··<p><code>132 ··<p><code>
 133 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
128 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br> 
129 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br> 
130 <br> 
131 </code></p>134 </code></p>
132 <P>135 <P>
133 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">136 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">
134 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular137 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular
135 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the138 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
136 <A·HREF="use.html">'$'</A>·operator.139 <A·HREF="use.html">'$'</A>·operator.
137 <P>140 <P>
3.71 KB
html2text {}
    
Offset 1, 37 lines modifiedOffset 1, 39 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·SET·******2 ******·htp·on-line·reference·:·SET·******
3 Table_of_Contents············*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
4  Introduction···············<[[ref]]SET·macroname1="macrovalue1" 
5  License····················[macroname2="macrovalue2"·...]·[GLOBAL]> 
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···················SET·creates·a·macro·definition·that·can·later·be12   ··DEF····················SET·creates·a·macro·definition·that·can·later·be
9   ··ALTTEXT················expanded·anywhere·in·the·HTML·document.·To·create13   ··FILE···················expanded·anywhere·in·the·HTML·document.·To·create
10   ··BLOCK··················a·macro:14   ··IF·····················a·macro:
 15   ··INC···················· · ·<[[ref]]SET·emailaddr="jnelson@crl.com">
11   ··BLOCKDEF···············<[[ref]]UNDEF·tagname> 
12   ··DEF····················<[[ref]]UNDEF·tagname1·tagname2·...·> 
13   ··FILE 
14   ··IF·····················The·macro·"emailaddr"·can·then·be·expanded·later.16   ··IMG····················The·macro·"emailaddr"·can·then·be·expanded·later.
15   ··INC····················The·USE·tag·is·used·to·expand·the·macro·outside·a17   ··IMAGEURL···············The·USE·tag·is·used·to·expand·the·macro·outside·a
16   ··IMG····················tag·(i.e.,·into·the·regular·text).·If·the·macro18   ··OPT····················tag·(i.e.,·into·the·regular·text).·If·the·macro
17   ··IMAGEURL···············needs·to·be·expanded·inside·a·markup·tag,·use·the19   ··OUTPUT·················needs·to·be·expanded·inside·a·markup·tag,·use·the
18   ··OPT····················'$'·operator.20   ··QUOTE··················'$'·operator.
19   ··OUTPUT·················Multiple·macros·can·be·declared·in·a·single·markup21  [>]·SET····················Multiple·macros·can·be·declared·in·a·single·markup
20   ··QUOTE··················tag,·as·the·second·syntax·line·shows.22   ··UNDEF··················tag,·as·the·second·syntax·line·shows.
21  [>]·SET····················SET·should·only·be·used·for·a·single·line's·worth23   ··UNSET··················SET·should·only·be·used·for·a·single·line's·worth
22   ··UNDEF··················of·text.·Multi-line·macros·can·be·defined·with·the24   ··USE,_$·················of·text.·Multi-line·macros·can·be·defined·with·the
23   ··UNSET··················BLOCK·tag.·The·BLOCK·tag·is·also·useful·if·the25   ··WHILE··················BLOCK·tag.·The·BLOCK·tag·is·also·useful·if·the
24   ··USE,_$·················macro·contains·a·quotation·character·and·you·don't26   ··<!---··················macro·contains·a·quotation·character·and·you·don't
25   ··WHILE··················want·to·fool·around·with·special·escape27  History····················want·to·fool·around·with·special·escape
26   ··<!---··················characters.28  Wish_list··················characters.
27  History····················Macros·can·be·redefined·by·using·another·SET29  Bugs·······················Macros·can·be·redefined·by·using·another·SET
28  Wish_list··················command·with·the·same·macro·name.·The·prior30 ·····························command·with·the·same·macro·name.·The·prior
29  Bugs·······················definition·will·be·destroyed,·however.·Also,·the31 ·····························definition·will·be·destroyed,·however.·Also,·the
30 ·····························macro·can·be·removed·(destroyed)·with·the·UNSET32 ·····························macro·can·be·removed·(destroyed)·with·the·UNSET
31 ·····························tag.33 ·····························tag.
  
  
  
  
  
2.84 KB
./usr/share/doc/htp/undef.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 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">emailaddr</span>=<span·class="htp-string">"jnelson@crl.com"</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br> 
123 <br> 
124 </code></p>122 </code></p>
125 <h2>synopsis</h2>123 <h2>synopsis</h2>
126 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags124 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags
127 created·by·<A·HREF="def.html">DEF</A>·and·<A125 created·by·<A·HREF="def.html">DEF</A>·and·<A
128 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF126 HREF="blockdef.html">BLOCKDEF</A>·can·be·removed·with·the·UNDEF
129 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by127 command.··Once·removed,·the·metatag·will·no·longer·be·recognized·by
130 htp·until·it·is·reassigned.··</P>128 htp·until·it·is·reassigned.··</P>
1.6 KB
html2text {}
    
Offset 1, 22 lines modifiedOffset 1, 22 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]]SET·emailaddr="jnelson@crl.com">
4  Introduction···············<[[ref]]UNDEF·tagname> 
5  License····················<[[ref]]UNDEF·tagname1·tagname2·...·> 
6  Tutorial 
7  Usage······················*****·synopsis·*****5  License····················*****·synopsis·*****
8  HTP·Tags···················UNDEF·removes·a·metatag·definition.·Metatags6  Tutorial···················UNDEF·removes·a·metatag·definition.·Metatags
9   ··ALTTEXT················created·by·DEF·and·BLOCKDEF·can·be·removed·with7  Usage······················created·by·DEF·and·BLOCKDEF·can·be·removed·with
10   ··BLOCK··················the·UNDEF·command.·Once·removed,·the·metatag·will8  HTP·Tags···················the·UNDEF·command.·Once·removed,·the·metatag·will
11   ··BLOCKDEF···············no·longer·be·recognized·by·htp·until·it·is9   ··ALTTEXT················no·longer·be·recognized·by·htp·until·it·is
12   ··DEF····················reassigned.10   ··BLOCK··················reassigned.
13   ··FILE···················Multiple·metatags·can·be·removed·by·placing·each11   ··BLOCKDEF···············Multiple·metatags·can·be·removed·by·placing·each
14   ··IF·····················name·as·an·attribute.12   ··DEF····················name·as·an·attribute.
 13   ··FILE
 14   ··IF
15   ··INC15   ··INC
16   ··IMG16   ··IMG
17   ··IMAGEURL17   ··IMAGEURL
18   ··OPT18   ··OPT
19   ··OUTPUT19   ··OUTPUT
20   ··QUOTE20   ··QUOTE
21   ··SET21   ··SET
Offset 27, 16 lines modifiedOffset 27, 14 lines modified
27   ··<!---27   ··<!---
28  History28  History
29  Wish_list29  Wish_list
30  Bugs30  Bugs
  
  
  
  
  
31  page_source31  page_source
32  htp_project32  htp_project
33  htp_homepage33  htp_homepage
34 hosted·by34 hosted·by
35 Sourceforge35 Sourceforge
36 HTML·coding·[Powered_by36 HTML·coding·[Powered_by
37 htp]37 htp]
8.2 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 44 lines modifiedOffset 114, 38 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>
134 <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> 
135 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
136 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br>135 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 136 &nbsp;·&nbsp;·block<br>
 137 <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>
137 <br>138 <br>
138 </code></p>139 </code></p>
139 <P>140 <P>
140 More·than·one·macro·may·be·removed·in·the·same·tag:141 More·than·one·macro·may·be·removed·in·the·same·tag:
141 ··<p><code>142 ··<p><code>
142 <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> 
143 &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>143 <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>
 144 <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>
144 <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 <br> 
146 <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 <br> 
148 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 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 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>145 </code></p>
152 <p>146 <p>
153 </td>147 </td>
154 </tr>148 </tr>
155 <tr>149 <tr>
156 <td·width="20%"·bgcolor="white"·valign="bottom">150 <td·width="20%"·bgcolor="white"·valign="bottom">
157 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">151 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
3.15 KB
html2text {}
    
Offset 1, 37 lines modifiedOffset 1, 36 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·UNSET·******2 ******·htp·on-line·reference·:·UNSET·******
3 Table_of··········*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
4 Contents··········<[[ref]]unset·macroname> 
5  Introduction····<[[ref]]unset·macroname1·macroname2·...·> 
6  License 
7  Tutorial········*****·synopsis·***** 
8  Usage···········UNSET·removes·(or·deletes)·a·macro·and·it's·definition.·The 
9  HTP·Tags········macro·is·subsequently·not·available·for·use·in·the·pre- 
10   ··ALTTEXT·····processed·files.·(Note·that·simply·redefining·the·macro·with 
11   ··BLOCK·······another·SET·or·BLOCK·definition·with·the·same·name·is 
12   ··BLOCKDEF····acceptable.·The·old·macro·definition·will·be·removed 
13   ··DEF·········automatically.) 
14   ··FILE········For·example: 
15   ··IF··········<[[ref]]use·macroname·[parameters·...]·[noexpand]>4  Introduction···············<[[ref]]use·macroname·[parameters·...]·[noexpand]>
16   ··INC·········<...·$macroname·...>5  License····················<...·$macroname·...>
17   ··IMG·········<...·${macroname}·...>6  Tutorial···················<...·${macroname}·...>
18   ··IMAGEURL7  Usage
 8  HTP·Tags···················*****·synopsis·*****
 9   ··ALTTEXT················UNSET·removes·(or·deletes)·a·macro·and·it's
 10   ··BLOCK··················definition.·The·macro·is·subsequently·not
 11   ··BLOCKDEF···············available·for·use·in·the·pre-processed·files.
 12   ··DEF····················(Note·that·simply·redefining·the·macro·with
 13   ··FILE···················another·SET·or·BLOCK·definition·with·the·same·name
 14   ··IF·····················is·acceptable.·The·old·macro·definition·will·be
 15   ··INC····················removed·automatically.)
 16   ··IMG····················For·example:
 17   ··IMAGEURL···············<[[ref]]WHILE·[NOT]·conditional>
 18   ··OPT···················· · ·block
 19   ··OUTPUT·················<[[ref]]/WHILE>
 20   ··QUOTE
19   ··OPT·········More·than·one·macro·may·be·removed·in·the·same·tag:21   ··SET····················More·than·one·macro·may·be·removed·in·the·same
 22   ··UNDEF··················tag:
 23  [>]·UNSET··················<a·href="mailto:$email">mailto·hyperlink</a>
 24   ··USE,_$·················<a·href="http://$domain/~${username}/">another
 25   ··WHILE··················hyperlink</a>
 26   ··<!---
 27  History
 28  Wish_list
20   ··OUTPUT······<[[ref]]block·stuff> 
21   ··QUOTE······· ·<a·href=$email>send·email</a> 
22   ··SET·········<[[ref]]/block> 
23   ··UNDEF 
24  [>]·UNSET·······<[[ref]]set·morestuff=$email> 
25   ··USE,_$ 
26   ··WHILE·······This·works:· · ·<[[ref]]use·stuff·email="jnelson@crl.com"> 
27   ··<!---·······But·this·fails:·<[[ref]]use·email> 
28  History·········And·this·fails:·<[[ref]]use·morestuff 
29  Wish_list·······email="jnelson@crl.com"> 
30  Bugs29  Bugs
  
  
  
  
  
  
Offset 41, 25 lines modifiedOffset 40, 21 lines modified
  
  
  
  
  
  
  
  
  
  
  
41  page_source40  page_source
42  htp_project41  htp_project
43  htp_homepage42  htp_homepage
44 hosted·by43 hosted·by
45 Sourceforge44 Sourceforge
46 HTML·coding 
47 [Powered_by_htp]45 HTML·coding·[Powered_by
 46 htp]
48 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/47 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
49 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.48 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
50 ·····Maintainers:·Jochen_Hoenicke.49 ·····Maintainers:·Jochen_Hoenicke.
51 Copyright·©·1995–96·Jim·Nelson.50 Copyright·©·1995–96·Jim·Nelson.
52 Copyright·©·2001–2014·Jochen_Hoenicke.51 Copyright·©·2001–2014·Jochen_Hoenicke.
53 Permission·to·reproduce·and·distribute·this·hypertext·document·granted52 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
54 according·to·terms·described·in·the·License_section.53 according·to·terms·described·in·the·License_section.
11.8 KB
./usr/share/doc/htp/use.html
    
Offset 114, 15 lines modifiedOffset 114, 15 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>&gt;</span><br>121 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>
122 </code></p>122 </code></p>
123 <h2>synopsis</h2>123 <h2>synopsis</h2>
124 <strong>USE</strong>·will·expand·macros·that·have·been·previously124 <strong>USE</strong>·will·expand·macros·that·have·been·previously
125 declared·with·either·<A·HREF="set.html">SET</A>·or·<A125 declared·with·either·<A·HREF="set.html">SET</A>·or·<A
126 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other126 HREF="block.html">BLOCK</A>.··USE·can·only·be·used·outside·of·other
127 markup·tags.127 markup·tags.
128 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will128 <p>·If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will
Offset 132, 23 lines modifiedOffset 132, 15 lines modified
132 attribute·to·prevent·further·expansion.··</p>132 attribute·to·prevent·further·expansion.··</p>
133 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros133 <p>·USE·will·accept·additional·parameters,·which·are·"local"·macros
134 for·the·expanded·macro.··This·is·only·valid·for·<A134 for·the·expanded·macro.··This·is·only·valid·for·<A
135 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A135 HREF="block.html">BLOCK</A>·macros.··Macros·created·using·<A
136 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For136 HREF="set.html">SET</A>·cannot·have·parameters·passed.··For
137 example:</p>137 example:</p>
138 ··<p><code>138 ··<p><code>
 139 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>·<span·class="htp-attrib">home_url</span>·<span·class="htp-attrib">login_name</span>&gt;</span><br>
139 <font·size="-2">&nbsp;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> 
140 <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> 
141 <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> 
142 <font·size="-2">&nbsp;4.·</font><br> 
143 <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> 
144 <font·size="-2">&nbsp;6.·</font><br> 
145 <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> 
146 <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> 
147 <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> 
148 </code></p>140 </code></p>
149 <P>141 <P>
150 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on142 (See·below·for·a·description·of·the·'$'·operator.)··The·example·on
151 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and143 line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,·and
152 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8144 the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.··Line·8
153 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is145 fails·because·the·"email"·macro·is·unavailable·once·the·block·macro·is
154 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.146 completely·expanded,·and·cannot·be·passed·to·a·SET·macro.
Offset 159, 18 lines modifiedOffset 151, 16 lines modified
159 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or151 Inside·a·markup·tag,·like·<a·href="img.html">IMG</a>,·A·(anchor),·or
160 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.152 any·other·standard·HTML·or·htp·tag,·the·'$'·operator·must·be·used.
161 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or153 The·'$'·should·be·immediately·followed·by·the·macro·name,·which·may·or
162 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it154 may·not·be·surrounded·by·curly·braces.··When·htp·encounters·this·it
163 replaces·the·macro·name·by·the·contents·of·the·macro·without·further155 replaces·the·macro·name·by·the·contents·of·the·macro·without·further
164 processing·the·contents.156 processing·the·contents.
165 ··<p><code>157 ··<p><code>
 158 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"mailto:<span·class="htp-macro">$email</span>"</span>&gt;</span>mailto·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
 159 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;a·<span·class="htp-attrib">href</span>=<span·class="htp-string">"http://<span·class="htp-macro">$domain</span>/~<span·class="htp-macro">${username}</span>/"</span>&gt;</span>another·hyperlink<span·class="htp-tag">&lt;/a&gt;</span><br>
166 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
167 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·block<br> 
168 <font·size="-2">&nbsp;3.·</font><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 <font·size="-2">&nbsp;4.·</font><br> 
170 </code></p>160 </code></p>
171 <P>161 <P>
172 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and162 The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and
173 should·never·cause·confusion·with·surrounding·text.··If·no·curly163 should·never·cause·confusion·with·surrounding·text.··If·no·curly
174 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation164 braces·are·used·the·macro·name·consists·either·of·a·single·punctuation
175 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;165 character·or·the·maximum·sequence·of·letters,·digits,·&quot;-&quot;
176 and·&quot;_&quot;·that·follows·it.166 and·&quot;_&quot;·that·follows·it.
6.19 KB
html2text {}
    
Offset 1, 71 lines modifiedOffset 1, 62 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·······*****·syntax·*****
4 Contents······· · ·<[[ref]]unset·email_addr·home_url·login_name>4 Contents······· · ·<[[ref]]unset·email_addr>
5  Introduction·*****·synopsis·*****5  Introduction·*****·synopsis·*****
6  License······USE·will·expand·macros·that·have·been·previously·declared·with6  License······USE·will·expand·macros·that·have·been·previously·declared·with
7  Tutorial·····either·SET·or·BLOCK.·USE·can·only·be·used·outside·of·other·markup7  Tutorial·····either·SET·or·BLOCK.·USE·can·only·be·used·outside·of·other
8  Usage········tags.8  Usage········markup·tags.
9  HTP·Tags·····If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will9  HTP·Tags·····If·you·USE·a·block·macro·the·value·of·expanded·block·macros·will
10   ··ALTTEXT··be·further·parsed·by·htp.·This·is·maybe·not·what·you·want,·for10   ··ALTTEXT··be·further·parsed·by·htp.·This·is·maybe·not·what·you·want,·for
11   ··BLOCK····example,·if·the·use·is·inside·a·block·which·expands·itself.·You11   ··BLOCK····example,·if·the·use·is·inside·a·block·which·expands·itself.·You
12   ··BLOCKDEF·can·use·the·noexpand·attribute·to·prevent·further·expansion.12   ··BLOCKDEF·can·use·the·noexpand·attribute·to·prevent·further·expansion.
13   ··DEF······USE·will·accept·additional·parameters,·which·are·"local"·macros13   ··DEF······USE·will·accept·additional·parameters,·which·are·"local"·macros
14   ··FILE·····for·the·expanded·macro.·This·is·only·valid·for·BLOCK·macros.14   ··FILE·····for·the·expanded·macro.·This·is·only·valid·for·BLOCK·macros.
15   ··IF·······Macros·created·using·SET·cannot·have·parameters·passed.·For15   ··IF·······Macros·created·using·SET·cannot·have·parameters·passed.·For
16   ··INC······example:16   ··INC······example:
 17   ··IMG······ 1. · ·<[[ref]]unset·email_addr·home_url·login_name>
17   ··IMG······ 1.<[[ref]]block·stuff> 
18   ··IMAGEURL· 2. ·<a·href=$email>send·email</a> 
19   ··OPT······ 3.<[[ref]]/block> 
20   ··OUTPUT··· 4. 
21   ··QUOTE···· 5.<[[ref]]set·morestuff=$email> 
22   ··SET······ 6. 
23   ··UNDEF···· 7.This·works:· · ·<[[ref]]use·stuff·email="jnelson@crl.com"> 
24   ··UNSET···· 8.But·this·fails:·<[[ref]]use·email> 
25  [>]·USE,_$··· 9.And·this·fails:·<[[ref]]use·morestuff·email="jnelson@crl.com"> 
26   ··WHILE····(See·below·for·a·description·of·the·'$'·operator.)·The·example·on18   ··IMAGEURL·(See·below·for·a·description·of·the·'$'·operator.)·The·example
27   ··<!---····line·7·works·because·"stuff"·has·been·declared·as·a·block·macro,19   ··OPT······on·line·7·works·because·"stuff"·has·been·declared·as·a·block
28  History······and·the·tag·is·passing·the·"email"·macro·to·the·"stuff"·macro.20   ··OUTPUT···macro,·and·the·tag·is·passing·the·"email"·macro·to·the·"stuff"
29  Wish_list····Line·8·fails·because·the·"email"·macro·is·unavailable·once·the21   ··QUOTE····macro.·Line·8·fails·because·the·"email"·macro·is·unavailable
30  Bugs·········block·macro·is·completely·expanded,·and·cannot·be·passed·to·a·SET22   ··SET······once·the·block·macro·is·completely·expanded,·and·cannot·be
31 ···············macro.23   ··UNDEF····passed·to·a·SET·macro.
32 ···············Note·that·the·"email"·macro·is·available·to·other·macros·or24   ··UNSET····Note·that·the·"email"·macro·is·available·to·other·macros·or
33 ···············included·files·called·within·the·"stuff"·block.25  [>]·USE,_$···included·files·called·within·the·"stuff"·block.
34 ···············Inside·a·markup·tag,·like·IMG,·A·(anchor),·or·any·other·standard26   ··WHILE····Inside·a·markup·tag,·like·IMG,·A·(anchor),·or·any·other·standard
35 ···············HTML·or·htp·tag,·the·'$'·operator·must·be·used.·The·'$'·should·be27   ··<!---····HTML·or·htp·tag,·the·'$'·operator·must·be·used.·The·'$'·should
36 ···············immediately·followed·by·the·macro·name,·which·may·or·may·not·be28  History······be·immediately·followed·by·the·macro·name,·which·may·or·may·not
37 ···············surrounded·by·curly·braces.·When·htp·encounters·this·it·replaces29  Wish_list····be·surrounded·by·curly·braces.·When·htp·encounters·this·it
38 ···············the·macro·name·by·the·contents·of·the·macro·without·further30  Bugs·········replaces·the·macro·name·by·the·contents·of·the·macro·without
39 ···············processing·the·contents.31 ···············further·processing·the·contents.
 32 ··············· 1.<a·href="mailto:$email">mailto·hyperlink</a>
 33 ··············· 2.<a·href="http://$domain/~${username}/">another·hyperlink</a>
40 ··············· 1.<[[ref]]WHILE·[NOT]·conditional> 
41 ··············· 2. · ·block 
42 ··············· 3.<[[ref]]/WHILE> 
43 ··············· 4. 
44 ···············The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust·and34 ···············The·use·of·curly·braces·is·encouraged,·since·it·is·more·robust
45 ···············should·never·cause·confusion·with·surrounding·text.·If·no·curly35 ···············and·should·never·cause·confusion·with·surrounding·text.·If·no
46 ···············braces·are·used·the·macro·name·consists·either·of·a·single36 ···············curly·braces·are·used·the·macro·name·consists·either·of·a·single
47 ···············punctuation·character·or·the·maximum·sequence·of·letters,·digits,37 ···············punctuation·character·or·the·maximum·sequence·of·letters,
48 ···············"-"·and·"_"·that·follows·it.38 ···············digits,·"-"·and·"_"·that·follows·it.
49 ···············If·a·'$'·character·needs·to·be·kept·in·the·final·output,·and·not39 ···············If·a·'$'·character·needs·to·be·kept·in·the·final·output,·and·not
50 ···············interpreted·as·a·macro·name,·it·must·be·escaped·by·another·'$'40 ···············interpreted·as·a·macro·name,·it·must·be·escaped·by·another·'$'
51 ···············character.·This·is·especially·true·for·PHP·code.41 ···············character.·This·is·especially·true·for·PHP·code.
52 ···············If·the·'$'·macro·is·the·only·text·in·the·attribute's·value,·htp42 ···············If·the·'$'·macro·is·the·only·text·in·the·attribute's·value,·htp
53 ···············will·automatically·surround·it·with·quotation·marks·to·prevent43 ···············will·automatically·surround·it·with·quotation·marks·to·prevent
54 ···············spaces·from·delimiting·the·text·as·if·it·were·additional·markup44 ···············spaces·from·delimiting·the·text·as·if·it·were·additional·markup
55 ···············attributes.·If·the·'$'·macro·is·surrounded·by·other·text·(as·in45 ···············attributes.·If·the·'$'·macro·is·surrounded·by·other·text·(as·in
56 ···············the·two·examples·above),·quotation·marks·are·not·automatically46 ···············the·two·examples·above),·quotation·marks·are·not·automatically
57 ···············supplied.47 ···············supplied.
58 ···············Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and48 ···············Note·that·a·'$'·macro·can·be·placed·anywhere·in·a·markup·tag·and
59 ···············can·be·nested.·This·is·valid:49 ···············can·be·nested.·This·is·valid:
60 ··············· · ·<${tagName}·${attrName}=${value$ctr}>50 ··············· · ·<${tagName}·${attrName}=${value$ctr}>
61 ···············The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined51 ···············The·tagName·macro·can·contain·any·tag·name,·even·a·self-defined
62 ···············metatag.·Note·that·$ctr·is·expanded·before·the·valueX·macro·is52 ···············metatag.·Note·that·$ctr·is·expanded·before·the·valueX·macro·is
63 ···············expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand·value1.53 ···············expanded,·so·assuming·that·ctr·was·set·to·1·it·will·expand
 54 ···············value1.
  
  
  
  
  
  
  
Offset 91, 10 lines modifiedOffset 82, 10 lines modified
91 [Powered_by82 [Powered_by
92 htp]83 htp]
93 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/84 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
94 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.85 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
95 ·····Maintainers:·Jochen_Hoenicke.86 ·····Maintainers:·Jochen_Hoenicke.
96 Copyright·©·1995–96·Jim·Nelson.87 Copyright·©·1995–96·Jim·Nelson.
97 Copyright·©·2001–2014·Jochen_Hoenicke.88 Copyright·©·2001–2014·Jochen_Hoenicke.
98 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according89 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
99 to·terms·described·in·the·License_section.90 according·to·terms·described·in·the·License_section.
100 last·updated·Sat·May·16,·201591 last·updated·Sat·May·16,·2015
6.76 KB
./usr/share/doc/htp/while.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;·&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>121 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br>
 122 &nbsp;·&nbsp;·block<br>
 123 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
 124 <br>
122 </code></p>125 </code></p>
123 <h2>synopsis</h2>126 <h2>synopsis</h2>
124 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.127 <STRONG>WHILE</STRONG>·is·the·building·block·for·repeated·processing.
125 The·basic·form·is·shown·above.128 The·basic·form·is·shown·above.
126 <P>129 <P>
127 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.130 "Conditional"·is·either·a·"compare"·or·"is·defined"·operation.
128 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.131 A·compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string.
129 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the132 If·the·NOT·tag·is·present·in·the·WHILE·markup,·the·evaluation·of·the
130 conditional·is·reversed:133 conditional·is·reversed:
131 ··<p><code>134 ··<p><code>
 135 <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>
 136 <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>
132 &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> 
133 &nbsp;·&nbsp;·...<br> 
134 &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> 
135 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
136 </code></p>137 </code></p>
137 <P>138 <P>
138 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·a139 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
139 macro's·existance:140 macro's·existance:
140 ··<p><code>141 ··<p><code>
 142 &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>
141 &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> 
142 &nbsp;·&nbsp;·...<br> 
143 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
144 &nbsp;·<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 </code></p>143 </code></p>
146 <P>144 <P>
147 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the145 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
148 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the146 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
149 WHILE·tag·it·is·also·reevaluated·on·each·iteration.147 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
150 <P>148 <P>
151 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.149 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.
3.11 KB
html2text {}
    
Offset 1, 45 lines modifiedOffset 1, 44 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··············· · ·<${tagName}·${attrName}=${value$ctr}>4  Introduction···············<[[ref]]WHILE·[NOT]·conditional>
 5  License···················· · ·block
 6  Tutorial···················<[[ref]]/WHILE>
 7  Usage
5  License····················*****·synopsis·*****8  HTP·Tags···················*****·synopsis·*****
6  Tutorial···················WHILE·is·the·building·block·for·repeated9   ··ALTTEXT················WHILE·is·the·building·block·for·repeated
7  Usage······················processing.·The·basic·form·is·shown·above.10   ··BLOCK··················processing.·The·basic·form·is·shown·above.
8  HTP·Tags···················"Conditional"·is·either·a·"compare"·or·"is11   ··BLOCKDEF···············"Conditional"·is·either·a·"compare"·or·"is
9   ··ALTTEXT················defined"·operation.·A·compare·operator·is·a·test12   ··DEF····················defined"·operation.·A·compare·operator·is·a·test
10   ··BLOCK··················of·the·value·of·a·macro·against·a·literal·string.13   ··FILE···················of·the·value·of·a·macro·against·a·literal·string.
11   ··BLOCKDEF···············If·the·NOT·tag·is·present·in·the·WHILE·markup,·the14   ··IF·····················If·the·NOT·tag·is·present·in·the·WHILE·markup,·the
12   ··DEF····················evaluation·of·the·conditional·is·reversed:15   ··INC····················evaluation·of·the·conditional·is·reversed:
 16   ··IMG····················<a·href="mailto:$email">mailto·hyperlink</a>
 17   ··IMAGEURL···············<a·href="http://$domain/~${username}/">another
 18   ··OPT····················hyperlink</a>
13   ··FILE··················· ·<[[ref]]WHILE·NOT·i="10"> 
14   ··IF····················· · ·... 
15   ··INC···················· · ·<[[ref]]INC·i> 
16   ··IMG···················· ·<[[ref]]/WHILE> 
17   ··IMAGEURL···············Just·as·with·[[ref]]IF·you·can·also·check·for·a19   ··OUTPUT·················Just·as·with·[[ref]]IF·you·can·also·check·for·a
18   ··OPT····················macro's·existance:20   ··QUOTE··················macro's·existance:
 21   ··SET···················· · ·<${tagName}·${attrName}=${value$ctr}>
19   ··OUTPUT················· ·<[[ref]]WHILE·sect-$i> 
20   ··QUOTE·················· · ·... 
21   ··SET···················· · ·<[[ref]]INC·i> 
22   ··UNDEF·················· ·<[[ref]]/WHILE> 
23   ··UNSET··················If·the·condition·is·true,·the·block·is·evaluated22   ··UNDEF··················If·the·condition·is·true,·the·block·is·evaluated
24   ··USE,_$·················and·afterwards·the·WHILE·tag·is·evaluated·again.23   ··UNSET··················and·afterwards·the·WHILE·tag·is·evaluated·again.
25  [>]·WHILE··················If·the·'$'-operator·is·used·in·the·WHILE·tag·it·is24   ··USE,_$·················If·the·'$'-operator·is·used·in·the·WHILE·tag·it·is
26   ··<!---··················also·reevaluated·on·each·iteration.25  [>]·WHILE··················also·reevaluated·on·each·iteration.
27  History····················A·loop·block·must·be·closed·with·the·/WHILE·tag.26   ··<!---··················A·loop·block·must·be·closed·with·the·/WHILE·tag.
 27  History
28  Wish_list28  Wish_list
29  Bugs29  Bugs