TNS Internal:CollectionAPI/AtomPub/RecordMultiSourceFeedWalkthrough

From NSDLWiki

Jump to: navigation, search
<?xml version="1.0" encoding='utf-8'?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <id>http://ndr.nsdl.org/collections/NSDL-COLLECTION-1007936</id>
   <updated>2008-07-02T05:09:42.015Z</updated>
   <author>
       <name>Middle School Portal</name>
   </author>
   <logo>1007936.gif</logo>
   <title>Middle School Portal: Math and Science Pathways (MSP2)</title>
   <link rel="self"
       href="http://ndrtest.nsdl.org/api/get/2200/test.20091013181355926T/content" />
   <link rel="related" type="application/atom+xml;type=entry" title="collection"
       href="http://ndrtest.nsdl.org/api/get/2200/test.20091013183756959T/content" />
   <entry>
       <id>http://ndr.nsdl.org/collections/MSP2-000-190-144-700</id>
       <title>Adapting Literacy Strategies to Improve Student Performance on
           Constructed-Response Items</title>
       <updated>2009-10-01T18:10:20.263Z</updated>
       <content type="application/xml"
           src="http://ndr.nsdl.org/api/get/2200/20091001140548327T/format_msp2" />
       <summary>
           This practical article discusses ways of adapting various
           reading
           strategies to help students improve their answers to
           extended-response questions on the mathematics portion of high stakes
           tests. Although initially addressed to Ohio educators, it is
           ultimately directed to all math teachers.
       </summary>
       <category scheme="http://ns.nsdl.org/collections/format"
           term="msp2" />
       <category scheme="http://ns.nsdl.org/collections/type"
           term="record" />
       <link rel="edit" type="application/atom+xml;type=entry"
           href="http://ndrtest.nsdl.org/api/get/2200/test.20091013131209648T/content" />
       <link rel="edit-media" type="application/xml"
           href="http://ndr.nsdl.org/api/get/2200/20091001140548327T/format_msp2" />
      <link rel="via" type="application/atom+xml;type=entry"
           href="http://ndrtest.nsdl.org/api/get/2200/test.20091013183756959T/content" />
       <link rel="enclosure" type="application/xml" title="msp2"
           href="http://ndr.nsdl.org/api/get/2200/20091001140548327T/format_msp2" />
       <link rel="enclosure" type="application/xml" title="nsdl_dc"
           href="http://ndr.nsdl.org/api/get/2200/20091001140548327T/format_nsdl_dc" />

Yes, two formats here. Primary is msp2, though a translation to nsdl_dc is here as well.


       <link rel="related" type="application/xml" title="dcs_data"
           href="http://ndr.nsdl.org/api/get/2200/20091001140548327T/format_dcs_data" />
       <link rel="alternate" type="text/html" title="resource"
           href="http://ohiorc.org/for/math/ogt/article.aspx?articleId=17" />
   </entry>
   <entry>
       <id>http://ndr.nsdl.org/collections/MSP2-000-190-144-699</id>
       <title>Math and Communication</title>
       <updated>2009-10-01T17:59:16.848Z</updated>
       <content type="application/xml"
           src="http://ndr.nsdl.org/api/get/2200/20091001135043149T/format_msp2" />
       <summary>
           A one-pager by the well-respected educator Kay Tolliver on
           the importance of speaking in math class. You’ll find solid tips on
           encouraging and supporting math talk.
       </summary>
       <category scheme="http://ns.nsdl.org/collections/format"
           term="msp2" />
       <category scheme="http://ns.nsdl.org/collections/type"
           term="record" />
       <link rel="edit" type="application/atom+xml;type=entry"
           href="http://ndrtest.nsdl.org/api/get/2200/test.20091013131728326T/content" />
       <link rel="edit-media" type="application/xml"
           href="http://ndr.nsdl.org/api/get/2200/20091001135043149T/format_msp2" />
      <link rel="via" type="application/atom+xml;type=entry"
           href="http://ndrtest.nsdl.org/api/get/2200/test.20091013183756959T/content" />
       <link rel="enclosure" type="application/xml" title="msp2"
           href="http://ndr.nsdl.org/api/get/2200/20091001135043149T/format_msp2" />
       <link rel="enclosure" type="application/xml" title="nsdl_dc"
           href="http://ndr.nsdl.org/api/get/2200/20091001135043149T/format_nsdl_dc" />
       <link rel="related" type="application/xml" title="dcs_data"
           href="http://ndr.nsdl.org/api/get/2200/20091001135043149T/format_dcs_data" />
       <link rel="alternate" type="text/html" title="resource"
           href="http://www.fasenet.org/store/kay_toliver/math_and_communication.htm" />
   </entry>
   <entry>
       <id>http://ndr.nsdl.org/collections/2200/test.20091014195101650T</id>
       <title>Literacy in Math Class</title>
       <updated>2009-10-01T16:52:15.948Z</updated>
       <content type="application/xml"
           src="http://example.org/XXX" />
       <summary type="html">
               Do you ever wonder about the reading skills of your students? See the
               archived version of the <b>Reading Mathematics is
               Different</b> webinar held on September 30. The webinar focused
               on the current interest in adolescent literacy and how literacy
               impacts mathematics education. We examined how mathematics symbols,
               vocabulary, and content presentation can create roadblocks to
               students’ mathematics understanding. Go to&hellip;
       </summary>
       <category scheme="http://ns.nsdl.org/collections/format"
           term="nsdl_dc" />
       <category scheme="http://ns.nsdl.org/collections/type"
           term="record" />
       <category scheme="http://ns.nsdl.org/collections/source"
           term="WebFeedIngest" />

Whoa! What's this? This entry was added by Web Feed Ingest


       <link rel="edit" type="application/atom+xml;type=entry"
           href="http://ndrtest.nsdl.org/api/get/2200/test.20091014195101650T/content" />
       <link rel="edit-media" type="application/xml"
           href="http://example.org/XXX" />
       <link rel="via" type="application/atom+xml;type=entry"
           href="http://ndrtest.nsdl.org/api/get/2200/test.20091013183756959T/content" />


       <link rel="enclosure" type="application/xml" title="format_nsdl_dc"
           href="http://example.org/format_nsdl_dc" />
       <link rel="enclosure" type="application/atom+xml;type=entry" title="native_atom"
           href="http://ndrtest.nsdl.org/api/get/2200/test.20091014195101650T/native_atom.entry.xml" />

WFI (at least in for the sake of argument here, divorced from reality) adds nsdl_dc as the primary format, but adds an enclosure for the raw entry used for the translation. Here, it's an atom entry from a feed from MSP2's web site.


       <link rel="alternate" type="text/html" title="resource"
           href="../index.php/MiddleSchoolPortal/Webinar_Archive#Reading_Mathematics_is_Different" />
   </entry>
</feed>
Personal tools