Giter VIP home page Giter VIP logo

Comments (5)

fmap avatar fmap commented on August 19, 2024

The error says the ePub metadata file (content.opf) is missing a spine; without that, we don't know the order of the contents, and so we can't build a MOBI. If you flip open bin/opf and lib/opf, you'll see where that should be introduced: we take the path of each HTML chapter in the volume, and with each one choose an identifier, appending an XML element describing it to the spine (preserving order.) The identifier is linked to a file by an entry in the manifest, added in about the same way.

It's supposed to end up including something like:

<spine>
<itemref idref="III_01html"/><itemref idref="III_02html"/><itemref idref="III_03html"/><itemref idref="III_04html"/><itemref idref="III_05html"/><itemref idref="III_06html"/><itemref idref="III_07html"/><itemref idref="III_08html"/><itemref idref="III_09html"/><itemref idref="III_10html"/><itemref idref="III_11html"/><itemref idref="III_12html"/><itemref idref="III_13html"/><itemref idref="III_14html"/><itemref idref="III_15html"/><itemref idref="III_16html"/><itemref idref="III_17html"/><itemref idref="III_18html"/><itemref idref="III_19html"/><itemref idref="III_20html"/><itemref idref="III_21html"/><itemref idref="III_22html"/><itemref idref="III_90html"/><itemref idref="III_91html"/><itemref idref="III_92html"/>
</spine>

That might be failing because you're missing the library we use for working with XML. Have you run gem install nokogiri? I should add a Gemfile describing the dependencies of the Ruby stuff..

I'm really glad someone other than me is trying to use this. 😄

from flp.mobi.

fmap avatar fmap commented on August 19, 2024

@sayanee,

Is solved?

from flp.mobi.

sayanee avatar sayanee commented on August 19, 2024

will check it soon 👍 thanks 😄

from flp.mobi.

fmap avatar fmap commented on August 19, 2024

Cool:

git pull
make clean; bundle && make

from flp.mobi.

eshellman avatar eshellman commented on August 19, 2024

as a ruby newbie I can report that bundler is another dependency

from flp.mobi.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.