Thanks for this help. I'm realising both RSS and ATOM, sure.

Anton

On Thu, May 22, 2008 at 12:44 PM, Kornel Lesinski <
[EMAIL PROTECTED]> wrote:

> 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:
>
> $phptal->setOutputMode(PHPTAL::XML);
>
>
> BTW: Atom feed format is much better :)
>
> --
> regards, Kornel
>
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to