1
0
Fork 0

Fix mastodon_digest

This commit is contained in:
Malte 2023-02-03 00:18:19 +01:00
parent 54209d661f
commit 65324206a6

View file

@ -24,7 +24,9 @@ in {
now=$(date "+%Y-%m-%d")
mkdir -p /var/www/rss/mastodon/$now-home-feed-highlights
mkdir -p /var/www/rss/mastodon/$now-read-all-list
set -o allexport
source $CREDENTIALS_DIRECTORY/mastodon-auth-env
set +o allexport
${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-home-feed-highlights -n 24 -t lax --theme light
${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-read-all-list -n 24 -t all --theme light -f list:3811
${pkgs.logfeed}/bin/mastodon2rss /var/www/rss/mastodon.xml /var/www/rss/mastodon