You cannot post messages because only members can post, and you are not currently a member.
Description:
Discussion about Genshi, a Python toolkit for stream-based generation of output for the web.
This group was previously at http://groups.google.com/group/markup-di scuss. Older messages can be found in the archive of that group.
|
|
|
Introducing Raptor Templates: The Power of Genshi for JavaScript
|
| |
Hi all, About a year ago, when comparing popular templating languages, I came across Genshi and was impressed by the clean syntax. Unfortunately it only worked for Python and I was looking for a good templating solution for JavaScript. I decided to create a new JavaScript templating language that... more »
|
|
Genshi 0.6.1 and 0.7 released!
|
| |
Greetings
I'm pleased to announce the release of Genshi 0.6.1 and 0.7.
Genshi 0.7 add supports for Python 3.1, 3.2 and 3.3 and for PyPy.
Updating from Genshi 0.6 to 0.7 is described in
[link].... more »
|
|
UnicodeDecode when calling render()
|
| |
The following code fails with UnicodeDecode error and I am completely puzzled about what does it want. import genshi iURL = "[link]" import urllib2 mbt_file = urllib2.urlopen(iURL) mbt_genshi = genshi.input.HTMLParser(mbt_fi le) parsed = mbt_genshi.parse() parsed.select("head").render()... more »
|
|
Genshi with Angular.JS
|
| |
Interested in knowing if anyone is using Angular.js in combination with Genshi ? Was wondering if there are any pertinent issues which might arise as I am considering various JS Frameworks...
|
|
How do I use a Python function in a py:for directive
|
| |
I am trying to use a Python function defined in my template in a py:for directive, and am encountering errors. The areainfolist function processes a deep dictionary object in DATA and returns a list of dictionary objects found in the dictionary in DATA, and I cannot change the format of the DATA... more »
|
|
Genshi PY3 status
|
| |
Hello,
If I remember correctly, the only think blocking python 3 support in
genshi (through 2to3) was the release of 0.6. I might be wrong but I
think the release has never been done.
Are there bugs that need some work to accelerate the movement ?
-- (°> Nicolas Évrard
( ) Liège
`¯... more »
|
|
py:if statement newbie
|
| |
Hello, Is there a better way to construct the following without requiring two if statements for each tab item? Thanks! ---- <py:def function="sidebar(tabname)"> <div class="sidebar-nav"> <ul class="nav-list"> <li py:if='tabname=="TabOne"' class="active"><a href="#">TabOne</a></li>... more »
|
|
|