shithub: rssfill

Download patch

ref: 1f438d08785b7946c612d016dbf6940c9614c26a
parent: 12526901e2bd1b7eb76d029a3f7ef8878de16f4d
author: sirjofri <sirjofri@sirjofri.de>
date: Tue Jun 9 15:28:31 EDT 2020

adds readme file (for github etc)

--- /dev/null
+++ b/Readme.md
@@ -1,0 +1,19 @@
+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.