Main ----- Copyright Up Previous Next

She looks like the Sunday Comics
She thinks she's Brenda Star
Her nose job is real atomic
All she needs is an old knife scar

(Blondie, "Rip Her to Shreds")

Strip specific elements

SGML-comments

can be removed from the output by enabling the switch STRIPCOMMENT when invoking hsc.

Specific tags

must be passed to the option STRIPTAGS, separated by a "|". For example, to remove all physical styles, use STRIPTAG="B|I|U|TT" when invoking hsc.

You can't strip tags, which have the tag flag /SPECIAL set. But this only concerns the <!>-tag (use the above switch instead) and some of hsc's internal tags, which you should not strip anyway.

Tags with external references

can be removed if you want to create a NoNet-version of your document. Use the switch STRIPEXTERNAL for this task. Tags which are affected by this must have an URI-type attribute, which has the attribute option /STRIPEXT set within hsc.prefs.

Currently, this affects only the tags <A>, <IMG> and <LINK>.

Redundant linefeeds and white-spaces

can be removed, if you heavy use them to structure your source, but don't want to waste bandwidth for them. You only need to enable the switch COMPACT.

If now someone performs a "View Source" on your html-object,it will be less readable for him, but browsers won't care and display it the same way.

Currently, hsc does:

Linefeeds and white-spaces inside a tag-call are not affected by this option. The <PRE>-tag temporarily suppresses this option, until a </PRE> occures.


Thomas Aglassinger (agi@giga.or.at), 04-Dec-1996