On 22 May 2008, at 07:34, Anton Andrievskij wrote:

I'm trying to build RSS using PHPTAL. I just noticed about very strange problem...

<link tal:content="item/link">http://liftoff.msfc.nasa.gov/news/ 2003/news-starcity.asp</link>
produces <link />

This does not work exactly with LINK tag. If I cahgne <link to <linkItem - it works.

By default PHPTAL works in XHTML mode which follows suggestions in Appendix C of XHTML specification (one of which is using self-closing tags for <link/>, <meta/>, <img/>).

To disable this, switch PHPTAL to "pure" XML behaviour:


BTW: Atom feed format is much better :)

regards, Kornel

PHPTAL mailing list

Reply via email to