summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill <bill@billserver.senders.io>2021-03-09 17:40:31 -0500
committerBill <bill@billserver.senders.io>2021-03-09 17:40:31 -0500
commit27a4bb70d5ad2b51d0374b763e4a36ca829b6cb9 (patch)
treebd021e2299640c0e90469eae19383e127f2a5f2b
parent28bf01df88b014117ca818c780647e826a2cc163 (diff)
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.
-rw-r--r--.gitignore2
-rwxr-xr-xatom/docker-entrypoint.sh2
-rw-r--r--docker-compose.yml1
-rw-r--r--gemini/gemlog/index.gmi2
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