kapmahc / epub Goto Github PK
View Code? Open in Web Editor NEWEpub parser library for golang
License: MIT License
Epub parser library for golang
License: MIT License
你好,golang小白问一下,想取得cover-image文件,Book这个struct里的fd是怎么使用的?为啥我调取readBytes总是提示我
bk.readBytes undefined (type *epub.Book has no field or method readBytes)
Example content.opf:
<package xmlns="http://www.idpf.org/2007/opf" prefix="ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/ calibre: https://calibre-ebook.com" unique-identifier="bookid" version="3.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
<dc:title id="id">Amnesie</dc:title>
<dc:creator id="id-1">Michael Robotham</dc:creator>
<dc:rights>Copyright © der Originalausgabe 2005</dc:rights>
<dc:identifier>calibre:2239</dc:identifier>
<dc:identifier>uuid:96804bef-20dc-4cb5-95f3-4063026560e4</dc:identifier>
<dc:identifier id="bookid">9783641063047</dc:identifier>
<dc:identifier>9783641063047</dc:identifier>
<dc:language>de</dc:language>
<dc:publisher>PeP eBooks</dc:publisher>
<opf:meta refines="#id" property="title-type">main</opf:meta>
<opf:meta refines="#id" property="file-as">Amnesie</opf:meta>
<opf:meta property="role" refines="#id-1" scheme="marc:relators">aut</opf:meta>
<opf:meta property="file-as" refines="#id-1">Robotham, Michael</opf:meta>
<opf:meta property="belongs-to-collection" id="id-2">Joseph O`Loughlin</opf:meta>
<opf:meta refines="#id-2" property="collection-type">series</opf:meta>
<opf:meta refines="#id-2" property="group-position">2</opf:meta>
The refines are ignored
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.