[spip-dev] trim first blank line to validate rss feeds

Hi,

I’m trying to figure out how to fix an old behaviour of spip in some of my servers. In some there is an empty line at the very beginning of the render page. It has no meaning for html but for RSS: due this silly line, spip generated RSS feeds don’t validate. Moreover, and this is the worst part, many feed readers don’t read it at all, and some browsers (i.e. firefox) render it as a big, red, accusatory finger message

as example
http://lavozdelanzarote.com/?page=backend

template
http://lavozdelanzarote.com/squelettes/bakend.html

but with the very same template for other site in another server, it works ok.

http://textosypretextos.com.ar/?page=backend
http://textosypretextos.com.ar/squelettes-dist/bakend.html

any idea?
thanks in advance

PS: my apologize for write in english.

Hi,

Try to modify your template by writing the first line of your template
<xml ...>
on the same line as #CACHE{...} :

#CACHE{3600} <xml ...

It's an issue of one of the 2.x versions of SPIP.

Bets regards