Link to full category pages using a category tag in RSS 2.0
Using the category tag in RSS 2.0:
<category domain="http://mysite.example.com/tags"> Science and Technology </category> How do I specify an additional URL for a page that displays all the elements in this category?
Since the specification is not displayed, enable this, it would be safe to invent a new attribute in my own namespace, for example:
<category domain="http://mysite.example.com/tags" myns:category-url="http://mysite.example.com/tags/scitech/"> Science and Technology </category> Then at the top of the document:
<rss version="2.0" xmlns:myns="http://mysite.example.com/namespace/"> Is it possible to expand RSS in this way? Are there any aggregators or implementations out there in the wild? Or is there an existing mechanism for linking to a category page that I should use instead?
I am interested to know how this will be done in Atom, but I need a solution for RSS 2.0.
As you noted in the commentary, he simply says: βAn RSS feed can contain elements not described on this page only if these elements are defined in the namespace,β but it says nothing about the new attributes, so I would think that at least this is contrary to the spirit of the specification.
My understanding is that everything described on this page should be considered frozen, with the exception of the ability to add elements located under the names.
Thus, I believe that one way to add what you need is to add a new element that should have content that matches the category and attribute containing the URL on the page that displays all the elements in this category:
<rss version="2.0" xmlns:myns="http://mysite.example.com/namespace/"> <category domain="http://mysite.example.com/tags"> Science and Technology </category> <myns:category-url url="http://mysite.example.com/tags/scitech/"> Science and Technology </myns:category-url> It is not very, but it can work.
Yes, it should be completely safe to expand the namespace, that is, in the end, it is explicitly stated in the specification http://cyber.law.harvard.edu/rss/rss.html#extendingRss
http://validator.w3.org/feed/docs/warning/UseOfExtensionAttr.html
The RSS 2.0 specification is unclear as to whether you can add your own name-related attributes to existing RSS elements. The RSS Advisory Board decided that you can, but the RSS policy meant that their recommendations were never added to the official specification.
I'm still not sure if the best way to indicate βthis category has this URL on the Internetβ is in RSS or Atom.