Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple channels in a single RSS xml - is it ever appropriate?

Tags:

xml

rss

A typical xml file for an RSS feed starts with an "rss" element on the outermost level, and usually has a single "channel" element within it that represents the "feed" or "channel." Is there ever a situation where it is appropriate to use multiple channels within an element, like the following?

<rss>
    <channel>
         ...
         <item> ... </item>
    </channel>
    <channel>
         ...
    </channel>
</rss>
like image 496
aoeu Avatar asked Sep 26 '10 17:09

aoeu


People also ask

Can you have multiple RSS feeds?

RSS makes it easy to combine several feeds into one feed. Enter the URL address of each feed, one on each line, and then press Create. Combine up to 100 feeds with at least two or more unique sources.

Are all RSS feeds in XML?

RSS is a Web content syndication format. Its name is an acronym for Really Simple Syndication. RSS is a dialect of XML. All RSS files must conform to the XML 1.0 specification, as published on the World Wide Web Consortium (W3C) website.

What is the difference between RSS and XML?

The important difference between these formats is that XML sitemaps describe the whole set of URLs within a site, while RSS/Atom feeds describe recent changes. This has important implications: XML sitemaps are usually large; RSS/Atom feeds are small, containing only the most recent updates to your site.

What does XML RSS mean?

No, RSS actually stands for Really Simple Syndication – an XML-based format for sharing and distributing Web content.


1 Answers

From here:

Subordinate to the <rss> element is a single <channel> element, which contains information about the channel (metadata) and its contents.

So there not only is no use case for that – it isn't even allowed.

like image 65
Joey Avatar answered Sep 29 '22 04:09

Joey