[symfony-users] Re: Why this first in the feed is always throwing error

2009-05-28 Thread OrganicPanda
Hey, I got around this by echoing the whole first line like: ?php echo longstring ?xml version=1.0 encoding=utf-8? longstring; ? Then do the rest of the file as normal, Hope this helps, On May 15, 9:14 pm, xhe hexuf...@gmail.com wrote: I want to create an atom feed, the first two lines are

[symfony-users] Re: Why this first in the feed is always throwing error

2009-05-16 Thread Gábor Fási
I'm using sfFeed2Plugin in symfony 1.2 with no problems. Also, the website says it works for 1.0-1.1-1.2 . On Sat, May 16, 2009 at 01:19, Frank He hexuf...@gmail.com wrote: i used this one $ symfony plugin-install http://plugins.symfony-project.com/sfFeed2Plugin to install, why it always tell

[symfony-users] Re: Why this first in the feed is always throwing error

2009-05-15 Thread Alexandru-Emil Lupu
Hi! that is caused because you have ?xml version=1.0 encoding=utf-8? feed xmlns=http://www.w3.org/2005/Atom; in a php file. php parser would believe that is actually ?php xml version=1.0 encoding=utf-8? feed xmlns=http://www.w3.org/2005/Atom; try escaping first line as following ?php echo

[symfony-users] Re: Why this first in the feed is always throwing error

2009-05-15 Thread Eno
On Sat, 16 May 2009, Alexandru-Emil Lupu wrote: the simple version would be to use sfFeedPlugin or so Yep, or even sfFeed2Plugin :-) -- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group.

[symfony-users] Re: Why this first in the feed is always throwing error

2009-05-15 Thread Frank Stelzer
It is a interpreter problem. ? is interpreted as php opening tag Try this: ?php echo ?; ?xml version=1.0 encoding=utf-8?php echo ? ; ? - Frank Am 15.05.2009 um 22:14 schrieb xhe: I want to create an atom feed, the first two lines are ?xml version=1.0 encoding=utf-8? feed

[symfony-users] Re: Why this first in the feed is always throwing error

2009-05-15 Thread Frank He
i used this one $ symfony plugin-install http://plugins.symfony-project.com/sfFeed2Plugin to install, why it always tell me this is symfony 1.0 plugin, I am having symfony 1.2 On Fri, May 15, 2009 at 5:42 PM, Frank Stelzer d...@bleedingmoon.de wrote: It is a interpreter problem. ? is