add newsbook experiment post

This commit is contained in:
Cadey Ratio 2020-07-31 11:45:28 +00:00
parent 5a9b0d87c3
commit c27bad7dab
4 changed files with 49 additions and 10 deletions

View File

@ -54,8 +54,7 @@ Also, if you are having consistent cases of writer's block that make you feel li
It's a _game_ afterall :D
I hope these words are able to help you with your writing as much as they help
me.
I hope these words are able to help you with your writing as much as they help me.
---

View File

@ -0,0 +1,39 @@
# 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.
=> https://pandoc.org [1]: Pandoc
=> https://www.amazon.com/gp/feature.html?docId=1000765211&ie=UTF8 [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)
* foo bar
* bar foo
> 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:
* Throttle post fetching (right now it just does it as fast as possible because my server software is efficient enough that it can just handle it)
* Cache post files to the disk in some format (probably throw them into a SQLite file)
* Create a tool that allows users to submit their own gemlog feeds to the eBook archival project
* Create some kind of gemini presence for this project
* Render eBook files with a weekly cronjob
Anyone have any feedback about this?

View File

@ -2,7 +2,7 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<id>gemini://cetacean.club/journal/</id>
<title>Flight Journal</title>
<updated>2020-07-30T04:03:50.266529+00:00</updated>
<updated>2020-07-31T11:44:17.156252+00:00</updated>
<author>
<name>Cadey Alicia Ratio</name>
<email>cadey@firemail.css</email>
@ -10,12 +10,6 @@
<link href="gemini://cetacean.club/journal/atom.xml" rel="self"/>
<link href="gemini://cetacean.club/journal/" rel="alternate"/>
<generator uri="https://lkiesow.github.io/python-feedgen" version="0.9.0">python-feedgen</generator>
<entry>
<id>gemini://cetacean.club/journal/h-koan.gmi</id>
<title>The h Koan</title>
<updated>2020-07-27T14:38:24.454070+00:00</updated>
<link href="gemini://cetacean.club/journal/h-koan.gmi" rel="alternate"/>
</entry>
<entry>
<id>gemini://cetacean.club/journal/the-cheese-dream.gmi</id>
<title>The Cheese Dream</title>
@ -67,7 +61,13 @@
<entry>
<id>gemini://cetacean.club/journal/07-29-2020-flavortext.gmi</id>
<title>Some Hacks for Writing Scenery and Characters</title>
<updated>2020-07-30T04:03:50.266529+00:00</updated>
<updated>2020-07-31T11:22:53.333147+00:00</updated>
<link href="gemini://cetacean.club/journal/07-29-2020-flavortext.gmi" rel="alternate"/>
</entry>
<entry>
<id>gemini://cetacean.club/journal/07-31-2020-newsbook.gmi</id>
<title>Newsbook Experiment</title>
<updated>2020-07-31T11:44:17.156252+00:00</updated>
<link href="gemini://cetacean.club/journal/07-31-2020-newsbook.gmi" rel="alternate"/>
</entry>
</feed>

View File

@ -13,6 +13,7 @@ These logs will contain thoughts, feelings, major events in my life and other su
=> 07-28-2020-majc-0-2-1.gmi 7/28/2020 - [ANN] majc 0.2.1
=> 07-29-2020-book-published.gmi 7/29/2020 - My Book is Published!
=> 07-29-2020-flavortext.gmi 7/29/2020 - Some Hacks for Writing Scenery and Characters
=> 07-31-2020-newsbook.gmi 7/31/2020 - Newsbook Experiment
## Stories
Occasionally I write little stories that are not really connected to anything. I have not really had a good place to publish these in the past. This place seems as good as any.