205 KB
/srv/reproducible-results/rbuild-debian/r-b-build.7YCR5wm9/b1/htp_1.19-8_i386.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.7YCR5wm9/b2/htp_1.19-8_i386.changes
261 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·c47ab9305f75919f6c3b8fa4fa935992·57940·debug·optional·htp-dbgsym_1.19-8_i386.deb1 ·c47ab9305f75919f6c3b8fa4fa935992·57940·debug·optional·htp-dbgsym_1.19-8_i386.deb
2 ·970bb276a6400605fac768881a9072c6·123628·web·optional·htp_1.19-8_i386.deb2 ·893ae0d47540d6b7ab2a668b429cb0c2·123336·web·optional·htp_1.19-8_i386.deb
205 KB
htp_1.19-8_i386.deb
367 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·····3616·2020-06-14·23:21:19.000000·control.tar.xz
3 -rw-r--r--···0········0········0···119820·2020-06-14·23:21:19.000000·data.tar.xz3 -rw-r--r--···0········0········0···119528·2020-06-14·23:21:19.000000·data.tar.xz
561 B
control.tar.xz
533 B
control.tar
463 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:·i3863 Architecture:·i386
4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>4 Maintainer:·Marcelo·Soares·Mota·<motasmarcelo@gmail.com>
5 Installed-Size:·6795 Installed-Size:·648
6 Depends:·libc6·(>=·2.4)6 Depends:·libc6·(>=·2.4)
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
204 KB
data.tar.xz
204 KB
data.tar
15.3 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)····75284·2020-06-14·23:21:19.000000·./usr/bin/htp4 -rwxr-xr-x···0·root·········(0)·root·········(0)····75284·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)····15021·2020-06-14·23:21:19.000000·./usr/share/doc/htp/alttext.html8 -rw-r--r--···0·root·········(0)·root·········(0)·····9079·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)····14083·2020-06-14·23:21:19.000000·./usr/share/doc/htp/block.html10 -rw-r--r--···0·root·········(0)·root·········(0)·····8141·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)····14793·2020-06-14·23:21:19.000000·./usr/share/doc/htp/blockdef.html12 -rw-r--r--···0·root·········(0)·root·········(0)·····8840·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)·····3273·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz16 -rw-r--r--···0·root·········(0)·root·········(0)·····3273·2020-06-14·23:21:19.000000·./usr/share/doc/htp/changelog.Debian.gz
17 -rw-r--r--···0·root·········(0)·root·········(0)····15454·2020-06-14·23:21:19.000000·./usr/share/doc/htp/comment.html17 -rw-r--r--···0·root·········(0)·root·········(0)·····8463·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)····13864·2020-06-14·23:21:19.000000·./usr/share/doc/htp/def.html20 -rw-r--r--···0·root·········(0)·root·········(0)····11820·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)····10473·2020-06-14·23:21:19.000000·./usr/share/doc/htp/expand.html39 -rw-r--r--···0·root·········(0)·root·········(0)·····9797·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)····13704·2020-06-14·23:21:19.000000·./usr/share/doc/htp/file.html41 -rw-r--r--···0·root·········(0)·root·········(0)····14285·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)····12620·2020-06-14·23:21:19.000000·./usr/share/doc/htp/if.html48 -rw-r--r--···0·root·········(0)·root·········(0)····10066·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)·····8920·2020-06-14·23:21:19.000000·./usr/share/doc/htp/imageurl.html50 -rw-r--r--···0·root·········(0)·root·········(0)·····9370·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)·····8781·2020-06-14·23:21:19.000000·./usr/share/doc/htp/img.html52 -rw-r--r--···0·root·········(0)·root·········(0)·····9052·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)····12726·2020-06-14·23:21:19.000000·./usr/share/doc/htp/inc.html54 -rw-r--r--···0·root·········(0)·root·········(0)·····9695·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)····13634·2020-06-14·23:21:19.000000·./usr/share/doc/htp/metatag.html67 -rw-r--r--···0·root·········(0)·root·········(0)····13333·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)·····7911·2020-06-14·23:21:19.000000·./usr/share/doc/htp/opt.html69 -rw-r--r--···0·root·········(0)·root·········(0)·····8354·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)·····8282·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html73 -rw-r--r--···0·root·········(0)·root·········(0)·····8227·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.html
74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp74 -rw-r--r--···0·root·········(0)·root·········(0)······695·2020-06-14·23:21:19.000000·./usr/share/doc/htp/output.htp
75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/75 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/
76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png76 -rw-r--r--···0·root·········(0)·root·········(0)······171·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/arrow.png
77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png77 -rw-r--r--···0·root·········(0)·root·········(0)······262·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/download.png
78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png78 -rw-r--r--···0·root·········(0)·root·········(0)······708·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/htpicon.png
79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png79 -rw-r--r--···0·root·········(0)·root·········(0)····25563·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/logo.png
80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png80 -rw-r--r--···0·root·········(0)·root·········(0)······455·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manbig.png
81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png81 -rw-r--r--···0·root·········(0)·root·········(0)······491·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/manual.png
82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png82 -rw-r--r--···0·root·········(0)·root·········(0)·····1313·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/poweredbyhtp.png
83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png83 -rw-r--r--···0·root·········(0)·root·········(0)······679·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/sficon.png
84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png84 -rw-r--r--···0·root·········(0)·root·········(0)······492·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pic/source.png
85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl85 -rw-r--r--···0·root·········(0)·root·········(0)······523·2020-06-14·23:21:19.000000·./usr/share/doc/htp/pphtp.pl
86 -rw-r--r--···0·root·········(0)·root·········(0)·····7953·2020-06-14·23:21:19.000000·./usr/share/doc/htp/quote.html86 -rw-r--r--···0·root·········(0)·root·········(0)····11272·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)·····9306·2020-06-14·23:21:19.000000·./usr/share/doc/htp/set.html88 -rw-r--r--···0·root·········(0)·root·········(0)·····8890·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)·····8633·2020-06-14·23:21:19.000000·./usr/share/doc/htp/undef.html109 -rw-r--r--···0·root·········(0)·root·········(0)·····8578·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)····11772·2020-06-14·23:21:19.000000·./usr/share/doc/htp/unset.html111 -rw-r--r--···0·root·········(0)·root·········(0)·····9231·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)····14199·2020-06-14·23:21:19.000000·./usr/share/doc/htp/use.html115 -rw-r--r--···0·root·········(0)·root·········(0)····14199·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)····11625·2020-06-14·23:21:19.000000·./usr/share/doc/htp/while.html117 -rw-r--r--···0·root·········(0)·root·········(0)····11291·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/htp122 -rw-r--r--···0·root·········(0)·root·········(0)······235·2020-06-14·17:36:12.000000·./usr/share/doc-base/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/
10.7 KB
./usr/share/doc/htp/alttext.html
    
Offset 114, 42 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
123 <br>122 <br>
124 ><br> 
125 &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> 
126 &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> 
127 &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> 
128 &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> 
129 &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> 
130 &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> 
131 &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> 
132 &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> 
133 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
134 &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> 
135 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
136 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
137 &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> 
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
139 &nbsp;·<span·class="htp-tag">&lt;<a·href="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> 
140 &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> 
141 &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> 
142 &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> 
143 &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> 
144 &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> 
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>&gt;</span><br> 
146 &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> 
147 &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> 
148 &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> 
149 </code></p>123 </code></p>
150 <h2>synopsis</h2>124 <h2>synopsis</h2>
151 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A125 <strong>ALTTEXT</strong>·declares·an·ALT·attribute·for·any·<A
152 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.126 HREF="img.html">IMG</A>·tag·with·a·SRC·matching·the·ALTTEXT·NAME.
153 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the127 Since·relative·paths·can·be·used·to·point·to·the·same·image,·only·the
154 filename·is·considered·in·all·comparisons.128 filename·is·considered·in·all·comparisons.
155 <p>129 <p>
3.85 KB
html2text {}
    
Offset 1, 65 lines modifiedOffset 1, 38 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·······*****·syntax·*****
 4 Contents·······<[[ref]]img·src="filename"·...>
 5  Introduction
4 Contents·······<[[ref]]def·name="tagname"·[option="option1·[option2·...]"·]·[global] 
5  Introduction·[expand]> 
6  License······<[[ref]]/def> 
7  Tutorial 
8  Usage········> 
9  HTP·Tags····· ·<[[ref]]block·name=b·expand> 
10  [>]·ALTTEXT·· · ·b·is·expanded·at·time·<[[ref]]use·time>. 
11   ··BLOCK···· ·<[[ref]]/block> 
12   ··BLOCKDEF· ·<[[ref]]set·time="1"> 
13   ··DEF······ ·<[[ref]]use·a> 
14   ··FILE····· ·<[[ref]]use·b> 
15   ··IF······· ·contents·of·a:·<[[ref]]use·a·noexpand> 
16   ··INC······ ·contents·of·b:·<[[ref]]use·b·noexpand> 
17   ··IMG······ ·<[[ref]]block·name=c·expand> 
18   ··IMAGEURL· · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a> 
19   ··OPT······ ·<[[ref]]/block> 
20   ··OUTPUT··· ·<[[ref]]block·name=d·expand> 
21   ··QUOTE···· · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
22   ··SET······ ·<[[ref]]/block> 
23   ··UNDEF···· ·<[[ref]]block·name=e> 
24   ··UNSET···· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
25   ··USE,_$··· ·<[[ref]]/block> 
26   ··WHILE···· ·<[[ref]]set·time="2"> 
27   ··<!---···· ·<[[ref]]block·name=a> 
28  History······ · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>. 
29  Wish_list···· ·<[[ref]]/block> 
30  Bugs········· ·<[[ref]]use·c> 
31 ··············· ·<[[ref]]use·d> 
32 ··············· ·<[[ref]]use·e> 
33 ···············*****·synopsis·*****6  License······*****·synopsis·*****
34 ···············ALTTEXT·declares·an·ALT·attribute·for·any·IMG·tag·with·a·SRC·matching7  Tutorial·····ALTTEXT·declares·an·ALT·attribute·for·any·IMG·tag·with·a·SRC·matching
35 ···············the·ALTTEXT·NAME.·Since·relative·paths·can·be·used·to·point·to·the·same8  Usage········the·ALTTEXT·NAME.·Since·relative·paths·can·be·used·to·point·to·the·same
36 ···············image,·only·the·filename·is·considered·in·all·comparisons.9  HTP·Tags·····image,·only·the·filename·is·considered·in·all·comparisons.
37 ···············When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an10  [>]·ALTTEXT··When·an·IMG·tag·with·a·matching·source·is·encountered,·htp·will·add·an
38 ···············ALT·attribute·only·if·one·is·not·already·present.·This·allows·for·ALT11   ··BLOCK····ALT·attribute·only·if·one·is·not·already·present.·This·allows·for·ALT
39 ···············text·to·be·overridden·on·specific·images·and·default·text·on·all12   ··BLOCKDEF·text·to·be·overridden·on·specific·images·and·default·text·on·all
40 ···············others. 
41 ···············For·example:13   ··DEF······others.
 14   ··FILE·····For·example:
42 ··············· · ·<EM>File·"<[[ref]]FILE·NAME>"·last·updated·<[[ref]]FILE·TIME>,·<[15   ··IF······· · ·<EM>File·"<[[ref]]FILE·NAME>"·last·updated·<[[ref]]FILE·TIME>,·<[
43 ···············[ref]]FILE·DATE></EM>16   ··INC······[ref]]FILE·DATE></EM>
44 ···············An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT17   ··IMG······An·ALTTEXT·tag·with·a·name·but·no·text·attribute·removes·any·ALT
45 ···············mapping·for·this·image.·Successing·IMG·tags·with·a·matching·SRC·name18   ··IMAGEURL·mapping·for·this·image.·Successing·IMG·tags·with·a·matching·SRC·name
46 ···············are·not·changed.19   ··OPT······are·not·changed.
47 ···············Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,20   ··OUTPUT···Since·this·is·useful·for·an·image·used·throughout·a·set·of·documents,
48 ···············ALTTEXT·is·most·appropriate·in·an·include_file·or·a·default_file.21   ··QUOTE····ALTTEXT·is·most·appropriate·in·an·include_file·or·a·default_file.
49 ···············In·addition·to·ALTTEXT,·htp·can·also·automatically·add·WIDTH·and·HEIGHT22   ··SET······In·addition·to·ALTTEXT,·htp·can·also·automatically·add·WIDTH·and·HEIGHT
50 ···············attributes·to·IMG·tags.23   ··UNDEF····attributes·to·IMG·tags.
  
  
  
  
  
  
 24   ··UNSET
 25   ··USE,_$
 26   ··WHILE
 27   ··<!---
 28  History
 29  Wish_list
 30  Bugs
  
  
  
  
  
  
  
10.6 KB
./usr/share/doc/htp/block.html
    
Offset 114, 42 lines modifiedOffset 114, 16 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 <span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
123 <br>122 <br>
124 ><br> 
125 &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> 
126 &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> 
127 &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> 
128 &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> 
129 &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> 
130 &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> 
131 &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> 
132 &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> 
133 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
134 &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> 
135 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
136 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
137 &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> 
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
139 &nbsp;·<span·class="htp-tag">&lt;<a·href="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> 
140 &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> 
141 &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> 
142 &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> 
143 &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> 
144 &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> 
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>&gt;</span><br> 
146 &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> 
147 &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> 
148 &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> 
149 </code></p>123 </code></p>
150 <h2>synopsis</h2>124 <h2>synopsis</h2>
151 <P>125 <P>
152 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which126 <STRONG>BLOCK·and·/BLOCK</STRONG>·are·used·to·create·block·macros,·which
153 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be127 are·similar·in·use·to·<A·HREF="set.html">SET</A>·macros,·but·can·be
154 multi-line·definitions.128 multi-line·definitions.
155 </P>129 </P>
3.78 KB
html2text {}
    
Offset 1, 79 lines modifiedOffset 1, 54 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·BLOCK,·/BLOCK·******2 ******·htp·on-line·reference·:·BLOCK,·/BLOCK·******
3 Table_of·······*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
 4  Introduction···············<[[ref]]img·src="filename"·...>
 5  License
4 Contents·······<[[ref]]def·name="tagname"·[option="option1·[option2·...]"·]·[global] 
5  Introduction·[expand]> 
6  License······<[[ref]]/def> 
7  Tutorial 
8  Usage········> 
9  HTP·Tags····· ·<[[ref]]block·name=b·expand> 
10   ··ALTTEXT·· · ·b·is·expanded·at·time·<[[ref]]use·time>. 
11  [>]·BLOCK···· ·<[[ref]]/block> 
12   ··BLOCKDEF· ·<[[ref]]set·time="1"> 
13   ··DEF······ ·<[[ref]]use·a> 
14   ··FILE····· ·<[[ref]]use·b> 
15   ··IF······· ·contents·of·a:·<[[ref]]use·a·noexpand> 
16   ··INC······ ·contents·of·b:·<[[ref]]use·b·noexpand> 
17   ··IMG······ ·<[[ref]]block·name=c·expand> 
18   ··IMAGEURL· · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a> 
19   ··OPT······ ·<[[ref]]/block> 
20   ··OUTPUT··· ·<[[ref]]block·name=d·expand> 
21   ··QUOTE···· · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
22   ··SET······ ·<[[ref]]/block> 
23   ··UNDEF···· ·<[[ref]]block·name=e> 
24   ··UNSET···· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
25   ··USE,_$··· ·<[[ref]]/block> 
26   ··WHILE···· ·<[[ref]]set·time="2"> 
27   ··<!---···· ·<[[ref]]block·name=a> 
28  History······ · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>. 
29  Wish_list···· ·<[[ref]]/block> 
30  Bugs········· ·<[[ref]]use·c> 
31 ··············· ·<[[ref]]use·d> 
32 ··············· ·<[[ref]]use·e> 
33 ···············*****·synopsis·*****6  Tutorial···················*****·synopsis·*****
34 ···············BLOCK·and·/BLOCK·are·used·to·create·block·macros,·which·are·similar·in7  Usage······················BLOCK·and·/BLOCK·are·used·to·create·block·macros,
35 ···············use·to·SET·macros,·but·can·be·multi-line·definitions.8  HTP·Tags···················which·are·similar·in·use·to·SET·macros,·but·can·be
 9   ··ALTTEXT················multi-line·definitions.
36 ···············Any·text·and·formatting·may·be·set·inside·the·block.·You·can·use·any10  [>]·BLOCK··················Any·text·and·formatting·may·be·set·inside·the
 11   ··BLOCKDEF···············block.·You·can·use·any·htp·or·user·defined·metatag
37 ···············htp·or·user·defined·metatag·including·FILE_INCLUDE.·The·metatags·won't12   ··DEF····················including·FILE_INCLUDE.·The·metatags·won't·be
38 ···············be·expanded·before·the·block·is·USEd·except·if·you·give·the·EXPAND13   ··FILE···················expanded·before·the·block·is·USEd·except·if·you
39 ···············parameter.14   ··IF·····················give·the·EXPAND·parameter.
40 ···············The·block·macro·is·dereferenced·(expanded)·with·the·USE_tag_or_the_'$'15   ··INC····················The·block·macro·is·dereferenced·(expanded)·with
41 ···············operator.·See·the·notes·on·the·USE·tag·on·how·to·pass·parameters·to·a 
42 ···············block·macro. 
  
  
  
  
  
  
  
  
  
  
 16   ··IMG····················the·USE_tag_or_the_'$'_operator.·See·the·notes·on
 17   ··IMAGEURL···············the·USE·tag·on·how·to·pass·parameters·to·a·block
 18   ··OPT····················macro.
 19   ··OUTPUT
 20   ··QUOTE
 21   ··SET
 22   ··UNDEF
 23   ··UNSET
 24   ··USE,_$
 25   ··WHILE
 26   ··<!---
 27  History
 28  Wish_list
 29  Bugs
  
  
  
  
  
  
  
  
  
43  page_source30  page_source
44  htp_project31  htp_project
45  htp_homepage32  htp_homepage
46 hosted·by33 hosted·by
47 Sourceforge34 Sourceforge
 35 HTML·coding·[Powered_by
48 HTML·coding 
49 [Powered_by 
50 htp]36 htp]
51 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/37 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
52 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.38 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
53 ·····Maintainers:·Jochen_Hoenicke.39 ·····Maintainers:·Jochen_Hoenicke.
54 Copyright·©·1995–96·Jim·Nelson.40 Copyright·©·1995–96·Jim·Nelson.
55 Copyright·©·2001–2014·Jochen_Hoenicke.41 Copyright·©·2001–2014·Jochen_Hoenicke.
56 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to42 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
57 terms·described·in·the·License_section.43 according·to·terms·described·in·the·License_section.
58 last·updated·Sat·May·16,·201544 last·updated·Sat·May·16,·2015
11.9 KB
./usr/share/doc/htp/blockdef.html
    
Offset 114, 65 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="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"filename"</span>·<span·class="htp-attrib">...</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
123 <br>122 <br>
124 ><br> 
125 &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> 
126 &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> 
127 &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> 
128 &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> 
129 &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> 
130 &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> 
131 &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> 
132 &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> 
133 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
134 &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> 
135 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
136 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
137 &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> 
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
139 &nbsp;·<span·class="htp-tag">&lt;<a·href="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> 
140 &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> 
141 &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> 
142 &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> 
143 &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> 
144 &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> 
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>&gt;</span><br> 
146 &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> 
147 &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> 
148 &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> 
149 </code></p>123 </code></p>
150 <h2>synopsis</h2>124 <h2>synopsis</h2>
151 <strong>BLOCKDEF</strong>·creates·block·<A125 <strong>BLOCKDEF</strong>·creates·block·<A
152 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it126 HREF="metatag.html">metatags</A>,·which·is·a·fancy·way·of·saying·it
153 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block127 creates·new·block·tags.··A·block·tag·is·a·tag·that·takes·a·whole·block
154 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and128 as·additional·parameter.··This·block·is·surrounded·by·&lt;tagname&gt;·and
155 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored129 &lt;/tagname&gt;.··The·contents·of·this·block·are·automatically·stored
156 in·the·block·macro·named·BLOCK.130 in·the·block·macro·named·BLOCK.
157 <P>·For·example:</P>131 <P>·For·example:</P>
158 ··<p><code>132 ··<p><code>
 133 &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>
159 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
160 &nbsp;·&nbsp;·block·#1<br> 
161 [<br> 
162 <span·class="htp-tag">&lt;ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
163 &nbsp;·&nbsp;·block·#2<br> 
164 ...<br> 
165 ]<br> 
166 [<br> 
167 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
168 &nbsp;·&nbsp;·block·#3<br> 
169 ]<br> 
170 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br> 
171 <br> 
172 </code></p>134 </code></p>
173 <p>135 <p>
174 All·block·metatags·have·the·implicit·option·<a136 All·block·metatags·have·the·implicit·option·<a
175 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents137 href="expand.html">EXPAND</A>,·which·tells·htp·to·expand·the·contents
176 of·the·block·before·the·definition·is·expanded.138 of·the·block·before·the·definition·is·expanded.
177 </p>139 </p>
178 <p>140 <p>
3.46 KB
html2text {}
    
Offset 1, 76 lines modifiedOffset 1, 38 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·BLOCKDEF,·/BLOCKDEF·******2 ******·htp·on-line·reference·:·BLOCKDEF,·/BLOCKDEF·******
3 Table_of·······*****·syntax·*****3 Table_of·······*****·syntax·*****
 4 Contents·······<[[ref]]img·src="filename"·...>
 5  Introduction
4 Contents·······<[[ref]]def·name="tagname"·[option="option1·[option2·...]"·]·[global] 
5  Introduction·[expand]> 
6  License······<[[ref]]/def> 
7  Tutorial 
8  Usage········> 
9  HTP·Tags····· ·<[[ref]]block·name=b·expand> 
10   ··ALTTEXT·· · ·b·is·expanded·at·time·<[[ref]]use·time>. 
11   ··BLOCK···· ·<[[ref]]/block> 
12  [>]·BLOCKDEF· ·<[[ref]]set·time="1"> 
13   ··DEF······ ·<[[ref]]use·a> 
14   ··FILE····· ·<[[ref]]use·b> 
15   ··IF······· ·contents·of·a:·<[[ref]]use·a·noexpand> 
16   ··INC······ ·contents·of·b:·<[[ref]]use·b·noexpand> 
17   ··IMG······ ·<[[ref]]block·name=c·expand> 
18   ··IMAGEURL· · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a> 
19   ··OPT······ ·<[[ref]]/block> 
20   ··OUTPUT··· ·<[[ref]]block·name=d·expand> 
21   ··QUOTE···· · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
22   ··SET······ ·<[[ref]]/block> 
23   ··UNDEF···· ·<[[ref]]block·name=e> 
24   ··UNSET···· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
25   ··USE,_$··· ·<[[ref]]/block> 
26   ··WHILE···· ·<[[ref]]set·time="2"> 
27   ··<!---···· ·<[[ref]]block·name=a> 
28  History······ · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>. 
29  Wish_list···· ·<[[ref]]/block> 
30  Bugs········· ·<[[ref]]use·c> 
31 ··············· ·<[[ref]]use·d> 
32 ··············· ·<[[ref]]use·e> 
33 ···············*****·synopsis·*****6  License······*****·synopsis·*****
34 ···············BLOCKDEF·creates·block·metatags,·which·is·a·fancy·way·of·saying·it7  Tutorial·····BLOCKDEF·creates·block·metatags,·which·is·a·fancy·way·of·saying·it
35 ···············creates·new·block·tags.·A·block·tag·is·a·tag·that·takes·a·whole·block8  Usage········creates·new·block·tags.·A·block·tag·is·a·tag·that·takes·a·whole·block
36 ···············as·additional·parameter.·This·block·is·surrounded·by·<tagname>·and·</9  HTP·Tags·····as·additional·parameter.·This·block·is·surrounded·by·<tagname>·and·</
37 ···············tagname>.·The·contents·of·this·block·are·automatically·stored·in·the10   ··ALTTEXT··tagname>.·The·contents·of·this·block·are·automatically·stored·in·the
38 ···············block·macro·named·BLOCK.11   ··BLOCK····block·macro·named·BLOCK.
 12  [>]·BLOCKDEF·For·example:
 13   ··DEF······ · ·<EM>File·"<[[ref]]FILE·NAME>"·last·updated·<[[ref]]FILE·TIME>,·<[
 14   ··FILE·····[ref]]FILE·DATE></EM>
39 ···············For·example: 
40 ···············<[[ref]]IF·[NOT]·conditional> 
41 ··············· · ·block·#1 
42 ···············[ 
43 ···············<ELSEIF·[NOT]·conditional> 
44 ··············· · ·block·#2 
45 ···············... 
46 ···············] 
47 ···············[ 
48 ···············<ELSE> 
49 ··············· · ·block·#3 
50 ···············] 
51 ···············<[[ref]]/IF> 
  
52 ···············All·block·metatags·have·the·implicit·option·EXPAND,·which·tells·htp·to15   ··IF·······All·block·metatags·have·the·implicit·option·EXPAND,·which·tells·htp·to
53 ···············expand·the·contents·of·the·block·before·the·definition·is·expanded.16   ··INC······expand·the·contents·of·the·block·before·the·definition·is·expanded.
54 ···············A·more·thorough·discussion·and·more·elaborate·examples·are·discussed17   ··IMG······A·more·thorough·discussion·and·more·elaborate·examples·are·discussed·in
55 ···············in·the·metatag·section. 
  
  
  
  
  
  
  
  
  
  
  
 18   ··IMAGEURL·the·metatag·section.
 19   ··OPT
 20   ··OUTPUT
 21   ··QUOTE
 22   ··SET
 23   ··UNDEF
 24   ··UNSET
 25   ··USE,_$
 26   ··WHILE
 27   ··<!---
 28  History
 29  Wish_list
 30  Bugs
  
  
  
  
  
  
  
13.4 KB
./usr/share/doc/htp/comment.html
    
Offset 114, 72 lines modifiedOffset 114, 33 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"tagname"</span>·<span·class="ebnf">[</span><span·class="htp-attrib">option</span>=<span·class="htp-string">"option1·<span·class="ebnf">[</span>option2·...<span·class="ebnf">]</span>"</span>·<span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">global</span><span·class="ebnf">]</span>·<span·class="ebnf">[</span><span·class="htp-attrib">expand</span><span·class="ebnf">]</span>&gt;</span><br> 
122 <span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
123 <br> 
124 ><br> 
125 &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> 
126 &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> 
127 &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> 
128 &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> 
129 &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> 
130 &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> 
131 &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> 
132 &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> 
133 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">c</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
134 &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> 
135 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
136 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-value">d</span>·<span·class="htp-attrib">expand</span>&gt;</span><br> 
137 &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> 
138 &nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
139 &nbsp;·<span·class="htp-tag">&lt;<a·href="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> 
140 &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> 
141 &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> 
142 &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> 
143 &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> 
144 &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> 
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>&gt;</span><br> 
146 &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> 
147 &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> 
148 &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> 
149 </code></p>121 </code></p>
150 <h2>synopsis</h2>122 <h2>synopsis</h2>
151 <p>123 <p>
152 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful124 This·is·a·simple·comment·that·is·not·included·in·the·output.··This·is·useful
153 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.125 when·commenting·metatags,·since·the·metatags·do·not·appear·the·output·either.
154 Example:126 Example:
155 </p>127 </p>
156 ··<p><code>128 ··<p><code>
 129 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>&gt;</span><br>
157 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
158 &nbsp;·&nbsp;·block·#1<br> 
159 [<br> 
160 <span·class="htp-tag">&lt;ELSEIF·<span·class="htp-attrib">[NOT]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
161 &nbsp;·&nbsp;·block·#2<br> 
162 ...<br> 
163 ]<br> 
164 [<br> 
165 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
166 &nbsp;·&nbsp;·block·#3<br> 
167 ]<br> 
168 <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> 
169 <br> 
170 </code></p>130 </code></p>
171 <p>131 <p>
172 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you132 Note·that·these·comments·should·not·include·&lt;·or·&gt;,·that·is·you
173 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something133 should·not·use·it·to·comment·out·htp·code.··For·that·purpose·use·something
174 like·this:134 like·this:
175 </p>135 </p>
176 ··<p><code>136 ··<p><code>
177 &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> 
178 &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-attr[·...·truncated·by·diffoscope;·len:·264,·SHA:·0f48064ad5e66c601138b685832d2369e4f68b45834527e8f112f476e8e30e4a·...·]</span>&gt;</span><br>137 <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>
 138 <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>
 139 <br>
179 </code></p>140 </code></p>
180 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the141 <p>Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the
181 reason·why·you·don't·want·to·include·this·block</p>142 reason·why·you·don't·want·to·include·this·block</p>
182 <p>143 <p>
183 </td>144 </td>
184 </tr>145 </tr>
185 <tr>146 <tr>
4.23 KB
html2text {}
    
Offset 1, 75 lines modifiedOffset 1, 37 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·<!---·******2 ******·htp·on-line·reference·:·<!---·******
3 Table_of·······*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
4 Contents·······<[[ref]]def·name="tagname"·[option="option1·[option2·...]"·]·[global] 
5  Introduction·[expand]> 
6  License······<[[ref]]/def> 
7  Tutorial 
8  Usage········> 
9  HTP·Tags····· ·<[[ref]]block·name=b·expand> 
10   ··ALTTEXT·· · ·b·is·expanded·at·time·<[[ref]]use·time>. 
11   ··BLOCK···· ·<[[ref]]/block> 
12   ··BLOCKDEF· ·<[[ref]]set·time="1"> 
13   ··DEF······ ·<[[ref]]use·a> 
14   ··FILE····· ·<[[ref]]use·b> 
15   ··IF······· ·contents·of·a:·<[[ref]]use·a·noexpand> 
16   ··INC······ ·contents·of·b:·<[[ref]]use·b·noexpand> 
17   ··IMG······ ·<[[ref]]block·name=c·expand> 
18   ··IMAGEURL· · ·c·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a> 
19   ··OPT······ ·<[[ref]]/block> 
20   ··OUTPUT··· ·<[[ref]]block·name=d·expand> 
21   ··QUOTE···· · ·d·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
22   ··SET······ ·<[[ref]]/block> 
23   ··UNDEF···· ·<[[ref]]block·name=e> 
24   ··UNSET···· · ·e·is·expanded·at·time·<[[ref]]use·time>;·<[[ref]]use·a·noexpand> 
25   ··USE,_$··· ·<[[ref]]/block> 
26   ··WHILE···· ·<[[ref]]set·time="2"> 
27  [>]·<!---···· ·<[[ref]]block·name=a> 
28  History······ · ·a·is·defined·for·the·2nd·time·<[[ref]]use·time>. 
29  Wish_list···· ·<[[ref]]/block> 
30  Bugs········· ·<[[ref]]use·c> 
31 ··············· ·<[[ref]]use·d> 
32 ··············· ·<[[ref]]use·e> 
33 ···············*****·synopsis·*****4  Introduction···············*****·synopsis·*****
34 ···············This·is·a·simple·comment·that·is·not·included·in·the·output.·This·is5  License····················This·is·a·simple·comment·that·is·not·included·in
 6  Tutorial···················the·output.·This·is·useful·when·commenting
35 ···············useful·when·commenting·metatags,·since·the·metatags·do·not·appear·the7  Usage······················metatags,·since·the·metatags·do·not·appear·the
36 ···············output·either.·Example:8  HTP·Tags···················output·either.·Example:
 9   ··ALTTEXT················ · ·<[[ref]]INC·i="1"·j="-1">
37 ···············<[[ref]]IF·[NOT]·conditional> 
38 ··············· · ·block·#1 
39 ···············[ 
40 ···············<ELSEIF·[NOT]·conditional> 
41 ··············· · ·block·#2 
42 ···············... 
43 ···············] 
44 ···············[ 
45 ···············<ELSE> 
46 ··············· · ·block·#3 
47 ···············] 
48 ···············<[[ref]]/IF> 
  
49 ···············Note·that·these·comments·should·not·include·<·or·>,·that·is·you·should10   ··BLOCK··················Note·that·these·comments·should·not·include·<·or
 11   ··BLOCKDEF···············>,·that·is·you·should·not·use·it·to·comment·out
50 ···············not·use·it·to·comment·out·htp·code.·For·that·purpose·use·something·like12   ··DEF····················htp·code.·For·that·purpose·use·something·like
51 ···············this:13   ··FILE···················this:
52 ··············· · ·File·image.gif·<[[ref]]FILE·NAME="image.gif"·SIZE=KBYTE> kilobytes 
53 ··············· · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE 
54 ···············NAME="image.gif"·DATE>14   ··IF·····················<[[ref]]UNDEF·tagname>
 15   ··INC····················<[[ref]]UNDEF·tagname1·tagname2·...·>
 16   ··IMG
55 ···············Make·sure·that·the·variable·is·never·defined·and·xyz·should·be·the·reason17   ··IMAGEURL···············Make·sure·that·the·variable·is·never·defined·and
56 ···············why·you·don't·want·to·include·this·block 
  
  
  
  
  
  
  
  
  
 18   ··OPT····················xyz·should·be·the·reason·why·you·don't·want·to
 19   ··OUTPUT·················include·this·block
 20   ··QUOTE
 21   ··SET
 22   ··UNDEF
 23   ··UNSET
 24   ··USE,_$
 25   ··WHILE
 26  [>]·<!---
 27  History
 28  Wish_list
 29  Bugs
  
  
  
  
  
  
  
Offset 77, 18 lines modifiedOffset 39, 17 lines modified
  
  
77  page_source39  page_source
78  htp_project40  htp_project
79  htp_homepage41  htp_homepage
80 hosted·by42 hosted·by
81 Sourceforge43 Sourceforge
 44 HTML·coding·[Powered_by
82 HTML·coding 
83 [Powered_by 
84 htp]45 htp]
85 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/46 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
86 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.47 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
87 ·····Maintainers:·Jochen_Hoenicke.48 ·····Maintainers:·Jochen_Hoenicke.
88 Copyright·©·1995–96·Jim·Nelson.49 Copyright·©·1995–96·Jim·Nelson.
89 Copyright·©·2001–2014·Jochen_Hoenicke.50 Copyright·©·2001–2014·Jochen_Hoenicke.
90 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to51 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
91 terms·described·in·the·License_section.52 according·to·terms·described·in·the·License_section.
92 last·updated·Sat·May·16,·201553 last·updated·Sat·May·16,·2015
14.2 KB
./usr/share/doc/htp/def.html
    
Offset 136, 48 lines modifiedOffset 136, 32 lines modified
136 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to136 Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to
137 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A137 <TITLE>·and·</TITLE>).··In·this·case,·you·should·use·the·<A
138 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster138 HREF="blockdef.html">BLOCKDEF</A>·macro.··Another·slightly·faster
139 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing139 alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing
140 tag·with·a·preceding·slash.·For·example:140 tag·with·a·preceding·slash.·For·example:
141 </P>141 </P>
142 ··<p><code>142 ··<p><code>
143 <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·c[·...·truncated·by·diffoscope;·len:·78,·SHA:·54916cc04b70b8f45674b641ccafe307478e0c8d0550cccc151bc8e3b0ea52e3·...·]</span>&gt;</span><br>143 <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>
 144 <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>
144 <br>145 <br>
145 </code></p>146 </code></p>
146 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,147 <p>·You·should·really·use·<a·href="blockdef.html">BLOCKDEF</a>,·though,
147 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>148 as·it·will·check·for·matching·end·tag.·It·is·not·that·slower.··</p>
148 <P>149 <P>
149 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were150 Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were
150 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with151 a·<A·HREF="set.html">SET</A>·macro.··Option·names·are·parameterized·with
151 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their152 the·OPTION·attribute.··Multiple·options·can·be·listed·by·separating·their
152 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)153 name·with·a·space·(which·therefore·requires·they·be·surrounded·by·quotes.)
153 </P>154 </P>
154 ··<p><code>155 ··<p><code>
155 &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> 
156 &nbsp;·<span·class="htp-tag">&lt;<a·href="imageurl.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">imageurl</a>·<span·class="htp-attrib">url</span>=<span·class="htp-string">"other.domain.org/"</span>·<span·class="htp-attrib">path</span>=<span·class="htp-string">"/var/w[·...·truncated·by·diffoscope;·len:·16,·SHA:·2507bbf09d5c34d49840355157a59549556963797ad9ea32c6a36632f75465ea·...·]"</span>&gt;</span><br>156 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<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>
 157 &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>
 158 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
157 <br>159 <br>
 160 &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>
158 &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> 
159 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
160 &nbsp;·(no·URL·replacement).<br> 
161 <br> 
162 &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> 
163 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
164 <br> 
165 &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> 
166 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
167 &nbsp;·will·not·be·added.<br> 
168 <br> 
169 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
170 &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> 
171 &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> 
172 <br> 
173 &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> 
174 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
175 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
176 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
177 </code></p>161 </code></p>
178 <P>162 <P>
179 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is163 htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is
180 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are164 invoked.··htp·assumes·that·all·parameter·options·to·the·metatag·are
181 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the165 optional.··This·is·why·the·HEADERIMG·definition·uses·IF·to·verify·the
182 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a166 SIZE·option·is·defined·before·expanding·it·in·the·block.··If·a
183 parameter·is·required,·simply·expand·it·without·first·checking.··When167 parameter·is·required,·simply·expand·it·without·first·checking.··When
8.03 KB
html2text {}
    
Offset 1, 75 lines modifiedOffset 1, 64 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·······*****·synopsis·*****4 Contents·······*****·synopsis·*****
5  Introduction·DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it·creates·new·tags.·The5  Introduction·DEF·creates·metatags,·which·is·a·fancy·way·of·saying·it·creates
6  License······mechanism·is·very·similar·to·BLOCK·macros,·except·that·the·USE·tag·is·not6  License······new·tags.·The·mechanism·is·very·similar·to·BLOCK·macros,·except
7  Tutorial·····used·to·expand·them.·Instead,·they·are·expanded·by·their·own·name.·For 
8  Usage········example:7  Tutorial·····that·the·USE·tag·is·not·used·to·expand·them.·Instead,·they·are
 8  Usage········expanded·by·their·own·name.·For·example:
9  HTP·Tags·····<[[ref]]if·disabled_because_xyz>9  HTP·Tags·····<[[ref]]if·disabled_because_xyz>
10   ··ALTTEXT·· ·...10   ··ALTTEXT·· ·...
11   ··BLOCK····<[[ref]]/if>11   ··BLOCK····<[[ref]]/if>
12   ··BLOCKDEF·Some·metatags·will·require·an·opening·and·closing·tag·(comparable·to12   ··BLOCKDEF·Some·metatags·will·require·an·opening·and·closing·tag·(comparable
13  [>]·DEF······and13  [>]·DEF······to
 14   ··FILE·····and
14   ··FILE·····).·In·this·case,·you·should·use·the·BLOCKDEF·macro.·Another·slightly·faster15   ··IF·······).·In·this·case,·you·should·use·the·BLOCKDEF·macro.·Another
15   ··IF·······alternative·is·to·use·two·metatags,·the·opening·tag·and·the·closing·tag·with 
16   ··INC······a·preceding·slash.·For·example: 
17   ··IMG······<[[ref]]imageurl·url="imageurl"·[·path="path/in/local/filesystem"·]> 
18   ··IMAGEURL16   ··INC······slightly·faster·alternative·is·to·use·two·metatags,·the·opening
 17   ··IMG······tag·and·the·closing·tag·with·a·preceding·slash.·For·example:
 18   ··IMAGEURL·<[[ref]]UNDEF·tagname>
 19   ··OPT······<[[ref]]UNDEF·tagname1·tagname2·...·>
 20   ··OUTPUT
19   ··OPT······You·should·really·use·BLOCKDEF,·though,·as·it·will·check·for·matching·end21   ··QUOTE····You·should·really·use·BLOCKDEF,·though,·as·it·will·check·for
20   ··OUTPUT···tag.·It·is·not·that·slower.22   ··SET······matching·end·tag.·It·is·not·that·slower.
21   ··QUOTE····Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if·it·were·a·SET23   ··UNDEF····Options·can·be·passed·to·a·metatag,·which·can·then·expand·as·if
 24   ··UNSET····it·were·a·SET·macro.·Option·names·are·parameterized·with·the
 25   ··USE,_$···OPTION·attribute.·Multiple·options·can·be·listed·by·separating
 26   ··WHILE····their·name·with·a·space·(which·therefore·requires·they·be
 27   ··<!---····surrounded·by·quotes.)
 28  History······ ·<[[ref]]def·name="sharedimg"·option="name·alt">
 29  Wish_list···· · ·<[[ref]]img·src="/home/sharedimages/${name}"·alt="${alt}">;
 30  Bugs········· ·<[[ref]]/def>
22   ··SET······macro.·Option·names·are·parameterized·with·the·OPTION·attribute.·Multiple 
23   ··UNDEF····options·can·be·listed·by·separating·their·name·with·a·space·(which·therefore 
24   ··UNSET····requires·they·be·surrounded·by·quotes.) 
25   ··USE,_$··· ·<[[ref]]imageurl·url="http://my.domain.org/"·path="/var/www/my.domain/"> 
26   ··WHILE···· ·<[[ref]]imageurl·url="other.domain.org/"·path="/var/www/other.domain/"> 
27   ··<!--- 
28  History······ ·For·this·line:·<[[ref]]img·src="logo.gif"> 
29  Wish_list···· ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions 
30  Bugs········· ·(no·URL·replacement). 
  
 31 ··············· ·<sharedimg·name="bubble.gif"·alt="Bubble·image">
31 ··············· ·For·this·line:·<[[ref]]img·src="http://my.domain.org/logo.gif"> 
32 ··············· ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used. 
  
33 ··············· ·But·for·this·line:·<[[ref]]img·src="http://other.domain.org/logo.gif"> 
34 ··············· ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions 
35 ··············· ·will·not·be·added. 
  
36 ··············· ·Order·is·important;·last·IMAGEURL·tag·takes·precedence: 
37 ··············· ·<[[ref]]imageurl·url="/"·path="/var/www/htdocs/"> 
38 ··············· ·<[[ref]]imageurl·url="/test/"·path="/var/www/test/"> 
  
39 ··············· ·<[[ref]]img·src="/image.gif"> and·<[[ref]]img·src="/test/image.gif"> are 
40 ···············mapped·to 
41 ··············· ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp. 
42 ··············· ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second 
43 ··············· ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif. 
44 ···············htp·will·do·very·specific·checking·of·parameters·when·a·metatag·is·invoked.32 ···············htp·will·do·very·specific·checking·of·parameters·when·a·metatag
45 ···············htp·assumes·that·all·parameter·options·to·the·metatag·are·optional.·This·is33 ···············is·invoked.·htp·assumes·that·all·parameter·options·to·the·metatag
46 ···············why·the·HEADERIMG·definition·uses·IF·to·verify·the·SIZE·option·is·defined 
47 ···············before·expanding·it·in·the·block.·If·a·parameter·is·required,·simply·expand34 ···············are·optional.·This·is·why·the·HEADERIMG·definition·uses·IF·to
 35 ···············verify·the·SIZE·option·is·defined·before·expanding·it·in·the
 36 ···············block.·If·a·parameter·is·required,·simply·expand·it·without·first
48 ···············it·without·first·checking.·When·htp·expands·the·metatag·and·the·macro·is·not37 ···············checking.·When·htp·expands·the·metatag·and·the·macro·is·not
49 ···············defined,·it·will·halt·processing·and·complain·with·an·error·message·and·the38 ···············defined,·it·will·halt·processing·and·complain·with·an·error
50 ···············required·macro·name.·Normally·htp·will·not·allow·parameters·not·listed·in·the 
51 ···············OPTION·attribute·to·be·added·to·the·tag.·This·is·why·the·third·invocation·of39 ···············message·and·the·required·macro·name.·Normally·htp·will·not·allow
 40 ···············parameters·not·listed·in·the·OPTION·attribute·to·be·added·to·the
 41 ···············tag.·This·is·why·the·third·invocation·of·HEADERIMG·will·fail.
52 ···············HEADERIMG·will·fail.·There·is·no·ALT·parameter·specified·in·the·OPTION42 ···············There·is·no·ALT·parameter·specified·in·the·OPTION·attribute.
53 ···············attribute.·However,·there·is·the·special·option·*,·which·matches·every·other43 ···············However,·there·is·the·special·option·*,·which·matches·every·other
54 ···············parameter.·It·should·be·used·to·pass·all·other·options·to·another·tag.44 ···············parameter.·It·should·be·used·to·pass·all·other·options·to·another
 45 ···············tag.
55 ···············Metatags·can·be·removed·by·using·the·UNDEF·tag.·Note·that·both·open·and·close46 ···············Metatags·can·be·removed·by·using·the·UNDEF·tag.·Note·that·both
56 ···············tags·must·be·removed·with·UNDEF.·Removing·one·will·not·remove·both.47 ···············open·and·close·tags·must·be·removed·with·UNDEF.·Removing·one·will
 48 ···············not·remove·both.
57 ···············Warning:·Although·possible,·def·should·not·be·used·to·override·standard·HTML49 ···············Warning:·Although·possible,·def·should·not·be·used·to·override
58 ···············and·htp·tag·names,·as·this·can·cause·much·confusion·and·unexpected·results.50 ···············standard·HTML·and·htp·tag·names,·as·this·can·cause·much·confusion
59 ···············The·def·tag·can·even·be·used·to·override·its·own·tag·name.·Because·of·the51 ···············and·unexpected·results.·The·def·tag·can·even·be·used·to·override
 52 ···············its·own·tag·name.·Because·of·the·problems·this·can·cause,·its
60 ···············problems·this·can·cause,·its·highly·recommended·to·not·override·known·tag53 ···············highly·recommended·to·not·override·known·tag·names.
61 ···············names. 
62 ···············You·can·find·some·other·examples·in·the·[[ref]]metatag·section·of·the54 ···············You·can·find·some·other·examples·in·the·[[ref]]metatag·section·of
63 ···············tutorial.55 ···············the·tutorial.
  
  
  
  
  
  
  
Offset 95, 10 lines modifiedOffset 84, 10 lines modified
95 [Powered_by84 [Powered_by
96 htp]85 htp]
97 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/86 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
98 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.87 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
99 ·····Maintainers:·Jochen_Hoenicke.88 ·····Maintainers:·Jochen_Hoenicke.
100 Copyright·©·1995–96·Jim·Nelson.89 Copyright·©·1995–96·Jim·Nelson.
101 Copyright·©·2001–2014·Jochen_Hoenicke.90 Copyright·©·2001–2014·Jochen_Hoenicke.
102 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to·terms91 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according
103 described·in·the·License_section.92 to·terms·described·in·the·License_section.
104 last·updated·Sat·May·16,·201593 last·updated·Sat·May·16,·2015
13.7 KB
./usr/share/doc/htp/expand.html
    
Offset 98, 34 lines modifiedOffset 98, 32 lines modified
98 <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code>98 <p>However,·if·the·block·tag·is·marked·with·the·<code>expand</code>
99 modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to99 modifier·it·is·expanded·immediately.··This·is·useful·if·you·want·to
100 store·something·in·a·block·macro,·that·depends·on·the·current·value·of100 store·something·in·a·block·macro,·that·depends·on·the·current·value·of
101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value101 another·macro.··This·other·macro·may·no·longer·have·the·correct·value
102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when102 when·the·macro·is·expanded.··Here·is·some·code·that·demonstrate·when
103 the·htp·tags·are·expanded:·</P>103 the·htp·tags·are·expanded:·</P>
104 ··<p><code>104 ··<p><code>
 105 <font·size="-2">&nbsp;1.·</font>&nbsp;·&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>
105 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>·<span·class="htp-attrib">option</span>=<span·class="htp-string">"title"</span>&gt;</span><br> 
106 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;h1&gt;</span><span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">title</span>&gt;</span><span·class="htp-tag">&lt;/h1&gt;</span><br> 
107 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;p·<span·class="htp-attrib">class</span>=<span·class="htp-string">"section"</span>&gt;</span><br>106 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br>
108 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·&nbsp;<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br> 
109 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;<span·class="htp-tag">&lt;/p&gt;</span><br> 
110 <font·size="-2">&nbsp;6.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>107 <font·size="-2">&nbsp;3.·</font>&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>
111 <font·size="-2">&nbsp;7.·</font><br>108 <font·size="-2">&nbsp;4.·</font><br>
112 <font·size="-2">&nbsp;8.·</font>&nbsp;·<span·class="htp-tag">&lt;section·<span·class="htp-attrib">title</span>=<span·class="htp-string">"My·Section"</span>&gt;</span><br> 
113 <font·size="-2">&nbsp;9.·</font>&nbsp;·&nbsp;·This·is·a·fancy·section.<br> 
114 <font·size="-2">10.·</font>&nbsp;·<span·class="htp-tag">&lt;/section&gt;</span><br>109 <font·size="-2">&nbsp;5.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br>
 110 <font·size="-2">&nbsp;6.·</font>&nbsp;·&nbsp;·This·text·is·centered.<br>
115 <font·size="-2">11.·</font>ill·also·have·an·ALT·attribute·appended·to·it<br> 
116 <font·size="-2">12.·</font><br> 
117 <font·size="-2">13.·</font>&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> 
118 <font·size="-2">14.·</font>&nbsp;·remains·unchanged.<br> 
119 </code></p>111 </code></p>
120 This·produces·the·following:112 This·produces·the·following:
121 ··<p><code>113 ··<p><code>
122 <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>114 &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;·...<br>115 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br>
124 <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>116 &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>
 117 <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&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>
 121 <br>
 122 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br>
125 </code></p>123 </code></p>
126 <P>124 <P>
127 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a125 When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a
128 are·taken·literally,·however,·the·contents·for·b·are·already·expanded126 are·taken·literally,·however,·the·contents·for·b·are·already·expanded
129 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it127 so·the·macro·<code>time</code>·is·evaluated.··So·a·is·expanded·when·it
130 is·used,·while·the·contents·of·b·are·already·expanded.128 is·used,·while·the·contents·of·b·are·already·expanded.
131 </P>129 </P>
8.48 KB
html2text {}
    
Offset 1, 83 lines modifiedOffset 1, 89 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_Contents············*****·The·global·attribute·*****
4 Contents·········Normally·when·you·define·a·macro·it·is·only·defined·in·the·current 
5  Introduction···scope.·A·scope·is·for·example·the·definition·of·a·metatag.·Once·the 
6  License········definition·is·expanded·and·the·metatag·has·finished·the·macro·is 
7  Tutorial·······automatically·removed.·In·some·cases·you·want·to·define·a·macro 
8  Usage··········inside·a·metatag·and·use·it·later.·You·can·do·this·with·the·global 
9   ··Command-···attribute·that·you·can·add·to·[[ref]]set,·[[ref]]inc,·[[ref]]block, 
10 ······line·······[[ref]]def,·and·[[ref]]blockdef·tags. 
11   ··Options····*****·The·expand·attribute·***** 
12   ··Predefined·The·expand·attribute·is·not·a·tag·of·its·own·but·is·an·attribute·of 
13 ······macros·····all·block·tags·even·metatags·defined·with·the·blockdef·macro. 
14  [>]·global_and·Normally·htp·uses·a·lazy·evaluation·strategy,·i.e.·it·expands·htp 
15 ······expand·····tags,·metatags·and·macros·when·the·HTML·document·is·written·not·when 
16  HTP_Tags·······they're·stored·into·block·macros.·When·you·use·a·macro·defined·with 
17  History········the·blockdef·tag·the·html·code·between·the·tags·is·just·copied 
18  Wish_list······literally·into·the·macro·named·block,·without·any·expansion·going 
19  Bugs···········on.4  Introduction···············Normally·when·you·define·a·macro·it·is·only
 5  License····················defined·in·the·current·scope.·A·scope·is·for
 6  Tutorial···················example·the·definition·of·a·metatag.·Once·the
 7  Usage······················definition·is·expanded·and·the·metatag·has
 8   ··Command-line···········finished·the·macro·is·automatically·removed.·In
 9   ··Options················some·cases·you·want·to·define·a·macro·inside·a
 10   ··Predefined_macros······metatag·and·use·it·later.·You·can·do·this·with·the
 11  [>]·global_and_expand······global·attribute·that·you·can·add·to·[[ref]]set,·[
 12  HTP_Tags···················[ref]]inc,·[[ref]]block,·[[ref]]def,·and·[
 13  History····················[ref]]blockdef·tags.
 14  Wish_list··················*****·The·expand·attribute·*****
 15  Bugs·······················The·expand·attribute·is·not·a·tag·of·its·own·but
 16 ·····························is·an·attribute·of·all·block·tags·even·metatags
 17 ·····························defined·with·the·blockdef·macro.·Normally·htp·uses
 18 ·····························a·lazy·evaluation·strategy,·i.e.·it·expands·htp
 19 ·····························tags,·metatags·and·macros·when·the·HTML·document
 20 ·····························is·written·not·when·they're·stored·into·block
 21 ·····························macros.·When·you·use·a·macro·defined·with·the
 22 ·····························blockdef·tag·the·html·code·between·the·tags·is
 23 ·····························just·copied·literally·into·the·macro·named·block,
 24 ·····························without·any·expansion·going·on.
20 ·················However,·if·the·block·tag·is·marked·with·the·expand·modifier·it·is25 ·····························However,·if·the·block·tag·is·marked·with·the
 26 ·····························expand·modifier·it·is·expanded·immediately.·This
21 ·················expanded·immediately.·This·is·useful·if·you·want·to·store·something27 ·····························is·useful·if·you·want·to·store·something·in·a
22 ·················in·a·block·macro,·that·depends·on·the·current·value·of·another28 ·····························block·macro,·that·depends·on·the·current·value·of
23 ·················macro.·This·other·macro·may·no·longer·have·the·correct·value·when29 ·····························another·macro.·This·other·macro·may·no·longer·have
 30 ·····························the·correct·value·when·the·macro·is·expanded.·Here
24 ·················the·macro·is·expanded.·Here·is·some·code·that·demonstrate·when·the31 ·····························is·some·code·that·demonstrate·when·the·htp·tags
25 ·················htp·tags·are·expanded:32 ·····························are·expanded:
 33 ····························· 1. · ·<[[ref]]def·name="centered">
 34 ····························· 2. · ·<p·align=center>
26 ················· 1. ·<[[ref]]blockdef·name="section"·option="title"> 
27 ················· 2. · <h1><[[ref]]use·title></h1> 
28 ················· 3. · <p·class="section"> 
29 ················· 4. · · <[[ref]]use·block> 
30 ················· 5. · </p> 
31 ················· 6·<[[ref]]/blockdef>35 ····························· 3. · ·<[[ref]]/def>
 36 ····························· 4.
 37 ····························· 5. · ·<centered>
 38 ····························· 6. · ·This·text·is·centered.
32 ················· 7. 
33 ················· 8. ·<section·title="My·Section"> 
34 ················· 9. · ·This·is·a·fancy·section. 
35 ·················10. ·</section> 
36 ·················11.ill·also·have·an·ALT·attribute·appended·to·it 
37 ·················12. 
38 ·················13. ·this·line:·<[[ref]]img·src="logo.gif"·alt="Click·here·for·more 
39 ·················information!"> 
40 ·················14. ·remains·unchanged. 
41 ·················This·produces·the·following:39 ·····························This·produces·the·following:
42 ·················<[[ref]]if·disabled_because_xyz> 
43 ················· ·...40 ····························· ·<[[ref]]def·name="bigfont">
 41 ····························· · ·<font·size="+4">
44 ·················<[[ref]]/if>42 ····························· ·<[[ref]]/def>
45 ·················When·block·a·and·block·b·are·defined·in·lines·2-7·the·contents·of·a 
46 ·················are·taken·literally,·however,·the·contents·for·b·are·already 
47 ·················expanded·so·the·macro·time·is·evaluated.·So·a·is·expanded·when·it·is 
48 ·················used,·while·the·contents·of·b·are·already·expanded. 
49 ·················In·line·10·and·12·the·[[ref]]use·tag·is·used·with·the·noexpand 
50 ·················attribute·which·prevents·the·expansion·of·the·macro·value.·Here·it 
51 ·················is·used·to·show·you·what·the·value·of·the·block·macros·really·is. 
52 ·················A·more·important·reason·to·use·the·noexpand·attribute·is·to·prevent 
53 ·················double·expansion·and·to·restore·the·original·lazy·expansion·policy 
54 ·················when·you·have·to·use·the·expand·attribute·as·for·block·d·in·the 
55 ·················example·above.·See·the·section·example·in·the·[[ref]]metatag 
56 ·················tutorial.·Rule·of·thumb:·The·use·tags·in·an·expanded·block·should·be 
57 ·················tagged·with·noexpand. 
  
 43 ····························· ·<[[ref]]def·name="/bigfont">
 44 ····························· · ·</font>
 45 ····························· ·<[[ref]]/def>
  
 46 ····························· ·<bigfont>Some·large·text</bigfont>
 47 ·····························When·block·a·and·block·b·are·defined·in·lines·2-
 48 ·····························7·the·contents·of·a·are·taken·literally,·however,
 49 ·····························the·contents·for·b·are·already·expanded·so·the
 50 ·····························macro·time·is·evaluated.·So·a·is·expanded·when·it
 51 ·····························is·used,·while·the·contents·of·b·are·already
 52 ·····························expanded.
 53 ·····························In·line·10·and·12·the·[[ref]]use·tag·is·used·with
 54 ·····························the·noexpand·attribute·which·prevents·the
 55 ·····························expansion·of·the·macro·value.·Here·it·is·used·to
 56 ·····························show·you·what·the·value·of·the·block·macros·really
 57 ·····························is.
 58 ·····························A·more·important·reason·to·use·the·noexpand
 59 ·····························attribute·is·to·prevent·double·expansion·and·to
 60 ·····························restore·the·original·lazy·expansion·policy·when
 61 ·····························you·have·to·use·the·expand·attribute·as·for·block
 62 ·····························d·in·the·example·above.·See·the·section·example·in
 63 ·····························the·[[ref]]metatag_tutorial.·Rule·of·thumb:·The
 64 ·····························use·tags·in·an·expanded·block·should·be·tagged
 65 ·····························with·noexpand.
  
  
  
  
  
  
58  page_source66  page_source
59  htp_project67  htp_project
60  htp_homepage68  htp_homepage
61 hosted·by69 hosted·by
62 Sourceforge70 Sourceforge
 71 HTML·coding·[Powered_by
63 HTML·coding 
64 [Powered_by 
65 htp]72 htp]
66 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/73 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
Max diff block lines reached; 392/8664 bytes (4.52%) of diff not shown.
21.1 KB
./usr/share/doc/htp/file.html
    
Offset 114, 46 lines modifiedOffset 114, 47 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="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>
 122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;p·<span·class="htp-attrib">align</span>=<span·class="htp-value">center</span>&gt;</span><br>
121 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">IF</a>·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·block·#1<br> 
123 [<br> 
124 <span·class="htp-tag">&lt;ELSEIF·<span·class="ebnf">[</span><span·class="htp-attrib">NOT</span><span·class="ebnf">]</span>·<span·class="htp-attrib">conditional</span>&gt;</span><br> 
125 &nbsp;·&nbsp;·block·#2<br> 
126 ...<br> 
127 ]<br> 
128 [<br> 
129 <span·class="htp-tag">&lt;ELSE&gt;</span><br> 
130 &nbsp;·&nbsp;·block·#3<br> 
131 ]<br> 
132 <span·class="htp-tag">&lt;<a·href="if.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/IF</a>&gt;</span><br>123 &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>
133 <br>124 <br>
 125 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;centered&gt;</span><br>
 126 &nbsp;·&nbsp;·This·text·is·centered.<br>
 127 se·time>.<br>
 128 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br>
 129 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br>
 130 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br>
 131 &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>
134 </code></p>132 </code></p>
135 <h2>synopsis</h2>133 <h2>synopsis</h2>
136 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.134 <STRONG>FILE</STRONG>·has·several·optional·parameters·of·differing·purpose.
137 The·output·file's·name,·the·current·date·and·time,·and·the·contents·of135 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·be136 another·file·may·be·included.··Another·file's·time,·date,·or·size·may·be
139 added·to·the·output·file·as·well.137 added·to·the·output·file·as·well.
140 <P>138 <P>
141 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the139 As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
142 following·is·perfectly·acceptable:140 following·is·perfectly·acceptable:
143 ··<p><code>141 ··<p><code>
 142 <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>
 143 <br>
144 </code></p>144 </code></p>
145 <P>145 <P>
146 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>146 <h3><a·name="name">NAME</a>,·TIME,·SIZE</h3>
147 <P>147 <P>
148 To·include·information·about·another·file,·such·as·an·archive·file·or148 To·include·information·about·another·file,·such·as·an·archive·file·or
149 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the149 graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
150 type·of·information·to·be·displayed:150 type·of·information·to·be·displayed:
151 ··<p><code>151 ··<p><code>
152 <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">"increment[·...·truncated·by·diffoscope;·len:·113,·SHA:·20819a2055842c724aef11f4bbfbe25f6be35732ba276c93f580c883a64f64aa·...·]</span>&gt;</span><br>152 <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>
 153 <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>
153 <br>154 <br>
154 </code></p>155 </code></p>
155 <P>156 <P>
156 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the157 For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
157 information·is·displayed.··In·anything·other·than·byte·format,·the·information158 information·is·displayed.··In·anything·other·than·byte·format,·the·information
158 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number159 is·displayed·in·floating-point·notation.··The·amount·of·precision·(the·number
159 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional160 of·digits·to·the·right·of·the·decimal·point)·can·be·set·with·the·optional
Offset 183, 15 lines modifiedOffset 184, 15 lines modified
183 <P>184 <P>
184 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are185 Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
185 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros186 interpreted·as·macros·that·are·"passed"·to·the·included·file.··The·macros
186 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it187 are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
187 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer188 holds).··After·the·file·is·completely·included,·the·macros·are·no·longer
188 available.··So:189 available.··So:
189 ··<p><code>190 ··<p><code>
190 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>&gt;</span><br>191 &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>
191 </code></p>192 </code></p>
192 <P>193 <P>
193 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included194 Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
194 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the195 file.··They·are·not·available,·however,·past·the·tag·(which·is·why·the
195 second·statement·will·fail.)196 second·statement·will·fail.)
196 <P>197 <P>
197 <h3><a·name="template">TEMPLATE</a></h3>198 <h3><a·name="template">TEMPLATE</a></h3>
15.8 KB
html2text {}
    
Offset 1, 138 lines modifiedOffset 1, 107 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·FILE·******2 ******·htp·on-line·reference·:·FILE·******
3 Table_of_Contents············*****·syntax·*****3 Table_of·······*****·syntax·*****
 4 Contents······· · ·<[[ref]]def·name="centered">
 5  Introduction· · ·<p·align=center>
 6  License······ · ·<[[ref]]/def>
 7  Tutorial
 8  Usage········ · ·<centered>
 9  HTP·Tags····· · ·This·text·is·centered.
 10   ··ALTTEXT··se·time>.
 11   ··BLOCK···· ·contents·of·b:· ·b·is·expanded·at·time·0.
 12   ··BLOCKDEF· · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.
 13   ··DEF······ · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.
 14  [>]·FILE····· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<[[ref]]use
 15   ··IF·······time>.
4  Introduction···············<[[ref]]IF·[NOT]·conditional> 
5  License···················· · ·block·#1 
6  Tutorial···················[ 
7  Usage······················<ELSEIF·[NOT]·conditional> 
8  HTP·Tags··················· · ·block·#2 
9   ··ALTTEXT················... 
10   ··BLOCK··················] 
11   ··BLOCKDEF···············[ 
12   ··DEF····················<ELSE> 
13  [>]·FILE··················· · ·block·#3 
14   ··IF·····················] 
15   ··INC····················<[[ref]]/IF> 
16   ··IMG 
17   ··IMAGEURL···············*****·synopsis·*****16   ··INC······*****·synopsis·*****
 17   ··IMG······FILE·has·several·optional·parameters·of·differing·purpose.·The·output
 18   ··IMAGEURL·file's·name,·the·current·date·and·time,·and·the·contents·of·another·file
18   ··OPT····················FILE·has·several·optional·parameters·of·differing 
19   ··OUTPUT·················purpose.·The·output·file's·name,·the·current·date 
20   ··QUOTE··················and·time,·and·the·contents·of·another·file·may·be 
21   ··SET····················included.·Another·file's·time,·date,·or·size·may19   ··OPT······may·be·included.·Another·file's·time,·date,·or·size·may·be·added·to·the
22   ··UNDEF··················be·added·to·the·output·file·as·well. 
23   ··UNSET··················As·with·all·HTML,·these·tags·do·not·have·to·be·on 
24   ··USE,_$·················their·own·line,·so·the·following·is·perfectly 
25   ··WHILE··················acceptable: 
26   ··<!---··················****·NAME,·TIME,·SIZE·**** 
27  History····················To·include·information·about·another·file,·such·as 
28  Wish_list··················an·archive·file·or·graphic·image,·specify·its·name 
29  Bugs·······················with·the·NAME·attribute·followed·by·the·type·of 
30 ·····························information·to·be·displayed: 
31 ·····························<[[ref]]INC·macroname1="increment1" 
32 ·····························[macroname2="increment2"·...·]·[GLOBAL]>20   ··OUTPUT···output·file·as·well.
 21   ··QUOTE····As·with·all·HTML,·these·tags·do·not·have·to·be·on·their·own·line,·so·the
 22   ··SET······following·is·perfectly·acceptable:
 23   ··UNDEF····<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]>
 24   ··UNSET
 25   ··USE,_$···****·NAME,·TIME,·SIZE·****
 26   ··WHILE····To·include·information·about·another·file,·such·as·an·archive·file·or
 27   ··<!---····graphic·image,·specify·its·name·with·the·NAME·attribute·followed·by·the
 28  History······type·of·information·to·be·displayed:
 29  Wish_list····<[[ref]]unset·macroname>
 30  Bugs·········<[[ref]]unset·macroname1·macroname2·...·>
  
33 ·····························For·file·size·information,·the·value·BYTE,·KBYTE,31 ···············For·file·size·information,·the·value·BYTE,·KBYTE,·etc.·dictates·how·the
 32 ···············information·is·displayed.·In·anything·other·than·byte·format,·the
34 ·····························etc.·dictates·how·the·information·is·displayed.·In 
35 ·····························anything·other·than·byte·format,·the·information 
36 ·····························is·displayed·in·floating-point·notation.·The33 ···············information·is·displayed·in·floating-point·notation.·The·amount·of
 34 ···············precision·(the·number·of·digits·to·the·right·of·the·decimal·point)·can·be
37 ·····························amount·of·precision·(the·number·of·digits·to·the 
38 ·····························right·of·the·decimal·point)·can·be·set·with·the 
39 ·····························optional·PRECISION·attribute.·The·default35 ···············set·with·the·optional·PRECISION·attribute.·The·default·precision·is·zero
 36 ···············(0),·which·means·no·fractional·portion·is·displayed.
40 ·····························precision·is·zero·(0),·which·means·no·fractional 
41 ·····························portion·is·displayed. 
42 ·····························At·the·request·of·many·people,·the·TIME·and·DATE37 ···············At·the·request·of·many·people,·the·TIME·and·DATE·attributes·will·now·accept
43 ·····························attributes·will·now·accept·formatting·characters 
44 ·····························that·are·passed·directly·into·the·ANSI·C·library38 ···············formatting·characters·that·are·passed·directly·into·the·ANSI·C·library
45 ·····························function.·This·allows·for·the·time·and·date·to·be39 ···············function.·This·allows·for·the·time·and·date·to·be·displayed·in·virtually
46 ·····························displayed·in·virtually·any·format.·Users·not 
47 ·····························wishing·to·mess·around·with·this·should·stick·to40 ···············any·format.·Users·not·wishing·to·mess·around·with·this·should·stick·to·the
 41 ···············default·format,·which·is·used·if·no·formatting·value·is·specified·(i.e.,
 42 ···············just·using·05:04:11·PM).
 43 ···············Consult·any·C·programmer's·guide·discussing·the·standard·C·library·function
48 ·····························the·default·format,·which·is·used·if·no·formatting 
49 ·····························value·is·specified·(i.e.,·just·using·05:04:11·PM). 
50 ·····························Consult·any·C·programmer's·guide·discussing·the 
51 ·····························standard·C·library·function·strftime()·for 
52 ·····························information·on·how·to·build·a·format·string.·If44 ···············strftime()·for·information·on·how·to·build·a·format·string.·If·unsure,·ask
 45 ···············an·experienced·C·programmer·for·help,·or·consider·just·sticking·to·the
 46 ···············default·formatting.
53 ·····························unsure,·ask·an·experienced·C·programmer·for·help, 
54 ·····························or·consider·just·sticking·to·the·default 
55 ·····························formatting. 
56 ·····························****·INCLUDE·****47 ···············****·INCLUDE·****
57 ·····························INCLUDE·files·are·pre-processed·as·any·other·file.48 ···············INCLUDE·files·are·pre-processed·as·any·other·file.·The·resulting·text·is
58 ·····························The·resulting·text·is·incorporated·into·the·HTML 
59 ·····························output·as·if·the·file·had·been·copied·into·the49 ···············incorporated·into·the·HTML·output·as·if·the·file·had·been·copied·into·the
60 ·····························source·at·the·same·location·as·the·FILE·markup50 ···············source·at·the·same·location·as·the·FILE·markup·tag.
 51 ···············htp·will·automatically·convert·slashes·and·backslashes·to·match·the
 52 ···············operating·system's·directory·separator.
61 ·····························tag. 
62 ·····························htp·will·automatically·convert·slashes·and 
63 ·····························backslashes·to·match·the·operating·system's 
64 ·····························directory·separator. 
65 ·····························Additional·parameters·can·be·set·in·the·FILE53 ···············Additional·parameters·can·be·set·in·the·FILE·INCLUDE·tag,·which·are
66 ·····························INCLUDE·tag,·which·are·interpreted·as·macros·that 
67 ·····························are·"passed"·to·the·included·file.·The·macros·are54 ···············interpreted·as·macros·that·are·"passed"·to·the·included·file.·The·macros
68 ·····························available·only·to·the·include·file·(and·any·macros55 ···············are·available·only·to·the·include·file·(and·any·macros·or·included·files·it
69 ·····························or·included·files·it·holds).·After·the·file·is 
70 ·····························completely·included,·the·macros·are·no·longer56 ···············holds).·After·the·file·is·completely·included,·the·macros·are·no·longer
71 ·····························available.·So:57 ···············available.·So:
 58 ··············· · ·<[[ref]]unset·email_addr>
 59 ···············Macros·named·"name"·and·"email"·are·set,·and·available·inside·the·included
72 ····························· · ·<[[ref]]INC·i="1"·j="-1"> 
73 ·····························Macros·named·"name"·and·"email"·are·set,·and 
74 ·····························available·inside·the·included·file.·They·are·not 
75 ·····························available,·however,·past·the·tag·(which·is·why·the60 ···············file.·They·are·not·available,·however,·past·the·tag·(which·is·why·the
76 ·····························second·statement·will·fail.)61 ···············second·statement·will·fail.)
77 ·····························****·TEMPLATE·****62 ···············****·TEMPLATE·****
78 ·····························A·template·file·is·nothing·more·than·a·default63 ···············A·template·file·is·nothing·more·than·a·default·include·file,·one·that·is
79 ·····························include·file,·one·that·is·included·once·the·input 
80 ·····························text·has·been·completely·processed.·So,·an·input64 ···············included·once·the·input·text·has·been·completely·processed.·So,·an·input
81 ·····························file·can·define·many·"standard"·macros,·which·are65 ···············file·can·define·many·"standard"·macros,·which·are·then·expanded·by·a
82 ·····························then·expanded·by·a·template·file·to·form·a 
83 ·····························consistent·page·layout.66 ···············template·file·to·form·a·consistent·page·layout.
84 ·····························The·template·file·can·be·set·many·times,·but·only67 ···············The·template·file·can·be·set·many·times,·but·only·the·last·filename
85 ·····························the·last·filename·specified·will·be·processed·by 
86 ·····························htp.·If·multiple·template·files·need·to·be68 ···············specified·will·be·processed·by·htp.·If·multiple·template·files·need·to·be
87 ·····························included,·specify·one·template·file,·and·from·that69 ···············included,·specify·one·template·file,·and·from·that·file·use·FILE·INCLUDE·to
88 ·····························file·use·FILE·INCLUDE·to·branch·off.70 ···············branch·off.
89 ·····························Template·files·are·most·useful·when·placed·inside71 ···············Template·files·are·most·useful·when·placed·inside·an·htp·default_file.
Max diff block lines reached; 676/16121 bytes (4.19%) of diff not shown.
12.1 KB
./usr/share/doc/htp/if.html
    
Offset 114, 60 lines modifiedOffset 114, 35 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
 121 &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>
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">"bigfont"</span>&gt;</span><br> 
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;font·<span·class="htp-attrib">size</span>=<span·class="htp-string">"+4"</span>&gt;</span><br> 
123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br> 
124 <br> 
125 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"/bigfont"</span>&gt;</span><br> 
126 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/font&gt;</span><br> 
127 &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> 
128 <br> 
129 &nbsp;·<span·class="htp-tag">&lt;bigfont&gt;</span>Some·large·text<span·class="htp-tag">&lt;/bigfont&gt;</span><br> 
130 </code></p>122 </code></p>
131 <h2>synopsis</h2>123 <h2>synopsis</h2>
132 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building124 <STRONG>IF,·NOT,·ELSEIF,·ELSE,·and·/IF</STRONG>·are·the·building
133 blocks·for·conditional·processing.··The·basic·form·is·shown·above.125 blocks·for·conditional·processing.··The·basic·form·is·shown·above.
134 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A126 <P>·"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.··A
135 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal127 compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
136 string:128 string:
137 ··<p><code>129 ··<p><code>
138 <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">"increment[·...·truncated·by·diffoscope;·len:·71,·SHA:·62e4d50421585b0fed1c212b3797532ef0103284bd7f2eb8b557f63749727f63·...·]]</span>·<span·class="htp-attrib">[GLOBAL]</span>&gt;</span><br>130 <span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">SET</a>·<span·class="htp-attrib">macroname1</span>=<span·class="htp-string">"macrovalue1"</span>·<span·class="htp-attrib">[macroname2</span>=<span·class="htp-string">"macroval[·...·truncated·by·diffoscope;·len:·40,·SHA:·9011b8ae2a5b3d44ef5e5b7727a2d5e022a1a50f3d1b7f9ce119587a46574fa7·...·]]</span>·<span·class="htp-attrib">[GLOBAL]</span>&gt;</span><br>
139 <br>131 <br>
140 </code></p>132 </code></p>
141 <P>133 <P>
142 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:
143 <P>135 <P>
144 ··<p><code>136 ··<p><code>
 137 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">def</a>·<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>
 138 &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>
 139 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>
145 &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> 
146 &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> 
147 <br> 
148 &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> 
149 &nbsp;·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions<br> 
150 &nbsp;·(no·URL·replacement).<br> 
151 <br> 
152 &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> 
153 &nbsp;·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.<br> 
154 <br> 
155 &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> 
156 &nbsp;·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions<br> 
157 &nbsp;·will·not·be·added.<br> 
158 <br> 
159 &nbsp;·Order·is·important;·last·IMAGEURL·tag·takes·precedence:<br> 
160 &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> 
161 &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> 
162 <br>140 <br>
 141 &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>
163 &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> 
164 &nbsp;·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp.<br> 
165 &nbsp;·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second·<br> 
166 &nbsp;·image·would·be·mapped·to·/var/www/htdocs/test/image.gif.<br> 
167 </code></p>142 </code></p>
168 <P>143 <P>
169 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the144 If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
170 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that145 conditional·is·reversed.··The·first·IF·or·ELSEIF·condition·that
171 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the146 evaluates·to·true·is·chosen.··If·none·of·the·conditions·is·true·the
172 ELSE·block·is·taken·if·it·is·present.··A·conditional·block147 ELSE·block·is·taken·if·it·is·present.··A·conditional·block
173 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.148 <EM>must</EM>·be·closed·with·the·/IF·tag.··IF·tags·can·be·nested.
4.48 KB
html2text {}
    
Offset 1, 61 lines modifiedOffset 1, 38 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·······*****·syntax·*****
 4 Contents······· · ·<EM>File·"<[[ref]]FILE·NAME>"·last·updated·<[[ref]]FILE·TIME>,·<[
 5  Introduction·[ref]]FILE·DATE></EM>
4 Contents······· ·<[[ref]]def·name="bigfont"> 
5  Introduction· · ·<font·size="+4"> 
6  License······ ·<[[ref]]/def> 
7  Tutorial 
8  Usage········ ·<[[ref]]def·name="/bigfont"> 
9  HTP·Tags····· · ·</font> 
10   ··ALTTEXT·· ·<[[ref]]/def> 
11   ··BLOCK 
12   ··BLOCKDEF· ·<bigfont>Some·large·text</bigfont> 
13   ··DEF······*****·synopsis·*****6  License······*****·synopsis·*****
14   ··FILE·····IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building·blocks·for·conditional7  Tutorial·····IF,·NOT,·ELSEIF,·ELSE,·and·/IF·are·the·building·blocks·for·conditional
15  [>]·IF·······processing.·The·basic·form·is·shown·above.8  Usage········processing.·The·basic·form·is·shown·above.
16   ··INC······"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.·A·compare9  HTP·Tags·····"Conditional"·is·either·a·"compare"·or·"is·defined"·operation.·A
17   ··IMG······operator·is·a·test·of·the·value·of·a·macro·against·a·literal·string:10   ··ALTTEXT··compare·operator·is·a·test·of·the·value·of·a·macro·against·a·literal
18   ··IMAGEURL·<[[ref]]INC·macroname1="increment1"·[macroname2="increment2"·...·]·[GLOBAL]>11   ··BLOCK····string:
 12   ··BLOCKDEF·<[[ref]]SET·macroname1="macrovalue1"·[macroname2="macrovalue2"·...]
 13   ··DEF······[GLOBAL]>
 14   ··FILE
 15  [>]·IF·······and·a·defined·operator·is·a·test·of·a·macro's·existance:
 16   ··INC······ ·<[[ref]]def·name="sharedimg"·option="name·alt">
 17   ··IMG······ · ·<[[ref]]img·src="/home/sharedimages/${name}"·alt="${alt}">;
 18   ··IMAGEURL· ·<[[ref]]/def>
19   ··OPT19   ··OPT
20   ··OUTPUT···and·a·defined·operator·is·a·test·of·a·macro's·existance: 
21   ··QUOTE···· ·<[[ref]]imageurl·url="http://my.domain.org/"·path="/var/www/my.domain/"> 
22   ··SET······ ·<[[ref]]imageurl·url="other.domain.org/"·path="/var/www/other.domain/"> 
23   ··UNDEF 
24   ··UNSET···· ·For·this·line:·<[[ref]]img·src="logo.gif"> 
25   ··USE,_$··· ·the·local·filename·"logo.gif"·will·be·used·to·determine·image·dimensions 
26   ··WHILE···· ·(no·URL·replacement).20   ··OUTPUT··· ·<sharedimg·name="bubble.gif"·alt="Bubble·image">
 21   ··QUOTE····If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the
 22   ··SET······conditional·is·reversed.·The·first·IF·or·ELSEIF·condition·that
 23   ··UNDEF····evaluates·to·true·is·chosen.·If·none·of·the·conditions·is·true·the·ELSE
 24   ··UNSET····block·is·taken·if·it·is·present.·A·conditional·block·must·be·closed
 25   ··USE,_$···with·the·/IF·tag.·IF·tags·can·be·nested.
 26   ··WHILE
27   ··<!---27   ··<!---
28  History······ ·For·this·line:·<[[ref]]img·src="http://my.domain.org/logo.gif"> 
29  Wish_list···· ·the·local·filename·"/var/www/my.domain/logo.gif"·will·be·used.28  History
 29  Wish_list
30  Bugs30  Bugs
31 ··············· ·But·for·this·line:·<[[ref]]img·src="http://other.domain.org/logo.gif"> 
32 ··············· ·the·local·file·cannot·be·found·(no·prefix·match),·so·the·image·dimensions 
33 ··············· ·will·not·be·added. 
  
34 ··············· ·Order·is·important;·last·IMAGEURL·tag·takes·precedence: 
35 ··············· ·<[[ref]]imageurl·url="/"·path="/var/www/htdocs/"> 
36 ··············· ·<[[ref]]imageurl·url="/test/"·path="/var/www/test/"> 
  
37 ··············· ·<[[ref]]img·src="/image.gif"> and·<[[ref]]img·src="/test/image.gif"> are 
38 ···············mapped·to 
39 ··············· ·/var/www/htdocs/image.gif·and·/var/www/test/image.gif,·resp. 
40 ··············· ·If·the·order·of·the·imageurl·lines·would·be·swapped,·the·second 
41 ··············· ·image·would·be·mapped·to·/var/www/htdocs/test/image.gif. 
42 ···············If·the·NOT·tag·is·present·in·the·IF·markup,·the·evaluation·of·the·conditional 
43 ···············is·reversed.·The·first·IF·or·ELSEIF·condition·that·evaluates·to·true·is 
44 ···············chosen.·If·none·of·the·conditions·is·true·the·ELSE·block·is·taken·if·it·is 
45 ···············present.·A·conditional·block·must·be·closed·with·the·/IF·tag.·IF·tags·can·be 
46 ···············nested. 
  
  
  
  
  
  
  
  
  
  
  
  
Offset 76, 10 lines modifiedOffset 53, 10 lines modified
76 [Powered_by53 [Powered_by
77 htp]54 htp]
78 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/55 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
79 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.56 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
80 ·····Maintainers:·Jochen_Hoenicke.57 ·····Maintainers:·Jochen_Hoenicke.
81 Copyright·©·1995–96·Jim·Nelson.58 Copyright·©·1995–96·Jim·Nelson.
82 Copyright·©·2001–2014·Jochen_Hoenicke.59 Copyright·©·2001–2014·Jochen_Hoenicke.
83 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to·terms60 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to
84 described·in·the·License_section.61 terms·described·in·the·License_section.
85 last·updated·Sat·May·16,·201562 last·updated·Sat·May·16,·2015
6.22 KB
./usr/share/doc/htp/imageurl.html
    
Offset 114, 14 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="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"1"</span>·<span·class="htp-attrib">j</span>=<span·class="htp-string">"-1"</span>&gt;</span><br>
121 </code></p>122 </code></p>
122 <h2>synopsis</h2>123 <h2>synopsis</h2>
123 <P>124 <P>
124 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local125 <STRONG>IMAGEURL</STRONG>·tells·htp,·where·to·find·images·on·the·local
125 file·system.··declares·an·URL·replacement·that·is·used·for126 file·system.··declares·an·URL·replacement·that·is·used·for
126 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
127 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 135, 15 lines modifiedOffset 136, 17 lines modified
135 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
136 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.
137 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and138 If·no·IMAGEURL·matches·the·SRC·is·considered·as·relative·link·and
138 looked·up·in·the·current·directory.</P>139 looked·up·in·the·current·directory.</P>
139 <P>140 <P>
140 For·example:</P>141 For·example:</P>
141 ··<p><code>142 ··<p><code>
142 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>=<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="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>
 144 <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>
 145 <br>
143 </code></p>146 </code></p>
144 <P>147 <P>
145 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as148 If·IMAGEURL·is·specified·with·a·URL·but·no·PATH·attribute,·it·is·treated·as
146 an·undefine,·and·is·removed.</P>149 an·undefine,·and·is·removed.</P>
147 <P>150 <P>
148 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout151 Since·you·usually·need·the·url·mapping·for·a·number·of·images·used·throughout
149 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an152 a·set·of·documents,·IMAGEURL·is·most·appropriately·put·into·an
4.09 KB
html2text {}
    
Offset 1, 37 lines modifiedOffset 1, 40 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]]INC·i="1"·j="-1">
4  Introduction···············*****·synopsis·*****5  License····················*****·synopsis·*****
5  License····················IMAGEURL·tells·htp,·where·to·find·images·on·the6  Tutorial···················IMAGEURL·tells·htp,·where·to·find·images·on·the
6  Tutorial···················local·file·system.·declares·an·URL·replacement7  Usage······················local·file·system.·declares·an·URL·replacement
7  Usage······················that·is·used·for·size·lookups·in·any·IMG·tag.·This8  HTP·Tags···················that·is·used·for·size·lookups·in·any·IMG·tag.·This
8  HTP·Tags···················definitions·takes·effect·only·if·the·IMGXY·option9   ··ALTTEXT················definitions·takes·effect·only·if·the·IMGXY·option
9   ··ALTTEXT················is·enabled.·Beacause·htp·can't·lookup·files·in·the10   ··BLOCK··················is·enabled.·Beacause·htp·can't·lookup·files·in·the
10   ··BLOCK··················world·wide·web·you·have·to·map·absolute·image·URLs11   ··BLOCKDEF···············world·wide·web·you·have·to·map·absolute·image·URLs
11   ··BLOCKDEF···············to·a·directory·in·the·local·file·system.12   ··DEF····················to·a·directory·in·the·local·file·system.
12   ··DEF····················When·an·IMG·tag·is·encountered·where·htp·has·to13   ··FILE···················When·an·IMG·tag·is·encountered·where·htp·has·to
13   ··FILE···················insert·width·and·height·the·defined·URL14   ··IF·····················insert·width·and·height·the·defined·URL
14   ··IF·····················replacements·will·be·taken·into·account·(later15   ··INC····················replacements·will·be·taken·into·account·(later
15   ··INC····················definitions·take·precedence·to·earlier):·For·each16   ··IMG····················definitions·take·precedence·to·earlier):·For·each
16   ··IMG····················defined·imageurl·it·checks·(case-insensitive)·if17  [>]·IMAGEURL···············defined·imageurl·it·checks·(case-insensitive)·if
17  [>]·IMAGEURL···············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
18   ··OPT····················matches·this·prefix·is·replaced·by·the·given·PATH.19   ··OUTPUT·················matches·this·prefix·is·replaced·by·the·given·PATH.
19   ··OUTPUT·················If·no·IMAGEURL·matches·the·SRC·is·considered·as20   ··QUOTE··················If·no·IMAGEURL·matches·the·SRC·is·considered·as
20   ··QUOTE··················relative·link·and·looked·up·in·the·current21   ··SET····················relative·link·and·looked·up·in·the·current
21   ··SET····················directory.22   ··UNDEF··················directory.
22   ··UNDEF··················For·example:23   ··UNSET··················For·example:
23   ··UNSET·················· · ·<[[ref]]INC·i="1"·j="-1">24   ··USE,_$·················<[[ref]]UNDEF·tagname>
 25   ··WHILE··················<[[ref]]UNDEF·tagname1·tagname2·...·>
 26   ··<!---
24   ··USE,_$·················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH27  History····················If·IMAGEURL·is·specified·with·a·URL·but·no·PATH
25   ··WHILE··················attribute,·it·is·treated·as·an·undefine,·and·is28  Wish_list··················attribute,·it·is·treated·as·an·undefine,·and·is
26   ··<!---··················removed.29  Bugs·······················removed.
27  History····················Since·you·usually·need·the·url·mapping·for·a30 ·····························Since·you·usually·need·the·url·mapping·for·a
28  Wish_list··················number·of·images·used·throughout·a·set·of31 ·····························number·of·images·used·throughout·a·set·of
29  Bugs·······················documents,·IMAGEURL·is·most·appropriately·put·into32 ·····························documents,·IMAGEURL·is·most·appropriately·put·into
30 ·····························an·include_file·or·the·htp.def·file.33 ·····························an·include_file·or·the·htp.def·file.
31 ·····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also34 ·····························In·addition·to·WIDTH·and·HEIGHT,·htp·can·also
32 ·····························(semi-)automatically·add·an·ALT_text·attribute·to35 ·····························(semi-)automatically·add·an·ALT_text·attribute·to
33 ·····························IMG·tags.36 ·····························IMG·tags.
  
  
  
6.05 KB
./usr/share/doc/htp/img.html
    
Offset 114, 16 lines modifiedOffset 114, 21 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="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>121 &nbsp;·&nbsp;·a·is·expanded·at·time·1.<br>
 122 &nbsp;·&nbsp;·b·is·expanded·at·time·0.<br>
 123 &nbsp;·contents·of·a:·&nbsp;·a·is·expanded·at·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
 124 &nbsp;·contents·of·b:·&nbsp;·b·is·expanded·at·time·0.<br>
 125 &nbsp;·&nbsp;·c·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·1.<br>
 126 &nbsp;·&nbsp;·d·is·expanded·at·time·1;·&nbsp;·a·is·expanded·at·time·2.<br>
 127 &nbsp;·&nbsp;·e·is·expanded·at·time·2;·&nbsp;·a·is·defined·for·the·2nd·time·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">time</span>&gt;</span>.<br>
123 </code></p>128 </code></p>
124 <h2>synopsis</h2>129 <h2>synopsis</h2>
125 <P>·<STRONG>img</STRONG>·is·a·standard·HTML·tag.··htp·can·add·the·specified130 <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·advantage131 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·especially132 of·not·having·to·determine·each·image's·size·manually,·which·is·especially
128 useful·if·the·image·may·change·frequently.·</P>133 useful·if·the·image·may·change·frequently.·</P>
129 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup134 <P>·htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup
4.19 KB
html2text {}
    
Offset 1, 41 lines modifiedOffset 1, 38 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·IMG·******2 ******·htp·on-line·reference·:·IMG·******
3 Table_of_Contents············*****·syntax·*****3 Table_of·······*****·syntax·*****
4  Introduction···············<[[ref]]INC·macroname1="increment1" 
5  License····················[macroname2="increment2"·...·]·[GLOBAL]> 
6  Tutorial 
7  Usage······················*****·synopsis·***** 
8  HTP·Tags···················img·is·a·standard·HTML·tag.·htp·can·add·the 
9   ··ALTTEXT················specified·image's·width·and·height·to·the·tag 
10   ··BLOCK··················automatically.·This·has·the·advantage·of·not 
11   ··BLOCKDEF···············having·to·determine·each·image's·size·manually, 
12   ··DEF····················which·is·especially·useful·if·the·image·may·change 
13   ··FILE···················frequently. 
14   ··IF·····················htp·adds·this·information·with·the·WIDTH·and 
15   ··INC····················HEIGHT·markup·attributes.·If·htp·detects·these 
16  [>]·IMG····················attributes·are·already·present·in·the·tag,·it·will 
17   ··IMAGEURL···············not·modify·the·values.·If·htp·cannot·find·the 
18   ··OPT····················image·file,·it·will·issue·a·warning·but·not·halt 
19   ··OUTPUT·················processing.4 Contents······· · ·a·is·expanded·at·time·1.
 5  Introduction· · ·b·is·expanded·at·time·0.
 6  License······ ·contents·of·a:· ·a·is·expanded·at·time·<[[ref]]use·time>.
 7  Tutorial····· ·contents·of·b:· ·b·is·expanded·at·time·0.
 8  Usage········ · ·c·is·expanded·at·time·1;· ·a·is·expanded·at·time·1.
 9  HTP·Tags····· · ·d·is·expanded·at·time·1;· ·a·is·expanded·at·time·2.
 10   ··ALTTEXT·· · ·e·is·expanded·at·time·2;· ·a·is·defined·for·the·2nd·time·<[[ref]]use
 11   ··BLOCK····time>.
 12   ··BLOCKDEF·*****·synopsis·*****
 13   ··DEF······img·is·a·standard·HTML·tag.·htp·can·add·the·specified·image's·width·and
 14   ··FILE·····height·to·the·tag·automatically.·This·has·the·advantage·of·not·having·to
 15   ··IF·······determine·each·image's·size·manually,·which·is·especially·useful·if·the
 16   ··INC······image·may·change·frequently.
 17  [>]·IMG······htp·adds·this·information·with·the·WIDTH·and·HEIGHT·markup·attributes.·If
 18   ··IMAGEURL·htp·detects·these·attributes·are·already·present·in·the·tag,·it·will·not
 19   ··OPT······modify·the·values.·If·htp·cannot·find·the·image·file,·it·will·issue·a
 20   ··OUTPUT···warning·but·not·halt·processing.
20   ··QUOTE··················At·this·time,·GIF·(Graphic·Interchange·Format),21   ··QUOTE····At·this·time,·GIF·(Graphic·Interchange·Format),·PNG·(Portable·Network
21   ··SET····················PNG·(Portable·Network·Graphics),·and·JFIF·(JPEG 
22   ··UNDEF··················File·Interchange·Format)·are·supported.22   ··SET······Graphics),·and·JFIF·(JPEG·File·Interchange·Format)·are·supported.
 23   ··UNDEF····The·IMGXY_and_NOIMGXY·options·control·whether·or·not·htp·actually·adds·this
 24   ··UNSET····information·as·it·executes.
 25   ··USE,_$···Since·htp·is·able·to·lookup·files·only·in·the·local·filesystem,·the
 26   ··WHILE····IMAGEURL·tag·may·be·used·to·map·URLs·to·local·files.
 27   ··<!---····htp·can·also·add·default·ALT·text·to·IMG·tags·using·ALTTEXT.
 28  History
 29  Wish_list
 30  Bugs
23   ··UNSET··················The·IMGXY_and_NOIMGXY·options·control·whether·or 
24   ··USE,_$·················not·htp·actually·adds·this·information·as·it 
25   ··WHILE··················executes. 
26   ··<!---··················Since·htp·is·able·to·lookup·files·only·in·the 
27  History····················local·filesystem,·the·IMAGEURL·tag·may·be·used·to 
28  Wish_list··················map·URLs·to·local·files. 
29  Bugs·······················htp·can·also·add·default·ALT·text·to·IMG·tags 
30 ·····························using·ALTTEXT. 
  
  
  
  
  
  
  
  
  
  
Offset 50, 17 lines modifiedOffset 47, 18 lines modified
  
  
50  page_source47  page_source
51  htp_project48  htp_project
52  htp_homepage49  htp_homepage
53 hosted·by50 hosted·by
54 Sourceforge51 Sourceforge
55 HTML·coding·[Powered_by52 HTML·coding
 53 [Powered_by
56 htp]54 htp]
57 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/55 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
58 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.56 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
59 ·····Maintainers:·Jochen_Hoenicke.57 ·····Maintainers:·Jochen_Hoenicke.
60 Copyright·©·1995–96·Jim·Nelson.58 Copyright·©·1995–96·Jim·Nelson.
61 Copyright·©·2001–2014·Jochen_Hoenicke.59 Copyright·©·2001–2014·Jochen_Hoenicke.
62 Permission·to·reproduce·and·distribute·this·hypertext·document·granted60 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to·terms
63 according·to·terms·described·in·the·License_section.61 described·in·the·License_section.
64 last·updated·Sat·May·16,·201562 last·updated·Sat·May·16,·2015
12.1 KB
./usr/share/doc/htp/inc.html
    
Offset 114, 58 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;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>
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> 
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>122 </code></p>
144 <h2>synopsis</h2>123 <h2>synopsis</h2>
145 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a124 The·<STRONG>INC</STRONG>·can·be·used·for·incrementing/decrementing·a
146 variable·or·for·variable·addition.··The·basic·form·is·shown·above.125 variable·or·for·variable·addition.··The·basic·form·is·shown·above.
147 <P>126 <P>
148 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a127 The·"increment"·is·anything·that·evaluates·to·a·integer.··It·can·be·a
149 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The128 literal·string·or·a·macro·preceeded·by·the·'$'-operator.··The
150 macroname·must·be·the·name·of·a·defined·macro·that·contains·an129 macroname·must·be·the·name·of·a·defined·macro·that·contains·an
151 integer.··If·the·increment·is·ommitted·it·defaults·to·1.130 integer.··If·the·increment·is·ommitted·it·defaults·to·1.
152 The·effect·of·this·operation·is·that·the·macro·is·redefined131 The·effect·of·this·operation·is·that·the·macro·is·redefined
153 to·contain·the·sum·of·its·previous·value·and·its·increment.132 to·contain·the·sum·of·its·previous·value·and·its·increment.
154 <P>133 <P>
155 To·increment·or·decrement·a·variable·you·can·use·this·form:134 To·increment·or·decrement·a·variable·you·can·use·this·form:
156 ··<p><code>135 ··<p><code>
 136 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"bolditalic"</span>&gt;</span><br>
 137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;b&gt;</span><span·class="htp-tag">&lt;i&gt;</span><br>
157 <span·class="htp-tag">&lt;<a·href="opt.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">OPT</a>·<span·class="htp-attrib">(IMGXY|NOIMGXY)</span>&gt;</span><br>138 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>&gt;</span><br>
 139 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;/i&gt;</span><span·class="htp-tag">&lt;/b&gt;</span><br>
158 <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>140 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/blockdef</a>&gt;</span><br>
159 <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> 
160 <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> 
161 <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> 
162 <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> 
163 <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> 
164 <br>141 <br>
 142 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br>
165 </code></p>143 </code></p>
166 <p>144 <p>
167 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It145 Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.··It
168 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer146 may·give·weired·results·when·used·on·arbitrary·strings.··The·integer
169 values·are·limited·to·the·range·-2^31..2^31.147 values·are·limited·to·the·range·-2^31..2^31.
170 <P>148 <P>
171 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.149 Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.
4.92 KB
html2text {}
    
Offset 1, 58 lines modifiedOffset 1, 38 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·······*****·syntax·*****
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/">4 Contents······· · ·<EM>File·"<[[ref]]FILE·NAME>"·last·updated·<[[ref]]FILE·TIME>,·<[
 5  Introduction·[ref]]FILE·DATE></EM>
 6  License······*****·synopsis·*****
 7  Tutorial·····The·INC·can·be·used·for·incrementing/decrementing·a·variable·or·for
 8  Usage········variable·addition.·The·basic·form·is·shown·above.
 9  HTP·Tags·····The·"increment"·is·anything·that·evaluates·to·a·integer.·It·can·be·a
 10   ··ALTTEXT··literal·string·or·a·macro·preceeded·by·the·'$'-operator.·The·macroname
 11   ··BLOCK····must·be·the·name·of·a·defined·macro·that·contains·an·integer.·If·the
 12   ··BLOCKDEF·increment·is·ommitted·it·defaults·to·1.·The·effect·of·this·operation·is
 13   ··DEF······that·the·macro·is·redefined·to·contain·the·sum·of·its·previous·value
 14   ··FILE·····and·its·increment.
 15   ··IF·······To·increment·or·decrement·a·variable·you·can·use·this·form:
 16  [>]·INC······ ·<[[ref]]blockdef·name="bolditalic">
 17   ··IMG······ · ·<b><i>
 18   ··IMAGEURL· · ·<[[ref]]use·block>
 19   ··OPT······ · ·</i></b>
 20   ··OUTPUT··· ·<[[ref]]/blockdef>
21   ··QUOTE21   ··QUOTE
 22   ··SET······ ·This·is·<bolditalic>bold·and·italic</bolditalic>
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·the 
32 ···············name·of·a·defined·macro·that·contains·an·integer.·If·the·increment·is 
33 ···············ommitted·it·defaults·to·1.·The·effect·of·this·operation·is·that·the·macro·is 
34 ···············redefined·to·contain·the·sum·of·its·previous·value·and·its·increment. 
35 ···············To·increment·or·decrement·a·variable·you·can·use·this·form: 
36 ···············<[[ref]]OPT·(IMGXY|NOIMGXY)> 
37 ···············<[[ref]]OPT·(QUIET|VERBOSE)> 
38 ···············<[[ref]]OPT·(DEPEND|NODEPEND)> 
39 ···············<[[ref]]OPT·(PRECIOUS|NOPRECIOUS)> 
40 ···············<[[ref]]OPT·(CONDENSE|SEMICONDENSE|NOCONDENSE)> 
41 ···············<[[ref]]OPT·DELIM=(HTML|SQUARE|CURLY)> 
42 ···············<[[ref]]OPT·(XML|XML=FALSE)> 
  
43 ···············Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.·It·may23   ··UNDEF····Note·that·INC·doesn't·check·if·the·strings·really·denote·integers.·It
44 ···············give·weired·results·when·used·on·arbitrary·strings.·The·integer·values·are24   ··UNSET····may·give·weired·results·when·used·on·arbitrary·strings.·The·integer
45 ···············limited·to·the·range·-2^31..2^31.25   ··USE,_$···values·are·limited·to·the·range·-2^31..2^31.
46 ···············Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.·The·INC26   ··WHILE····Note·further·that·htp·wasn't·designed·to·do·extensive·calculations.·The
47 ···············tag·is·useful·in·conjunction·with·WHILE·to·iterate·over·the·defined·blocks.27   ··<!---····INC·tag·is·useful·in·conjunction·with·WHILE·to·iterate·over·the·defined
  
 28  History······blocks.
 29  Wish_list
 30  Bugs
  
  
  
  
  
  
  
Offset 76, 10 lines modifiedOffset 56, 10 lines modified
76 [Powered_by56 [Powered_by
77 htp]57 htp]
78 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/58 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
79 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.59 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
80 ·····Maintainers:·Jochen_Hoenicke.60 ·····Maintainers:·Jochen_Hoenicke.
81 Copyright·©·1995–96·Jim·Nelson.61 Copyright·©·1995–96·Jim·Nelson.
82 Copyright·©·2001–2014·Jochen_Hoenicke.62 Copyright·©·2001–2014·Jochen_Hoenicke.
83 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to·terms63 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according·to
84 described·in·the·License_section.64 terms·described·in·the·License_section.
85 last·updated·Sat·May·16,·201565 last·updated·Sat·May·16,·2015
19.7 KB
./usr/share/doc/htp/metatag.html
    
Offset 90, 14 lines modifiedOffset 90, 16 lines modified
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="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>95 <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>
96 <font·size="-2">&nbsp;2.·</font><br>96 <font·size="-2">&nbsp;2.·</font><br>
 97 <font·size="-2">&nbsp;3.·</font>e.gif"·SIZE=KBYTE>·kilobytes<br>
 98 <font·size="-2">&nbsp;4.·</font>&nbsp;·&nbsp;·Last·modified·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">TIME</span>&gt;</span>,·<span·class="htp-tag">&lt;<a·href="file.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">FILE</a>·<span·class="htp-attrib">NAME</span>=<span·class="htp-string">"image.gif"</span>·<span·class="htp-attrib">DATE</span>&gt;</span><br>
97 </code></p>99 </code></p>
98 <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.
99 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.
100 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
101 <code>/def</code></a>·tags.··You·don't·have·to·understand·this103 <code>/def</code></a>·tags.··You·don't·have·to·understand·this
102 html·code,·but·you·should·understand·that·this·is·just·pure·html·to104 html·code,·but·you·should·understand·that·this·is·just·pure·html·to
103 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>105 draw·the·fancy·rule.·Every·time·you·write·<code>&lt;imghr&gt;</code>
Offset 107, 41 lines modifiedOffset 109, 35 lines modified
107 file</a>.··</p>109 file</a>.··</p>
108 <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
109 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
110 encounters·a·blockdef·tag·it·will·automatically·search·for·the112 encounters·a·blockdef·tag·it·will·automatically·search·for·the
111 matching·closing·tag·and·put·everything·between·these·tags·in·a·block113 matching·closing·tag·and·put·everything·between·these·tags·in·a·block
112 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>
113 ··<p><code>115 ··<p><code>
114 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br>116 <font·size="-2">&nbsp;1.·</font><span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname</span>&gt;</span><br>
115 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname1</span>·<span·class="htp-attrib">tagname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>117 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
116 <font·size="-2">&nbsp;3.·</font><br>118 <font·size="-2">&nbsp;3.·</font><br>
117 </code></p>119 </code></p>
118 <h2>Using·parameters</h2>120 <h2>Using·parameters</h2>
119 <p>·More·sophisticated·tags·accept·parameters.··The121 <p>·More·sophisticated·tags·accept·parameters.··The
120 <code>option</code>·parameter·lets·multiple·metatag·parameters·be122 <code>option</code>·parameter·lets·multiple·metatag·parameters·be
121 named·and·expanded·inside·the·<code>def</code>·or123 named·and·expanded·inside·the·<code>def</code>·or
122 <code>blockdef</code>·block:·</p>124 <code>blockdef</code>·block:·</p>
123 ··<p><code>125 ··<p><code>
 126 <font·size="-2">&nbsp;1.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">email_addr</span>&gt;</span><br>
124 <font·size="-2">&nbsp;1.·</font><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> 
125 <font·size="-2">&nbsp;2.·</font><span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
126 <font·size="-2">&nbsp;3.·</font><span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
127 <font·size="-2">&nbsp;4.·</font><br> 
128 </code></p>127 </code></p>
129 <h2>Saving·blocks·for·later</h2>128 <h2>Saving·blocks·for·later</h2>
130 <p>When·you·are·using·templates,·the·html·should·only·be·written·by129 <p>When·you·are·using·templates,·the·html·should·only·be·written·by
131 the·template·file.··The·normal·htp·files·should·just·define·macros130 the·template·file.··The·normal·htp·files·should·just·define·macros
132 that·are·used·later·in·the·template.··So·you·may·want·to·write·block131 that·are·used·later·in·the·template.··So·you·may·want·to·write·block
133 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this132 tags·that·just·save·the·block·in·a·macro·for·later·use.··Although·this
134 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to133 is·possible·with·htp·it·is·quite·tricky,·so·here·we·present·the·way·to
135 do·this:</p>134 do·this:</p>
136 ··<p><code>135 ··<p><code>
 136 <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>
137 <font·size="-2">&nbsp;1.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br> 
138 <font·size="-2">&nbsp;2.·</font>&nbsp;·&nbsp;·...<br> 
139 <font·size="-2">&nbsp;3.·</font>&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br> 
140 <font·size="-2">&nbsp;4.·</font>&nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br> 
141 </code></p>137 </code></p>
142 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a138 <p>·This·defines·a·block·macro·named·section.··This·macro·uses·a
143 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is139 counter·<code>sect-ctr</code>·that·enumerates·the·sections.··It·is
144 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is140 increased·for·every·section·(line·3)·and·then·the·block·macro·name·is
145 build·from·this·counter.··So·the·first·section·is·stored·in·block141 build·from·this·counter.··So·the·first·section·is·stored·in·block
146 sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag142 sect-1,·the·second·in·sect-2·and·so·on.··The·<a·href="expand.html#global"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10"><code>global</code></a>·flag
147 in·line·4·tells·htp·that·these·macros·should·be·defined·globally143 in·line·4·tells·htp·that·these·macros·should·be·defined·globally
13.4 KB
html2text {}
    
Offset 1, 125 lines modifiedOffset 1, 107 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·Metatags·******2 ******·htp·on-line·reference·:·Metatags·******
3 Table_of_Contents·······*****·Programming·your·own·tags·*****3 Table_of········*****·Programming·your·own·tags·*****
4  Introduction··········Metatags·allow·for·defining·your·own·HTML-like·tags.4 Contents········Metatags·allow·for·defining·your·own·HTML-like·tags.·When·you·define·a
 5  Introduction··metatag·you·have·to·provide·the·HTML·code·which·it·abbreviates.·In·fact
5  License···············When·you·define·a·metatag·you·have·to·provide·the·HTML 
6  Tutorial··············code·which·it·abbreviates.·In·fact·metatags·are·just 
7   ··Macros············like·block·macros,·but·they·have·a·nicer·syntax.·With6  License·······metatags·are·just·like·block·macros,·but·they·have·a·nicer·syntax.·With
8   ··Including·········metatags·you·can·expand·htp's·functionality.7  Tutorial······metatags·you·can·expand·htp's·functionality.
 8   ··Macros····Metatags·are·defined·with·the·[[ref]]def·and·[[ref]]blockdef·tags·and
 9   ··Including·undefined·with·the·[[ref]]undef·tag.
 10   ··Templates·As·an·example·we·show·how·to·define·a·tag·that·builds·a·fancy·horizontal
 11   ··Files·····rule·out·of·several·images.
9   ··Templates·········Metatags·are·defined·with·the·[[ref]]def·and·[ 
10   ··Files·············[ref]]blockdef·tags·and·undefined·with·the·[ 
11  [>]·Metatags··········[ref]]undef·tag. 
12  Usage·················As·an·example·we·show·how·to·define·a·tag·that·builds 
13  HTP_Tags··············a·fancy·horizontal·rule·out·of·several·images. 
14  History··············· 1.<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]>12  [>]·Metatags·· 1.<[[ref]]QUOTE·TAG·[ATTRIBUTE=VALUE·...]>
15  Wish_list············· 2.13  Usage········· 2.
 14  HTP_Tags······ 3.e.gif"·SIZE=KBYTE>·kilobytes
 15  History······· 4. · ·Last·modified·<[[ref]]FILE·NAME="image.gif"·TIME>,·<[[ref]]FILE
 16  Wish_list·····NAME="image.gif"·DATE>
16  Bugs··················In·line·1·of·the·above·example·a·new·tag·named·imghr17  Bugs··········In·line·1·of·the·above·example·a·new·tag·named·imghr·is·defined.·The·html
 18 ················code·which·implements·this·rule·is·following·in·lines·2-8.·between·the·[
17 ························is·defined.·The·html·code·which·implements·this·rule 
18 ························is·following·in·lines·2-8.·between·the·[[ref]]def_and 
19 ························/def·tags.·You·don't·have·to·understand·this·html19 ················[ref]]def_and_/def·tags.·You·don't·have·to·understand·this·html·code,·but
 20 ················you·should·understand·that·this·is·just·pure·html·to·draw·the·fancy·rule.
20 ························code,·but·you·should·understand·that·this·is·just·pure 
21 ························html·to·draw·the·fancy·rule.·Every·time·you·write 
22 ························<imghr>·as·in·line·12·htp·will·replace·this·tag·with21 ················Every·time·you·write·<imghr>·as·in·line·12·htp·will·replace·this·tag·with
23 ························the·corresponding·html·code.·To·make·metatags22 ················the·corresponding·html·code.·To·make·metatags·available·to·all·htp
24 ························available·to·all·htp·documents·in·your·project,·place 
25 ························them·in·a·common·[[ref]]include_file.23 ················documents·in·your·project,·place·them·in·a·common·[[ref]]include_file.
26 ························Often·you·want·to·define·tags·that·have·an·opening·and24 ················Often·you·want·to·define·tags·that·have·an·opening·and·a·closing·variant.
 25 ················For·this·purpose·you·should·use·the·[[ref]]blockdef·tag.·When·htp
27 ························a·closing·variant.·For·this·purpose·you·should·use·the 
28 ························[[ref]]blockdef·tag.·When·htp·encounters·a·blockdef 
29 ························tag·it·will·automatically·search·for·the·matching26 ················encounters·a·blockdef·tag·it·will·automatically·search·for·the·matching
30 ························closing·tag·and·put·everything·between·these·tags·in·a27 ················closing·tag·and·put·everything·between·these·tags·in·a·block·macro·named
31 ························block·macro·named·block.·Here·is·an·example·for·this.28 ················block.·Here·is·an·example·for·this.
32 ························ 1.<[[ref]]UNDEF·tagname>29 ················ 1.<[[ref]]unset·macroname>
33 ························ 2.<[[ref]]UNDEF·tagname1·tagname2·...·>30 ················ 2.<[[ref]]unset·macroname1·macroname2·...·>
34 ························ 3.31 ················ 3.
35 ························*****·Using·parameters·*****32 ················*****·Using·parameters·*****
36 ························More·sophisticated·tags·accept·parameters.·The·option33 ················More·sophisticated·tags·accept·parameters.·The·option·parameter·lets
 34 ················multiple·metatag·parameters·be·named·and·expanded·inside·the·def·or
 35 ················blockdef·block:
 36 ················ 1. · ·<[[ref]]unset·email_addr>
37 ························parameter·lets·multiple·metatag·parameters·be·named 
38 ························and·expanded·inside·the·def·or·blockdef·block: 
39 ························ 1.<[[ref]]use·macroname·[parameters·...]·[noexpand]> 
40 ························ 2.<...·$macroname·...> 
41 ························ 3.<...·${macroname}·...> 
42 ························ 4. 
43 ························*****·Saving·blocks·for·later·*****37 ················*****·Saving·blocks·for·later·*****
44 ························When·you·are·using·templates,·the·html·should·only·be38 ················When·you·are·using·templates,·the·html·should·only·be·written·by·the
 39 ················template·file.·The·normal·htp·files·should·just·define·macros·that·are
45 ························written·by·the·template·file.·The·normal·htp·files 
46 ························should·just·define·macros·that·are·used·later·in·the 
47 ························template.·So·you·may·want·to·write·block·tags·that40 ················used·later·in·the·template.·So·you·may·want·to·write·block·tags·that·just
48 ························just·save·the·block·in·a·macro·for·later·use.·Although41 ················save·the·block·in·a·macro·for·later·use.·Although·this·is·possible·with
49 ························this·is·possible·with·htp·it·is·quite·tricky,·so·here 
50 ························we·present·the·way·to·do·this:42 ················htp·it·is·quite·tricky,·so·here·we·present·the·way·to·do·this:
 43 ················ 1. · ·<[[ref]]unset·email_addr·home_url·login_name>
51 ························ 1. ·<[[ref]]WHILE·NOT·i="10"> 
52 ························ 2. · ·... 
53 ························ 3. · ·<[[ref]]INC·i> 
54 ························ 4. ·<[[ref]]/WHILE> 
55 ························This·defines·a·block·macro·named·section.·This·macro44 ················This·defines·a·block·macro·named·section.·This·macro·uses·a·counter·sect-
 45 ················ctr·that·enumerates·the·sections.·It·is·increased·for·every·section·(line
56 ························uses·a·counter·sect-ctr·that·enumerates·the·sections. 
57 ························It·is·increased·for·every·section·(line·3)·and·then 
58 ························the·block·macro·name·is·build·from·this·counter.·So46 ················3)·and·then·the·block·macro·name·is·build·from·this·counter.·So·the·first
 47 ················section·is·stored·in·block·sect-1,·the·second·in·sect-2·and·so·on.·The·[
59 ························the·first·section·is·stored·in·block·sect-1,·the 
60 ························second·in·sect-2·and·so·on.·The·[[ref]]global·flag·in 
61 ························line·4·tells·htp·that·these·macros·should·be·defined48 ················[ref]]global·flag·in·line·4·tells·htp·that·these·macros·should·be·defined
62 ························globally·for·the·remaining·run.·Otherwise·they·would49 ················globally·for·the·remaining·run.·Otherwise·they·would·be·forgotten·at·the
63 ························be·forgotten·at·the·end·of·the·section·macro.50 ················end·of·the·section·macro.
64 ························The·tricky·part·is·the·[[ref]]expand·and·noexpand51 ················The·tricky·part·is·the·[[ref]]expand·and·noexpand·flags·in·line·4·and·5.
65 ························flags·in·line·4·and·5.·Normally·when·you·define·a 
66 ························block·macro·the·code·between·the·start·and·end·tag·is52 ················Normally·when·you·define·a·block·macro·the·code·between·the·start·and·end
67 ························literally·copied·into·the·macro·value.·The·expansion53 ················tag·is·literally·copied·into·the·macro·value.·The·expansion·takes·place
 54 ················when·the·macro·is·used.·In·this·case·that·doesn't·make·sense;·all·macros
68 ························takes·place·when·the·macro·is·used.·In·this·case·that 
69 ························doesn't·make·sense;·all·macros·sect-1,·sect-2·and·so 
70 ························on·would·just·contain·the·same·value,·namely·<use55 ················sect-1,·sect-2·and·so·on·would·just·contain·the·same·value,·namely·<use
71 ························block>·and·block·wouldn't·be·defined·anymore·when·the56 ················block>·and·block·wouldn't·be·defined·anymore·when·the·macros·are·finally
72 ························macros·are·finally·expanded.·Therefore·we·use·expand 
73 ························to·expand·the·use·tag·already·when·sect-1·is·defined.57 ················expanded.·Therefore·we·use·expand·to·expand·the·use·tag·already·when
 58 ················sect-1·is·defined.
74 ························The·noexpand·attribute·of·the·[[ref]]use·tag·is·just59 ················The·noexpand·attribute·of·the·[[ref]]use·tag·is·just·the·opposite·and
 60 ················prevents·the·contents·of·block·to·be·expanded·twice.·If·you·omit·it,·it
75 ························the·opposite·and·prevents·the·contents·of·block·to·be 
76 ························expanded·twice.·If·you·omit·it,·it·would·be·expanded 
77 ························when·defining·the·sect-1·macro·and·when·using·it·later61 ················would·be·expanded·when·defining·the·sect-1·macro·and·when·using·it·later
78 ························in·the·template.·Generally·it·is·a·good·idea·to·use62 ················in·the·template.·Generally·it·is·a·good·idea·to·use·noexpand·whenever·you
79 ························noexpand·whenever·you·use·expand·in·a·block·around·it.63 ················use·expand·in·a·block·around·it.
80 ························To·close·this·example·we·show·how·to·expand·the·sect-$64 ················To·close·this·example·we·show·how·to·expand·the·sect-${sect-ctr}·blocks
81 ························{sect-ctr}·blocks·in·the·template:65 ················in·the·template:
82 ························ 1. ·<[[ref]]WHILE·sect-$i>66 ················ 1. ·<[[ref]]WHILE·sect-$i>
83 ························ 2. · ·...67 ················ 2. · ·...
84 ························ 3. · ·<[[ref]]INC·i>68 ················ 3. · ·<[[ref]]INC·i>
85 ························ 4. ·<[[ref]]/WHILE>69 ················ 4. ·<[[ref]]/WHILE>
86 ························The·[[ref]]while·tag·in·line·3·checks·whether·the70 ················The·[[ref]]while·tag·in·line·3·checks·whether·the·macro·sect-${sect-ctr}
87 ························macro·sect-${sect-ctr}·is·defined.·If·it·is·defined 
88 ························the·body·is·evaluated,·which·expands·the·macro·and71 ················is·defined.·If·it·is·defined·the·body·is·evaluated,·which·expands·the
89 ························increases·sect-ctr.·Afterwards·the·while·condition·is72 ················macro·and·increases·sect-ctr.·Afterwards·the·while·condition·is·checked
90 ························checked·again·to·check·for·sect-2·macro.·This·repeats 
91 ························until·sect-${sect-ctr}·is·not·defined.73 ················again·to·check·for·sect-2·macro.·This·repeats·until·sect-${sect-ctr}·is
 74 ················not·defined.
92 ························*****·Conclusions·*****75 ················*****·Conclusions·*****
93 ························This·closes·our·short·htp·tutorial.·I·hope·you·did76 ················This·closes·our·short·htp·tutorial.·I·hope·you·did·enjoy·it·and·see·the
 77 ················advantages·of·using·htp·for·your·own·projects.·Please·give·us·some
94 ························enjoy·it·and·see·the·advantages·of·using·htp·for·your 
95 ························own·projects.·Please·give·us·some·feedback·about·this 
96 ························tutorial.·What·can·be·improved?78 ················feedback·about·this·tutorial.·What·can·be·improved?
97 ························There·is·more·documentation·in·this·manual,·see·the·[79 ················There·is·more·documentation·in·this·manual,·see·the·[[ref]]Usage·chapter
 80 ················or·browse·the·documentations·for·the·htp·tags.·If·you're·looking·for
98 ························[ref]]Usage·chapter·or·browse·the·documentations·for 
99 ························the·htp·tags.·If·you're·looking·for·examples,·in·case 
100 ························you·haven't·already·noticed·yourself,·there·is·a·link81 ················examples,·in·case·you·haven't·already·noticed·yourself,·there·is·a·link
101 ························to·the·source·code·on·the·left,·where·you·can·get·the82 ················to·the·source·code·on·the·left,·where·you·can·get·the·source·code·for
102 ························source·code·for·every·page·on·this·site.83 ················every·page·on·this·site.
Max diff block lines reached; 656/13650 bytes (4.81%) of diff not shown.
3.11 KB
./usr/share/doc/htp/opt.html
    
Offset 114, 16 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 <span·class="htp-tag">&lt;<a·href="quote.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">QUOTE</a>·<span·class="htp-attrib">TAG</span>·<span·class="ebnf">[</span><span·class="htp-attrib">ATTRIBUTE</span>=<span·class="htp-value">VALUE</span>·<span·class="htp-attr[·...·truncated·by·diffoscope;·len:·7,·SHA:·7a890a2d48ecdac0e20f98a52ec21a732c640d76b71156c3032ae809dac9dae7·...·]</span><span·class="ebnf">]</span>&gt;</span><br>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·cl[·...·truncated·by·diffoscope;·len:·159,·SHA:·1bdc930d8f69f15ef626cb277065d7da1638cb237e142b2009cebee670ddcd17·...·]</span><span·class="ebnf">]</span>&gt;</span><br>
122 <br>122 <br>
 123 &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>
 124 <br>
 125 &nbsp;·This·is·<span·class="htp-tag">&lt;bolditalic&gt;</span>bold·and·italic<span·class="htp-tag">&lt;/bolditalic&gt;</span><br>
123 </code></p>126 </code></p>
124 <h2>synopsis</h2>127 <h2>synopsis</h2>
125 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing128 <STRONG>OPT</STRONG>·is·an·htp·tag·that·can·be·used·to·specify·processing
126 options·inside·the·actual·document·being·processed.··The·options·are129 options·inside·the·actual·document·being·processed.··The·options·are
127 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not130 used·exactly·as·they·would·be·on·the·command-line,·although·they·are·not
128 preceded·by·a·&lsquo;-&rsquo;·character.131 preceded·by·a·&lsquo;-&rsquo;·character.
129 <P>132 <P>
1.46 KB
html2text {}
    
Offset 1, 21 lines modifiedOffset 1, 21 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·...]>4 Contents·······<[[ref]]SET·macroname1="macrovalue1"·[macroname2="macrovalue2"·...]·[GLOBAL]>
5  Introduction5  Introduction
 6  License······ <[[ref]]/blockdef>
 7  Tutorial
 8  Usage········ ·This·is·<bolditalic>bold·and·italic</bolditalic>
6  License······*****·synopsis·*****9  HTP·Tags·····*****·synopsis·*****
7  Tutorial·····OPT·is·an·htp·tag·that·can·be·used·to·specify·processing·options·inside·the10   ··ALTTEXT··OPT·is·an·htp·tag·that·can·be·used·to·specify·processing·options·inside·the
8  Usage········actual·document·being·processed.·The·options·are·used·exactly·as·they·would·be11   ··BLOCK····actual·document·being·processed.·The·options·are·used·exactly·as·they·would·be
9  HTP·Tags·····on·the·command-line,·although·they·are·not·preceded·by·a·‘-’·character.12   ··BLOCKDEF·on·the·command-line,·although·they·are·not·preceded·by·a·‘-’·character.
10   ··ALTTEXT··Click·here·for·more_information_on_using_customization_options_with_htp.13   ··DEF······Click·here·for·more_information_on_using_customization_options_with_htp.
11   ··BLOCK 
12   ··BLOCKDEF 
13   ··DEF 
14   ··FILE14   ··FILE
15   ··IF15   ··IF
16   ··INC16   ··INC
17   ··IMG17   ··IMG
18   ··IMAGEURL18   ··IMAGEURL
19  [>]·OPT19  [>]·OPT
20   ··OUTPUT20   ··OUTPUT
Offset 25, 14 lines modifiedOffset 25, 17 lines modified
25   ··UNSET25   ··UNSET
26   ··USE,_$26   ··USE,_$
27   ··WHILE27   ··WHILE
28   ··<!---28   ··<!---
29  History29  History
30  Wish_list30  Wish_list
31  Bugs31  Bugs
  
  
  
32  page_source32  page_source
33  htp_project33  htp_project
34  htp_homepage34  htp_homepage
35 hosted·by35 hosted·by
36 Sourceforge36 Sourceforge
37 HTML·coding37 HTML·coding
38 [Powered_by38 [Powered_by
2.28 KB
./usr/share/doc/htp/output.html
    
Offset 114, 15 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="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·cl[·...·truncated·by·diffoscope;·len:·186,·SHA:·47822d410d724c3f83a54fc0ddddb6707fce706ae6e657c1465a05f8cccdafe6·...·]</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>
122 <br>123 <br>
123 </code></p>124 </code></p>
124 <h2>synopsis</h2>125 <h2>synopsis</h2>
125 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary126 <P>·The·<STRONG>OUTPUT</STRONG>·tag·can·be·used·to·create·auxillary
126 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the127 files·besides·the·main·HTML·file.··The·text·between·this·tag·and·the
127 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>128 corresponding·&lt;/OUTPUT&gt;·tag·is·written·to·output·file.·</P>
128 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you129 <P>·Normally·the·outputfile·is·cleared·before·writing·to·it,·but·you
823 B
html2text {}
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·OUTPUT·******2 ******·htp·on-line·reference·:·OUTPUT·******
3 Table_of_Contents············*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
4  Introduction···············<[[ref]]SET·macroname1="macrovalue1"4  Introduction···············<[[ref]]UNDEF·tagname>
5  License····················[macroname2="macrovalue2"·...]·[GLOBAL]>5  License····················<[[ref]]UNDEF·tagname1·tagname2·...·>
6  Tutorial6  Tutorial
7  Usage······················*****·synopsis·*****7  Usage······················*****·synopsis·*****
8  HTP·Tags···················The·OUTPUT·tag·can·be·used·to·create·auxillary8  HTP·Tags···················The·OUTPUT·tag·can·be·used·to·create·auxillary
9   ··ALTTEXT················files·besides·the·main·HTML·file.·The·text·between9   ··ALTTEXT················files·besides·the·main·HTML·file.·The·text·between
10   ··BLOCK··················this·tag·and·the·corresponding·</OUTPUT>·tag·is10   ··BLOCK··················this·tag·and·the·corresponding·</OUTPUT>·tag·is
11   ··BLOCKDEF···············written·to·output·file.11   ··BLOCKDEF···············written·to·output·file.
12   ··DEF····················Normally·the·outputfile·is·cleared·before·writing12   ··DEF····················Normally·the·outputfile·is·cleared·before·writing
7.55 KB
./usr/share/doc/htp/quote.html
    
Offset 114, 17 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 &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>
 122 &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>
 123 &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>
 124 &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>
 125 &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>
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>126 &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>
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>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>·<span·class="htp-attrib">size</span>&gt;</span><br>
 128 &nbsp;·&nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;/FONT&gt;</span><br>
 129 &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>
 130 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/DEF</a>&gt;</span><br>
123 <br>131 <br>
 132 &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>
 133 <br>
 134 &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>
 135 <br>
 136 &nbsp;·This·will·fail:<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">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>
 138 <br>
 139 &nbsp;·Instead,·use·*·like·this:<br>
 140 &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>
 141 &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>
 142 &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>
 143 &nbsp;·&nbsp;·<br>
 144 &nbsp;·<span·class="htp-tag">&lt;MYIMG·<span·class="htp-attrib">SRC</span>=<span·class="htp-string">"logo.gif"</span>·<span·class="htp-attrib">ALT</span>=<span·class="htp-string">"Our·logo"</span>&gt;</span><br>
124 </code></p>145 </code></p>
125 <h2>synopsis</h2>146 <h2>synopsis</h2>
126 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise147 <STRONG>QUOTE</STRONG>·is·used·to·quote·a·macro·that·would·otherwise
127 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a148 be·interpreted·by·HTP.··It·may·be·useful·in·conjunction·with·a
128 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early149 surrounding·<a·href="expand.html">EXPAND</a>ed·block·to·prevent·early
129 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still150 expansion·of·some·contained·blocks.··Note·that·'$'·evaluation·is·still
130 done·inside·a·quote·block.151 done·inside·a·quote·block.
2.84 KB
html2text {}
    
Offset 1, 49 lines modifiedOffset 1, 70 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·QUOTE·******2 ******·htp·on-line·reference·:·QUOTE·******
3 Table_of_Contents············*****·syntax·*****3 Table_of·······*****·syntax·*****
4  Introduction···············<[[ref]]UNDEF·tagname> 
5  License····················<[[ref]]UNDEF·tagname1·tagname2·...·> 
6  Tutorial 
7  Usage······················*****·synopsis·***** 
8  HTP·Tags···················QUOTE·is·used·to·quote·a·macro·that·would 
9   ··ALTTEXT················otherwise·be·interpreted·by·HTP.·It·may·be·useful 
10   ··BLOCK··················in·conjunction·with·a·surrounding·EXPANDed·block 
11   ··BLOCKDEF···············to·prevent·early·expansion·of·some·contained 
12   ··DEF····················blocks.·Note·that·'$'·evaluation·is·still·done 
13   ··FILE···················inside·a·quote·block. 
14   ··IF4 Contents······· ·<[[ref]]DEF·NAME="HEADERIMG"·OPTION="SRC·TITLE·SIZE">
 5  Introduction· · ·<[[ref]]IF·size>
 6  License······ · · · ·<FONT·SIZE=${size}>
 7  Tutorial····· · ·<[[ref]]/IF>
 8  Usage········ · ·<[[ref]]IMG·SRC=pics/${src}>
 9  HTP·Tags····· · ·<[[ref]]USE·title>
 10   ··ALTTEXT·· · ·<[[ref]]IF·size>
 11   ··BLOCK···· · · · ·</FONT>
 12   ··BLOCKDEF· · ·<[[ref]]/IF>
 13   ··DEF······ ·<[[ref]]/DEF>
 14   ··FILE
 15   ··IF······· ·<HEADERIMG·SRC="logo.gif"·SIZE="+2"·TITLE="A·title">
15   ··INC16   ··INC
16   ··IMG17   ··IMG······ ·<HEADERIMG·SRC="logo.gif"·TITLE="Normal·sized·title">
17   ··IMAGEURL18   ··IMAGEURL
18   ··OPT 
19   ··OUTPUT19   ··OPT······ ·This·will·fail:
 20   ··OUTPUT··· ·<HEADERIMG·SRC="logo.gif"·ALT="Our·logo"·TITLE="Another·title">
20  [>]·QUOTE21  [>]·QUOTE
21   ··SET 
22   ··UNDEF 
23   ··UNSET 
24   ··USE,_$ 
25   ··WHILE 
26   ··<!--- 
27  History 
28  Wish_list 
29  Bugs22   ··SET······ ·Instead,·use·*·like·this:
 23   ··UNDEF···· ·<[[ref]]DEF·NAME="MYIMG"·OPTION="SRC·*">
 24   ··UNSET···· · ·<[[ref]]IMG·SRC="pics/${src}"·$*>
 25   ··USE,_$··· ·<[[ref]]/DEF>
 26   ··WHILE···· · 
 27   ··<!---···· ·<MYIMG·SRC="logo.gif"·ALT="Our·logo">
 28  History······*****·synopsis·*****
 29  Wish_list····QUOTE·is·used·to·quote·a·macro·that·would·otherwise·be·interpreted
 30  Bugs·········by·HTP.·It·may·be·useful·in·conjunction·with·a·surrounding
 31 ···············EXPANDed·block·to·prevent·early·expansion·of·some·contained
 32 ···············blocks.·Note·that·'$'·evaluation·is·still·done·inside·a·quote
 33 ···············block.
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
30  page_source34  page_source
31  htp_project35  htp_project
32  htp_homepage36  htp_homepage
33 hosted·by37 hosted·by
34 Sourceforge38 Sourceforge
35 HTML·coding·[Powered_by39 HTML·coding
 40 [Powered_by
36 htp]41 htp]
37 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/42 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
38 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.43 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
39 ·····Maintainers:·Jochen_Hoenicke.44 ·····Maintainers:·Jochen_Hoenicke.
40 Copyright·©·1995–96·Jim·Nelson.45 Copyright·©·1995–96·Jim·Nelson.
41 Copyright·©·2001–2014·Jochen_Hoenicke.46 Copyright·©·2001–2014·Jochen_Hoenicke.
42 Permission·to·reproduce·and·distribute·this·hypertext·document·granted47 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according
43 according·to·terms·described·in·the·License_section.48 to·terms·described·in·the·License_section.
44 last·updated·Sat·May·16,·201549 last·updated·Sat·May·16,·2015
5.71 KB
./usr/share/doc/htp/set.html
    
Offset 114, 26 lines modifiedOffset 114, 23 lines modified
114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>114 ······<a·class="noline"·href="bugs.html">Bugs</a></td></tr>
115 ··</table>115 ··</table>
116 ··</div>116 ··</div>
117 </td>117 </td>
118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">118 <td·bgcolor="#f0f0d0"·rowspan="2"·valign="top">
119 <h2>syntax</h2>119 <h2>syntax</h2>
120 ··<p><code>120 ··<p><code>
121 <span·class="htp-tag">&lt;<a·href="undef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">UNDEF</a>·<span·class="htp-attrib">tagname</span>&gt;</span><br>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="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>122 <span·class="htp-tag">&lt;<a·href="unset.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">unset</a>·<span·class="htp-attrib">macroname1</span>·<span·class="htp-attrib">macroname2</span>·<span·class="htp-attrib">...</span>·&gt;</span><br>
123 <br>123 <br>
124 </code></p>124 </code></p>
125 <h2>synopsis</h2>125 <h2>synopsis</h2>
126 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded126 <STRONG>SET</STRONG>·creates·a·macro·definition·that·can·later·be·expanded
127 anywhere·in·the·HTML·document.··To·create·a·macro:127 anywhere·in·the·HTML·document.··To·create·a·macro:
128 ··<p><code>128 ··<p><code>
 129 &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>
129 <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> 
130 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">$macroname</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
131 <span·class="htp-tag">&lt;...·<span·class="htp-attrib"><span·class="htp-macro">${macroname}</span></span>·<span·class="htp-attrib">...</span>&gt;</span><br> 
132 <br> 
133 </code></p>130 </code></p>
134 <P>131 <P>
135 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">132 The·macro·"emailaddr"·can·then·be·expanded·later.··The·<A·HREF="use.html">
136 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular133 USE</A>·tag·is·used·to·expand·the·macro·outside·a·tag·(i.e.,·into·the·regular
137 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the134 text).··If·the·macro·needs·to·be·expanded·inside·a·markup·tag,·use·the
138 <A·HREF="use.html">'$'</A>·operator.135 <A·HREF="use.html">'$'</A>·operator.
139 <P>136 <P>
3.33 KB
html2text {}
    
Offset 1, 40 lines modifiedOffset 1, 37 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·SET·******2 ******·htp·on-line·reference·:·SET·******
3 Table_of_Contents············*****·syntax·*****3 Table_of_Contents············*****·syntax·*****
4  Introduction···············<[[ref]]UNDEF·tagname>4  Introduction···············<[[ref]]unset·macroname>
5  License····················<[[ref]]UNDEF·tagname1·tagname2·...·>5  License····················<[[ref]]unset·macroname1·macroname2·...·>
6  Tutorial6  Tutorial
7  Usage······················*****·synopsis·*****7  Usage······················*****·synopsis·*****
8  HTP·Tags···················SET·creates·a·macro·definition·that·can·later·be8  HTP·Tags···················SET·creates·a·macro·definition·that·can·later·be
9   ··ALTTEXT················expanded·anywhere·in·the·HTML·document.·To·create9   ··ALTTEXT················expanded·anywhere·in·the·HTML·document.·To·create
10   ··BLOCK··················a·macro:10   ··BLOCK··················a·macro:
 11   ··BLOCKDEF··············· · ·<[[ref]]unset·email_addr>
11   ··BLOCKDEF···············<[[ref]]use·macroname·[parameters·...]·[noexpand]> 
12   ··DEF····················<...·$macroname·...> 
13   ··FILE···················<...·${macroname}·...> 
14   ··IF 
15   ··INC····················The·macro·"emailaddr"·can·then·be·expanded·later.12   ··DEF····················The·macro·"emailaddr"·can·then·be·expanded·later.
16   ··IMG····················The·USE·tag·is·used·to·expand·the·macro·outside·a13   ··FILE···················The·USE·tag·is·used·to·expand·the·macro·outside·a
17   ··IMAGEURL···············tag·(i.e.,·into·the·regular·text).·If·the·macro14   ··IF·····················tag·(i.e.,·into·the·regular·text).·If·the·macro
18   ··OPT····················needs·to·be·expanded·inside·a·markup·tag,·use·the15   ··INC····················needs·to·be·expanded·inside·a·markup·tag,·use·the
19   ··OUTPUT·················'$'·operator.16   ··IMG····················'$'·operator.
20   ··QUOTE··················Multiple·macros·can·be·declared·in·a·single·markup17   ··IMAGEURL···············Multiple·macros·can·be·declared·in·a·single·markup
21  [>]·SET····················tag,·as·the·second·syntax·line·shows.18   ··OPT····················tag,·as·the·second·syntax·line·shows.
22   ··UNDEF··················SET·should·only·be·used·for·a·single·line's·worth19   ··OUTPUT·················SET·should·only·be·used·for·a·single·line's·worth
23   ··UNSET··················of·text.·Multi-line·macros·can·be·defined·with·the20   ··QUOTE··················of·text.·Multi-line·macros·can·be·defined·with·the
24   ··USE,_$·················BLOCK·tag.·The·BLOCK·tag·is·also·useful·if·the21  [>]·SET····················BLOCK·tag.·The·BLOCK·tag·is·also·useful·if·the
25   ··WHILE··················macro·contains·a·quotation·character·and·you·don't22   ··UNDEF··················macro·contains·a·quotation·character·and·you·don't
26   ··<!---··················want·to·fool·around·with·special·escape23   ··UNSET··················want·to·fool·around·with·special·escape
27  History····················characters.24   ··USE,_$·················characters.
28  Wish_list··················Macros·can·be·redefined·by·using·another·SET25   ··WHILE··················Macros·can·be·redefined·by·using·another·SET
29  Bugs·······················command·with·the·same·macro·name.·The·prior26   ··<!---··················command·with·the·same·macro·name.·The·prior
30 ·····························definition·will·be·destroyed,·however.·Also,·the27  History····················definition·will·be·destroyed,·however.·Also,·the
31 ·····························macro·can·be·removed·(destroyed)·with·the·UNSET28  Wish_list··················macro·can·be·removed·(destroyed)·with·the·UNSET
32 ·····························tag.29  Bugs·······················tag.
  
  
  
  
  
  
  
790 B
./usr/share/doc/htp/tut/jh.html
    
Offset 16, 10 lines modifiedOffset 16, 10 lines modified
16 <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr>16 <tr><td><b>Phone:</b></td><td>+49·761·203-8243</td></tr>
17 <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr>17 <tr><td><b>Fax:</b></td><td>+49·761·203-8242</td></tr>
18 </table>18 </table>
19 ···</td></tr>19 ···</td></tr>
20 ··</table>20 ··</table>
21 ··<hr>21 ··<hr>
22 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>22 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>
23 ··last·updated·Wed·Jan·10,·202423 ··last·updated·Tue·Feb·11,·2025
24 ·</body>24 ·</body>
25 </html>25 </html>
393 B
html2text {}
    
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 ···············******·Jochen·Hoenicke·******1 ···············******·Jochen·Hoenicke·******
2 Navigation·bar·[Photo]2 Navigation·bar·[Photo]
3 Main···········Room:··Bld.52·00-0203 Main···········Room:··Bld.52·00-020
4 Example········Phone:·+49·761·203-82434 Example········Phone:·+49·761·203-8243
5 ···············Fax:···+49·761·203-82425 ···············Fax:···+49·761·203-8242
6 ===============================================================================6 ===============================================================================
7 Copyright·by·Joe_Doe.7 Copyright·by·Joe_Doe.
8 last·updated·Wed·Jan·10,·20248 last·updated·Tue·Feb·11,·2025
643 B
./usr/share/doc/htp/tut/tut1.html
    
Offset 5, 9 lines modifiedOffset 5, 9 lines modified
5 <meta·name="Generator"·content="htp·1.19">5 <meta·name="Generator"·content="htp·1.19">
6 </head>6 </head>
7 <body>7 <body>
8 This·page·was·produced·by·htp.8 This·page·was·produced·by·htp.
9 <hr>9 <hr>
10 Copyright·by·Joe·Doe,10 Copyright·by·Joe·Doe,
11 <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>,11 <a·href="mailto:webmaster@domain.com">webmaster@domain.com</a>,
12 last·updated·Wed·Jan·10,·202412 last·updated·Tue·Feb·11,·2025
13 </body>13 </body>
303 B
html2text {}
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 This·page·was·produced·by·htp.1 This·page·was·produced·by·htp.
2 ===============================================================================2 ===============================================================================
3 Copyright·by·Joe·Doe,·webmaster@domain.com,·last·updated·Wed·Jan·10,·20243 Copyright·by·Joe·Doe,·webmaster@domain.com,·last·updated·Tue·Feb·11,·2025
686 B
./usr/share/doc/htp/tut/tut2.html
    
Offset 13, 10 lines modifiedOffset 13, 10 lines modified
13 <p>13 <p>
14 As·you·can·see·the·file·contains·almost·only·the·contents.14 As·you·can·see·the·file·contains·almost·only·the·contents.
15 </p>15 </p>
16 ···</td></tr>16 ···</td></tr>
17 ··</table>17 ··</table>
18 ··<hr>18 ··<hr>
19 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>19 ··Copyright·by·<a·href="mailto:webmaster@domain.com">Joe·Doe</a>.<br>
20 ··last·updated·Wed·Jan·10,·202420 ··last·updated·Tue·Feb·11,·2025
21 ·</body>21 ·</body>
22 </html>22 </html>
338 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*****·Here·is·the·content·*****1 Navigation·bar·*****·Here·is·the·content·*****
2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 Example3 Example
4 ===============================================================================4 ===============================================================================
5 Copyright·by·Joe_Doe.5 Copyright·by·Joe_Doe.
6 last·updated·Wed·Jan·10,·20246 last·updated·Tue·Feb·11,·2025
684 B
./usr/share/doc/htp/tut/tut3.html
    
Offset 13, 10 lines modifiedOffset 13, 10 lines modified
13 ·<p>13 ·<p>
14 ·As·you·can·see·the·file·contains·almost·only·the·contents.14 ·As·you·can·see·the·file·contains·almost·only·the·contents.
15 ·</p>15 ·</p>
16 ···</td></tr>16 ···</td></tr>
17 ··</table>17 ··</table>
18 ··<hr>18 ··<hr>
19 ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br>19 ··Copyright·by·<a·href="webmaster@domain.com">Joe·Doe</a>.<br>
20 ··last·updated·Wed·Jan·10,·202420 ··last·updated·Tue·Feb·11,·2025
21 ·</body>21 ·</body>
22 </html>22 </html>
340 B
html2text {}
    
Offset 1, 6 lines modifiedOffset 1, 6 lines modified
1 Navigation·bar·*****·Here·are·the·contents·*****1 Navigation·bar·*****·Here·are·the·contents·*****
2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.2 Main···········As·you·can·see·the·file·contains·almost·only·the·contents.
3 Example3 Example
4 ===============================================================================4 ===============================================================================
5 Copyright·by·Joe_Doe.5 Copyright·by·Joe_Doe.
6 last·updated·Wed·Jan·10,·20246 last·updated·Tue·Feb·11,·2025
3.26 KB
./usr/share/doc/htp/undef.html
    
Offset 114, 15 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 &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=[·...·truncated·by·diffoscope;·len:·22,·SHA:·1e79476ad5571fa7a545f47e1dfffb15ff6796522cfb121b638fb0c91a33426c·...·]"</span>&gt;</span><br>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>
 122 lt"><br>
122 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br>123 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="img.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">img</a>·<span·class="htp-attrib">src</span>=<span·class="htp-string">"/home/sharedimages/<span·class="htp-macro">${name}</span>"</span>·<span·class="htp-attrib">alt</span>=<span·class="htp-string">"<span·class="htp-macro">${alt}</span>"</span>&gt;</span>;<br>
123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>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>
124 <br>125 <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>126 &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>
126 </code></p>127 </code></p>
127 <h2>synopsis</h2>128 <h2>synopsis</h2>
128 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags129 <P><STRONG>UNDEF</STRONG>·removes·a·metatag·definition.··Metatags
1.62 KB
html2text {}
    
Offset 1, 24 lines modifiedOffset 1, 24 lines modified
  
1 [HTP]1 [HTP]
2 ******·htp·on-line·reference·:·UNDEF·******2 ******·htp·on-line·reference·:·UNDEF·******
3 Table_of·······*****·syntax·*****3 Table_of·······*****·syntax·*****
4 Contents······· ·<[[ref]]def·name="sharedimg"·option="name·alt">4 Contents······· · ·<[[ref]]SET·emailaddr="jnelson@crl.com">
 5  Introduction·lt">
5  Introduction· · ·<[[ref]]img·src="/home/sharedimages/${name}"·alt="${alt}">;6  License······ · ·<[[ref]]img·src="/home/sharedimages/${name}"·alt="${alt}">;
6  License······ ·<[[ref]]/def>7  Tutorial····· ·<[[ref]]/def>
7  Tutorial8  Usage
8  Usage········ ·<sharedimg·name="bubble.gif"·alt="Bubble·image">9  HTP·Tags····· ·<sharedimg·name="bubble.gif"·alt="Bubble·image">
9  HTP·Tags·····*****·synopsis·*****10   ··ALTTEXT··*****·synopsis·*****
10   ··ALTTEXT··UNDEF·removes·a·metatag·definition.·Metatags·created·by·DEF·and11   ··BLOCK····UNDEF·removes·a·metatag·definition.·Metatags·created·by·DEF·and
11   ··BLOCK····BLOCKDEF·can·be·removed·with·the·UNDEF·command.·Once·removed,·the12   ··BLOCKDEF·BLOCKDEF·can·be·removed·with·the·UNDEF·command.·Once·removed,·the
12   ··BLOCKDEF·metatag·will·no·longer·be·recognized·by·htp·until·it·is13   ··DEF······metatag·will·no·longer·be·recognized·by·htp·until·it·is
13   ··DEF······reassigned.14   ··FILE·····reassigned.
14   ··FILE·····Multiple·metatags·can·be·removed·by·placing·each·name·as·an15   ··IF·······Multiple·metatags·can·be·removed·by·placing·each·name·as·an
15   ··IF·······attribute.16   ··INC······attribute.
16   ··INC 
17   ··IMG17   ··IMG
18   ··IMAGEURL18   ··IMAGEURL
19   ··OPT19   ··OPT
20   ··OUTPUT20   ··OUTPUT
21   ··QUOTE21   ··QUOTE
22   ··SET22   ··SET
23  [>]·UNDEF23  [>]·UNDEF
Offset 30, 14 lines modifiedOffset 30, 15 lines modified
30  Wish_list30  Wish_list
31  Bugs31  Bugs
  
  
  
  
  
  
32  page_source32  page_source
33  htp_project33  htp_project
34  htp_homepage34  htp_homepage
35 hosted·by35 hosted·by
36 Sourceforge36 Sourceforge
37 HTML·coding37 HTML·coding
38 [Powered_by38 [Powered_by
9.35 KB
./usr/share/doc/htp/unset.html
    
Offset 114, 49 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 &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[·...·truncated·by·diffoscope;·len:·129,·SHA:·509518698059ac1a59ac68f08b3412aac9b298ca2ef2e450662bfc2a996e561a·...·]<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</[·...·truncated·by·diffoscope;·len:·16,·SHA:·55527ebee7f400ca76d1800643752c5b3d2641009c366c91fa6984e1bc63a7db·...·]<br>
 122 &nbsp;·&nbsp;·block<br>
123 &nbsp;·<span·class="htp-tag">&lt;<a·href="def.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/def</a>&gt;</span><br>123 <span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/WHILE</a>&gt;</span><br>
124 <br>124 <br>
125 &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> 
126 </code></p>125 </code></p>
127 <h2>synopsis</h2>126 <h2>synopsis</h2>
128 <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.
129 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.
130 (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
131 <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
132 old·macro·definition·will·be·removed·automatically.)131 old·macro·definition·will·be·removed·automatically.)
133 <P>132 <P>
134 For·example:133 For·example:
135 ··<p><code>134 ··<p><code>
136 &nbsp;·<span·class="htp-tag">&lt;<a·href="set.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">set</a>·<span·class="htp-attrib">sect-ctr</span>=<span·class="htp-string">"0"</span>&gt;</span><br> 
137 &nbsp;·<span·class="htp-tag">&lt;<a·href="blockdef.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">blockdef</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"section"</span>&gt;</span><br> 
138 &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> 
139 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">block</a>·<span·class="htp-attrib">name</span>=<span·class="htp-string">"sect-<span·class="htp-macro">${sect-ctr}</span>"</span>·<span·class="htp-attrib">expand</span>·<span·class="htp-attrib">global</span>&gt;</span><br> 
140 &nbsp;·&nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="use.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">use</a>·<span·class="htp-attrib">block</span>·<span·class="htp-attrib">noexpand</span>&gt;</span><br> 
141 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="block.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/block</a>&gt;</span><br> 
142 &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> 
143 </code></p> 
144 <P> 
145 More·than·one·macro·may·be·removed·in·the·same·tag: 
146 ··<p><code> 
147 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">WHILE</a>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</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>·<span·class="htp-attrib">NOT</span>·<span·class="htp-attrib">i</span>=<span·class="htp-string">"10"</span>&gt;</span><br>
148 &nbsp;·&nbsp;·...<br>136 &nbsp;·&nbsp;·...<br>
149 &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>137 &nbsp;·&nbsp;·<span·class="htp-tag">&lt;<a·href="inc.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">INC</a>·<span·class="htp-attrib">i</span>&gt;</span><br>
150 &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>138 &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>
151 while·sect-${sect-ctr}><br> 
152 &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> 
153 &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> 
154 &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> 
155 <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>139 </code></p>
 140 <P>
 141 More·than·one·macro·may·be·removed·in·the·same·tag:
 142 ··<p><code>
 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>
156 </code></p>145 </code></p>
157 <p>146 <p>
158 </td>147 </td>
159 </tr>148 </tr>
160 <tr>149 <tr>
161 <td·width="20%"·bgcolor="white"·valign="bottom">150 <td·width="20%"·bgcolor="white"·valign="bottom">
162 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">151 ·<table·border="0"·cellspacing="0"·cellpadding="0"·width="100%">
3.46 KB
html2text {}
    
Offset 1, 44 lines modifiedOffset 1, 37 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  Introduction···············<[[ref]]WHILE·[NOT]·conditional>
 5  License···················· · ·block
 6  Tutorial···················<[[ref]]/WHILE>
 7  Usage
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·*****8  HTP·Tags···················*****·synopsis·*****
10   ··ALTTEXT··UNSET·removes·(or·deletes)·a·macro·and·it's·definition.·The·macro9   ··ALTTEXT················UNSET·removes·(or·deletes)·a·macro·and·it's
 10   ··BLOCK··················definition.·The·macro·is·subsequently·not
11   ··BLOCK····is·subsequently·not·available·for·use·in·the·pre-processed·files.11   ··BLOCKDEF···············available·for·use·in·the·pre-processed·files.
12   ··BLOCKDEF·(Note·that·simply·redefining·the·macro·with·another·SET·or·BLOCK 
13   ··DEF······definition·with·the·same·name·is·acceptable.·The·old·macro 
14   ··FILE·····definition·will·be·removed·automatically.)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.)
15   ··IF·······For·example:16   ··IMG····················For·example:
 17   ··IMAGEURL··············· ·<[[ref]]WHILE·NOT·i="10">
 18   ··OPT···················· · ·...
 19   ··OUTPUT················· · ·<[[ref]]INC·i>
 20   ··QUOTE·················· ·<[[ref]]/WHILE>
16   ··INC······ ·<[[ref]]set·sect-ctr="0"> 
17   ··IMG······ ·<[[ref]]blockdef·name="section"> 
18   ··IMAGEURL· · ·<[[ref]]inc·sect-ctr> 
19   ··OPT······ · ·<[[ref]]block·name="sect-${sect-ctr}"·expand·global> 
20   ··OUTPUT··· · · ·<[[ref]]use·block·noexpand> 
21   ··QUOTE···· · ·<[[ref]]/block> 
22   ··SET······ ·<[[ref]]/blockdef> 
23   ··UNDEF····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
 29  Bugs
24  [>]·UNSET···· ·<[[ref]]WHILE·NOT·i="10"> 
25   ··USE,_$··· · ·... 
26   ··WHILE···· · ·<[[ref]]INC·i> 
27   ··<!---···· ·<[[ref]]/WHILE> 
28  History······while·sect-${sect-ctr}> 
29  Wish_list···· · ·<[[ref]]use·sect-${sect-ctr}> 
30  Bugs········· · ·<[[ref]]inc·sect-ctr> 
31 ··············· ·<[[ref]]/while> 
32 ···············<[[ref]]file·include="footer.hti"> 
  
  
  
  
  
  
  
  
  
  
  
Offset 52, 18 lines modifiedOffset 45, 17 lines modified
  
  
52  page_source45  page_source
53  htp_project46  htp_project
54  htp_homepage47  htp_homepage
55 hosted·by48 hosted·by
56 Sourceforge49 Sourceforge
 50 HTML·coding·[Powered_by
57 HTML·coding 
58 [Powered_by 
59 htp]51 htp]
60 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/52 ·····htp·on-line·reference·/·http://htp.sourceforge.net/ref/
61 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.53 ·····Authors:·Jim·Nelson,·Jochen_Hoenicke,·Michael_Möller.
62 ·····Maintainers:·Jochen_Hoenicke.54 ·····Maintainers:·Jochen_Hoenicke.
63 Copyright·©·1995–96·Jim·Nelson.55 Copyright·©·1995–96·Jim·Nelson.
64 Copyright·©·2001–2014·Jochen_Hoenicke.56 Copyright·©·2001–2014·Jochen_Hoenicke.
65 Permission·to·reproduce·and·distribute·this·hypertext·document·granted·according57 Permission·to·reproduce·and·distribute·this·hypertext·document·granted
66 to·terms·described·in·the·License_section.58 according·to·terms·described·in·the·License_section.
67 last·updated·Sat·May·16,·201559 last·updated·Sat·May·16,·2015
2.73 KB
./usr/share/doc/htp/while.html
    
Offset 143, 18 lines modifiedOffset 143, 15 lines modified
143 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>143 &nbsp;·<span·class="htp-tag">&lt;<a·href="while.html"·><img·src="pic/manual.png"·border=0·alt="[ref]"·width="10"·height="10">/while</a>&gt;</span><br>
144 <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>144 <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>
145 </code></p>145 </code></p>
146 <P>146 <P>
147 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·a147 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
148 macro's·existance:148 macro's·existance:
149 ··<p><code>149 ··<p><code>
 150 &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>
150 &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> 
151 &nbsp;·&nbsp;·...<br> 
152 &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> 
153 &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> 
154 </code></p>151 </code></p>
155 <P>152 <P>
156 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the153 If·the·condition·is·true,·the·block·is·evaluated·and·afterwards·the
157 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the154 WHILE·tag·is·evaluated·again.··If·the·'$'-operator·is·used·in·the
158 WHILE·tag·it·is·also·reevaluated·on·each·iteration.155 WHILE·tag·it·is·also·reevaluated·on·each·iteration.
159 <P>156 <P>
160 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.157 A·loop·block·<EM>must</EM>·be·closed·with·the·/WHILE·tag.
1.02 KB
html2text {}
    
Offset 22, 19 lines modifiedOffset 22, 16 lines modified
22   ··SET············ ·<[[ref]]while·sect-${sect-ctr}>22   ··SET············ ·<[[ref]]while·sect-${sect-ctr}>
23   ··UNDEF·········· · ·<[[ref]]use·sect-${sect-ctr}>23   ··UNDEF·········· · ·<[[ref]]use·sect-${sect-ctr}>
24   ··UNSET·········· · ·<[[ref]]inc·sect-ctr>24   ··UNSET·········· · ·<[[ref]]inc·sect-ctr>
25   ··USE,_$········· ·<[[ref]]/while>25   ··USE,_$········· ·<[[ref]]/while>
26  [>]·WHILE··········<[[ref]]file·include="footer.hti">26  [>]·WHILE··········<[[ref]]file·include="footer.hti">
27   ··<!---··········Just·as·with·[[ref]]IF·you·can·also·check·for·a·macro's27   ··<!---··········Just·as·with·[[ref]]IF·you·can·also·check·for·a·macro's
28  History············existance:28  History············existance:
 29  Wish_list·········· · ·<${tagName}·${attrName}=${value$ctr}>
29  Wish_list·········· ·<[[ref]]WHILE·sect-$i> 
30  Bugs··············· · ·... 
31 ····················· · ·<[[ref]]INC·i> 
32 ····················· ·<[[ref]]/WHILE> 
33 ·····················If·the·condition·is·true,·the·block·is·evaluated·and30  Bugs···············If·the·condition·is·true,·the·block·is·evaluated·and
34 ·····················afterwards·the·WHILE·tag·is·evaluated·again.·If·the·'$'-31 ·····················afterwards·the·WHILE·tag·is·evaluated·again.·If·the·'$'-
35 ·····················operator·is·used·in·the·WHILE·tag·it·is·also·reevaluated32 ·····················operator·is·used·in·the·WHILE·tag·it·is·also·reevaluated
36 ·····················on·each·iteration.33 ·····················on·each·iteration.
37 ·····················A·loop·block·must·be·closed·with·the·/WHILE·tag.34 ·····················A·loop·block·must·be·closed·with·the·/WHILE·tag.