annotate examples/turbogears/genshitest/templates/welcome.html @ 786:d30a27266b45

Set zip_safe to False if the c speedup module is successfully built. Closes #252.
author jonas
date Sun, 03 Aug 2008 20:15:13 +0000
parents 9d3f275953b5
children
rev   line source
441
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
f8612f05af99 Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff changeset
3 <html xmlns="http://www.w3.org/1999/xhtml"
441
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
4 xmlns:xi="http://www.w3.org/2001/XInclude"
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
5 xmlns:py="http://genshi.edgewall.org/">
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
6 <xi:include href="master.html" />
4
f8612f05af99 Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff changeset
7
441
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
8 <head>
4
f8612f05af99 Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff changeset
9 <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
f8612f05af99 Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff changeset
10 <title>Welcome to TurboGears</title>
441
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
11 </head>
4
f8612f05af99 Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff changeset
12
441
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
13 <body>
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
14 <p>Congratulations, your TurboGears application is running as of
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
15 <span py:replace="now">now</span>.</p>
4
f8612f05af99 Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff changeset
16
441
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
17 <h2>Using Genshi in TurboGears</h2>
4
f8612f05af99 Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff changeset
18
441
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
19 <p>
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
20 Please see the online
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
21 <a href="http://genshi.edgewall.org/wiki/Documentation">documentation</a>
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
22 for general information on Genshi.
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
23 </p>
4
f8612f05af99 Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff changeset
24
441
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
25 <p>Here's an example for using a TurboGears widget in a Genshi template:</p>
110
44fbc30d78cd update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents: 80
diff changeset
26 ${ET(widget.display())}
44fbc30d78cd update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents: 80
diff changeset
27
441
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
28 <p>
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
29 And here's a <a href="plain">link</a> to the output of a plain-text
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
30 template.
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
31 </p>
265
0f2bc982a2b9 Split up the plugin implementation into two classes: one for markup templates (?genshi-markup? or just ?genshi?) and one for text templates (?genshi-text?). Also added an example for plain-text templating to the TurboGears example app.
cmlenz
parents: 230
diff changeset
32
441
9d3f275953b5 Fix undefined error in TurboGears example app, and some cleanup.
cmlenz
parents: 265
diff changeset
33 </body>
4
f8612f05af99 Added first stab of an implementation of the !TurboGears [http://www.turbogears.org/docs/plugins/template.html plugin API for template engines], and also a !TurboGears-based example using this plugin. Both written by Matt Good.
cmlenz
parents:
diff changeset
34 </html>
Copyright (C) 2012-2017 Edgewall Software