From 3873860a0fd662ab1033998b61e4a83984de02cc Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 20 Jul 2022 11:50:38 -0500 Subject: Add twtxt --- runsfeed | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'runsfeed') diff --git a/runsfeed b/runsfeed index 4c1aef0..481acc0 100755 --- a/runsfeed +++ b/runsfeed @@ -47,8 +47,12 @@ main() { }' logok "Generating OPML" '{ opml "$sfeedrc" >/tmp/feeds.opml && - mv /tmp/feeds.opml "$SFEED_OUTPUT/feeds.opml"; + mv /tmp/feeds.opml "$SFEED_OUTPUT/feeds.opml"; }' + logok "Generating twtxt" '{ + twtxt "$sfeedrc" >/tmp/feeds.txt && + mv /tmp/feeds.txt "$SFEED_OUTPUT/feeds.txt"; + }' # logok "Archiving old feeds" \ # archive "$sfeedpath"/* if [ -f /tmp/runsfeed.ok ]; then @@ -102,6 +106,10 @@ update() { runcmd sfeed_update_xargs "$@" } +twtxt() { + sfeed_twtxt "$@" +} + opml() { sfeed_opml_export "$@" } -- cgit 1.4.1-21-gabe81