hk_exporthtml(1)

hk_exporthtml1

Exports a datasource to a html file. hk_exporthtml is part of the hk_classes package.

Usage

hk_exporthtml -d driver -b database [OPTIONS] datasourcename

Overview

exports the result set of a query or a table to a HTML file. The data will be printed to stdout. To create a table or a query use knoda (http://www.knoda.org). If the datasource is not a table set the --query option.

Options

-b, --database=DATABASE

database name

-d, --driver=DRIVERNAME

set the SQL-driver (e.g. mysql). You can get a list of all existing SQL-drivers with -l or --list

-t, --tabletags=TABLETAGS

The tags of the <table> statement, e.g. BORDER=1 CELLSPACING=1

--aftertable=AFTERTABLETEXT

text displayed after the table

--beforetable=BEFORETABLETEXT

text displayed before the table

-f, --filter=FILTER

filter

--groupcolumn=COLUMNNAME

for each group will be created an extra table

-h, --host=HOST

IP-number or name of hosts

--headsection=HEADSECTION

meta data in the <HEAD></HEAD> section

-p, --password=PASSWORD

user password

-q, --query

if set the datasource is a query, else it is a table

-r, --port=PORT

TCP-port on host

-u, --user=USERNAME

user name

-?, --help

display help list

--usage

give short usage message

--version

version and author of hk_classes

Releases

3 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–4.0
  2. 5.0

--tabletags since Debian 5.0 (Lenny); -t since Debian 5.0 (Lenny).

Author

This manual page was written by Mike Schacht <[email protected]> for the Debian project (but may be used by others).

From libhk-classes-dev 0.8.3-4 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.