generator for references
This commit is contained in:
parent
ed4bd291b9
commit
2b865ea08c
|
@ -0,0 +1,34 @@
|
||||||
|
#!/bin/sh
|
||||||
|
fn="../references.html"
|
||||||
|
cat > index.html <<EOF
|
||||||
|
<!DOCTYPE html><html xml:lang="de" lang="de"><head>
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
<meta http-equiv="refresh" content="3; URL=https://ds.ccc.de/references.html">
|
||||||
|
</head><body>
|
||||||
|
Der Inhalt, den sie sichen liegt vermutlich unter <a href="https://ds.ccc.de/references.html">https://ds.ccc.de/references.html</a>
|
||||||
|
</body></html>
|
||||||
|
EOF
|
||||||
|
cat > ${fn} <<EOF
|
||||||
|
<!DOCTYPE html><html xml:lang="de" lang="de"><head>
|
||||||
|
<title>Referenzen zu einzelnen Ausgaben der Datenschleuder</title>
|
||||||
|
<meta charset="utf-8"/><meta name="robots" content="index,follow"/><link rel="schema.DC" href="http://purl.org/dc/terms/"/><link rel="alternate" type="application/rss+xml" title="Datenschleuder als RSS-Feed abonnieren" href="ds-feed.xml"/><meta name="dc.publisher" content="Chaos Computer Club"/><meta name="viewport" content="width=device-width, initial-scale=1"/><style type="text/css" media="screen,projection"> @import "style.css";
|
||||||
|
time { font-family: Arial, sans-serif; font-size: 10pt; }</style>
|
||||||
|
</head><body>
|
||||||
|
<p id="top"><img src="i/ds_headline.gif" alt="Die Datenschleuder"/><br/><img src="i/ds_subline.gif" alt="Das wissenschaftliche Fachblatt für Datenreisende – Ein Organ des Chaos Computer Club"/></p>
|
||||||
|
<p><a href="index.html">Die Datenschleuder</a> | Referenzen | <a href="contribute.html">Contribute</a> | <a href="download.html">Download</a> | <a href="contact.html">Kontakt</a> | <a href="imprint.html">Impressum/Datenschutz</a> | <a href="order.html">Bestellen</a></p>
|
||||||
|
<div style="background: #dddddd; padding: 1px 15px 10px 15px;">
|
||||||
|
|
||||||
|
<h2>Referenzen zu einzelnen Ausgaben der Datenschleuder</h2>
|
||||||
|
<p>
|
||||||
|
<ul>
|
||||||
|
EOF
|
||||||
|
for i in $( ls *.html|grep -v index ); do
|
||||||
|
n=$(echo $i|cut -d. -f1|cut -c3-)
|
||||||
|
echo "<li><a href=\"references/$i\">Ausgabe $n</a></li>" >> ${fn}
|
||||||
|
done
|
||||||
|
cat >> ${fn} <<EOF
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</div></body></html>
|
||||||
|
EOF
|
Loading…
Reference in New Issue