html2oeb(1)
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
- The output directory. Default is the current directory.
- --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
Set the title. Default is to autodetect.
- -a, --authors
The author(s) of the ebook, as a & separated list.
- --subjects
The subject(s) of this book, as a comma separated list.
- --publisher
Set the publisher of this book.
- --comment
A summary of this book.
- --metadata-from
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
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.
SEE ALSO
The User Manual is available at http://calibre.kovidgoyal.net/user_manual
- Created by Kovid Goyal <kovid@kovidgoyal.net>