home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 13
/
AACD13.ISO
/
AACD
/
Resources
/
Online
/
CheckHTML
/
Docs
/
English
/
CheckHTML.doc
next >
Wrap
Text File
|
2000-03-26
|
17KB
|
495 lines
Table of Contents
Copyright - Copyright information
Distribution - Copying conditions
Disclaimer - Legal Information
SGMLS License & Disclaimer - SGMLS Legal Information
Trademarks - Trademark information
Support/Updates - How to get updates and support
Author - How to reach the author
Description - What is CheckHTML?
Requirements - Requirements for using CheckHTML
Installation - How to install CheckHTML
History - Revision history of CheckHTML
Todo - Todo list
Known problems - List of known problems
Acknowledgments - Acknowledgments
Please rate - Please rate CheckHTML
References - SGML References
Copyright
---------
CheckHTML, CountStrings, SelectString and the documentation are copyright
1997-2000 Dipl.-Inform. Kai Hofmann. All rights reserved!
- Permission for COMMERCIAL USE is only given by an extra available commercial
license that must be validated!
Contact me directly for this license, because it will be individually handed
out per your needs!
- Permission is hereby granted, without written agreement and without license,
to USE this software and its documentation for any NON-COMMERCIAL purpose,
provided that the above copyright notice and the following paragraph appear
in all copies of this software (Non-commercial includes Giftware!).
Please send me a full version of your product at no cost including free
updates!
Distribution
------------
Permission is hereby granted, without written agreement and without license or
royalty fees, to copy and distribute this software and its documentation for
any purpose, provided that the above copyright notice and the following
paragraphs appear in all copies of this software, to:
- All who will distribute this software for free!
- All free accessible INTERNET servers!
- All Aminet® sites
- Fred Fish for his great Amiga-Software-Library
- The German SAAR AG PD-Library
- Angela Schmidt's Meeting Pearls series
- All others who do NOT take more than US$ 5.- for one disk that includes this
software!
DISCLAIMER
----------
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDER AND/OR OTHER
PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE
QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY
COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY REDISTRIBUTE THE PROGRAM AS
PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY
HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
THE AUTHOR HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
ENHANCEMENTS, OR MODIFICATIONS.
LICENSE AND DISCLAIMER OF WARRANTIES
Standard Generalized Markup Language Users' Group (SGMLUG)
SGML Parser Materials
1. License
SGMLUG hereby grants to any user: (1) an irrevocable royalty-free, worldwide,
non-exclusive license to use, execute, reproduce, display, perform and
distribute copies of, and to prepare derivative works based upon these
materials; and (2) the right to authorize others to do any of the foregoing.
2. Disclaimer of Warranties
(a) The SGML Parser Materials are provided "as is" to any USER. USER assumes
responsibility for determining the suitability of the SGML Parser Materials
for its use and for results obtained. SGMLUG makes no warranty that any
errors have been eliminated from the SGML Parser Materials or that they can
be eliminated by USER. SGMLUG shall not provide any support maintenance or
other aid to USER or its licensees with respect to SGML Parser Materials.
SGMLUG shall not be responsible for losses of any kind resulting from use
of the SGML Parser Materials including (without limitation) any liability
for business expense, machine downtime, or damages caused to USER or third
parties by any deficiency, defect, error, or malfunction.
(b) SGMLUG DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, ARISING OUT OF OR
RELATING TO THE SGML PARSER MATERIALS OR ANY USE THEREOF, INCLUDING
(WITHOUT LIMITATION) ANY WARRANTY WHATSOEVER AS TO THE FITNESS FOR A
PARTICULAR USE OR THE MERCHANTABILITY OF THE SGML PARSER MATERIALS.
(c) In no event shall SGMLUG be liable to USER or third parties licensed by
USER for any indirect, special, incidental, or consequential damages
(including lost profits).
(d) SGMLUG has no knowledge of any conditions that would impair its right to
license the SGML Parser Materials. Notwithstanding the foregoing, SGMLUG
does not make any warranties or representations that the SGML Parser
Materials are free of claims by third parties of patent, copyright
infringement or the like, nor does SGMLUG assume any liability in respect
of any such infringement of rights of third parties due to USER's operation
under this license.
Trademarks
----------
Amiga, AmigaDOS, AmigaGuide and Workbench are registered trademarks of Amiga
International, Inc.
Aminet is a registered trademark of Stefan Ossowskis Schatztruhe GmbH
SAS/C is a registered trademark of SAS Institute Inc.
All other trademarked names used herein are used for the purposes of
identification and for the benefit of the trademark holder. No infringement of
trademarks is intended. Trademarks remain the property of the trademark holder.
Support/Updates
---------------
- Updates will be available via Aminet®
- Support will be available via the authors email address and via
http://www.hofmann-int.de/products/amiga/CheckHTML.shtml
Author
------
Dipl.-Inform. Kai Hofmann
Arberger Heerstraße 92
28307 Bremen
Germany
Phone: (+49)-(0)421/480780
EMail: hofmann@hofmann-int.de
IRC : PowerStat@#AmigaGer
WWW : http://www.hofmann-int.de/
Description
-----------
CheckHTML checks whether an HTML document is conforming with the HTML (4.01) DTD.
This will be done by using the sgmls parser from James Clark, the HTML DTD,
a small Shell script and an ARexx script.
CheckHTML can verify HTML 4.01, HTML 4.0, HTML 3.2 and HTML 2.0 documents.
Newer HTML versions can be easily supported by placing the new DTD into the
'sgml:' directory and adding their public identifier to the 'CATALOG' file.
Please note, that all your HTML documents must begin with the following line
for backward compatibility with HTML 3.2:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Otherwise (especially when using CSS) use:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
or
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
when using frames.
These lines are SGML code and identify the document to be HTML 4.01 - you can
also use one of the HTML 4.0, HTML3.2 or HTML 2.0 identifiers (See 'CATALOG'
file for more):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
For more about the famous 'sgmls' parser and an optimized version for your CPU
please download 'Aminet:dev/lang/sgmls.lha'
Server Side Includes:
SSI files must have the extension .shtml in order to be handled properly.
In addition the include statement must be the only statement on a line
(HTML tags on the same line as the include command will be removed). The
following syntax has to be used:
<!--#include file="inc.html" -->
<!--#include virtual="/include/inc.html" -->
<!--#include virtual="../../include/inc.html" -->
The Unix path will be translated by adding ROOT before "/include/inc.html" and
by removing "..".
Please note that include commands within include files are not supported!
Template:
CheckHTML FILE,ROOT,QUIET/S
Using CheckHTML without the FILE argument will open a requester where you can
select multiple files! When there is no FILE and no ROOT argument, first a
requester for the web-site-root directory will be opened followed by file-
requester. When no root directory is given, the actual directory will be used.
You can also use CheckHTML from the Workbench with the supplied icon file.
Click CheckHTML first and then double click a HTML document.
Toolmanager 3.0 users can find a preference within the archive.
If you also want to check the correctness of the links within your HTML
documents, please take a look at CheckLink from Fabio Rotondo which can be
found on Aminet.
Requirements
------------
- OS 2.04
Installation
------------
Use the installer script!
(The Installer must be in your system-path!)
Should you want to install by hand, do the following:
- Place c/sgmls, c/CountStrings, c/SelectString and s/CheckHTML somewhere
into your path
- Place rexx/CheckHTML.rexx in rexx:
- Create a SGML directory, assign 'SGML:' to it and copy the SGML dir from the
archive to it.
- Copy the documentation if needed (don't forget to use
WrapGuide on it if running under a pre V40 System).
History
-------
29.04.1997 - First release on Aminet
03.06.1997 - Second release on Aminet
* Improved documentation
* Added some @{AMIGAGUIDE} V40 features to the documentation
* Improved installer script
* Added CountStrings
* Added SelectString
* CheckHTML now asks for (multiple) files when started without
arguments
* Added German documentation
* HTML 3.2 Final DTD
* Renamed ISOlat1.sgml to ISOlat1.ent
30.06.1997 - Third release on Aminet
* Added MagicWB readme
* SGMLS now compiled with SAS/C® 6.57
* Added new Eric Gerad icon
* Added Toolmanager 3.0 preferences
* Added "Finished" output for WB
29.01.1997 - Fourth release on Aminet
* HTML 4.0 Final DTD
* Fixed installer script problem
07.03.1999 - Fifth release on Aminet
* HTML 4.0 really Final DTD
29.11.1999 - Sixth release on Aminet
* Added server side include processing (.shtml)
* New EMail- and WWW- address
08.12.1999 - Seventh release on Aminet
* Fixed installer script bug
26.03.2000 - Eigth release on Aminet
* Added HTML 4.01 support
Todo
----
- Uninstaller
- Add TM3 prefs by Installer script
- Accept multiple files as arguments
- Accept pattern matching
- Scan directories recursivly
- MUI Interface
* Load the HTML document and highlight the problems
* Drop HTML documents onto an appicon
Known problems
--------------
- Netscape or Microsoft extensions are not supported - you can add them by
yourself to the DTD, but CheckHTML will only support official standards!
You can find some DTDs at http://www.webtechs.com/
- The components of CheckHTML are placed in various directories and not in
only one. This happens to be the rules of AmigaOS and SGML.
Within the 'SGML:' directory only SGML documents and DTDs should be placed.
CheckHTML is placed in 'S:' because this is the place for Amiga Shell
scripts - for the same reason 'sgmls' is placed into 'C:'.
By running the installer script in expert modus you can change the
destinations for all files.
- Some of you wrote that they can't download the CheckHTML archive from
Aminet - this is a problem of your local mirror - and not a problem of
the CheckHTML release.
- You can't redirect the output of CheckHTML to a file, because this is
what sgmls sends to stderr.
- CheckHTML can generate English output only as long as sgmls is not
localized (very difficult task!)
- When CheckHTML won't run, try to set the script flag for it.
- HTML 4.0 is based on ISO10646 16bit characters - CheckHTML only supports
ISO8859-Latin1 8bit characters for now, don't worry, because this is
backward compatible!
Acknowledgments are going to the following people:
Rita Reichl : for correcting my English and being my inspiration
James Clark : for the famous sgmls parser
People at Cern : for HTML
W3 Consortium : for the standardized HTML DTDs
Udo Schuermann : for WrapGuide
Stefan Kost : for ag2txt
Fabio Rotondo : for CheckLink
Thorsten Willert : for CompressHTML
Thomas Newsom : for reporting an installer script bug
James Cooper,
Steve Krueger,
Doug Walker : For supporting SAS/C® after SAS suspends the support.
Martin Huttenloher : for MagicWB
Eric Gerard : for his great icons
Please rate
-----------
Please rate CheckHTML. To do so, send an email to
aminet-server@wuarchive.wustl.edu with the following content:
RATE comm/www/CheckHTML.lha <num>
where <num> is a mark from 0..10 with 10 being the best.
You can rate several programs in one mail.
Thank you!
References
----------
The SGML Handbook
Charles F. Goldfarb
First Edition
Oxford University Press, Walton Street, Oxford (USA); 1990
ISBN 0-19-853737-9
SGMLS - SGML Parser
James Clark
http://www.jclark.com/
Amiga port by Dipl.-Inform. Kai Hofmann
http://www.hofmann-int.de/products/amiga/sgmls.shtml
Webtechs
http://www.webtechs.com/
DTDs can be found here
W3C - World Wide Web Consortium
http://www.w3.org/
Dipl.-Inform. Kai Hofmann's SGML page
http://home.pages.de/~i07m/SGML.html
PhoneLog Standard
http://www.hofmann-int.de/PhoneLog/
This product is based on or uses parts of
MagicWB - The Workbench Enhancer
--------------------------------
Copyright © 1992-1997, Martin Huttenloher
If you use and like this product you should very much consider to take a
look at MagicWB, which is the authentic source of the style, colors and
design elements contained in this package. It features hundreds of
original icons, patterns, image-drawers, dock-brushes and some specially
designed high-quality fonts to improve the comfort & legibility of your
daily Workbench session.
What is MagicWB? MagicWB is a full replacement for the Graphical User
Interface of the Workbench and has become the standard visual interface on
the Amiga. Over the last years MagicWB has received various merits and an
overwhelming response from Amiga magazines and users worldwide proclaiming
it "a must for all Amiga users". Even commercial applications are
supporting the multi-colored look & style of MagicWB.
Get yourself the latest version of MagicWB and see for yourself the wonders
it can do by automatically transforming your old and dull Amiga Workbench
into an impressive workstation environment that will be the envy of all PC
Windows and Mac users. Update yourself to the state-of-the-art workbench
standard everyone uses on the Amiga! It is also your key to enjoy the new
look & feel of many applications and other MWB add-ons and extensions.
MagicWB is distributed as shareware. Get yourself the latest FREE PUBLIC
RELEASE of MagicWB now: It is called
----------------
MagicWB21p.lha
----------------
and can be found everywhere on Aminet (or your local BBS or public domain
series). Install it and witness the instant magic it performs on your old
Amiga Workbench. Also included is the latest SASG registration program
with which you can order and get the full registered version of MagicWB.
If you want to order directly, feel free to send
DM 30.- or US$ 20.- (cash, no checks!)
to
Martin Huttenloher
Am Hochstraess 4
D-89081 Ulm
Germany
You may also choose to visit the official MagicWB homepage on the world
wide web. There you can find the latest news & support and even register
your MagicWB online (which is much more comfortable and faster). You can
even benefit from various special offers & discounts for MagicWB if you
order through our website! Come and visit MagicWB at:
----------------------
http://www.sasg.com/
----------------------
Save 20% by using the discounts on our website!
Ordering online also saves you a lot of time and work!
WrapGuide is Copyright 1994-1995 Udo Schuermann
All rights reserved