html2oeb

Langue: en

Autres versions - même langue

Version: April 2009 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

html2oeb - part of calibre

SYNOPSIS

html2oeb [options] file.html|opf

DESCRIPTION

Follow all links in an HTML file and collect them into the specified directory. Also collects any resources like images, stylesheets, scripts, etc. If an OPF file is specified instead, the list of files in its <spine> element is used.

Whenever you pass arguments to html2oeb that have spaces in them, enclose the arguments in quotation marks.

OPTIONS

--version
show program's version number and exit
-h, --help
show this help message and exit
-o OUTPUT, --output=OUTPUT
The output directory. Default is the current directory.
--encoding=ENCODING
Character encoding for HTML files. Default is to auto detect.
--zip
Create the output in a zip file. If this option is specified, the --output should be the name of a file not a directory.

DEBUG:

Options useful for debugging
-v, --verbose
Be more verbose while processing. Can be specified multiple times to increase verbosity.
--pretty-print
Output HTML is "pretty printed" for easier parsing by humans

METADATA:

Set metadata of the generated ebook
-t TITLE, --title=TITLE
Set the title. Default is to autodetect.
-a AUTHORS, --authors=AUTHORS
The author(s) of the ebook, as a & separated list.
--subjects=TAGS
The subject(s) of this book, as a comma separated list.
--publisher=PUBLISHER
Set the publisher of this book.
--comment=COMMENTS
A summary of this book.
--metadata-from=FROM_OPF
Load metadata from the specified OPF file

TRAVERSAL:

Control the following of links in HTML files.
--breadth-first
Traverse links in HTML files breadth first. Normally, they are traversed depth first
--max-levels=MAX_LEVELS
Maximum levels of recursion when following links in HTML files. Must be non-negative. 0 implies that no links in the root HTML file are followed.

Created by Kovid Goyal <kovid@kovidgoyal.net>

SEE ALSO

http://calibre.kovidgoyal.net