GithubHelp home page GithubHelp logo

sergeysivak / epubgenapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from orbitalman/epubgenapp

0.0 1.0 0.0 339 KB

Utility for generating epub with smil timings from google docs

Swift 46.70% HTML 53.30%

epubgenapp's Introduction

EpubGenApp

Utility for generating epub with smil timings from google docs

  1. Download Chapter folder from google doc.
  2. Rename each paragraph as paragraph_x_y where x is chapter number and y is paragraph number
  3. Open paragraph document in google doc, File > Donwload > Epub Publication
  4. Put each epub directly to its paragraph folder in (1)
  5. Rename each mp3 file in paragraphs to original.mp3
  6. Navigate to chapter folder and open command line
  7. Run command for every paragraph: cd paragraph_x_y && lame -b44 original.mp3 audio.mp3 && cd ..
  8. Open EpubGenApp. Select your paragraph_x_y directory. Timing, audio, name should autofill.
  9. Copy title for paragraph from google doc / epub and put it in title field.
  10. Click compose
  11. Open generated/paragraph_x_y/OEBPS/Text/paragraph_x_y.xhtml to check its markup.

Result for android will be stored in generated_raw, ios: generated folder.

Known issues: If app gives error that span count != timing count it means that timing file is not correct If app gives error that text not found in other text it means that program cannot generate it for some reason.

One of issues can be highlited text covering parts from different articles. To fix this open .xhtml file from paragraph_x_y with some text editor and open original google doc. Look at the doc and change color of smaller part to fit previous/next span by setting same css classes to it.

epubgenapp's People

Contributors

orbitalman avatar sergeysivak avatar

Watchers

James Cloos avatar

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.