Re: [PHPTAL] Error with LINK tag

2008-05-22 Thread Anton Andrievskij
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...
>>
>> http://liftoff.msfc.nasa.gov/news/
>> 2003/news-starcity.asp
>> produces 
>>
>> This does not work exactly with LINK tag. If I cahgne > 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
> , , ).
>
> 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


Re: [PHPTAL] Error with LINK tag

2008-05-22 Thread Kornel Lesinski

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...


http://liftoff.msfc.nasa.gov/news/ 
2003/news-starcity.asp

produces 

This does not work exactly with LINK tag. If I cahgne 

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 , , ).


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