Mercurial > defr > DualBlog
view templates/postAtom.xml @ 59:caef2b6e5690
Necessaire pour IE ! Le tag est sinon vide et se retrouve compacté
J'avais modifie ca pour rendre le validateur HTML5 content, mais, ce n'est
pas vraiment une bonne idee, car sinon le parser XML voit un tag vide,
et par consequent lorsqu'il prepare la sortie, il produit un <script />
qu'IE est incapable de gerer correctement.
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 19 Feb 2008 02:54:58 -0800 |
parents | efba519d2d32 |
children |
line wrap: on
line source
<?xml version='1.0' encoding='utf-8'?> <entry xmlns='http://www.w3.org/2005/Atom' xmlns:xhtml='http://www.w3.org/1999/xhtml' xmlns:tr='http://defr.net/2007/template'> <title type='xhtml'> <xhtml:div xmlns='http://www.w3.org/1999/xhtml'> <tr:postTitle /> </xhtml:div> </title> <id>tag:defr.org,2006:<tr:postNumber /></id> <content type='xhtml'> <xhtml:div xmlns='http://www.w3.org/1999/xhtml'> <tr:postContent /> </xhtml:div> </content> <published><tr:postDateISO /></published> <updated><tr:postDateISO /></updated> <link tr:id='linkPostNumber' rel='alternate' type='text/html' /> </entry>