mirror of
https://github.com/adulau/rss-tools.git
synced 2024-11-24 11:07:05 +00:00
chg: [doc] rssdir is now the modern world
This commit is contained in:
parent
a8e68ea93a
commit
68eadef022
1 changed files with 23 additions and 7 deletions
30
README.md
30
README.md
|
@ -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
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue