Skip to content

Binaergewitter/serious-bg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 13, 2025
ee27bdc · Mar 13, 2025
Dec 30, 2024
Mar 13, 2025
May 15, 2024
Mar 4, 2025
Dec 29, 2024
Sep 3, 2022
Jul 14, 2014
Aug 19, 2017
Oct 7, 2024
Oct 7, 2024
Oct 7, 2024
Mar 10, 2025
Sep 12, 2018
Sep 2, 2022
Jan 14, 2024
Aug 23, 2013
Mar 7, 2024
Sep 2, 2022
Nov 20, 2021

Repository files navigation

General

Oh hai!

CI Support us on Patreon Donate

Markdown syntax

You can add a "release: 2" line to the article markdown in case you fudged up a release and would like to increment the GUID in the feed after a fix

You can add a "published: false" line to the article markdown to NOT have it show up anywhere.

Feeds

Feed with all items:

/podcast_feed/all/m4a/rss.xml

Examples for the category feed generation:

/podcast_feed/spezial/mp3/rss.xml
/podcast_feed/talk/opus/rss.xml

iTunes feed that uses m4a with a fallback to mp3 if there is no m4a for that episode

/podcast_feed/talk/itunes/rss.xml

Note: You can also add a feed_size parameter and a page parameter to the URL ("?feed_size=4&page=3")

Stork search

Prerequisits: install stork

For every release the stork index has to be built like this:

python gen-stork.py > stork.toml
stork --build stork.toml

then a github action builds and publishes bgt.st to https://search.binaergewitter.de/bgt.st.

Update comments after rename

If you rename a post you should migrate the old comments. Since the id for comments is the post title: https://github.com/Binaergewitter/serious-bg/blob/main/serious/lib/site/views/_isso.erb#L8.

  1. Get the comments.db
  2. Create a backup
  3. Look up the old id and new id in the threads table (i use sqlitebrowser)
  4. Run the update command UPDATE comments SET tid=$newid WHERE tid=$oldid;
  5. Save file!
  6. Upload comments.db again
scp binaergewitter:/var/lib/isso/comments.db ~/Downloads/comments.db
cp ~/Downloads/comments.db ~/Downloads/comments_bak.db

sqlitebrowser

scp ~/Downloads/comments.db binaergewitter:/var/lib/isso/comments.db