|
|
@ -1,8 +1,10 @@ |
|
|
|
#!/bin/bash |
|
|
|
# generate a gemfeed out of my subscription |
|
|
|
# and deploy it directly to the gemserver |
|
|
|
|
|
|
|
hfile="/tmp/gmisub-header.txt" |
|
|
|
logroll="../src/gemtext/follows.gmi" |
|
|
|
out="../src/gemtext/reads.gmi" |
|
|
|
out="/tmp/reads.gmi" |
|
|
|
|
|
|
|
maxdate=$(python3 -c ' |
|
|
|
import datetime |
|
|
@ -19,4 +21,7 @@ Hier sind Inhalte von Leuten denen ich folge. |
|
|
|
Zuletzt aktualisiert: $(date --iso). |
|
|
|
" > $hfile |
|
|
|
|
|
|
|
gmisub -d $maxdate -h $hfile $logroll $out |
|
|
|
/usr/local/bin/gmisub -d $maxdate -h $hfile $logroll $out |
|
|
|
|
|
|
|
# still needs to be done manually (because of authentication). |
|
|
|
# scp $out envs:/home/hoschi/public_gemini/reads.gmi |