RSS Feed and more for ds.ccc.de
Go to file
vv01f 342a87a114 moved old editorials, backup-links might vanish over time 2022-07-14 12:49:37 +02:00
i fixes: groups + transparency 2019-06-21 22:32:46 +02:00
references references ds97 2022-07-14 09:47:44 +02:00
ss update screenshots 2019-06-13 20:12:53 +02:00
.gitignore to be ignored here 2022-07-13 01:42:48 +02:00
README.markdown online realease ds102 2021-11-10 20:05:09 +01:00
data.xml moved old editorials, backup-links might vanish over time 2022-07-14 12:49:37 +02:00
download.xsl add title for download links 2022-07-13 00:27:22 +02:00
gen.sh moved old editorials, backup-links might vanish over time 2022-07-14 12:49:37 +02:00
index.xsl hide link 2022-07-13 00:11:15 +02:00
rss.xsl extend description 2022-07-13 23:01:41 +02:00
sort.xsl add references element to data and download 2022-07-13 00:05:23 +02:00
style-rss.css basic css for the feed 2021-04-08 10:22:44 +02:00

README.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.

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 sort. (Not implemented yet)

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"