Feed converer for arxiv feeds
Project description
# arXiv decent feeds
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!
## Installation
```
pip install https://github.com/trovao/arxiv-decent-feeds/zipball/master
```
## Usage
### Adding a feed
```
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
```
### Fetching updates
```
arxivdf update
```
### Generating feeds
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.
### Periodically updating and generating feeds
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):
```cron
*/5 * * * * (source ~/venvs/feeds/bin/activate ; arxivdf update ; arxivdf generate)
```
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!
## Installation
```
pip install https://github.com/trovao/arxiv-decent-feeds/zipball/master
```
## Usage
### Adding a feed
```
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
```
### Fetching updates
```
arxivdf update
```
### Generating feeds
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.
### Periodically updating and generating feeds
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):
```cron
*/5 * * * * (source ~/venvs/feeds/bin/activate ; arxivdf update ; arxivdf generate)
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
File details
Details for the file arxiv_decent_feeds-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: arxiv_decent_feeds-0.0.2-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c55edba17086c0d4ce1e52e1e2345ce98f2ed02b21d1bf4aa0fe99238ef3db3d |
|
MD5 | 709bbed1faa15c4575d826ccab0883c0 |
|
BLAKE2b-256 | ec31d869eb60a0f4d2c81bb368a00122e09915ad206a89576c6719001741cc93 |
File details
Details for the file arxiv_decent_feeds-0.0.2-py2-none-any.whl
.
File metadata
- Download URL: arxiv_decent_feeds-0.0.2-py2-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58db3606385da0304a6068a255245f0c0d54d8c56ad6d493c5749b9cbdcc50fc |
|
MD5 | dc4dc2779ae79a3162c58d581874840b |
|
BLAKE2b-256 | a1257ca0596ea358ef4af7a5eea20bd609c58fdd435aff7e9af1c889a9ced1ce |