Rename /usr/local/share/humbug/ to /usr/local/share/zulip/.
(imported from commit 6b5d13b36f96c7174e70ce1391f1d66724c45a62)
This commit is contained in:
parent
af771433d7
commit
bd133f6bd4
4 changed files with 10 additions and 10 deletions
|
@ -28,17 +28,17 @@ To use this script:
|
|||
3. create a ~/.zuliprc, or specify user and api-key with command line arguments
|
||||
4. Test the script by running it manually, like this:
|
||||
|
||||
/usr/local/share/humbug/demos/rss-bot
|
||||
/usr/local/share/zulip/demos/rss-bot
|
||||
|
||||
You can customize the location on the feed file and recipient stream, e.g.:
|
||||
|
||||
/usr/local/share/humbug/demos/rss-bot --feed-file=/path/to/my-feeds --stream=my-rss-stream
|
||||
/usr/local/share/zulip/demos/rss-bot --feed-file=/path/to/my-feeds --stream=my-rss-stream
|
||||
|
||||
4. Configure a crontab entry for this script. A sample crontab entry for
|
||||
processing feeds stored in the default location and sending to the default
|
||||
stream every 5 minutes is:
|
||||
|
||||
*/5 * * * * /usr/local/share/humbug/demos/rss-bot"""
|
||||
*/5 * * * * /usr/local/share/zulip/demos/rss-bot"""
|
||||
|
||||
parser = optparse.OptionParser(usage)
|
||||
parser.add_option('--stream',
|
||||
|
|
|
@ -29,12 +29,12 @@ To use this script:
|
|||
2. Subscribe to the stream that will receive Twitter updates (default stream: twitter)
|
||||
3. Test the script by running it manually, like this:
|
||||
|
||||
/usr/local/share/humbug/demos/twitter-search-bot --search="@nprnews,quantum physics"
|
||||
/usr/local/share/zulip/demos/twitter-search-bot --search="@nprnews,quantum physics"
|
||||
|
||||
4. Configure a crontab entry for this script. A sample crontab entry
|
||||
that will process tweets every 5 minutes is:
|
||||
|
||||
*/5 * * * * /usr/local/share/humbug/demos/twitter-search-bot --search="@nprnews,quantum physics"
|
||||
*/5 * * * * /usr/local/share/zulip/demos/twitter-search-bot --search="@nprnews,quantum physics"
|
||||
|
||||
== Setting up Twitter authentications ==
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue