https://github.com/motemen/kindlenap
Generate HTML files suitable for kindlegen.
https://github.com/motemen/kindlenap
Last synced: 2 months ago
JSON representation
Generate HTML files suitable for kindlegen.
- Host: GitHub
- URL: https://github.com/motemen/kindlenap
- Owner: motemen
- Created: 2011-06-13T15:50:48.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-09-05T12:59:00.000Z (almost 13 years ago)
- Last Synced: 2025-03-26T18:43:40.420Z (3 months ago)
- Language: Perl
- Homepage:
- Size: 124 KB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Kindlenap
=========WHAT IS THIS
------------kindlenap.pl converts URL/file to [kindlegen][kindlegen]-ready HTML file.
* Extracts main content of website
* Embeds title/author metadata
* Includes embedded imagesHOW TO USE
----------kindlenap.pl [--out-dir dir] [--title title] [--author author] [--verbose] [--autopagerize] url-or-file
If you omit url-or-file, kindlenap.pl reads content from STDIN.
DESCRIPTION
-----------kindlenap.pl generates file title suffix.html in specified output directory (defaults to 'out').
After that, process the generated file by kindlegen.
### SPECIAL-HANDLED WEBSITES
* Formats and exracts metadata of [pixiv 小説][pixiv-novel] pages properly.
[kindlegen]: http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000234621
[pixiv-novel]: http://www.pixiv.net/novel/