Skip to content

Add support for Elantris annotations #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

BeeeWall
Copy link

@BeeeWall BeeeWall commented Sep 2, 2020

It adds two scripts: elantris-annotations, which will create an eBook consisting only of the annotations, and annotate-elantris, which will take a provided Elantris EPUB and add the annotations to the end, as well as adding a link to the annotations for each chapter at the start and end of each chapter (and links back to the chapter in the annotation).

Few things:

One, code's probably messy. Never been great at coding, haven't touched coding in months, and have never used Ruby. So uh, if something's terrible, please point it out to me lol.

Two, it requires you to put the EPUB in a folder within the program's files, which I don't think works with Docker. Not sure how to get it to take a filename as input or anything. So for now, you have to download the repo and run the Ruby file directly.

Three, no idea how generalizable it is or isn't for other books, or even other editions of Elantris. It definitely will require tweaking for other books, and possibly even for other versions of Elantris, but not super sure how much effort it takes. Might look into that over the next few days.

Also, not super sure on if a license thing needs to be put somewhere for rubyzip or the rubyzip sample.

@BeeeWall BeeeWall force-pushed the elantris-annotations branch 4 times, most recently from 7aa65cb to 90a1ce5 Compare September 2, 2020 02:38
@BeeeWall BeeeWall mentioned this pull request Sep 2, 2020
@captn3m0 captn3m0 self-requested a review September 10, 2020 07:57
@BeeeWall BeeeWall force-pushed the elantris-annotations branch 4 times, most recently from ee90fe9 to 90a1ce5 Compare September 12, 2020 22:08
@BeeeWall BeeeWall force-pushed the elantris-annotations branch from 90a1ce5 to 549f5a5 Compare September 12, 2020 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant