Encoding itunes dtd

i found help on this forum on how to encode itunes tags (itunes:summary)
into my feed generator, but i am having one more issue…

in order to do this, i am having to use their dtd… and add this to my
header:

the line i am using in my rxml is:

xml.rss(:version => “2.0”)

but i totally can’t figure out how to add the xmlns:itunes attribute, as
the colon causes all kinds of trouble (obviously)…

anyone have any ideas?

Quote it.

xml.rss “version” => “2.0”, “xmlns:itunes” =>
Connecting to the iTunes Store.

Or even,

xml.rss “version” => “2.0”, :“xmlns:itunes” =>
Connecting to the iTunes Store.

In most cases in Rails, a string and a symbol is interchangeable. (The
second version preserves it as a symbol)
Vish

In most cases in Rails, a string and a symbol is interchangeable. (The
second version preserves it as a symbol)
Vish

sweet!

that worked!

thanks, vish!