On Wednesday, April 27, 2011 12:01:29 PM UTC-4, Nite wrote: 
>
> entries = [ 
>   { 'itunes:name': foo, 
> ... 
>   } 
> ] 
>
> Results in the following: 
>
>    'itunes:owner' = [ 
> SyntaxError: keyword can't be an expression

 
I'm not sure this is the problem, but is foo a variable? If not, you 
probably have to put it in quotes (i.e., 'foo').
 

> However, in RSS view I received this: 
>
> RSS error<!-- 
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>  
> //-- 
> >

 
What version of web2py are you using? I think when the response body is less 
than 512 characters, web2py appends an HTML comment full of x's in order to 
trick IE. However, this is only necessary for HTML responses (and generates 
an error with RSS, as you have observed). This was fixed recently, though 
(see 
http://code.google.com/p/web2py/source/detail?r=e46809139d9f9f8b91e6ab6f34c41fd5786b7eca),
 
so maybe try the most recent version of web2py.
 
Anthony
 

Reply via email to