Spec: RSS 1.0 Syndication Modules - simplepie/simplepie-ng GitHub Wiki

Table of Contents

Authors

The members of the RSS-DEV Working Group:

Version

Latest Version: http://purl.org/rss/1.0/modules/syndication/

  • 1.4.1 2000-12-20 (editor: SBP - cleaned up markup)
  • 1.4 2000-12-09

Status

Release

Rights

Copyright © 2000 by the Authors.

Permission to use, copy, modify and distribute the RDF Site Summary 1.0 Specification and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the specification for any purpose. It is provided "as is" without expressed or implied warranty.

This copyright applies to the RDF Site Summary 1.0 Specification and accompanying documentation and does not extend to the RSS format itself.

Description

Provides syndication hints to aggregators and others picking up this RDF Site Summary (RSS) feed regarding how often it is updated. For example, if you updated your file twice an hour, updatePeriod would be hourly and updateFrequency would be 2. The syndication module borrows from Ian Davis's Open Content Syndication (OCS) directory format. It supercedes the RSS 0.91 <skipDay> and <skipHour> elements.

<updatePeriod>

Describes the period over which the channel format is updated. Acceptable values are: hourly, daily, weekly, monthly, yearly. If omitted, daily is assumed.

<updateFrequency>

Used to describe the frequency of updates in relation to the update period. A positive integer indicates how many times in that period the channel is updated. For example, an <updatePeriod> of daily, and an <updateFrequency> of 2 indicates the channel format is updated twice daily. If omitted a value of 1 is assumed.

<updateBase>

Defines a base date to be used in concert with <updatePeriod> and <updateFrequency> to calculate the publishing schedule. The date format takes the form: yyyy-mm-ddThh:mm.

Namespace Declarations

xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"

Model

<channel> Elements:

  • <sy:updatePeriod> ( hourly | daily | weekly | monthly | yearly )
  • <sy:updateFrequency> ( a positive integer )
  • <sy:updateBase> ( #PCDATA ) [W3CDTF]

Example

<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF 
    xmlns="http://purl.org/rss/1.0/" 
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">

    <channel rdf:about="http://meerkat.oreillynet.com/?_fl=rss1.0">
        <title>Meerkat</title>
        <link>http://meerkat.oreillynet.com</link>
        <description>Meerkat: An Open Wire Service</description>
        <sy:updatePeriod>hourly</sy:updatePeriod>
        <sy:updateFrequency>2</sy:updateFrequency>
        <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
        <image rdf:resource="http://meerkat.oreillynet.com/icons/meerkat-powered.jpg"/>
        <items>
            <rdf:Seq>
                <rdf:li resource="http://c.moreover.com/click/here.pl?r123"/>
            </rdf:Seq>
        </items>
        <textinput rdf:resource="http://meerkat.oreillynet.com"/>
    </channel>
    <image rdf:about="http://meerkat.oreillynet.com/icons/meerkat-powered.jpg">
        <title>Meerkat Powered!</title>
        <url>http://meerkat.oreillynet.com/icons/meerkat-powered.jpg</url>
        <link>http://meerkat.oreillynet.com</link>
    </image>
    <item rdf:about="http://c.moreover.com/click/here.pl?r123">
        <title>XML: A Disruptive Technology</title>
        <link>http://c.moreover.com/click/here.pl?r123</link>
        <description>XML is placing increasingly heavy loads on the existing technical
        infrastructure of the Internet.
      </description>
    </item>
    <textinput rdf:about="http://meerkat.oreillynet.com">
        <title>Search Meerkat</title>
        <description>Search Meerkat's RSS Database...</description>
        <name>s</name>
        <link>http://meerkat.oreillynet.com/</link>
    </textinput>
</rdf:RDF>
⚠️ **GitHub.com Fallback** ⚠️