💾 Archived View for thatit.be › 2023-11-06-14-33-34.gmi captured on 2024-02-05 at 09:37:09. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
My script for capsule generation is getting too many specific features that could really be more generic.
I take each input note, put the tags, titles, and links in a database. I take the body of the note and add tags, backlinks, and a next and previous button.
The tags are added to any page that’s not index.md or a generated page. They enable navigation to a page that has links to the other notes that share that tag.
The forward and back links are added to any post that appears on the index page and allow navigation chronologically.
I’m starting to get a growing list of special tags. Their specialness has to do with how the Python script will make use of the document based on the presence of that tag.
Tag Purpose publish will be published if gemini is also present gemini will be published if publish is also present index will be inserted into index.md if the note is published
I had imagined other destinations, like web, for example. If publish and web were included, then the document could get published as HTML. But it turns out that if I were willing to post it to the WWW then I’d be willing to post all of the capsule content, so I haven’t done this. I’m considering removing the gemini tag.
Backlinks that are inserted are selected from the links table for anything that has the destination set to the provided source. This happens independently of whether the thing is publishable and so I have to fix that. (TODO)
updated: 2023-11-06 16:15:20
generated: 2024-02-03