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" />
|
|
|
|
|
|
|
|
<?python
|
2010-04-17 21:20:25 +02:00
|
|
|
|
|
|
|
#text can be creole-encoded, see http://www.wikicreole.org/imageServlet?page=CheatSheet%2Fcreole_cheat_sheet.png&width=340
|
2010-04-17 13:45:36 +02:00
|
|
|
title = "Brainstorming Online"
|
2010-04-17 16:37:20 +02:00
|
|
|
content01 = unicode("""
|
|
|
|
dieser mehrzeilige Text ist HTML-escaped und kann Umlaute enthalten.
|
2010-04-17 21:20:25 +02:00
|
|
|
Falls er <Umlaute> **enthaelt**, dann muss die Datei utf8-codiert sein und der Text
|
2010-04-17 16:37:20 +02:00
|
|
|
muss in unicode verwandelt werden (unicode(foo)).
|
|
|
|
""")
|
2010-04-17 21:20:25 +02:00
|
|
|
from creoleparser import text2html
|
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>
|
|
|
|
<div class="post">
|
2010-04-17 21:20:25 +02:00
|
|
|
|
|
|
|
${Markup(text2html(content01))}
|
2010-04-17 13:45:36 +02:00
|
|
|
</div>
|
2010-04-17 15:18:36 +02:00
|
|
|
${poll_new_small()}
|
|
|
|
|
2010-04-17 13:45:36 +02:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|