jric / epubtohtml Goto Github PK
View Code? Open in Web Editor NEWA simple perl script to convert epub documents to documents that browsers can natively browse.
A simple perl script to convert epub documents to documents that browsers can natively browse.
A simple PERL script to convert an epub 2 document to an HTML5 document. After fetching the file, make sure it's executable: chmod ug+x ./epubtohtml.pl then run it to find out how to use it: ./epubtohtml --help Here is a sample session that I run from my Mac. Hope it helps you: scml-jrichardson:pdf2html5 jric$ ~/dev/epubtohtml/epubtohtml.pl /Users/jric/dev/calibre/resources/quick_start.epub -o ~/tmp/quick_start Archive: /Users/jric/dev/calibre/resources/quick_start.epub extracting: /Users/jric/tmp/quick_start/mimetype inflating: /Users/jric/tmp/quick_start/OEBPS/content.opf inflating: /Users/jric/tmp/quick_start/OEBPS/toc.ncx inflating: /Users/jric/tmp/quick_start/OEBPS/Styles/stylesheet.css inflating: /Users/jric/tmp/quick_start/OEBPS/Text/calibre_quick_start_split_004.xhtml inflating: /Users/jric/tmp/quick_start/OEBPS/Text/calibre_quick_start_split_005.xhtml inflating: /Users/jric/tmp/quick_start/OEBPS/Text/calibre_quick_start_split_001.xhtml inflating: /Users/jric/tmp/quick_start/OEBPS/Text/calibre_quick_start_split_003.xhtml inflating: /Users/jric/tmp/quick_start/OEBPS/Text/titlepage.xhtml inflating: /Users/jric/tmp/quick_start/OEBPS/Text/calibre_quick_start_split_000.xhtml inflating: /Users/jric/tmp/quick_start/OEBPS/Text/calibre_quick_start_split_007.xhtml inflating: /Users/jric/tmp/quick_start/OEBPS/Text/calibre_quick_start_split_002.xhtml inflating: /Users/jric/tmp/quick_start/OEBPS/Text/calibre_quick_start_split_011.xhtml inflating: /Users/jric/tmp/quick_start/OEBPS/Text/calibre_quick_start_split_010.xhtml inflating: /Users/jric/tmp/quick_start/OEBPS/Text/calibre_quick_start_split_009.xhtml inflating: /Users/jric/tmp/quick_start/OEBPS/Text/calibre_quick_start_split_008.xhtml inflating: /Users/jric/tmp/quick_start/OEBPS/Text/calibre_quick_start_split_006.xhtml inflating: /Users/jric/tmp/quick_start/OEBPS/Images/cover.jpg inflating: /Users/jric/tmp/quick_start/META-INF/container.xml epubtohtml.pl: WARN: No opf file to get meta-data; will not create index. open 'file://localhost/Users/jric/tmp/quick_start/OEBPS/Text/calibre_quick_start_split_001.xhtml' Now I see a table of contents in my browser.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.