commit a1e2ebd04871c58493bba3e69e4d234eec34df9a Author: sven Date: Sun Dec 18 20:20:23 2005 +0000 created branch git-svn-id: svn://svn.c3d2.de/c3d2-web/branches/toidinamais_coole_scheisse@45 31f61c52-7bfb-0310-b897-fc00f8a278f0 diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..70fabc64f --- /dev/null +++ b/Makefile @@ -0,0 +1,68 @@ +### Programme ### +# XSLT-Prozessor: +PROCESSOR=xsltproc +# Downloadmanager (Alternativ: curl, fetch): +WGET=wget +# Editor +EDITOR?=vim +# Browser +BROWSER?=links + +### Ressourcen ### +# XSLT-Stylesheets: +STYLE=xsl/xhtml.xsl +STYLE_RSS=xsl/rss.xsl +# Navigationsleiste: +NAVIGATION=content/navigation.xml +# XML-Skeletons +SKELETONS:=$(wildcard content/skel-*.xml) +SKEL=empty +# Zu verwendendes Skeleton +SKELFILE=content/skel-$(SKEL).xml +# Dateinamen der Inhalte: +CONTENT:=$(patsubst content/%.xml, www/%.html, $(filter-out $(NAVIGATION) $(SKELETONS), $(wildcard content/*.xml))) +CLEAN:=$(CONTENT) www/news-rss.xml chaosupdates.rdf + +### Defaults ### +.PHONY: contents clean +.DEFAULT: contents +.PRECIOUS: content/%.xml www/%.html + +contents: $(CONTENT) www/news-rss.xml + + +### Regeln für den XSLT-Prozess ### +www/%.html: content/%.xml $(STYLE) $(NAVIGATION) chaosupdates.rdf + $(PROCESSOR) -o $@ $(STYLE) $< + +www/news-rss.xml: content/news.xml $(STYLE_RSS) + $(PROCESSOR) -o $@ $(STYLE_RSS) $< + +### Hilfsregeln zum Editieren ### +edit/%: + @if [ ! -e content/$(@F).xml ] ; then \ + cp $(SKELFILE) content/$(@F).xml ;\ + fi + + @$(EDITOR) content/$(@F).xml + + @if diff -q $(SKELFILE) content/$(@F).xml >/dev/null ; then \ + echo "Warning: content/$(@F).xml does not differ from the skeleton $(SKELFILE)" ;\ + rm -i content/$(@F).xml ;\ + fi + +view/%: www/%.html + @$(BROWSER) $< + +content/%.xml: + $(MAKE) edit/$(patsubst content/%.xml,%,$@) + + +### Die neuesten Chaosupdates holen ### +chaosupdates.rdf: + $(WGET) http://www.ccc.de/updates/chaosupdates.rdf + + +### Mr. Propper ### +clean: + rm -f $(CLEAN) diff --git a/content/impressum.xml b/content/impressum.xml new file mode 100644 index 000000000..915b0d9c0 --- /dev/null +++ b/content/impressum.xml @@ -0,0 +1,7 @@ + + + +

+ Die Web-Seiten unter www.c3d2.de sind eine Publikation des Chaos Computer Club Dresden. Jeglicher Inhalt ist den den jeweiligen Autoren zuzuschreiben. Links, die auf andere Server verweisen, sind nicht anzuklicken, bei Zuwiderhandlungen übernehmen wir keine Haftung. Copyright ist Aberglaube. +

+
diff --git a/content/kontakt.xml b/content/kontakt.xml new file mode 100644 index 000000000..3cc537ab3 --- /dev/null +++ b/content/kontakt.xml @@ -0,0 +1,10 @@ + + + +

+ Anfragen an den Chaostreff Dresden bitte an mail@c3d2.de. +

+

+ Diese Adresse geht moderiert an unsere Mailingliste, d. h. an alle dort eingetragenen E-Mailadressen. +

+
diff --git a/content/mailingliste.xml b/content/mailingliste.xml new file mode 100644 index 000000000..d6297ecda --- /dev/null +++ b/content/mailingliste.xml @@ -0,0 +1,10 @@ + + + +

+ Einschreiben und mitreden: +

+

+ Seite der Mailingliste +

+
diff --git a/content/navigation.xml b/content/navigation.xml new file mode 100644 index 000000000..f9eb00bf3 --- /dev/null +++ b/content/navigation.xml @@ -0,0 +1,10 @@ + + + + news + kontakt + mailingliste + wiki + silc + impressum + diff --git a/content/news.xml b/content/news.xml new file mode 100644 index 000000000..e3c7c83b2 --- /dev/null +++ b/content/news.xml @@ -0,0 +1,45 @@ + + + + + +

+ http://www.c3d2.de/typo3temp/pics/8de5efab18.png + Der jährlich ausgetragene Chaos Communication Congress beginnt seine Magie auszustreuen. Pflicht! +

+
+ +

+ http://www.c3d2.de/uploads/pics/tux_01.png + Am 29. Oktober findet der diesjährige Linux-Info-Tag in Dresden statt. Der c3d2 ist mit einem Stand, Vorträgen und Workshops dabei. CU. +

+
+ +

+ http://www.c3d2.de/typo3temp/pics/9cc3346202.jpg + Achtung! die Mailinglistenadresse hat sich gerade geändert. Bitte nutzt c3d2@mail.skyhub.de. + Archive sind auch noch da. Siehe Listeninfo. +

+
+ + +

+ http://www.c3d2.de/typo3temp/pics/294776b4ed.gif + Alle Datenspuren Audio-Mitschnitte endlich zum Download. Per ftp über ftp://ftp.skyhub.de/datenspuren/2005/. +

+
+ +
/connect silc.dresden.ccc.de
+/connect -6 silc.dresden.ccc.de
+/join c3d2
+

+ http://www.c3d2.de/typo3temp/pics/aa268d9e62.gif + Dunno what silc is? Go here. +

+
+
+
diff --git a/content/silc.xml b/content/silc.xml new file mode 100644 index 000000000..879551c6d --- /dev/null +++ b/content/silc.xml @@ -0,0 +1,70 @@ + + + +

+ SILC ermöglicht uns das alltägliche, virtuelle Palaver über verschlüsselte Kanäle. Um mitzuchatten benötigst Du einen Client, wie den offiziellen SILC-Client, Silky oder Gaim mit SILC-Unterstützung. Bevor Du lange suchst: viele Linux-Distributionen bieten bereits Pakete mit einem dieser Programme an. +

+ +

+ Los gehts mit dem Verbinden zu einem unserer Server: +

+
/server silc.dresden.ccc.de
+

+ silc.dresden.ccc.de ist ein DNS-Round-Robin (d.h. dass vom Client zufällig ein Server ausgewählt wird), dem momentan 3 Server angehören: +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ServerOperatorIPv4-AdresseIPv6-Adresse PortFingerprintBabbleprint
silc.toidinamai.detoidinamai81.169.179.562001:6f8:13db::17065DEF 7A20 3533 E803 819B 0BA5 008C A5C7 2C64 6FDCxilev-zived-botaf-fipeb-fubyn-radop-hibum-sinus-lurak-gorit-syxax
silc.skyhub.dea8213.239.214.24706C792 5FD7 B828 8592 4A55 C27B F94B 5B8C 27F1 80DFxucon-dolit-luvyd-micon-dudyh-hobal-rivog-rikim-siniz-cubut-zexux
silc.bsd-crew.dematthias81.169.137.457062CBA 24CD 9BB0 2578 B731 61F7 24B3 FBDD 2C70 AEFDxerar-penys-tikor-benel-mitef-cymiz-lunar-fuvat-torol-byryz-tuxux
+ +

+ Um zu gewährleisten, dass man wirklich mit dem richtigen Server verbunden ist, sollte man beim ersten Mal die Fingerprints oder Babbleprints vergleichen. +

+ +

+ Schon kommen wir zum letzten Schritt, dem Eintreten in den Chatraum (Channel): +

+
/join c3d2
+

+ Für IRC-gewohnte ist hier Vorsicht geboten: der Channel-Name beginnt nicht notwendigerweise mit Doppelkreuz (#)! +

+ +

+ Für weitere Fragen zu SILC kannst Du nun die Chatter löchern oder das BSD-Crew-Wiki konsultieren. +

+
diff --git a/content/skel-empty.xml b/content/skel-empty.xml new file mode 100644 index 000000000..70e925d38 --- /dev/null +++ b/content/skel-empty.xml @@ -0,0 +1,6 @@ + + + +

+

+
diff --git a/content/wiki.xml b/content/wiki.xml new file mode 100644 index 000000000..f955ba41a --- /dev/null +++ b/content/wiki.xml @@ -0,0 +1,18 @@ + + + +

+ Bitte beachte die allgemeinen Hinweise, wie Du im c3d2-Wiki arbeiten solltest. Das Wiki arbeitet auch unter https. + Die HTTP-Authentifizierung soll sich mit Benutzernamen "eris" und Passwort "discordia" überwinden lassen. +

+

+ Jeder ist eingeladen, im c3d2-Wiki + Inhalte zu editieren, kreative Beiträge hinzuzufügen, ... +

+

+ Viel Spaß! +

+

+ P.S.: Ein Wiki ist ein Web-basiertes System, mit dem man schnell Web-Seiten generieren und editieren kann. Eine Revisionskontrolle zeigt rückwirkend alle Änderungen. +

+
diff --git a/documentation/NOTES b/documentation/NOTES new file mode 100644 index 000000000..453e47d81 --- /dev/null +++ b/documentation/NOTES @@ -0,0 +1,3 @@ +http://de.selfhtml.org/xml/darstellung/index.htm +http://www.sims.berkeley.edu/academics/courses/is290-8/s04/lectures/5/dragons/allslides.html +http://bobcat.webappcabaret.net/javachina/faq/xpath_01.htm#xpath_Q15 diff --git a/www/images/background.png b/www/images/background.png new file mode 100644 index 000000000..c423902cf Binary files /dev/null and b/www/images/background.png differ diff --git a/www/images/background_bottom.png b/www/images/background_bottom.png new file mode 100644 index 000000000..daae84c1e Binary files /dev/null and b/www/images/background_bottom.png differ diff --git a/www/images/bullet.png b/www/images/bullet.png new file mode 100644 index 000000000..0ef83a99f Binary files /dev/null and b/www/images/bullet.png differ diff --git a/www/images/c3d2_blue.jpg b/www/images/c3d2_blue.jpg new file mode 100644 index 000000000..8ff45ee86 Binary files /dev/null and b/www/images/c3d2_blue.jpg differ diff --git a/www/images/ck.png b/www/images/ck.png new file mode 100644 index 000000000..3382db232 Binary files /dev/null and b/www/images/ck.png differ diff --git a/www/images/logo.png b/www/images/logo.png new file mode 100644 index 000000000..6c2d6c871 Binary files /dev/null and b/www/images/logo.png differ diff --git a/www/images/pesthoernchen.png b/www/images/pesthoernchen.png new file mode 100644 index 000000000..93af8ac7e Binary files /dev/null and b/www/images/pesthoernchen.png differ diff --git a/www/images/secure.png b/www/images/secure.png new file mode 100644 index 000000000..cbb40e05a Binary files /dev/null and b/www/images/secure.png differ diff --git a/www/images/star.png b/www/images/star.png new file mode 100644 index 000000000..c169c9c3b Binary files /dev/null and b/www/images/star.png differ diff --git a/www/images/top-left.png b/www/images/top-left.png new file mode 100644 index 000000000..3c8802c65 Binary files /dev/null and b/www/images/top-left.png differ diff --git a/www/images/top-right.png b/www/images/top-right.png new file mode 100644 index 000000000..da5a034ff Binary files /dev/null and b/www/images/top-right.png differ diff --git a/www/style/default.css b/www/style/default.css new file mode 100644 index 000000000..3e3d751cf --- /dev/null +++ b/www/style/default.css @@ -0,0 +1,256 @@ +body { + padding: 2%; + font: 120% Verdana, Arial, sans-serif; + background-image: url(../images/background.png); + text-align: center; +} +a[href ^=https] { + padding-left: 16px; + margin-left: 2px; + background: url(../images/secure.png) no-repeat; +} + +pre { + border: thin dotted #ccc; + margin-left: 20px; + margin-right: 20px; + background-color: #fafafa; + padding: 1em; +} + +#page { + float: left; + max-width: 1200px; + min-width: 800px; +} + +#body { + display: table; + float: left; + max-width: 100% !important; + width: 100% !important; +} + +#logo::before { + background: transparent url(../images/top-right.png) scroll no-repeat top right; + margin-bottom: -20px; + height: 30px; + display: block; + border: none; + content: url(../images/top-left.png); + padding: 0; + line-height: 0.1; + font-size: 1px; +} + +#logo { + height: 150px; + background: url(../images/c3d2_blue.jpg); + text-align: left; +} +#logo h1 { + position: relative; + top: 23px; + left: 23px; + padding: 65px 0 0 0; + overflow: hidden; + background-image: url(../images/logo.png); + background-repeat: no-repeat; + height: 0px !important; + height /**/:65px; +} +#navigation { + text-align: left; + display: table-cell; + margin-left: 0px; + width: 12%; + padding: 0.5em; + margin-top: 10px; + padding-top: 100px; + background: url(../images/ck.png) top center no-repeat; +} + +#navigation form { + padding: 0.2em 0 0.2em 0; + margin: 1em 0.3em 0 0.3em; + border-top: #ebc63c 1px solid; + border-bottom: #ebc63c 1px solid; + text-align: center; +} +#navigation input[type =text] { + width: 80%; +} +#navigation ul { + list-style-type: square; + list-style-image: url(../images/bullet.png); + font-size: small; + margin-left: -1em; +} +#navigation li { + line-height: 2em; +} +#navigation a { + color: #676767; + text-decoration: none; + font-weight: bold; +} +#navigation a:hover { + text-decoration: underline; +} + +#content { + display: table-cell; + text-align: left; + width: 50%; + border-left: #ccc 1.1px dashed; + border-right: #ccc 1.1px dashed; + + font-size: 81%; + line-height: 1.3em; + padding: 0 2em; +} + +#content p { + font-size: 90%; + margin: 1.5em 1em; +} + +#content a { + text-decoration: none; + border-bottom: #ebc63c 1px solid; + color: #555; +} +#content a:hover { + border-width: 2px; +} + +#content h1, +#content h2, +#content h3, +#content h4, +#content h5 { + letter-spacing: 3px; + margin: 0px; + background-color: transparent; + font-weight: bold; +} +#content h2 { + font-size: 200%; + margin-bottom: 1em; + margin-top: -60px; + color: #333; +} +#content h3 { + font-size: 150%; + margin-top: 30px; + color: #555; +} +#content h4 { + font-size: 120%; +} + + +#news { + text-align: left; + display: table-cell; + margin-right: 1em; + width: 10%; + background: url(../images/pesthoernchen.png) top center no-repeat; + padding: 1em; + padding-top: 90px; + margin-top: 10px; + + font-size: small; +} +#news h2 { + font-size: 1.2em; + border-top: #ebc63c 1px solid; + padding-top: 5%; +} +#news ul { + list-style-type: circle; + list-style-image: url(../images/star.png); + font-size: small; + margin-left: -1em; + max-width: 10em !important; +} +#news ul li { + line-height: 1.5em; +} +#news a { + color: #666; + text-decoration: none; + font-style: italic; +} +#news a:hover { + text-decoration: underline; +} + + +#footer { + text-align: center; + font-size: small; + border: #ccc 1px solid; + border-top: none; + background: #fff url(../images/background_bottom.png) no-repeat left bottom; +} +#footer ul, #footer li { + display: inline; + list-style-type: none; +} +#footer li a { + margin: 0 1em; + color: #676767; + text-decoration: none; + font-weight: bold; +} +#footer li a img { + border: none; +} +.hidden { + color: white; + font-size: xx-small; + clear: both; +} +#update { + font: xx-small sans-serif; + letter-spacing: 0.8px; + color: #666; +} + + +#content hr.news { + display: none +} + +#content div.news { + padding: 1em; + margin: 0; + margin-bottom: 0.5em; +} +.news_author { + font-size: small; + font-style: italic; + margin-left: 1em; + font-weight: bold; +} +#content h3.news { + border-bottom: #ebc63c 3px solid; + padding: 0px; + line-height: 1.1em; + font-size: 130%; +} +#content h3.news a { + border: none; +} + +/* some little helpers */ +img.left { + float: left; + margin-right: 1em; +} +img.right { + float: right; + margin-left: 1em; +} + diff --git a/xsl/rss.xsl b/xsl/rss.xsl new file mode 100644 index 000000000..73d81b577 --- /dev/null +++ b/xsl/rss.xsl @@ -0,0 +1,60 @@ + + + + + + + + 2.0 + de + + + www.c3d2.de Newsfeed + https://www.c3d2.de/ + Neues aus dem Chaos Computer Club Dresden + de-de + + + + + + + + + + <xsl:value-of select="@title"/> + + + + + + + + + <pre></pre> + + + + <p></p> + + + + <img src="" title="" alt="" class=""/> + + + + <a + + href="" + + + href="" + + > + + diff --git a/xsl/xhtml.xsl b/xsl/xhtml.xsl new file mode 100644 index 000000000..73aa276aa --- /dev/null +++ b/xsl/xhtml.xsl @@ -0,0 +1,263 @@ + + + + + + + + + de + de + + + + + + + + + + + + + + + + + + + + + + + + + <<</>> Chaos Computer Club Dresden | c3d2 + + + + +
+ + + ### Logo ### + + +
+ + + ### Navigation ### + + + + + ### Content ### + +
+

+ + + + + + + + +

+ +
+ + + ### News ### + +
+

+ + + + + + +

+
    + +
  • + + + + + + +
  • +
    +
+
+ +
+ + + + ### Footer ### + + + +
+ +
+
+ + + +

+ + + + + news_date + + @ + +
+ +
+
+
+
+ + +
+
+ + +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  • + + .html + + + + + +
  • +
    + +