Skip to content

Adding RSL to RSS Feeds

RSL extends the RSS feed format, enabling publishers to create standardized, public catalogs of licensable digital assets such as articles, images, videos, or datasets. When used in an RSS feed, RSL functions as an RSS module that adds licensing capabilities to the RSS <item> element.

Note

RSL feeds must declare the RSL namespace https://rslstandard.org/rsl on the root rsl element, and use the rsl: namespace prefix to reference RSL elements (e.g., <rsl:content>).

Example Code

Below is an example RSL feed file that defines licensing terms for adataset.

xml
<rss xmlns:rsl="https://rslstandard.org/rsl" version="2.0">
  <channel>
    <title>Datasets - UCI Machine Learning Repository</title>
    <link>https://archive.ics.uci.edu/datasets</link>
    <item> 
      <title>Iris dataset</title> 
      <link>https://archive.ics.uci.edu/dataset/53/iris</link>
      <rsl:content url="https://archive.ics.uci.edu/public/53/iris.zip">
        <rsl:license>
          <rsl:payment type="free"/>
        </rsl:license>
      </rsl:content>
    </item>
  </channel>
</rss>