160 likes | 311 Views
OAI-ORE: Discovery <http://www.openarchives.org/ore/toc>. OAI-ORE is funded by the Andrew W. Mellon Foundation, the National Science Foundation, JISC, and Microsoft.
E N D
OAI-ORE: Discovery <http://www.openarchives.org/ore/toc> OAI-ORE is funded by the Andrew W. Mellon Foundation, the National Science Foundation, JISC, and Microsoft The ORE Editors are: Carl Lagoze (Cornell U.), Herbert Van de Sompel (LANL), Pete Johnston (Eduserv Found.), Michael Nelson (Old Dominion University), Robert Sanderson (U. of Liverpool), Simeon Warner (Cornell U.)
Resource Map Discovery: Outline • Batch Discovery • Atom Feeds, OAI-PMH, SiteMaps, • Embedding Discovery Links • With HTML “link” element • With HTTP “Link” response header
Batch Discovery • There are several techniques to expose batches of Resource Maps: • Atom Feed in which Entries are Resource Maps serialized in Atom • OAI-PMH in which records are Resource Maps (Atom and/or RDF/XML) • SiteMaps in which URLs point at Resource Maps (Atom and/or RDF/XML)
Atom Feed ReM
Atom Feed Feed ReM ReM <?xml version="1.0" encoding="UTF-8"?> <atom:feed xmlns:atom="http://www.w3.org/2005/Atom"> <atom:author> <atom:name>arXiv.org e-Print Repository</atom:name> <atom:uri>http://arXiv.org</atom:uri> </atom:author> <atom:id>tag:arxiv.org,2008:astro-ph</atom:id> <atom:updated>2008-10-03T07:30:34Z</atom:updated> <atom:title>arXiv.org Atrophysics Feed</atom:title> <atom:entry> <atom:id>tag:arxiv.org,2008:astro-ph:0601007</atom:id> <atom:link href="http://arxiv.org/aggregation/astro-ph/0601007 rel="http://www.openarchives.org/ore/terms/describes"/> <atom:category term="http://www.openarchives.org/ore/terms/Aggregation” scheme="http://www.openarchives.org/ore/terms/"/> <atom:link href="http://arxiv.org/abs/astro-ph/0601007" rel="alternate"/> <atom:author> <atom:name>Hui Li</atom:name> </atom:author> <!-- ... --> </atom:entry> <atom:entry> <atom:id>tag:arxiv.org,2008:astro-ph:0601008</atom:id> <atom:link href="http://arxiv.org/aggregation/astro-ph/0601008” rel="http://www.openarchives.org/ore/terms/describes"/> <atom:category term="http://www.openarchives.org/ore/terms/Aggregation" scheme="http://www.openarchives.org/ore/terms/"/> <atom:link href="http://arxiv.org/abs/astro-ph/0601008" rel="alternate"/> <atom:author> <atom:name>Renyue Cen</atom:name> </atom:author> <!-- ... --> </atom:feed>
MUST NOT equal ReM /entry/id MUST be equal to ReM modification time ( /entry/updated in Atom) OAI-PMH http://www.foo.edu/oai?verb=ListRecords&metadataPrefix=oai_rem_atom <?xml version="1.0" encoding="UTF-8"?> <OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"> <responseDate>2007-02-08T08:55:46Z</responseDate> <request verb=”ListRecords” metadataPrefix="oai_rem_atom"> http://foo.edu/oai2</request> <ListRecords> <record> <header> <identifier>oai:foo.edu:object1</identifier> <datestamp>2007-01-06</datestamp> </header> <metadata> <!-- Insert ReM here --> </metadata> </record> . . . </ListRecords> </OAI-PMH>
need a gateway to: 1. strip off OAI-PMH wrappers 2. return just what is inside <metadata> 3. reset the MIME type (e.g., from application/xml to application/atom+xml ) OAI-PMH GetRecord points at ReM … almost http://www.foo.edu/oai?verb=GetRecord&identifier=oai:foo.edu:object1& metadataPrefix=oai_rem_atom <?xml version="1.0" encoding="UTF-8"?> <OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"> <responseDate>2007-02-08T08:55:46Z</responseDate> <request verb="GetRecord" identifier="oai:foo.edu:object1" metadataPrefix="oai_rem_atom">http://foo.edu/oai2</request> <GetRecord> <record> <header> <identifier>oai:foo.edu:object1</identifier> <datestamp>2007-01-06</datestamp> </header> <metadata> <!-- Insert ReM here --> </metadata> </record> </GetRecord> </OAI-PMH>
MUST equal URI-R ( /entry/link[@rel="self"]/@href in Atom) MUST be equal to ReM modification time ( /entry/updated in Atom) SiteMaps http://www.foo.edu/sitemap-rem.xml <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>http://www.foo.edu/objects/object1.atom</loc> <lastmod>2007-01-06</lastmod> </url> <url> <loc>http://www.foo.edu/objects/object2.atom</loc> <lastmod>2007-08-11</lastmod> <changefreq>weekly</changefreq> </url> <url> <loc>http://www.foo.edu/objects/object3.atom</loc> <lastmod>2007-03-15T18:30:02Z</lastmod> <priority>0.3</priority> </url> ... </urlset> remember SiteMap path limitation: http://www.foo.edu/a/b/sitemap-rem.xml can list http://www.foo.edu/a/b/bar2.atom but not http://www.foo.edu/bar1.atom
Embedding Discovery Links • Starting with a Web resource (say a splash page), how to find the associated Aggregations(s)? • HTML <link> element • HTTP Response Headers • Display it …
HTML <link>: one ReM <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <title>[astro-ph/0601007] Parametrization of K-essence and Its Kinetic Term</title> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <link rel="stylesheet" type="text/css" media="screen" href="/css/arXiv.css" /> <link rel=”resourcemap" type=”application/atom+xml" href=“http://arxiv.org/rem/atom/astro-ph/0601007" /> </head> <body> <div id="header"> <h1><a href="/">arXiv.org</a> > <a href="/list/astro-ph/recent">astro-ph</a> > arXiv:astro-ph/0601007</h1> … </body>
HTML <link>: two ReMs <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <title>[astro-ph/0601007] Parametrization of K-essence and Its Kinetic Term</title> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <link rel="stylesheet" type="text/css" media="screen" href="/css/arXiv.css" /> <link rel=”resourcemap" type=”application/atom+xml" href=“http://arxiv.org/rem/atom/astro-ph/0601007" /> <link rel=”resourcemap" type=”application/rdf+xml" href=“http://arxiv.org/rem/rdf/astro-ph/0601007" /> </head> <body> <div id="header"> <h1><a href="/">arXiv.org</a> > <a href="/list/astro-ph/recent">astro-ph</a> > arXiv:astro-ph/0601007</h1> … </body>
HTML <link>: a ReM and a Feed <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <title>[astro-ph/0601007] Parametrization of K-essence and Its Kinetic Term</title> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <link rel="stylesheet" type="text/css" media="screen" href="/css/arXiv.css" /> <link rel=”resourcemap" type=”application/atom+xml" href=“http://arxiv.org/rem/atom/astro-ph/0601007" /> <link rel=”alternate" type=”application/atom+xml" href=“http://arxiv.org/feed/astro-ph" /> </head> <body> <div id="header"> <h1><a href="/">arXiv.org</a> > <a href="/list/astro-ph/recent">astro-ph</a> > arXiv:astro-ph/0601007</h1> … </body>
HTML <link>: an RDFa ReM <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <title>[astro-ph/0601007] Parametrization of K-essence and Its Kinetic Term</title> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <link rel="stylesheet" type="text/css" media="screen" href="/css/arXiv.css" /> <link rel=”resourcemap self" type=”application/xhtml+xml" href=“http://arxiv.org/abs/astro-ph/0601007#rem" /> </head> <body> <div id="header"> <h1><a href="/">arXiv.org</a> > <a href="/list/astro-ph/recent">astro-ph</a> > arXiv:astro-ph/0601007</h1> … </body>
Display the URI LANL’s djatoka image server. See http://dx.doi.org/10.1045/september2008-chute