💾 Archived View for cetacean.club › journal › 07-31-2020-newsbook.gmi captured on 2023-09-08 at 15:59:03. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

Newsbook Experiment

I have an experiment I'd like to try with Gemini logs. I would like to try and make a tool that will build a weekly eBook version of all of the gemlogs that I can and turn it into an archive of this space.

So far I have a prototype that currently is able to connect to gemlog atom feeds, read all of the entries that are less than a week old and then render them to markdown. I will then pass them to Pandoc[1] and create an ePub file, then pass that to kindlegen[2] and create a kindle-formatted eBook file.

[1]: Pandoc

[2]: Kindlegen

I would then make these eBook files available over gemini as a proof of concept.

Currently I have a gemini -> markdown converter that renders to somewhat messy but hopefully unambiguous markdown files. As an example, the output looks something like this:

## Post title

Post body etc etc

[A link](to://somewhere)



> This quote is an inspiration to us all

It converts first-level headers to second-level headers so that things will show up nicer in the rendered eBook files tables of contents.

I am thinking that each day (compared to UTC) would get its own chapter, and each gemlog post would get its own section. The dates and URLs of each post from relevant atom feeds would be preserved.

Other things I need to do:

Anyone have any feedback about this?