<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.python.kid.general">
    <title>gmane.comp.python.kid.general</title>
    <link>http://blog.gmane.org/gmane.comp.python.kid.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.kid.general/1557"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.kid.general/1553"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.kid.general/1550"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.kid.general/1549"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.kid.general/1543"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.kid.general/1541"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.kid.general/1538"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.kid.general/1527"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.kid.general/1525"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.kid.general/1557">
    <title>apply a treatment on an attribute value</title>
    <link>http://comments.gmane.org/gmane.comp.python.kid.general/1557</link>
    <description>&lt;pre&gt;







------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
&lt;/pre&gt;</description>
    <dc:creator>Eddie BRUGGEMANN</dc:creator>
    <dc:date>2011-07-13T20:26:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.kid.general/1553">
    <title>Passing the same parameter to all templates or evenbetter the master template</title>
    <link>http://comments.gmane.org/gmane.comp.python.kid.general/1553</link>
    <description>&lt;pre&gt;Hi all,

another problem i stumbled upon.
I use the following layout:

&amp;lt;html xmlns:py="http://purl.org/kid/ns#"&amp;gt;
 &amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;ATF - ${page_title}&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
 &amp;lt;body&amp;gt;
                &amp;lt;div id="sectionimage"&amp;gt;
                  &amp;lt;img src="/img/${sectionImage}.png" alt="${pageTitle}"
height="50" /&amp;gt;
                &amp;lt;/div&amp;gt;
   &amp;lt;content&amp;gt;Default Content&amp;lt;/content&amp;gt;
        &amp;lt;div id="messagebox" py:if="len(messages) &amp;gt; 0"&amp;gt;
            &amp;lt;p&amp;gt;Messsage&amp;lt;/p&amp;gt;
            &amp;lt;p&amp;gt;Messsage&amp;lt;/p&amp;gt;
            &amp;lt;p&amp;gt;Messsage&amp;lt;/p&amp;gt;
            &amp;lt;p&amp;gt;Messsage&amp;lt;/p&amp;gt;
            &amp;lt;p&amp;gt;Messsage&amp;lt;/p&amp;gt;
            &amp;lt;p&amp;gt;Messsage&amp;lt;/p&amp;gt;
            &amp;lt;p&amp;gt;Messsage&amp;lt;/p&amp;gt;
            &amp;lt;p&amp;gt;Messsage&amp;lt;/p&amp;gt;
            &amp;lt;p&amp;gt;Messsage&amp;lt;/p&amp;gt;
            &amp;lt;p&amp;gt;Messsage&amp;lt;/p&amp;gt;
            &amp;lt;p&amp;gt;Messsage&amp;lt;/p&amp;gt;
            &amp;lt;p&amp;gt;Messsage&amp;lt;/p&amp;gt;
        &amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

where &amp;lt;content&amp;gt; is replaced by content of other templates:

&amp;lt;?python
layout_params['page_title'] = "Scheduler"
?&amp;gt;
&amp;lt;html py:layout="'template.kid'"
      xmlns:py="http://purl.org/kid/ns#"&amp;gt;

  &amp;lt;div py:match="item.tag == 'content'" class="content"&amp;gt;
     Hello World
  &amp;lt;/div&amp;gt;
&amp;lt;/html&amp;gt;

What I would like to do is to pass the messages list to the master template
without having to specify it each time as it is always the same variable.
Can this be achieved in kid?

Thanks,

Filip
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay_______________________________________________
kid-template-discuss mailing list
kid-template-discuss&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss
&lt;/pre&gt;</description>
    <dc:creator>Filip Polsakiewicz</dc:creator>
    <dc:date>2011-05-11T09:16:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.kid.general/1550">
    <title>Using jQuery and jQuery UI with Kid templates</title>
    <link>http://comments.gmane.org/gmane.comp.python.kid.general/1550</link>
    <description>&lt;pre&gt;Hi all,

I am having trouble to include the jQuery/jQueryUI javascripts in my
template.
Here is what my template looks like:

&amp;lt;html xmlns:py="http://purl.org/kid/ns#"&amp;gt;
 &amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;snomATF - ${page_title}&amp;lt;/title&amp;gt;
&amp;lt;link rel="stylesheet" type="text/css" href="/css/page.css" /&amp;gt;
 &amp;lt;link rel="stylesheet" type="text/css" href="/css/menu_style.css" /&amp;gt;
        &amp;lt;link rel="icon" type="image/vnd.microsoft.icon"
href="/img/favicon.ico" /&amp;gt;
        &amp;lt;link type="text/css"
href="/css/ui-darkness/jquery-ui-1.8.12.custom.css" rel="stylesheet" /&amp;gt;
        &amp;lt;script type="text/javascript" src="/js/jquery-1.5.1.min.js" /&amp;gt;
        &amp;lt;script type="text/javascript"
src="/js/jquery-ui-1.8.12.custom.min.js" /&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
 &amp;lt;img src="/img/img.png" alt="mycompany" height="50"/&amp;gt;
                &amp;lt;div id="sectionimage"&amp;gt;
                  &amp;lt;img src="/img/${sectionImage}.png" alt="${pageTitle}"
height="50" /&amp;gt;
                &amp;lt;/div&amp;gt;
                &amp;lt;div class="atf-menu"&amp;gt;menu&amp;lt;/div&amp;gt;
   &amp;lt;content&amp;gt;Default Content&amp;lt;/content&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;

Unfortunately the result is that after the template processing it seems that
the first script tag is not closed and embeds the remaining part of the
page.
So what I see is an empty page.

Can anyone help?

Thanks,

Filip
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay_______________________________________________
kid-template-discuss mailing list
kid-template-discuss&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss
&lt;/pre&gt;</description>
    <dc:creator>Filip Polsakiewicz</dc:creator>
    <dc:date>2011-05-10T13:50:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.kid.general/1549">
    <title>Patch to properly escape [[&lt; to [[&amp;gt;</title>
    <link>http://comments.gmane.org/gmane.comp.python.kid.general/1549</link>
    <description>&lt;pre&gt;------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
kid-template-discuss mailing list
kid-template-discuss&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss
&lt;/pre&gt;</description>
    <dc:creator>Till Maas</dc:creator>
    <dc:date>2010-09-13T12:59:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.kid.general/1543">
    <title>Code On SourceForge</title>
    <link>http://comments.gmane.org/gmane.comp.python.kid.general/1543</link>
    <description>&lt;pre&gt;The most recent version of the Kid code is now on SourceForge[1]. Have at it!

1. https://sourceforge.net/projects/kid-template/

&lt;/pre&gt;</description>
    <dc:creator>David Stanek</dc:creator>
    <dc:date>2010-06-07T03:29:46</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.kid.general/1541">
    <title>Problems with kid templates and python 2.6.5</title>
    <link>http://comments.gmane.org/gmane.comp.python.kid.general/1541</link>
    <description>&lt;pre&gt;-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear all,

I have the following issue, with this code:

base.kid
- ----8&amp;lt;-----
&amp;lt;head py:match="item.tag == 'head'"&amp;gt;
        &amp;lt;?python
                title=item.find('title')
                if title is not None:
                        item.remove(title)
                        title = title.text
        ?&amp;gt;
        &amp;lt;title&amp;gt;
                Kieser Training Customer Portal
                &amp;lt;span py:strip="" py:if="title"&amp;gt; - ${title}&amp;lt;/span&amp;gt;
        &amp;lt;/title&amp;gt;
        &amp;lt;link rel="shortcut icon" href="kieser-icon.png" /&amp;gt;
        &amp;lt;link rel="stylesheet" href="base.css" title="Base styles"
type="text/css" /&amp;gt;
        &amp;lt;script type="text/javascript" src="js/MochiKit/MochiKit.js" /&amp;gt;
        &amp;lt;script type="text/javascript"&amp;gt;
        var loading = new Image();
        loading.src = "loading.gif";
        &amp;lt;/script&amp;gt;
        &amp;lt;div py:for="node in item" py:replace="node" /&amp;gt;
&amp;lt;/head&amp;gt;
- ------8&amp;lt;------


if I compile this and open my page in the web browser I get the
following error:


  File "/usr/local/lib/python2.6/dist-packages/kieser/stat/web/base.py",
line 67, in _match_func
    title=item.find('title')

AttributeError: 'Element' object has no attribute 'find'


As far as I can tell the code that has been generated is faulty. You
cannot use .find on the list that has been generated.

Did anyone else have this problem?



Thanks,

Steve



- -- 
The Hackerspace in Luxembourg!
syn2cat Hackerspace.lu A.S.B.L.
11, rue du Cimetière | L-8018 Strassen
http://www.hackerspace.lu
xmpp:SteveClement&amp;lt; at &amp;gt;jabber.hackerspaces.org
mailto:steve&amp;lt; at &amp;gt;hackerspace.lu
.lu: +352 20 333 55 65
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwASFoACgkQPSE8bmHRmNVH2ACaA3u+5zmQYSD2/6kf4sciuNJx
0cEAoLBNrdHC2XhwpN3rdctRJzmrC3Pj
=znR5
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
&lt;/pre&gt;</description>
    <dc:creator>Steve Clement</dc:creator>
    <dc:date>2010-05-28T22:48:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.kid.general/1538">
    <title>broken web site</title>
    <link>http://comments.gmane.org/gmane.comp.python.kid.general/1538</link>
    <description>&lt;pre&gt;------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com_______________________________________________
kid-template-discuss mailing list
kid-template-discuss&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss
&lt;/pre&gt;</description>
    <dc:creator>Jason Rennie</dc:creator>
    <dc:date>2010-02-09T16:13:18</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.kid.general/1527">
    <title>template compilation logic</title>
    <link>http://comments.gmane.org/gmane.comp.python.kid.general/1527</link>
    <description>&lt;pre&gt;------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com_______________________________________________
kid-template-discuss mailing list
kid-template-discuss&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss
&lt;/pre&gt;</description>
    <dc:creator>Jason Rennie</dc:creator>
    <dc:date>2010-02-03T15:24:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.kid.general/1525">
    <title>Python problem while installing Kid 0.9.6 on FC10server</title>
    <link>http://comments.gmane.org/gmane.comp.python.kid.general/1525</link>
    <description>&lt;pre&gt;Hi,

I'm trying to install Kid 0.9.6.

I ran the command:

./setup.py install

I got the following messages:

running install
error: invalid Python installation: unable to open
/usr/lib/python2.5/config/Makefile (No such file or directory)

Would anyone have any useful tips about what to do to fix this?

Thanks if so, :)

--
David Nelson

Voicemail: +44.7092894743
Fax: +44.7092894744
E-mail: commerce&amp;lt; at &amp;gt;traduction.biz
Twitter: http://twitter.com/TraductionBIZ
Skype: traduction.biz
Web: http://traduction.biz
---

------------------------------------------------------------------------------
Come build with us! The BlackBerry&amp;amp;reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&amp;amp;#45;12, 2009. Register now&amp;amp;#33;
http://p.sf.net/sfu/devconf
&lt;/pre&gt;</description>
    <dc:creator>Traduction.BIZ</dc:creator>
    <dc:date>2009-09-17T17:09:13</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.python.kid.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.python.kid.general</link>
  </textinput>
</rdf:RDF>

