Code to monitor journal RSS feeds and tweet new articles.
The scope of the feed is defined by entries in keywords.csv
Query papers that came out prior to today without tweeting:
feedpapers
Query papers that came out prior to today and open in browser:
feedpapers --browser
Manually approve tweeting of papers that came out prior to today:
feedpapers --interactive
Unsupervised tweeting of papers that came out prior to today:
feedpapers --tweet
"Reset" the tweet log:
feedpapers --ignore_all
# manually delete old log entries
- Create a file named
config.py
that stores your twitter API keys
- Create a cron job. On Linux this can be done with the following commands:
crontab -e
0 15 * * * python /path/to/feedpapers.py
See requirements.txt
Install these to the activated environment with:
pip install -r requirements.txt
or
conda env create -f environment.yml
-
Please help by adding missing journals to journals.csv or filing an issue
-
Filtering keywords are located in keywords.csv.