scc-snap2html.pl(1)



NAME


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

RELEASE


	scc-win	1.10.38

SYNOPSIS


	scc-snap2html [ --standalone ] <name>

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-win(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".

	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

OPTIONS


	--standalone   	embed the stylesheet in the html-data and do not
	                show "externel" links to logbook and index.html.
	                Use this option before transferring the html
	                version of the snapshot to a user.

ARGUMENTS


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

DIAGNOSTICS


	This program writes the following message to stderr:

	Syntax error, use: scc-snap2html [ --standalone ] <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

EXTERNAL INFLUENCES


	When the --standalone option is used, this program assumes it is called 
	from the bin directory of the SCC software.

COPYRIGHT


	scc-snap2html is free software under the terms of the GNU General Public
	License. Copyright (C) 2006-2018 QNH, 2019 Siem Korteweg.

FILES


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

SEE ALSO


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

VERSION


	$Revision: 6218 $