RDF Site Summary 1.0 Modules: Streaming

Author

Ben Hammersley, benhammersley.com

Version

Latest Version: http://hacks.benhammersley.com/rss/streaming/

1.2 2002-03-14 - Addition of codec.Resolution, codec.sampleRate and codec.Stereo elements
1.0.1 2002-03-07 - Clarification of points, following discussion on rss-dev
1.0 2002-03-05

Status

Proposed

- Comments should be directed to the

RSS-DEV mailing list,

Rights

Copyright © 2002 by the Author.

Permission to use, copy, modify and distribute this RDF Site Summary 1.0 Module 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 this RDF Site Summary 1.0 Module Specification and accompanying documentation and does not extend to the RSS Module's format itself.

Description

This module addresses the additional needs of streaming-media providers. It is seen as an addition to existing standard and proposed modules, especially Dublin Core.

The main features involve the associated application for the media stream, the codec the stream is encoded with and additional tags for the segmentation of live/continual broadcasts.

It is predominantly technical/practical information: I envisage information such as music style, video content, contributors and rights-management to be dealt with by Dublin Core etc.

Namespace Declarations

Model

<channel> and <item> Elements:

Example

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

<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
  xmlns:str="http://hacks.benhammersley.com/rss/streaming/"
  xmlns="http://purl.org/rss/1.0/"
> 

  <channel rdf:about="http://www.streamsRus.com/">
    <title>Streams R Us</title>
    <link>http://www.streamsRus.com</link>
    <description>Streams R Us: An Entirely Fictional Site</description>
    <str:type>both</str:type>

    <image rdf:resource="http://www.streamsRus.com/icons/stream.jpg" />

    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://www.streamsRus.com/example.ram" />
        <rdf:li rdf:resource="http://www.streamsRus.com/example2.mp3" />
        <rdf:li rdf:resource="http://www.streamsRus.com/example3.mov" />
      </rdf:Seq>
    </items>

    <textinput rdf:resource="http://meerkat.oreillynet.com" />

  </channel>

  <item rdf:about="http://www.streamsRus.com/example.ram">
    <title>RSS Rocks Out</title> 
    <link>http://www.streamsRus.com/example.ram</link>
    <str:associatedApplication>realplayer</str:associatedApplication>
    <str:associatedApplication.downloadUri>http://www.real.com/</str:associatedApplication.downloadUri>
    <str:duration>00:04:30</str:duration>
    <str:live>recorded</str:live>
  </item> 


  <item rdf:about="http://www.streamsRus.com/example2.ram">
    <title>RSS Rocks Out Live</title> 
    <link>http://www.streamsRus.com/example2.mp3</link>
    <str:associatedApplication>winamp</str:associatedApplication>
    <str:associatedApplication.downloadUri>http://www.winamp.com/</str:associatedApplication.downloadUri>
    <str:duration>00:04:30</str:duration>
    <str:live>live</str:live>
    <str:live.scheduledStartTime>2002:04:03T00:00:00Z</str:scheduledStartTime>
    <str:live.scheduledEndTime>2002:04:03T00:04:30Z</str:scheduledEndTime>
  </item> 
  
  <item rdf:about="http://www.streamsRus.com/example3.mov">
    <title>RSS Rocks Out Live on Video</title> 
    <link>http://www.streamsRus.com/example2.mov</link>
    <str:type>video</str:type>
    <str:codec>sorenson</str:codec>
    <str:associatedApplication>Quicktime</str:associatedApplication>
    <str:associatedApplication.downloadUri>http://www.apple.com/quicktime</str:associatedApplication.downloadUri>
    <str:duration>00:02:32</str:duration>
    <str:live>live</str:live>
    <str:live.scheduledStartTime>2002:04:03T00:00:00Z</str:scheduledStartTime>
    <str:live.scheduledEndTime>2002:04:03T00:02:32Z</str:scheduledEndTime>
    <str:codec.ResolutionX>600</str:codec.ResolutionX>
    <str:codec.ResolutionY>400</str:codec.ResolutionY>
    <str:live.ContactUri>mailto:ben@benhammersley.com</str:live.contact.Uri>
  </item>   
  


</rdf:RDF>