Thread: PRS-500 HTML2LRF
View Single Post
Old 10-31-2006, 07:52 PM   #1
igorsk
Wizard
igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.
 
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
HTML2LRF

Just a little tool I made using DLLs from the Toolbar for LIBRIe. It's basically a command-line version of the toolbar.

Features:
  1. Supports both fetching remote URLs and local files
  2. Adds a TOC with a link to each page
  3. Embeds pictures
  4. Preserves (some of) formatting

Issues:
  1. Links do not work (yet?)
  2. Error messages (if any) are in Japanese.
Usage:
HTML2LRF [-t "Book title"] [-a "Book Author"] [-o output_filename] <url|path.html> [<url|path.html>...]
Defaults are "Test Book", "Unknown Author", and "test.lrf".

Hints:
  1. Text for TOC entries is taken from the page's <TITLE> tag.
  2. If you want to process local files, make sure you pass a full pathname, or a file:// URL.

Clicky
igorsk is offline   Reply With Quote