RSS v2

Smartsite 7.9 - ...

Example content

Example content of an RSS feed v2:

<?xml version="1.0" encoding="UTF-8"?>
<rss
    xmlns:g-custom="http://base.google.com/cns/1.0"
    xmlns:media="http://search.yahoo.com/mrss/"
    version="2.0">
    <channel>
        <title>VK:Voorpagina</title>
        <link>https://www.volkskrant.nl</link>
        <item>
            <title>Cultuurblog - tragikomisch familiedrama voor Het Nationale Theater</title>
            <link>https://www.volkskrant.nl/beeldende-kunst/cultuurblog~a4580448/</link>
            <description>...</description>
            <pubDate>Tue, 20 Mar 2018 09:40:00 GMT</pubDate>
            <author>Door: Redactie</author>
            <guid isPermaLink="false">4580448</guid>
        </item>
        <item>
            <title>Top Haagse zakenbank NIBC krijgt ruim 1 miljoen 'aanblijfbonus' na beursgang</title>
            <link>https://www.volkskrant.nl/economie/nibc~a4582569/</link>
            <description>...</description>
            <pubDate>Tue, 20 Mar 2018 08:41:00 GMT</pubDate>
            <author>Door: Wilco Dekker</author>
            <guid isPermaLink="false">4582569</guid>
        </item>
    </channel>
</rss>

Xml specification

The RSS feed provider requires

  • The root element name rss
  • The version attribute version="2.0".

It processes channel item elements and child elements of item elements:

  • The link element, to address the resource.
  • The pubDate element, to detect that reindexing is required.

It ignores other child elements of item elements.