chg: [doc] rssdir is now the modern world

This commit is contained in:
Alexandre Dulaunoy 2024-02-11 13:19:51 +01:00
parent a8e68ea93a
commit 68eadef022
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD

View file

@ -43,6 +43,29 @@ Options:
output format (text, phtml, markdown), default text output format (text, phtml, markdown), default text
~~~ ~~~
## rssdir
[rssdir.py](https://github.com/adulau/rss-tools/blob/master/bin/rssdir.py) is a simple and straightforward script designed to convert any directory on the filesystem into an RSS feed.
~~~shell
rssdir.py --prefix https://www.foo.be/cours/ . >rss.xml
~~~
~~~shell
Usage: rssdir.py [options] directory
Options:
-h, --help show this help message and exit
-p PREFIX, --prefix=PREFIX
http prefix to be used for each entry, default none
-t TITLE, --title=TITLE
set a title to the rss feed, default using prefix
-l LINK, --link=LINK http link set, default is prefix and none if prefix
not set
-m MAXITEM, --maxitem=MAXITEM
maximum item to list in the feed, default 32
~~~
## Scripts which need to be converted an are there for historical purpose ## Scripts which need to be converted an are there for historical purpose
rsscount.py rsscount.py
@ -52,13 +75,6 @@ rsscount.py is a simple script to count how many items are in a RSS feed per day
rsscount.py "<rss_url>" | sort rsscount.py "<rss_url>" | sort
rssdir.py
---------
rssdir is a simply-and-dirty script to rssify any directory on the filesystem.
rssdir.py --prefix http://www.foo.be/cours/ . >rss.xml
rssinternetdraft.py rssinternetdraft.py
------------------- -------------------