QA


Q&A

Q.

Is RSS 2.0 the only version of RSS I need to concern myself with?

A.

Yes and no. RSS 2.0 is certainly the most popular version of RSS in use today, which means you should focus the vast majority of your feed-related attention to it. However, there are enough sites out there that still use other versions of RSS that you may want to consider at some point brushing up on the other versions and how they differ from version 2.0. I wouldn't make this a huge priority at the moment, however. Your knowledge of other versions of RSS becomes more critical if you want to expand on the news aggregator sample stylesheet in this lesson to support other versions of RSS.

Q.

Can I include images in my RSS 2.0 documents?

A.

Yes. The <channel> tag supports a child <image> tag that allows you to specify an image for the channel. Additionally, the <item> tag supports a child <enclosure> tag that allows you to reference media objects including images and other media content. In fact, Apple's iTunes service relies on the <enclosure> tag to reference podcasts when you syndicate a podcast using RSS.

Q.

What versions of RSS does the online Feed Validator tool support?

A.

The Feed Validator tool supports RSS versions 0.90, 0.91, 0.92, 0.93, 0.94, 1.0, and 2.0, as well as Atom. The version of RSS that it uses for validation is determined automatically by the value of the version attribute in the <rss> tag of the document being validated.




Sams Teach Yourself XML in 24 Hours
Sams Teach Yourself XML in 24 Hours, Complete Starter Kit (3rd Edition)
ISBN: 067232797X
EAN: 2147483647
Year: 2005
Pages: 266

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net