entries = [
{ 'itunes:name': foo,
...
}
]
Results in the following:
'itunes:owner' = [
SyntaxError: keyword can't be an expression
Curly Brace dictionary notation seemed to work for the html view:
<!-- content -->
<div id="content" style="width: 100%" >
<h2>Feed</h2>
{'description': 'My Description',
'language': 'en', 'title': 'My
Title', 'itunes:owner': {'itunes:name':
'Webmaster', 'itunes:email':
'[email protected]'}, 'link': 'http://
example.com', 'copyright': '(c) 2011
Example'}
</div>
<!-- content -->
However, in RSS view I received this:
RSS error<!--
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
//--
>
Seems odd that it didn't generate a ticket.
I'll do a bit of digging to see if I can find why... Any help is
appreciated.
On Apr 27, 11:51 am, Jonathan Lundell <[email protected]> wrote:
> On Apr 27, 2011, at 8:30 AM, Nite wrote:
>
>
>
> > def feed():
> > return dict(title="my feed",
> > link="http://feed.example.com",
> > description="my first feed",
> > entries=[
> > dict(title="my feed",
> > link="http://feed.example.com",
> > description="my first feed")
> > ])
>
> > The issue is that iTunes compatible podcasts have XML files with
> > ':' (colons) in the field name which is disallowed by python syntax
> > ('itunes:name = foo' is disallowed).
>
> If you're referring to the dict, you can use this syntax:
>
> entries = [
> { 'itunes:name': foo,
> ...
> }
> ]