71 lines
3.1 KiB
Plaintext
71 lines
3.1 KiB
Plaintext
Auf der Website c3d2.de können Ankündigungen in Form von News und kürzeren Event-Hinweisen erfolgen.
|
|
|
|
Die notwendigen Informationen sind:
|
|
* Bezeichnung
|
|
* Datum Beginn
|
|
* Ort
|
|
|
|
Optional sind:
|
|
* Uhrzeit Beginn
|
|
* Datum Ende
|
|
* Uhrzeit Ende
|
|
* Link für weitere Informationen
|
|
* Link für Ortsinformationen oder Anfahrt/Karte
|
|
* Kommentare
|
|
|
|
News only:
|
|
* Veröffentlichungszeitpunk
|
|
* person2blame
|
|
* Weiterer Beschreibungstext
|
|
|
|
== Publikation ==
|
|
|
|
Das Einreichen von Terminen kann per Email erfolgen. Es gibt u.a. ein [http://offenesdresden.de/addevent.html Formular von Offenes Dresden] (Quellen bei [https://github.com/offenesdresden/offenesdresden.de github]) hierzu.
|
|
|
|
Die Publikation erfolgt durch berechtigte Nutzer über [[GIT|git.c3d2]] im Repo c3d2-web und wird mit XML eingetragen sowie per XSLT (Beschränkung: Version 1.0, Przessor: xsltproc, Erweiterungen mit <code>--dumpextensions</code> ermittelbar) automatisiert etwa stündlich mit der gesamten Website neu gebaut.
|
|
|
|
== XML Schema ==
|
|
|
|
=== Simple Event ===
|
|
|
|
Als Abschnitt innerhalb der Datei <code>content/events.xml</code> des Repo c3d2-web .
|
|
|
|
<pre>
|
|
<event title="Howto: Termine"><!-- Title as event dscription -->
|
|
<start>2015-10-09</start><!-- Date-Time-Group as ISO YYYY-MM-DD["T"hh:mm:ss] -->
|
|
<end></end><!-- optional Date-Time-Group as ISO YYYY-MM-DD["T"hh:mm:ss] -->
|
|
<location><link href="">GCHQ</link> des c3d2, Lingnerallee 3, 01069 Dresden</location><!-- Place/Address Information, link-elm optional -->
|
|
<link>https://wiki.c3d2.de/w/index.php?title=Diskussion:Termin</link><!-- (offsite) Information Link -->
|
|
</event>
|
|
</pre>
|
|
|
|
=== News/Ankündigung ===
|
|
|
|
Eine dedizierte Datei in <code>contente/news/</code>. Der Name sollte dem Schema <code>eventtype-YYYYMMDD-gruppenbezeichnung-einzelbezeichnung.xml</code> folgen, s.a. vorhandene News im Verzeichnis.
|
|
|
|
;event-20151007-opendata.xml
|
|
<pre>
|
|
<?xml version="1.0" encoding="UTF-8"?><!-- copy: XML version, encoding -->
|
|
<!DOCTYPE item SYSTEM "http://www.c3d2.de/dtd/c3d2web.dtd"><!-- copy: DTD -->
|
|
|
|
<item date="2015-10-07T13:24:00" title="Open-Data Treffen" author="tranquillo"><!-- edit: publication date/time, public title, author (your name) -->
|
|
<image title="OpenDataDresden/OKLab-DD">opendata4x.png</image><!-- edit: optional image -->
|
|
<event><!-- copy: event object -->
|
|
<start>2015-10-07T19:00:00</start><!-- edit: event date and optional time -->
|
|
<location><link href="http://www.c3d2.de/space.html">GCHQ</link> des c3d2, Lingnerallee 3, 01069 Dresden</location><!-- edit: event location/place/address and optional link -->
|
|
</event>
|
|
<p><!-- edit: XML description, allowed tags(attributes): p(class), blockquote, pre, ul, li, div(class), link(href) -->
|
|
Das nächste reguläre Treffen des
|
|
<link href="http://codefor.de/dresden/">hiesigen Open Knowledge Labs</link>.
|
|
</p>
|
|
<ul>Weitere Links:
|
|
<li><link href="http://pad.okfn.org/p/oklab-dresden">das Einstiegspad</link></li>
|
|
<li><link href="http://www.meetup.com/de/OK-Lab-Dresden">Meetup</link></li>
|
|
</ul>
|
|
</item>
|
|
</pre>
|
|
|
|
== Lokale Voraussetzungen ==
|
|
|
|
Was man üblicherweise auf einem Linux BSD hat: shell, GNU textutils, git, make, xsltproc
|