Ever wanted to follow arXiv feeds on Slack, but try as you might slackbot was unable to show arXiv updates?
Wonder no more! arXiv decent feeds reads and converts arXiv RSS feeds to valid RSS 2.0 feeds that slackbot will (hopefully) read!
pip install https://github.com/trovao/arxiv-decent-feeds/zipball/master
usage: arxivdf add [-h] url target_file
positional arguments:
url
target_file
optional arguments:
-h, --help show this help message and exit
For example, to add the cs.LG
(Computer Science Learning) feed, one could do:
arxivdf add http://export.arxiv.org/rss/cs.LG\?version\=2.0 cs.LG.rss
arxivdf update
If you added cs.LG
as show above, after you can call the command arxivdf generate
your feed will be saved to the file cs.LG.rss
in the current
directory.
Just set up a cron job with to do that. What I'm currently using is, with
a python virtualenv (the source ~/venvs/feeds/bin/activate
part):
*/5 * * * * (source ~/venvs/feeds/bin/activate ; arxivdf update ; arxivdf generate)