--- /srv/reproducible-results/rbuild-debian/r-b-build.gHj5SPVK/b1/htp_1.19-8_armhf.changes +++ /srv/reproducible-results/rbuild-debian/r-b-build.gHj5SPVK/b2/htp_1.19-8_armhf.changes ├── Files │ @@ -1,3 +1,3 @@ │ │ 50fb85d91453f04ecefdc0ca78080897 68916 debug optional htp-dbgsym_1.19-8_armhf.deb │ - 90eb9e4fd8ea070d61233c24b765f000 112836 web optional htp_1.19-8_armhf.deb │ + c6ff3cdb60ee75029f670f866cf64f5e 112244 web optional htp_1.19-8_armhf.deb ├── htp_1.19-8_armhf.deb │ ├── file list │ │ @@ -1,3 +1,3 @@ │ │ -rw-r--r-- 0 0 0 4 2020-06-14 23:21:19.000000 debian-binary │ │ --rw-r--r-- 0 0 0 3616 2020-06-14 23:21:19.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 109028 2020-06-14 23:21:19.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 3612 2020-06-14 23:21:19.000000 control.tar.xz │ │ +-rw-r--r-- 0 0 0 108440 2020-06-14 23:21:19.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./control │ │ │ │ @@ -1,12 +1,12 @@ │ │ │ │ Package: htp │ │ │ │ Version: 1.19-8 │ │ │ │ Architecture: armhf │ │ │ │ Maintainer: Marcelo Soares Mota │ │ │ │ -Installed-Size: 634 │ │ │ │ +Installed-Size: 616 │ │ │ │ Depends: libc6 (>= 2.34) │ │ │ │ Section: web │ │ │ │ Priority: optional │ │ │ │ Homepage: http://htp.sourceforge.net │ │ │ │ Description: nice HTML pre-processor │ │ │ │ htp is an HTML pre-processor. It is designed to be a flexible authoring tool │ │ │ │ that can easily be integrated into the HTML design process. │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── file list │ │ │ │ @@ -1,27 +1,27 @@ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/bin/ │ │ │ │ -rwxr-xr-x 0 root (0) root (0) 38464 2020-06-14 23:21:19.000000 ./usr/bin/htp │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/ │ │ │ │ --rw-r--r-- 0 root (0) root (0) 10728 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/alttext.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 10522 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/alttext.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1418 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/alttext.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 8850 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/block.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9462 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/block.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 781 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/block.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 10895 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/blockdef.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1075 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/blockdef.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 4763 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/bugs.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 737 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/bugs.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 878 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/changelog.Debian.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 15347 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/comment.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 10176 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/comment.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 676 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/comment.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 13083 2020-06-14 23:16:46.000000 ./usr/share/doc/htp/copyright │ │ │ │ --rw-r--r-- 0 root (0) root (0) 20408 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/def.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 14811 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/def.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3601 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/def.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 8030 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/default.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3149 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/default.htp │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/examples/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 536 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/Makefile.sub │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2404 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/album.hti │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1087 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/album.htt │ │ │ │ @@ -32,64 +32,64 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 818 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/prime.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1576 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/examples/quine.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1576 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/quine.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 604 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/section.def │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1189 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/examples/section.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 918 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/section.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 375 2015-05-16 17:04:11.000000 ./usr/share/doc/htp/examples/section.htt │ │ │ │ --rw-r--r-- 0 root (0) root (0) 15732 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/expand.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11691 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/expand.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3702 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/expand.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 14517 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/file.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 20208 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/file.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2490 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/file.htp.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 14293 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/history.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3946 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/history.htp.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3911 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/hlhtp.pl │ │ │ │ -rw-r--r-- 0 root (0) root (0) 165 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/htp.def │ │ │ │ -rw-r--r-- 0 root (0) root (0) 4049 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/htp.htt │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9871 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/if.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9130 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/if.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 932 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/if.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9424 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/imageurl.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9382 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/imageurl.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2507 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/imageurl.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9160 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/img.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 8639 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/img.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1168 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/img.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 11607 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/inc.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 8940 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/inc.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1092 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/inc.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 9881 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/include.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1894 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/include.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 4874 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/index.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 78 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/index.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 7733 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/intro.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3489 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/intro.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 10774 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/license.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 454 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/license.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3782 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/macros.def │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5088 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/macros.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 388 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/macros.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 16708 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/metatag.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 14786 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/metatag.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2439 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/metatag.htp.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 8499 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/opt.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 7911 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/opt.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 608 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/opt.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 7809 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/options.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3100 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/options.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9260 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/output.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 8851 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/output.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 695 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/output.htp │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 171 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/arrow.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 262 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/download.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 708 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/htpicon.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 25563 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/logo.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 455 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/manbig.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 491 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/manual.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1313 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/poweredbyhtp.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 679 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/sficon.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 492 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pic/source.png │ │ │ │ -rw-r--r-- 0 root (0) root (0) 523 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/pphtp.pl │ │ │ │ -rw-r--r-- 0 root (0) root (0) 7856 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/quote.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 390 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/quote.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9189 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/set.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9962 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/set.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1200 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/set.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 500 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/styles.css │ │ │ │ -rw-r--r-- 0 root (0) root (0) 27219 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/template.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2235 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/template.htp.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1914 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/toc.def │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 146 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/footer.hti │ │ │ │ @@ -102,23 +102,23 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 192 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/tut2.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 501 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/tut3.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 191 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/tut3.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 356 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/tut3.htt │ │ │ │ -rw-r--r-- 0 root (0) root (0) 297 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tut/tut4.htt │ │ │ │ -rw-r--r-- 0 root (0) root (0) 10517 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tutorial.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3393 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/tutorial.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 8009 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/undef.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 7804 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/undef.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 460 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/undef.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 10326 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/unset.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9288 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/unset.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 658 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/unset.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 7681 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/usage.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2959 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/usage.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 12880 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/use.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 11278 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/use.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3300 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/use.htp │ │ │ │ --rw-r--r-- 0 root (0) root (0) 9446 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/while.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 9173 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/while.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 938 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/while.htp │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5288 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/wishlist.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1311 2020-06-14 23:21:19.000000 ./usr/share/doc/htp/wishlist.htp │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/doc-base/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 235 2020-06-14 17:36:12.000000 ./usr/share/doc-base/htp.htp │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/lintian/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-06-14 23:21:19.000000 ./usr/share/lintian/overrides/ │ │ │ ├── ./usr/share/doc/htp/alttext.html │ │ │ │ @@ -131,24 +131,24 @@ │ │ │ │

│ │ │ │ When an IMG tag with a matching source is encountered, htp will add an ALT │ │ │ │ attribute only if one is not already present. This allows for ALT text to │ │ │ │ be overridden on specific images and default text on all others. │ │ │ │

│ │ │ │ For example: │ │ │ │

│ │ │ │ -  <[ref]alttext name="logo.gif" text="Company logo">
│ │ │ │ +  <[ref]blockdef name="section" option="title">
│ │ │ │ +   <h1><[ref]use title></h1>
│ │ │ │ +   <p class="section">
│ │ │ │ +     <[ref]use block>
│ │ │ │ +   </p>
│ │ │ │ +  <[ref]/blockdef>
│ │ │ │
│ │ │ │ -  this line: <[ref]img src="logo.gif">
│ │ │ │ -  becomes this after processing: <[ref]img src="logo.gif" alt="Company logo">
│ │ │ │ -
│ │ │ │ -  this line: <[ref]img src="../image/logo.gif">
│ │ │ │ -  will also have an ALT attribute appended to it
│ │ │ │ -
│ │ │ │ -  this line: <[ref]img src="logo.gif" alt="Click here for more information!">
│ │ │ │ -  remains unchanged.
│ │ │ │ +  <section title="My Section">
│ │ │ │ +    This is a fancy section.
│ │ │ │ +  </section>
│ │ │ │

│ │ │ │

│ │ │ │ An ALTTEXT tag with a name but no text attribute removes any ALT │ │ │ │ mapping for this image. Successing IMG tags with a matching SRC name are not │ │ │ │ changed. │ │ │ │

│ │ │ │ Since this is useful for an image used throughout a set of documents, │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -1,43 +1,46 @@ │ │ │ │ │ │ │ │ │ │ [HTP] │ │ │ │ │ ****** htp on-line reference : ALTTEXT ****** │ │ │ │ │ -Table_of ***** syntax ***** │ │ │ │ │ -Contents <[[ref]]blockdef name="tagname" [option="option1 [option2 ...]" ] │ │ │ │ │ - Introduction [global] [expand]> │ │ │ │ │ - License   ... <[[ref]]use block> ... │ │ │ │ │ - Tutorial <[[ref]]/blockdef> │ │ │ │ │ - Usage │ │ │ │ │ - HTP Tags ***** synopsis ***** │ │ │ │ │ - [>] ALTTEXT ALTTEXT declares an ALT attribute for any IMG tag with a SRC matching the │ │ │ │ │ -   BLOCK ALTTEXT NAME. Since relative paths can be used to point to the same │ │ │ │ │ -   BLOCKDEF image, only the filename is considered in all comparisons. │ │ │ │ │ -   DEF When an IMG tag with a matching source is encountered, htp will add an │ │ │ │ │ -   FILE ALT attribute only if one is not already present. This allows for ALT │ │ │ │ │ -   IF text to be overridden on specific images and default text on all others. │ │ │ │ │ -   INC For example: │ │ │ │ │ -   IMG   <[[ref]]alttext name="logo.gif" text="Company logo"> │ │ │ │ │ -   IMAGEURL │ │ │ │ │ -   OPT   this line: <[[ref]]img src="logo.gif"> │ │ │ │ │ -   OUTPUT   becomes this after processing: <[[ref]]img src="logo.gif" alt="Company │ │ │ │ │ -   QUOTE logo"> │ │ │ │ │ -   SET │ │ │ │ │ -   UNDEF   this line: <[[ref]]img src="../image/logo.gif"> │ │ │ │ │ -   UNSET   will also have an ALT attribute appended to it │ │ │ │ │ -   USE,_$ │ │ │ │ │ -   WHILE   this line: <[[ref]]img src="logo.gif" alt="Click here for more │ │ │ │ │ -   │ │ │ │ │ - Introduction ***** synopsis ***** │ │ │ │ │ - License DEF creates metatags, which is a fancy way of saying it creates new │ │ │ │ │ - Tutorial tags. The mechanism is very similar to BLOCK macros, except that the │ │ │ │ │ - Usage USE tag is not used to expand them. Instead, they are expanded by │ │ │ │ │ - HTP Tags their own name. For example: │ │ │ │ │ -   ALTTEXT <[[ref]]if disabled_because_xyz> │ │ │ │ │ -   BLOCK   ... │ │ │ │ │ -   BLOCKDEF <[[ref]]/if> │ │ │ │ │ - [>] DEF Some metatags will require an opening and closing tag (comparable to │ │ │ │ │ -   FILE and │ │ │ │ │ -   IF ). In this case, you should use the BLOCKDEF macro. Another slightly │ │ │ │ │ -   INC faster alternative is to use two metatags, the opening tag and the │ │ │ │ │ -   IMG closing tag with a preceding slash. For example: │ │ │ │ │ -   IMAGEURL   <[[ref]]set time="0"> │ │ │ │ │ -   OPT   <[[ref]]block name=a> │ │ │ │ │ -   OUTPUT     a is expanded at time <[[ref]]use time>. │ │ │ │ │ -   QUOTE   <[[ref]]/block> │ │ │ │ │ -   SET   <[[ref]]block name=b expand> │ │ │ │ │ -   UNDEF     b is expanded at time <[[ref]]use time>. │ │ │ │ │ -   UNSET   <[[ref]]/block> │ │ │ │ │ -   USE,_$   <[[ref]]set time="1"> │ │ │ │ │ -   WHILE   <[[ref]]use a> │ │ │ │ │ -   │ │ │ │ │ +   FILE t) [noerror]> │ │ │ │ │ +   IF <[[ref]]file include="includefilename" [parameters ...]> │ │ │ │ │ +   INC <[[ref]]file name> │ │ │ │ │ +   IMG <[[ref]]file [ name="filename" ] size[ = (byte|kbyte|mbyte|gbyte) ] │ │ │ │ │ +   IMAGEURL [precision=n]> │ │ │ │ │ +   OPT <[[ref]]file [ name="filename" ] time[ ="format" ]> │ │ │ │ │ +   OUTPUT <[[ref]]file [ name="filename" ] date[ ="format" ]> │ │ │ │ │ +   QUOTE <[[ref]]file search="searchpath"> │ │ │ │ │ +   SET <[[ref]]file template="templatefilename"> │ │ │ │ │ +   UNDEF │ │ │ │ │ +   UNSET Some metatags will require an opening and closing tag (comparable to │ │ │ │ │ +   USE,_$ and │ │ │ │ │ +   WHILE ). In this case, you should use the BLOCKDEF macro. Another slightly │ │ │ │ │ +   │ │ │ │ │ +  2.t) [noerror]> │ │ │ │ │ +  3.<[[ref]]file include="includefilename" [parameters ...]> │ │ │ │ │ +  4.<[[ref]]file name> │ │ │ │ │ +  5.<[[ref]]file [ name="filename" ] size[ = (byte|kbyte|mbyte|gbyte) ] │ │ │ │ │ + [precision=n]> │ │ │ │ │ +  6.<[[ref]]file [ name="filename" ] time[ ="format" ]> │ │ │ │ │ +  7.<[[ref]]file [ name="filename" ] date[ ="format" ]> │ │ │ │ │ +  8.<[[ref]]file search="searchpath"> │ │ │ │ │ +  9.<[[ref]]file template="templatefilename"> │ │ │ │ │ + 10. │ │ │ │ │ This produces the following: │ │ │ │ │ -     a is expanded at time 1. │ │ │ │ │ -     b is expanded at time 0. │ │ │ │ │ -   contents of a:   a is expanded at time <[[ref]]use time>. │ │ │ │ │ -   contents of b:   b is expanded at time 0. │ │ │ │ │ -     c is expanded at time 1;   a is expanded at time 1. │ │ │ │ │ -     d is expanded at time 1;   a is expanded at time 2. │ │ │ │ │ -     e is expanded at time 2;   a is defined for the 2nd time <[[ref]]use │ │ │ │ │ - time>. │ │ │ │ │ +   <[[ref]]def name="bigfont"> │ │ │ │ │ +     │ │ │ │ │ +   <[[ref]]/def> │ │ │ │ │ + │ │ │ │ │ +   <[[ref]]def name="/bigfont"> │ │ │ │ │ +     │ │ │ │ │ +   <[[ref]]/def> │ │ │ │ │ + │ │ │ │ │ +   Some large text │ │ │ │ │ When block a and block b are defined in lines 2-7 the contents of a are │ │ │ │ │ taken literally, however, the contents for b are already expanded so the │ │ │ │ │ macro time is evaluated. So a is expanded when it is used, while the │ │ │ │ │ contents of b are already expanded. │ │ │ │ │ In line 10 and 12 the [[ref]]use tag is used with the noexpand attribute │ │ │ │ │ which prevents the expansion of the macro value. Here it is used to show │ │ │ │ │ you what the value of the block macros really is. │ │ │ │ │ - A more important reason to use the noexpand attribute is to prevent double │ │ │ │ │ - expansion and to restore the original lazy expansion policy when you have │ │ │ │ │ - to use the expand attribute as for block d in the example above. See the │ │ │ │ │ - section example in the [[ref]]metatag_tutorial. Rule of thumb: The use tags │ │ │ │ │ - in an expanded block should be tagged with noexpand. │ │ │ │ │ + A more important reason to use the noexpand attribute is to prevent │ │ │ │ │ + double expansion and to restore the original lazy expansion policy when │ │ │ │ │ + you have to use the expand attribute as for block d in the example │ │ │ │ │ + above. See the section example in the [[ref]]metatag_tutorial. Rule of │ │ │ │ │ + thumb: The use tags in an expanded block should be tagged with noexpand. │ │ │ ├── ./usr/share/doc/htp/file.html │ │ │ │ @@ -114,49 +114,61 @@ │ │ │ │ Bugs │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │

syntax

│ │ │ │

│ │ │ │ -<[ref]IF [NOT] conditional>
│ │ │ │ -    block #1
│ │ │ │ -[
│ │ │ │ -<ELSEIF [NOT] conditional>
│ │ │ │ -    block #2
│ │ │ │ -...
│ │ │ │ -]
│ │ │ │ -[
│ │ │ │ -<ELSE>
│ │ │ │ -    block #3
│ │ │ │ -]
│ │ │ │ -<[ref]/IF>
│ │ │ │ +<[ref]if disabled_because_xyz>
│ │ │ │ +  ...
│ │ │ │ +<[ref]/if>
│ │ │ │ +TLE SIZE">
│ │ │ │ +    <[ref]IF size>
│ │ │ │ +        <FONT SIZE=${size}>
│ │ │ │ +    <[ref]/IF>
│ │ │ │ +    <[ref]IMG SRC=pics/${src}>
│ │ │ │ +    <[ref]USE title>
│ │ │ │ +    <[ref]IF size>
│ │ │ │ +        </FONT>
│ │ │ │ +    <[ref]/IF>
│ │ │ │ +  <[ref]/DEF>
│ │ │ │
│ │ │ │ +  <HEADERIMG SRC="logo.gif" SIZE="+2" TITLE="A title">
│ │ │ │ +
│ │ │ │ +  <HEADERIMG SRC="logo.gif" TITLE="Normal sized title">
│ │ │ │ +
│ │ │ │ +  This will fail:
│ │ │ │ +  <HEADERIMG SRC="logo.gif" ALT="Our logo" TITLE="Another title">
│ │ │ │ +
│ │ │ │ +  Instead, use * like this:
│ │ │ │ +  <[ref]DEF NAME="MYIMG" OPTION="SRC *">
│ │ │ │ +    <[ref]IMG SRC="pics/${src}" $*>
│ │ │ │ +  <[ref]/DEF>
│ │ │ │ +   
│ │ │ │ +  <MYIMG SRC="logo.gif" ALT="Our logo">
│ │ │ │

│ │ │ │

synopsis

│ │ │ │ FILE has several optional parameters of differing purpose. │ │ │ │ The output file's name, the current date and time, and the contents of │ │ │ │ another file may be included. Another file's time, date, or size may be │ │ │ │ added to the output file as well. │ │ │ │

│ │ │ │ As with all HTML, these tags do not have to be on their own line, so the │ │ │ │ following is perfectly acceptable: │ │ │ │

│ │ │ │ -<[ref]img src="filename" ...>
│ │ │ │ -
│ │ │ │ +    <EM>File "<[ref]FILE NAME>" last updated <[ref]FILE TIME>, <[ref]FILE DATE></EM>
│ │ │ │

│ │ │ │

│ │ │ │

NAME, TIME, SIZE

│ │ │ │

│ │ │ │ To include information about another file, such as an archive file or │ │ │ │ graphic image, specify its name with the NAME attribute followed by the │ │ │ │ type of information to be displayed: │ │ │ │

│ │ │ │ -    File image.gif <[ref]FILE NAME="image.gif" SIZE=KBYTE> kilobytes
│ │ │ │ -    Last modified <[ref]FILE NAME="image.gif" TIME>, <[ref]FILE NAME="image.gif" DATE>
│ │ │ │ +    <[ref]IF name="Jim">...<[ref]/IF>
│ │ │ │

│ │ │ │

│ │ │ │ For file size information, the value BYTE, KBYTE, etc. dictates how the │ │ │ │ information is displayed. In anything other than byte format, the information │ │ │ │ is displayed in floating-point notation. The amount of precision (the number │ │ │ │ of digits to the right of the decimal point) can be set with the optional │ │ │ │ PRECISION attribute. The default precision is zero (0), which means no │ │ │ │ @@ -185,16 +197,36 @@ │ │ │ │

│ │ │ │ Additional parameters can be set in the FILE INCLUDE tag, which are │ │ │ │ interpreted as macros that are "passed" to the included file. The macros │ │ │ │ are available only to the include file (and any macros or included files it │ │ │ │ holds). After the file is completely included, the macros are no longer │ │ │ │ available. So: │ │ │ │

│ │ │ │ -<[ref]imageurl url="imageurl" [ path="path/in/local/filesystem" ]>
│ │ │ │ +  <[ref]imageurl url="http://my.domain.org/" path="/var/www/my.domain/">
│ │ │ │ +  <[ref]imageurl url="other.domain.org/" path="/var/www/other.domain/">
│ │ │ │ +
│ │ │ │ +  For this line: <[ref]img src="logo.gif">
│ │ │ │ +  the local filename "logo.gif" will be used to determine image dimensions
│ │ │ │ +  (no URL replacement).
│ │ │ │ +
│ │ │ │ +  For this line: <[ref]img src="http://my.domain.org/logo.gif">
│ │ │ │ +  the local filename "/var/www/my.domain/logo.gif" will be used.
│ │ │ │ +
│ │ │ │ +  But for this line: <[ref]img src="http://other.domain.org/logo.gif">
│ │ │ │ +  the local file cannot be found (no prefix match), so the image dimensions
│ │ │ │ +  will not be added.
│ │ │ │ +
│ │ │ │ +  Order is important; last IMAGEURL tag takes precedence:
│ │ │ │ +  <[ref]imageurl url="/" path="/var/www/htdocs/">
│ │ │ │ +  <[ref]imageurl url="/test/" path="/var/www/test/">
│ │ │ │
│ │ │ │ +  <[ref]img src="/image.gif"> and <[ref]img src="/test/image.gif"> are mapped to
│ │ │ │ +  /var/www/htdocs/image.gif and /var/www/test/image.gif, resp.
│ │ │ │ +  If the order of the imageurl lines would be swapped, the second
│ │ │ │ +  image would be mapped to /var/www/htdocs/test/image.gif.
│ │ │ │

│ │ │ │

│ │ │ │ Macros named "name" and "email" are set, and available inside the included │ │ │ │ file. They are not available, however, past the tag (which is why the │ │ │ │ second statement will fail.) │ │ │ │

│ │ │ │

TEMPLATE

│ │ │ │ ├── html2text {} │ │ │ │ │ @@ -1,109 +1,140 @@ │ │ │ │ │ │ │ │ │ │ [HTP] │ │ │ │ │ ****** htp on-line reference : FILE ****** │ │ │ │ │ Table_of ***** syntax ***** │ │ │ │ │ -Contents <[[ref]]IF [NOT] conditional> │ │ │ │ │ - Introduction     block #1 │ │ │ │ │ - License [ │ │ │ │ │ - Tutorial │ │ │ │ │ - Usage     block #2 │ │ │ │ │ - HTP Tags ... │ │ │ │ │ -   ALTTEXT ] │ │ │ │ │ -   BLOCK [ │ │ │ │ │ -   BLOCKDEF │ │ │ │ │ -   DEF     block #3 │ │ │ │ │ - [>] FILE ] │ │ │ │ │ -   IF <[[ref]]/IF> │ │ │ │ │ -   INC │ │ │ │ │ -   IMG ***** synopsis ***** │ │ │ │ │ -   IMAGEURL FILE has several optional parameters of differing purpose. The output │ │ │ │ │ -   OPT file's name, the current date and time, and the contents of another file │ │ │ │ │ -   OUTPUT may be included. Another file's time, date, or size may be added to the │ │ │ │ │ -   QUOTE output file as well. │ │ │ │ │ -   SET As with all HTML, these tags do not have to be on their own line, so the │ │ │ │ │ -   UNDEF following is perfectly acceptable: │ │ │ │ │ -   UNSET <[[ref]]img src="filename" ...> │ │ │ │ │ -   USE,_$ │ │ │ │ │ -   WHILE **** NAME, TIME, SIZE **** │ │ │ │ │ -