shithub: rssfill

ref: 2d294ab079a4fbdb60bf38dd97064f7c07aed3b6
dir: /Readme.md/

View raw version
rssfill
=======

This program reads a rss/atom feed on stdin and puts their items
in files in a specified directory.

	hget https://server/path/to/rss-feed.xml | rssfill -ct -p prefix -d directory

Arguments:

* `-c`: chatty on. Tell me everything.
* `-t`: don't do anything. Parse stuff, but don't place files.
* `-p prefix`: prefix the filenames with the given prefix.
* `-d directory`: put files into this directory.

For best integration, you can run this directly on `/lib/news`, the
default `news(1)` directory, or use `bind(1)` to build your own
`/lib/news`. Make a loop with a `sleep` command to automatically
fetch data every hour or use a cronjob.

Building and Installation
-------------------------

**You need the `xmlpull` library. You can find it in `extra` (`9fs 9front`).**

	mk install