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,
...
  }
]

Reply via email to