Administration Guide : Command-line manual pages

HTMLSYNC(1M) manual page


htmlsync - responsible for generating Web page previews.


htmlsync [ -v ] [ -d dblev | -D ] [ -fidFileID ] [ -volflagsflags ] [ -nopreviews ] [ -nolinks ] [ -notext ] [ -config path to XML-config file ] [ filename ]


The htmlsync (1M) program is responsible for generation of Web page previews. It calls browcapt (1M) , requesting that it generate a given number of JPEG screen captures at a specified interval. Then, htmlsync (1M) discards blank and duplicate images, storing the unique ones in the database.

When files use the htm or html extension, htmlsync (1M) will add locally-linked resources such as images, JavaScript files and HTML pages to the spreadlink table in the WebNative Suite database, thus making these resources viewable through WebNative Portal and the mview CGI. For example, if an HTML file which contained <img src="MyCompany/logo.jpg"> were to reside inside /FPAssets/MainWebPage , and, if the file logo.jpg resided in the directory /FPAsset/MainWebPage/MyCompany , htmlsync (1M) would place this link in the spreadlink table, making the asset viewable through WebNative Portal and mview .

The htmlsync (1M) program will also extract textual information from Web pages that have htm or html extensions.

Command Options

The flags are defined as follows:
Displays the current version and exits.
-d dblev
Turns on debugging at a certain level, represented by dblev (in hex).
Turns on full debugging.
The WebNative Suite file identification number (in decimal) for the file to be processed. A file path is not needed when a FileID is supplied.
Optional volume information flags (normally pulled from the WebNative Suite database).
Do not generate previews.
Do not link local resources such as images, JavaScript files and HTML pages.
Do not extract text content from Web pages.
-config path to XML-config file
The path specifies the name of an XML configuration file which htmlsnc (1M) will use instead of the database settings.
Rather than identifying the file by its file-identification number, you may supply the full file path and name .