Short: Html-preprocessor (v0.912) Author: Thomas Aglassinger Uploader: Thomas Aglassinger Version: 0.912 Type: text/hyper Kurz: html-Vorarbeiter Requires: AmigaOS 2.04, 68020, 2MB, UserIQ>50 TITLE hsc - html sucks completely VERSION 0.912 AUTHOR Thomas Aglassinger DESCRIPTION hsc is a developer tool for html projects. It can be used on any html file and creates a new html file as output. In the input file, you may use an extended syntax based on html, but which also allows things like macros and conditionals. It's mainly intended to create and maintain larger html projects. As a CLI-only tool, it should be used with `make'; a dependency generator is included. hsc is *not* a tool to make html easier for beginners; It's a tool to make html a bit less painful and brain-damaged for people who already know how to work with it. FEATURES o adds some special tags, for example to o include files (also sources) o execute shell commands during conversion o add comments in a reasonable way o supports macros (implemented as additional tags) o conditionals (if/else/elseif) o simple expressions can be passed as values to attributes (like string concatenation, string comparison, import of environment- variables, current time or filesize) o for local links, checks if file/id exists o maintains a project-file to check existence of id's over all files processed o supports absolute URIs (relative to root directory of project) o replaces special characters by entities o evaluates attributes for image size o strips comments and specified tags o strips useless white spaces o replaces icon entities by images o performs a (small) syntax- and structure-check o easy to extend syntax definition format o dependency generator for Makefiles included o tool to examine/manipulate project files included NEW FEATURES o some bugfixes (as usual) o added support for recommended tags (not only required) o loads of spelling mistakes fixed SPECIAL REQUIREMENTS AmigaOS 2.04, 2MB of regular memory, 68020, some sort of WWW browser and ASCII editor. For larger projects, 4MB of memory and 68040 are recommended. Different to most other WWW tools, hsc requires an user-IQ > 50. AVAILABILITY o Every Aminet-mirror, file "text/hyper/hsc.lha"; for example "ftp://wuarchive.wustl.edu/pub/aminet/text/hyper/hsc.lha" o "http://www.giga.or.at/~agi/hsc/" PRICE Freeware. DISTRIBUTABILITY Distributed under GNU General Public License. SOURCE CODE ANSI-C source-code is available in a separate archive (look for `hsc-source.lha' at the same site you've got the binaries from). ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 26 26 0.0% 26-Jan-97 21:54:12 FILE_ID.DIZ 628 273 56.5% 07-Sep-96 00:18:54 hsc.info 19569 7781 60.2% 26-Jan-97 21:42:40 +CHANGES 463 238 48.5% 06-Sep-96 22:51:12 +CHANGES.info 17982 6993 61.1% 26-Jun-95 08:31:52 +COPYING 463 236 49.0% 06-Sep-96 22:51:12 +COPYING.info 628 274 56.3% 10-Sep-96 13:12:28 +docs.info 3956 1868 52.7% 26-Jan-97 21:41:20 +about.html 6264 2746 56.1% 26-Jan-97 21:43:46 +author.html 6135 2783 54.6% 26-Jan-97 21:44:28 +bugs.html 1856 865 53.3% 26-Jan-97 21:41:24 +copy.html 3426 1359 60.3% 26-Jan-97 21:42:14 +distrib.html 1998 870 56.4% 26-Jan-97 21:44:08 +envvar.html 1802 806 55.2% 26-Jan-97 21:41:30 +examples.html 2558 1059 58.6% 26-Jan-97 21:41:48 +absuris.html 1634 707 56.7% 26-Jan-97 21:43:52 +checkuri.html 8009 2885 63.9% 26-Jan-97 21:40:02 +exec.html 4496 1627 63.8% 26-Jan-97 21:40:14 +expressions.html 2738 1099 59.8% 26-Jan-97 21:43:00 +getsize.html 5299 1942 63.3% 26-Jan-97 21:41:54 +if.html 6010 2520 58.0% 26-Jan-97 21:42:02 +prefs.html 2129 1011 52.5% 26-Jan-97 21:42:08 +rplcent.html 12527 3522 71.8% 26-Jan-97 21:42:52 +spcattr.html 7767 2840 63.4% 26-Jan-97 21:39:54 +spctags.html 3268 1374 57.9% 26-Jan-97 21:42:38 +strip.html 1757 774 55.9% 26-Jan-97 21:40:26 +syntax.html 5882 2244 61.8% 26-Jan-97 21:44:54 +fileargs.html 3168 1421 55.1% 26-Jan-97 21:40:20 +future.html 138 138 0.0% 14-Jan-96 17:27:46 +back.gif 190 190 0.0% 14-Jan-96 17:20:08 +copy.gif 496 496 0.0% 16-Jan-96 18:59:32 +head.gif 638 638 0.0% 26-May-96 02:10:44 +hsc.gif 170 170 0.0% 14-Jan-96 17:14:34 +index.gif 176 176 0.0% 14-Jan-96 17:14:44 +main.gif 189 189 0.0% 14-Jan-96 17:15:02 +next.gif 347 347 0.0% 12-Oct-96 18:51:36 +niceguy.gif 168 168 0.0% 14-Jan-96 17:28:12 +noback.gif 211 211 0.0% 14-Jan-96 17:20:36 +nocopy.gif 200 200 0.0% 14-Jan-96 17:15:28 +noindex.gif 193 193 0.0% 14-Jan-96 17:15:40 +nomain.gif 212 212 0.0% 14-Jan-96 17:15:52 +nonext.gif 213 213 0.0% 15-Jul-96 23:44:28 +noprev.gif 188 188 0.0% 14-Jan-96 17:16:08 +prev.gif 141 141 0.0% 04-Nov-95 02:20:36 +up.gif 6561 2349 64.1% 26-Jan-97 21:44:44 +index.html 468 253 45.9% 10-Sep-96 13:12:14 +index.html.info 2831 1191 57.9% 26-Jan-97 21:43:38 +install.html 4786 1703 64.4% 26-Jan-97 21:40:32 +attrib.html 4724 1679 64.4% 26-Jan-97 21:40:40 +flag.html 4624 1898 58.9% 26-Jan-97 21:40:46 +macros.html 24487 7511 69.3% 26-Jan-97 21:39:46 +messages.html 12605 4784 62.0% 26-Jan-97 21:44:20 +options.html 3893 1723 55.7% 26-Jan-97 21:44:00 +ports.html 3430 1366 60.1% 26-Jan-97 21:43:26 +hscdepp.html 5225 1942 62.8% 26-Jan-97 21:44:36 +hscpitt.html 1701 658 61.3% 26-Jan-97 21:43:16 +index.html 1826 796 56.4% 26-Jan-97 21:41:12 +make.html 4560 1809 60.3% 26-Jan-97 21:41:02 +makefile.html 2932 1237 57.8% 26-Jan-97 21:40:54 +prjfile.html 7596 3001 60.4% 26-Jan-97 21:43:10 +questions.html 3527 1510 57.1% 26-Jan-97 21:42:28 +related.html 2592 1205 53.5% 26-Jan-97 21:41:36 +require.html 2058 953 53.6% 26-Jan-97 21:41:42 +source.html 4731 1941 58.9% 26-Jan-97 21:45:02 +undocumented.html 2110 850 59.7% 26-Jan-97 21:40:08 +updates.html 628 273 56.5% 10-Sep-96 13:12:28 +example.info 55 55 0.0% 26-Jan-97 21:54:16 +README 2155 920 57.3% 09-Sep-96 07:48:52 +README 463 237 48.8% 10-Sep-96 13:12:08 +README.info 347 347 0.0% 12-Oct-96 18:51:36 +hugo.gif 217 172 20.7% 23-Oct-95 02:54:30 +hugo.hsc 1104 514 53.4% 30-Sep-96 04:55:44 +macro.hsc 398 257 35.4% 23-Jul-96 14:13:18 +main.hsc 747 353 52.7% 23-Jul-96 14:08:48 +Makefile 178 139 21.9% 16-Sep-95 23:32:32 +stupid.hsc 628 275 56.2% 06-Sep-96 22:52:28 +grafflwerk.info 3173 1496 52.8% 30-Jul-96 12:47:06 +hScMsg.rexx 513 279 45.6% 10-Dec-96 23:03:56 +hScMsg.rexx.info 1254 635 49.3% 18-Aug-96 08:29:26 +Makefile 464 229 50.6% 06-Sep-96 22:52:24 +Makefile.info 1177 558 52.5% 12-Oct-96 16:45:50 +README 463 238 48.5% 06-Sep-96 22:52:24 +README.info 2081 1052 49.4% 03-Aug-96 19:13:32 +SendAWeb.rexx 513 277 46.0% 10-Dec-96 23:03:32 +SendAWeb.rexx.info 3337 1507 54.8% 04-Aug-96 23:27:42 +SendScMsg.rexx 513 278 45.8% 10-Dec-96 23:03:52 +SendScMsg.rexx.info 467 304 34.9% 23-Jan-97 10:14:26 +Hmpf_Grmbl_Wrcks 463 238 48.5% 06-Sep-96 22:51:12 +Hmpf_Grmbl_Wrcks.info 96504 52729 45.3% 26-Jan-97 20:43:58 +hsc 467 206 55.8% 10-Sep-96 13:24:06 +hsc.info 14659 3677 74.9% 21-Jan-97 22:21:50 +hsc.prefs 46276 25054 45.8% 26-Jan-97 20:44:44 +hscdepp 467 210 55.0% 19-Oct-96 22:27:36 +hscdepp.info 44924 24892 44.5% 26-Jan-97 20:45:26 +hscpitt 467 210 55.0% 19-Oct-96 22:27:36 +hscpitt.info 669 417 37.6% 10-Dec-96 23:52:08 +IMPORTANT 463 241 47.9% 06-Sep-96 22:51:12 +IMPORTANT.info 2527 1352 46.4% 26-Jan-97 21:54:14 +README 463 238 48.5% 06-Sep-96 22:51:12 +README.info 628 276 56.0% 10-Sep-96 13:12:28 +src_docs.info 3139 1640 47.7% 10-Dec-96 14:27:50 +about.hsc 5360 2538 52.6% 07-Jan-97 02:25:24 +author.hsc 5333 2585 51.5% 23-Jan-97 18:05:14 +bugs.hsc 1140 666 41.5% 14-Jul-96 21:59:54 +copy.hsc 340 230 32.3% 12-Sep-96 06:59:34 +credits.hsc 2489 1145 53.9% 07-Jan-97 02:41:14 +distrib.hsc 1156 655 43.3% 17-Nov-96 18:48:02 +envvar.hsc 1179 649 44.9% 30-Sep-96 04:05:22 +examples.hsc 154 133 13.6% 03-Jun-96 21:21:32 +anchor.hsc 264 167 36.7% 10-Nov-96 03:17:46 +exec.hsc 257 165 35.7% 20-Dec-95 03:43:58 +expression.hsc 45 45 0.0% 24-Oct-95 00:27:36 +m_addr.hsc 104 71 31.7% 12-May-96 23:07:52 +m_file.hsc 102 101 0.9% 04-Dec-95 04:02:52 +m_next.hsc 244 156 36.0% 19-Jul-96 22:37:36 +operators.hsc 1679 826 50.8% 29-May-96 02:24:48 +absuris.hsc 779 458 41.2% 10-Dec-96 21:28:56 +checkuri.hsc 6509 2435 62.5% 10-Dec-96 21:30:38 +exec.hsc 3751 1400 62.6% 10-Dec-96 21:32:30 +expressions.hsc 1773 881 50.3% 10-Dec-96 21:34:12 +getsize.hsc 4321 1735 59.8% 21-Jan-97 14:30:34 +if.hsc 4914 2305 53.0% 10-Dec-96 21:35:48 +prefs.hsc 1263 761 39.7% 10-Dec-96 21:36:26 +rplcent.hsc 10878 3222 70.3% 10-Dec-96 21:38:28 +spcattr.hsc 8571 3251 62.0% 10-Dec-96 21:39:56 +spctags.hsc 2204 1104 49.9% 10-Nov-96 23:41:38 +strip.hsc 864 522 39.5% 10-Dec-96 21:40:32 +syntax.hsc 4997 2001 59.9% 23-Jan-97 19:43:30 +fileargs.hsc 2341 1195 48.9% 10-Dec-96 14:47:54 +future.hsc 7958 1676 78.9% 26-Jan-97 21:45:02 +hsc.project 5553 1447 73.9% 23-Jan-97 18:14:44 +macro.hsc 2940 894 69.5% 21-Jan-97 22:54:12 +webpage.hsc 6558 2474 62.2% 26-Jan-97 21:44:34 +index.hsc 1963 935 52.3% 10-Dec-96 14:49:04 +install.hsc 3469 1532 55.8% 10-Dec-96 21:41:08 +attrib.hsc 3494 1481 57.6% 21-Jan-97 22:53:30 +flag.hsc 3746 1696 54.7% 10-Dec-96 21:42:48 +macros.hsc 2535 1190 53.0% 26-Jan-97 21:38:36 +main_index.hsc 5986 1482 75.2% 25-Jan-97 16:10:54 +Makefile 5882 1472 74.9% 24-Nov-96 15:18:58 +Makefile.bak 20641 7208 65.0% 23-Jan-97 18:15:02 +messages.hsc 12071 4858 59.7% 10-Dec-96 21:26:14 +options.hsc 2973 1455 51.0% 10-Dec-96 21:53:38 +ports.hsc 2722 1262 53.6% 10-Nov-96 21:05:46 +hscdepp.hsc 4555 1866 59.0% 10-Dec-96 21:45:04 +hscpitt.hsc 838 430 48.6% 10-Dec-96 21:45:40 +index.hsc 998 560 43.8% 10-Dec-96 21:46:00 +make.hsc 3680 1553 57.7% 10-Dec-96 21:46:44 +makefile.hsc 1910 960 49.7% 10-Dec-96 21:57:10 +prjfile.hsc 6757 3111 53.9% 10-Dec-96 21:20:08 +questions.hsc 196 147 25.0% 09-Sep-96 07:44:00 +README 463 235 49.2% 10-Sep-96 13:12:00 +README.info 2571 1336 48.0% 10-Dec-96 21:21:00 +related.hsc 1755 965 45.0% 21-Jan-97 22:57:28 +require.hsc 1252 726 42.0% 06-Nov-96 22:33:26 +source.hsc 3768 1724 54.2% 25-Jan-97 20:18:02 +undocumented.hsc 978 584 40.2% 23-Jan-97 10:01:38 +updates.hsc -------- ------- ----- --------- -------- 667789 294808 55.8% 29-Jan-97 19:03:24 157 files