Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
genshi on gae 2010
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
retif  
View profile  
 More options Nov 22 2009, 12:47 pm
From: retif <noverm...@gmail.com>
Date: Sun, 22 Nov 2009 09:47:13 -0800 (PST)
Local: Sun, Nov 22 2009 12:47 pm
Subject: genshi on gae 2010
so we have working genshi on appengine today?)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
retif  
View profile  
 More options Dec 4 2009, 9:40 am
From: retif <noverm...@gmail.com>
Date: Fri, 4 Dec 2009 06:40:33 -0800 (PST)
Local: Fri, Dec 4 2009 9:40 am
Subject: Re: genshi on gae 2010
genshi is working on appengine!!)))

On Nov 22, 7:47 pm, retif <noverm...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Japboy  
View profile  
 More options Dec 4 2009, 11:16 am
From: Japboy <poa...@gmail.com>
Date: Fri, 4 Dec 2009 08:16:13 -0800 (PST)
Local: Fri, Dec 4 2009 11:16 am
Subject: Re: genshi on gae 2010
wonder how i do it?

On Dec 4, 11:40 pm, retif <noverm...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex  
View profile  
 More options Dec 4 2009, 12:25 pm
From: Alex <noverm...@gmail.com>
Date: Fri, 4 Dec 2009 19:25:40 +0200
Local: Fri, Dec 4 2009 12:25 pm
Subject: Re: genshi on gae 2010
file.py
from genshi.template import TemplateLoader
loader = TemplateLoader(['.'], auto_reload=True)
tmpl = loader.load('hello.html')
stream = tmpl.generate(name='world', times=2)
print stream.render('html')

hello.html
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
      xmlns:py="http://genshi.edgewall.org/">
  <body>
    <h1>web.py with Genshi</h1>
    <hr />
    <ul py:if="times">
      <li py:for="i in range(times)">Hello, $name!</li>
    </ul>
  </body>
</html>

this is one of examples...just uploaded it to appengine with trunk
genshi and it works(i dont know how about latest release, but trunk
version works)

2009/12/4 Japboy <poa...@gmail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Japboy  
View profile  
 More options Dec 5 2009, 4:06 am
From: Japboy <poa...@gmail.com>
Date: Sat, 5 Dec 2009 01:06:08 -0800 (PST)
Local: Sat, Dec 5 2009 4:06 am
Subject: Re: genshi on gae 2010
thanks, alex

it works!

thanks again for exmaple codes

On Dec 5, 2:25 am, Alex <noverm...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »