ds-rss/README.markdown
2019-09-17 16:34:04 +02:00

36 lines
1.1 KiB
Markdown

# ds-rss
generate parts of the datenschleuder website from source `data.xml`:
* rss feed as `ds-feed.xml`,
* oldfashioned hypertext `download.html` and
* the informative `index.html`
utilizing XML transformations.
and supporting to manage the `data.xml`.
## using
simply call `./gen.sh` for generating the target files.
creating a new entry for `data.xml` is supported with `./gen.sh release` or `./gen.sh release 99` for a custom issue number, here 99.
to omit the explaining information, simply disregard stderr: `./gen.sh release 2>/dev/null`.
replicating entry for ds #99 including the datetime: `./gen.sh release 99 1568505600`.
the release message is whatever are remaining non-numeric arguments: `./gen.sh release 99 1568505600 Die Ausgabe \#100 ist schon einige Zeit fertig und ausgeliefert. Die Freunde der Digitalen Ausgabe wird freuen, dass die Aushabe \#99 nun online ist.`
for sorting `data.xml`, call `./gen.sh sort`.
## dependecies
* sh, coreutils, date, sed etc.
* xsltproc
## preview: screenshots
<img src="ss/ss-index.png" width="220">
<img src="ss/ss-download.png" width="220">
<img src="ss/ss-feed.png" width="220">