scc-snap2html(1)



NAME


	scc-snap2html - converts a SCC-snapshot to HTML-format

RELEASE


	scc	1.9.28

SYNOPSIS


	scc-snap2html <hostname>

DESCRIPTION


	This program reads a SCC-snapshot from stdin and converts it to 
	HTML-format on stdout. The hierarchical classification in the snapshot
	is converted to a hierarchical menu to the corresponding data. Refer to
	scc(4) for a detailed description of a SCC-snapshot.

	The resulting html-code only contains text and can be viewed with a 
	browser like lynx.

	Variable data is shown with a different color. The default color 
	for variable data is "purple", but this can be changed by editing 
	the style.css in /var/opt/scc/data.

	The snapshot contains DIV-tags with the following nested classes:
	    - SCC_SNAP
	        - SCC_SNAP_NAV
	        - SCC_SNAP_MENU
	        - SCC_SNAP_ENTRY
	        - SCC_SNAP_STATS
	        - SCC_SNAP_HELP

ARGUMENTS


	<name>		name of the host to convert the SCC-snapshot for

EXTERNAL INFLUENCES


	When sort is implemented by BusyBox, no html-file is produced.
	An empty file is send to scc-srv where the html will be produced.

DIAGNOSTICS


	This program writes the following message to stderr:

	Syntax error, use: scc-snap2html <name>
	A syntax error was detected and reported.

RETURN VALUE


	Upon completion, the program returns one of the following values:

		0 successful completion
		1 Syntax error

COPYRIGHT


	scc-snap2html is free software under the terms of the GNU General Public
	License. Copyright (C) 2001-2004 Open Challenge B.V.,
	2004-2005 OpenEyeT Professional Services, 2005-2009 QNH.

FILES


	/var/opt/scc/tmp - directory for temporary files
	/var/opt/scc/data/style.css - stylesheet for snapshot (and logbook)

SEE ALSO


	scc(1), scc-cmp(1), scc-collect(1), scc-log(1), scc-log2html(1),
	scc-plugin(1), scc-snap2html(1), scc(4), scc(5)

VERSION


	$Revision: 1.95 $