Skip to content

Adding RSL to RSS feeds

RSL adds licensing capabilities to the RSS feed format, enabling publishers to create standardized, public catalogs of their licensable digital assets. 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 add the RSL namespace https://rslstandard.org/rsl to the root element of an RSS file, 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 a book.

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>

RSL™, Really Simple Licensing™, and the RSL Logo are trademarks of RSL Foundry. Terms of Service. Privacy.