From 27a4bb70d5ad2b51d0374b763e4a36ca829b6cb9 Mon Sep 17 00:00:00 2001 From: Bill Date: Tue, 9 Mar 2021 17:40:31 -0500 Subject: Put gemlog feed in gemlog dir Rather than having a single `/feed` directory with the various logs create a feed in each of the subdirectories. --- .gitignore | 2 +- atom/docker-entrypoint.sh | 2 +- docker-compose.yml | 1 + gemini/gemlog/index.gmi | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6ff34e3..86c6423 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ volumes -gemini/feed +feed atom/gemfeed vim-syntax *.swp diff --git a/atom/docker-entrypoint.sh b/atom/docker-entrypoint.sh index a85c59a..20ce647 100755 --- a/atom/docker-entrypoint.sh +++ b/atom/docker-entrypoint.sh @@ -11,7 +11,7 @@ python gemfeed.py \ python gemfeed.py \ -b gemini://senders.io/gemlog \ -d /gemini/gemlog/ \ - -o /feed/gemlog/atom.xml \ + -o /feed/gemlog.xml \ -e stephen+gemini@senders.io \ -a senders \ -t "Senders' Gemlog" diff --git a/docker-compose.yml b/docker-compose.yml index 10ea63d..b7aaf49 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,7 @@ services: - "${PWD}/volumes/log:/var/log/molly" - "${PWD}/gemini:/var/gemini" - "${PWD}/volumes/feed/atom.xml:/var/gemini/feed/atom.xml" + - "${PWD}/volumes/feed/gemlog.xml:/var/gemini/gemlog/feed/atom.xml" - "/etc/letsencrypt/certs:/etc/certs:ro" gemini-feed: build: atom/ diff --git a/gemini/gemlog/index.gmi b/gemini/gemlog/index.gmi index 4b39ed2..3645bc7 100644 --- a/gemini/gemlog/index.gmi +++ b/gemini/gemlog/index.gmi @@ -8,6 +8,6 @@ Welcome to my gemlog. I post whenever I do something I feel is worth writing abo ## Links -=> /feed/gemlog/atom.xml [atom] Gemlog Feed +=> /gemlog/feed/atom.xml [atom] Gemlog Feed => https://senders.io/blog/ [https] My Webblog => / Home -- cgit v1.2.3-54-g00ecf