Hi

Den 30. aug. 2010 kl. 09.38 skrev Wichert Akkerman:

On 8/30/10 09:28 , Espen Moe-Nilssen wrote:

-- Take a few moments to validate that all of your page templates are
valid XHTML. This will help ensure that your add-on product is
compatible with Chameleon, the alternative template-rendering engine, which can speed up Plone 4 by an additional 30-50%. (Chameleon's not
part of Plone 4, but the sooner a critical mass of add-on products
work with it, the sooner we can all start using it!) xmllint can help
you validate XHTML, much as pylint and jslint help you catch those
little Python and Javascript gremlins.


Hi.
This is new to me, so I googled it.
Did you mean xmlint ?

No, xmllint. See http://www.xmlsoft.org/xmllint.html for example.

Would this work with a dtml "mytemplate.pt" file

No: DTML is obviously not XML and can not use Chameleon for rendering.
DTML files should not have a .pt extension though.

(Should have been "tal" mytemplate.pt)
I have this:
http://svn.plone.org/svn/collective/medialog.moreviews/trunk/medialog/ moreviews/skins/moreviews/visualbox.pt
How do I validate it ?
I would normaly use a "validating service", http://validator.w3.org and check the url, like:
http://xweb14f.plana.dk:8094/artican/forside-test


or should I validate the url

I'm not sure what you mean with that.

Wichert.
_______________________________________________
Product-Developers mailing list
Product-Developers@lists.plone.org
http://lists.plone.org/mailman/listinfo/product-developers

_______________________________________________
Product-Developers mailing list
Product-Developers@lists.plone.org
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to