Difference between revisions of "RSS 1.0"

From Creative Commons
Jump to: navigation, search
(Additional Metadata)
Line 64: Line 64:
 
     <cc:morePermissions rdf:resource="http://example.org/pay_me" />
 
     <cc:morePermissions rdf:resource="http://example.org/pay_me" />
 
     <xapRights:WebStatement rdf:resource="http://example.org/more_info" />
 
     <xapRights:WebStatement rdf:resource="http://example.org/more_info" />
 +
 
   </item>  
 
   </item>  
 
</pre></code>
 
</pre></code>
Line 69: Line 70:
 
Note that this example uses an additional namespace, <code>xapRights</code>, which is defined as http://ns.adobe.com/xap/1.0/rights/.
 
Note that this example uses an additional namespace, <code>xapRights</code>, which is defined as http://ns.adobe.com/xap/1.0/rights/.
  
=== Use with Podcasts ===
+
=== Use with Enclosures ===
  
Using RDFa you can also provide additional metadata about linked contentThis is useful when deploying a podcast; your XHTML can provide rich metadata which allows clients to increase confidence in the metadata.
+
Enclosures (multimedia attachments to a feed) are specified for RSS 1.0 by [http://www.xs4all.nl/~foz/mod_enclosure.html mod_enclosure]License, verification (web statement) and more permissions metadata can be provided as with entries.
  
{{incomplete}}
+
<code><pre>
 +
<rdf:RDF
 +
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 +
  xmlns:enc="http://purl.oclc.org/net/rss_2.0/enc#"
 +
  xmlns:dc="http://purl.org/dc/elements/1.1/"
 +
  xmlns:foaf="http://xmlns.com/foaf/0.1/"
 +
  xmlns:cc="http://web.resource.org/cc/"
 +
  xmlns="http://purl.org/rss/1.0/">
 +
  ...
 +
  <item rdf:about="http://foo.bar/baz">
 +
    <title>There's no pleasing some people..</title>
 +
    ...
 +
    <enc:enclosure rdf:resource="http://foo.bar/baz.mp3" enc:type="audio/mpeg" enc:length="65535"/>
 +
  </item>
 +
 +
  <enc:Enclosure rdf:about="http://foo.bar/baz.mp3">
 +
    <dc:creator foaf:mbox_sha1sum="928de0d623d7f6f073a8d84d8c269f2051af29d6" foaf:name="Suzan Foster"/>
 +
    <cc:license rdf:resource="http://creativecommons.org/licenses/by-nc-nd/2.0/"/>
 +
  </enc:Enclosure>
 +
 +
  <cc:License rdf:about="http://creativecommons.org/licenses/by-nc-nd/2.0/">
 +
    <cc:permits rdf:resource="http://web.resource.org/cc/Reproduction"/>
 +
    <cc:permits rdf:resource="http://web.resource.org/cc/Distribution"/>
 +
    <cc:permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/>
 +
    <cc:requires rdf:resource="http://web.resource.org/cc/Notice"/>
 +
    <cc:requires rdf:resource="http://web.resource.org/cc/Attribution"/>
 +
  </cc:License>
 +
  ...
 +
</rdf:RDF>
 +
</pre></code>

Revision as of 18:53, 10 October 2007


File Type Information
Supports embedding license URL: supports_license_url::True
Supports embedding web statement: supports_web_statement::True
Supports embedding more permissions: supports_more_permissions::True
Metadata Location: [[Metadata location::{{{metadata_location}}}]] | (unknown) }}
Metadata Format: [[Metadata format::{{{metadata_format}}}]] | (unknown) }}


RSS 1.0 is a syndication (feed) format. The specification was published December 6, 2000. A module specification has been published for inclusion of licensing information in the feed.

Specifying a License

RSS 1.0 is encoded as RDF/XML. A license may applied to a channel, entry or image by adding an appropriate triple. The predicate should be http://creativecommons.org/ns#license. Older deployments may exist which use http://web.resource.org/cc/ as the root of the Creative Commons namespace.

The following example shows licensing at both the channel and entry levels.


<?xml version="1.0" encoding="utf-8"?> 

<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
  xmlns:cc="http://creativecommons.org/ns#"
  xmlns="http://purl.org/rss/1.0/"
> 

  <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>
    <cc:license rdf:resource="http://www.creativecommons.org/licenses/example1" />

    <items>
      <rdf:Seq>
        <rdf:li resource="http://c.moreover.com/click/here.pl?r123" />
      </rdf:Seq>
    </items>

  </channel>

  <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>
    <cc:license rdf:resource="http://www.creativecommons.org/licenses/example2" />
  </item> 
</rdf:RDF>

Additional Metadata

Note that this is a draft we are currently working on; this notice will be removed after collecting feedback.

A web statement provides additional confidence regarding metadata assertions. morePermissions allows content creators to provide a link to a URL where additional permissions, beyond those provided by the license, may be secured.

RSS 1.0 is RDF+XML, which allows additional metadata to be specified for individual objects.

The following example demonstrates providing a verification URL (web statement) as well as a URL where users may find information regarding additional permissions.


  <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>
    <cc:license rdf:resource="http://www.creativecommons.org/licenses/example2" />

    <cc:morePermissions rdf:resource="http://example.org/pay_me" />
    <xapRights:WebStatement rdf:resource="http://example.org/more_info" />

  </item> 

Note that this example uses an additional namespace, xapRights, which is defined as http://ns.adobe.com/xap/1.0/rights/.

Use with Enclosures

Enclosures (multimedia attachments to a feed) are specified for RSS 1.0 by mod_enclosure. License, verification (web statement) and more permissions metadata can be provided as with entries.


<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:enc="http://purl.oclc.org/net/rss_2.0/enc#"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:foaf="http://xmlns.com/foaf/0.1/"
  xmlns:cc="http://web.resource.org/cc/"
  xmlns="http://purl.org/rss/1.0/">
  ...
  <item rdf:about="http://foo.bar/baz">
    <title>There's no pleasing some people..</title>
    ...
    <enc:enclosure rdf:resource="http://foo.bar/baz.mp3" enc:type="audio/mpeg" enc:length="65535"/>
  </item>
        
  <enc:Enclosure rdf:about="http://foo.bar/baz.mp3">
    <dc:creator foaf:mbox_sha1sum="928de0d623d7f6f073a8d84d8c269f2051af29d6" foaf:name="Suzan Foster"/>
    <cc:license rdf:resource="http://creativecommons.org/licenses/by-nc-nd/2.0/"/>
  </enc:Enclosure>
        
  <cc:License rdf:about="http://creativecommons.org/licenses/by-nc-nd/2.0/">
    <cc:permits rdf:resource="http://web.resource.org/cc/Reproduction"/>
    <cc:permits rdf:resource="http://web.resource.org/cc/Distribution"/>
    <cc:permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/>               
    <cc:requires rdf:resource="http://web.resource.org/cc/Notice"/>
    <cc:requires rdf:resource="http://web.resource.org/cc/Attribution"/>
  </cc:License>   
  ...
</rdf:RDF>