DiscoverEd Metadata

From Creative Commons
Revision as of 07:02, 22 January 2008 by Ahrash Bissell (talk | contribs) (General)
Jump to: navigation, search


This document outlines the format in which ccLearn would like to receive syndication feeds for the data that will go into our OER database.

The data must be supplied in an Atom or RSS format. These are two very well documented XML formats and are implemented by many content management systems.

NOTE: The sample Atom and RSS feeds below mostly implement the minimum elements required by the respective specification plus the fields that ccLearn needs. For our purposes, a feed must minimally contain the elements in the examples below, but may also contain any other valid elements. Also, though we prefer an Atom feed, there is no reason that another type of feed cannot be used, as long as it is able to include all of the data CC needs AND includes the data in such a way that the Universal Feed Parser can extract it in a normalized way.

Presently, ccLearn is looking for the following data:

  • Link: Full URL of the referenced resource.
  • Title: A brief descriptive title for the resource.
  • Summary: A relatively short summary/synopsis of the resource.
  • License: This should be a URL to the license; e.g.,
  • Grade level (cc:gradelevel): What grade(s) or age-level(s) this material is suitable for.
  • Language (cc:lang): The language(s) of the referenced resource (not of your site).
  • Subject (cc:subject): The subject(s) of the resource; e.g., math.

If you want to use more than one entry for any or all of the grade-level, language, and subject fields, simply comma-separate each annotation.

CC-specific categories (fields)

Some of these fields do not have native Atom or RSS element definitions. For these fields we suggest that they be embedded as tags. In order for us to be able to recognize these within the feed, the tag content should be of the format


For example, the tag for Language would become something like:


Another example for Grade level could be:


The "cc:" specific fields should be embedded precisely as specified above in parentheses:

  • Subject: cc:subject:
  • Grade level: cc:gradelevel:
  • Language: cc:lang:

Specifying Language

When specifying the language for a resource, the value should be specifed as the ISO-639-1 code. For example, en for English. When specifying a national dialect, the IS-3166 alpha-2 code should be appeneded. For example, to distinguish English (United States) from English (United Kindgom), the language would be specified as en-US and en-GB, respectively.

Embedding license data

Since the licensing of a resource is expected to be conveyed via URL, we can leverage the Atom <link> element. However we must markup the link element so as to identify is as a license URL. This is accomplished with adding an the attribute rel="license" to the <link> element. For example:

<link rel="license" href="" />

See the complete CC+Atom documentation for more information.


Atom 1.0 example

Here is a sample, one entry Atom 1.0 feed which implements the guidelines above.

<feed xmlns="">
  <title>OER Aggregation Web Site</title>
  <link rel="self" href="" type="application/atom+xml" />
    <name>John Q. Public</name>
    <link href="" />
    <title>Math 101</title>
    <summary>Basic mathematics for 5th graders</summary>
    <link rel="license" href="" />
    <category term="cc:subject:Math" />
    <category term="cc:gradelevel:5-7" />
    <category term="cc:lang:en" />

RSS 2.0 example

Here is a sample, one entry RSS 2.0 feed which implements the guidelines above.

<?xml version="1.0"?>
<rss version="2.0"
    <title>OER Web Site</title>
    <atom:link rel="self" href="" type="application/atom+xml" />
    <description>OER Aggregation Web Site</description>
    <lastBuildDate>Wed, 16 Jan 2008 15:00:00 -0800</lastBuildDate>
    <webMaster> (John Q. Public)</webMaster>
      <guid isPermaLink="false">,2007-10-15:/math/101</guid>
      <pubDate>Mon, 12 Nov 2007 09:15:00 -0800</pubDate>
      <title>Math 101</title>
      <description>Basic mathematics for 5th graders</description>