about summary refs log tree commit diff stats
path: root/runsfeed
diff options
context:
space:
mode:
Diffstat (limited to 'runsfeed')
-rwxr-xr-xrunsfeed10
1 files changed, 9 insertions, 1 deletions
diff --git a/runsfeed b/runsfeed index 4c1aef0..481acc0 100755 --- a/runsfeed +++ b/runsfeed
@@ -47,8 +47,12 @@ main() {
47 }' 47 }'
48 logok "Generating OPML" '{ 48 logok "Generating OPML" '{
49 opml "$sfeedrc" >/tmp/feeds.opml && 49 opml "$sfeedrc" >/tmp/feeds.opml &&
50 mv /tmp/feeds.opml "$SFEED_OUTPUT/feeds.opml"; 50 mv /tmp/feeds.opml "$SFEED_OUTPUT/feeds.opml";
51 }' 51 }'
52 logok "Generating twtxt" '{
53 twtxt "$sfeedrc" >/tmp/feeds.txt &&
54 mv /tmp/feeds.txt "$SFEED_OUTPUT/feeds.txt";
55 }'
52 # logok "Archiving old feeds" \ 56 # logok "Archiving old feeds" \
53 # archive "$sfeedpath"/* 57 # archive "$sfeedpath"/*
54 if [ -f /tmp/runsfeed.ok ]; then 58 if [ -f /tmp/runsfeed.ok ]; then
@@ -102,6 +106,10 @@ update() {
102 runcmd sfeed_update_xargs "$@" 106 runcmd sfeed_update_xargs "$@"
103} 107}
104 108
109twtxt() {
110 sfeed_twtxt "$@"
111}
112
105opml() { 113opml() {
106 sfeed_opml_export "$@" 114 sfeed_opml_export "$@"
107} 115}