2010-04-17 13:45:36 +02:00
|
|
|
<!DOCTYPE html>
|
2010-04-17 16:37:20 +02:00
|
|
|
<html encoding="utf-8"
|
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
2010-04-17 13:45:36 +02:00
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
xmlns:py="http://genshi.edgewall.org/">
|
|
|
|
<xi:include href="../layout.html" />
|
|
|
|
|
2010-04-18 03:31:48 +02:00
|
|
|
<?python
|
2010-04-18 12:41:41 +02:00
|
|
|
from creoleparser import text2html
|
|
|
|
#text can be creole-encoded, see http://www.wikicreole.org/imageServlet?page=CheatSheet%2Fcreole_cheat_sheet.png&width=340
|
|
|
|
title = "Brainstorming Online"
|
|
|
|
content01 = """
|
|
|
|
== Was ist Brainstorming? ==
|
|
|
|
Brainstorming ist ...
|
|
|
|
|
|
|
|
== Mit dem Wortschlucker online brainstormen ==
|
|
|
|
Mit dem Wortschlucker kann man jetzt auch einfach online brainstormen. Das hat mehrere Vorteile:
|
|
|
|
* Die Beteiligten können an verschiedenen Orten sein
|
|
|
|
* Die Teilnahme muss nicht gleichzeitig stattfinden
|
|
|
|
* Die Resultate sind sofort digital vefügbar, müssen also nicht mehr abgeschrieben werden.
|
|
|
|
|
|
|
|
== Jetzt starten: ==
|
|
|
|
"""
|
|
|
|
# creoleparser returns an utf-8 encoded string by default, but this would cause "Markup" below to fail during decoding.
|
|
|
|
# The parameter "None" for "encoding" forces unicode output. This works with "Markup".
|
|
|
|
content01 = text2html(content01, encoding=None)
|
2010-04-18 03:31:48 +02:00
|
|
|
?>
|
2010-04-17 13:45:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>${title}</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
2010-04-17 15:18:36 +02:00
|
|
|
<h1>${title}</h1>
|
2010-04-18 03:31:48 +02:00
|
|
|
<div class="post">
|
|
|
|
|
|
|
|
${Markup(content01)}
|
2010-04-18 12:41:41 +02:00
|
|
|
|
2010-04-18 03:31:48 +02:00
|
|
|
${poll_new_small()}
|
2010-04-18 12:41:41 +02:00
|
|
|
</div>
|
2010-04-17 13:45:36 +02:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|