diff options
Diffstat (limited to 'runsfeed')
-rwxr-xr-x | runsfeed | 10 |
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 | ||
109 | twtxt() { | ||
110 | sfeed_twtxt "$@" | ||
111 | } | ||
112 | |||
105 | opml() { | 113 | opml() { |
106 | sfeed_opml_export "$@" | 114 | sfeed_opml_export "$@" |
107 | } | 115 | } |