RSS Feed and more for ds.ccc.de
Go to file
2023-07-16 13:25:37 +02:00
i add magnet icon 2022-07-19 11:12:58 +02:00
references enance compatibility 2022-07-17 07:57:08 +02:00
ss update screenshots 2019-06-13 20:12:53 +02:00
.gitignore rm alteszeug.html after last missing issue recovered 2023-07-16 13:25:37 +02:00
data.xml added ds8,5 thx to The Hacker Archive hacker-archive.org 2023-07-16 09:26:59 +02:00
download.xsl handle torrent file links 2022-10-09 23:09:00 +02:00
gen.sh add links to 'other' files, here zip 2022-10-09 17:23:54 +02:00
index.xsl handle torrent file links 2022-10-09 23:09:00 +02:00
README.markdown update help on sort 2022-07-19 18:29:16 +02:00
rss.xsl handle torrent file links 2022-10-09 23:09:00 +02:00
sort.xsl add new attribute and comments 2022-07-19 18:54:07 +02:00
style-rss.css basic css for the feed 2021-04-08 10:22:44 +02:00

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.

Cover

  • extract: pdftk pdfs/${if}.pdf cat 1 output covers/${of}.pdf
  • convert: convert covers/${of}.pdf covers/${of}.jpg

using

Simply call ./gen.sh build 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 the 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 sortxml. (writes sorted.xml and asks if it should replace the source)

dependecies

  • sh, coreutils, date, sed etc.
  • xsltproc

preview: screenshots

reverse timestamp for specific date time

date --date="Wed, 10 Nov 2021 08:33 +0000" +"%s"