RSS Feed and more for ds.ccc.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
vv01f d47a93e10a add new attribute and comments 3 months ago
i add magnet icon 3 months ago
references enance compatibility 3 months ago
ss update screenshots 3 years ago
.gitignore to be ignored here 3 months ago
README.markdown update help on sort 3 months ago
data.xml publication dates for last 3 issues on webiste 3 months ago
download.xsl do not list printonly for download 3 months ago
gen.sh references ds 95 3 months ago
index.xsl publication dates for last 3 issues on webiste 3 months ago
rss.xsl extend description 3 months ago
sort.xsl add new attribute and comments 3 months ago
style-rss.css basic css for the feed 2 years ago

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 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"