jasoncarloscox.com/creations/conf-to-epub
A script to convert LDS General Conference to EPUB, as well as converted files for past conferences.
These are pretty basic EPUBs -- the footnotes are removed, images may not show up right, and links aren't guaranteed to work -- but if you just want a table of contents and the text of each talk, they should be good enough.
If you just want to download the files for your e-reader, check out the conferences/
directory. Currently .epub
files are provided (plus .mobi
for some older conferences).
For recent conferences, there are two different EPUB files: the one created by pandoc, ending in .epub
; and another created by converting that EPUB to AZW3 and back to EPUB, ending in .converted.epub
. These converted EPUBs exist to work around issues with Amazon's import service (see issue #2) -- try them out if the normal .epub
files don't work for you.
If the format you need isn't there, try using a tool like Calibre (desktop application that also ships with the ebook-convert
CLI) or Cloud Convert (online converter) to convert the .epub
file to the format you need.
The Bash script depends on curl, htmlq and pandoc. Optionally, if ebook-convert is available, files will be converted to AZW3 and back to EPUB as well.
conf-to-epub.sh <year> <month> [<language>]
<year>
is 4 digits<month>
is one ofapril
,apr
,4
,04
,october
,oct
,10
(case-insensitive)<language>
(optional) is the argument to thelang
query parameter on thechurchofjesuschrist.org
URLs and defaults toeng
Contributions are welcome! You can send questions, bug reports, patches, etc. by email to ~jcc/public-inbox@lists.sr.ht. (Don't know how to contribute via email? Check out the interactive tutorial at git-send-email.io, or email me for help.)
GitHub issues and pull requests are fine, too.