Difference between revisions of "Nsidc.ds.osdd"
From Earth Science Information Partners (ESIP)
(New page: ==Sample NSIDC Dataset Level OpenSearch Description Document== <pre> <?xml version="1.0" encoding="UTF-8"?> <!-- OpenSearch description document for nsidc.org. Author: Matthew SA...) |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | [[Opensearch_Strawman_Proposal|back]] | ||
==Sample NSIDC Dataset Level OpenSearch Description Document== | ==Sample NSIDC Dataset Level OpenSearch Description Document== | ||
<pre> | <pre> | ||
| Line 5: | Line 6: | ||
OpenSearch description document for nsidc.org. | OpenSearch description document for nsidc.org. | ||
| − | Author: Matthew | + | Author: Matthew Savoie |
Date: 2009-10-09 | Date: 2009-10-09 | ||
| Line 11: | Line 12: | ||
--> | --> | ||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" | <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" | ||
| − | xmlns: | + | xmlns:time="http://a9.com/-/opensearch/extensions/time/1.0/" |
xmlns:geo="http://a9.com/-/opensearch/extensions/geo/1.0/" > | xmlns:geo="http://a9.com/-/opensearch/extensions/geo/1.0/" > | ||
| Line 42: | Line 43: | ||
indexOffset="1" | indexOffset="1" | ||
pageOffset="1" | pageOffset="1" | ||
| − | template="http://www.nsidc.org/opensearch/1.1/service/variable={searchTerms?}&loc={geo:polygon?}&dtstart={ | + | template="http://www.nsidc.org/opensearch/1.1/service/variable={searchTerms?}&loc={geo:polygon?}&dtstart={time:start?}&dtend={time:end?}&format=html"/> |
<!-- Question: I'm not certain I need the version in the URL or if the | <!-- Question: I'm not certain I need the version in the URL or if the | ||
| Line 48: | Line 49: | ||
two OS versions at the same time? --> | two OS versions at the same time? --> | ||
| − | <!-- Question: | + | <!-- Question: Would we use time:start and time:end since we're going to |
| − | limit times to GMT? | + | limit times to GMT? --> |
| − | |||
<!-- URL Template for ATOM results Dataset level search --> | <!-- URL Template for ATOM results Dataset level search --> | ||
| Line 80: | Line 80: | ||
<Attribution>© 2009 National Snow and Ice Data Center.</Attribution> | <Attribution>© 2009 National Snow and Ice Data Center.</Attribution> | ||
</OpenSearchDescription> | </OpenSearchDescription> | ||
| + | |||
</pre> | </pre> | ||
Latest revision as of 10:49, October 15, 2009
Sample NSIDC Dataset Level OpenSearch Description Document
<?xml version="1.0" encoding="UTF-8"?>
<!--
OpenSearch description document for nsidc.org.
Author: Matthew Savoie
Date: 2009-10-09
Copyright (c) 2009 National Snow and Ice Data Center. All rights reserved.
-->
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:time="http://a9.com/-/opensearch/extensions/time/1.0/"
xmlns:geo="http://a9.com/-/opensearch/extensions/geo/1.0/" >
<!-- Note: nsidc namespace could be esipsearch if we decide to go standard -->
<!-- Admin Details -->
<ShortName>NSIDC Search</ShortName>
<LongName>OpenSearch interface for nsidc.org</LongName>
<Description>This is the opensearch description document that describes how to query our server for dataset level information.</Description>
<Tags>nsidc.org opensearch</Tags>
<Contact>webservices@nsidc.org</Contact>
<!-- Images -->
<!--
2009-10-09: Waiting for a 16x16 icon. And the other should really be 64x64 icon?
-->
<Image width="16" height="16" type="image/x-icon">http://nsidc.org/?</Image>
<Image width="76" height="60" type="image/jpeg">http://nsidc.org/images/logo_nsidc_76x60.jpg</Image>
<!-- URL Template for refreshing this file -->
<Url type="application/opensearchdescription+xml"
rel="self"
template="http://nsidc.org/opensearch/datset"/>
<!-- URL Template for HTML results Dataset level search -->
<Url type="text/html"
rel="results"
indexOffset="1"
pageOffset="1"
template="http://www.nsidc.org/opensearch/1.1/service/variable={searchTerms?}&loc={geo:polygon?}&dtstart={time:start?}&dtend={time:end?}&format=html"/>
<!-- Question: I'm not certain I need the version in the URL or if the
namespace above does everything we need? Would we ever want to have
two OS versions at the same time? -->
<!-- Question: Would we use time:start and time:end since we're going to
limit times to GMT? -->
<!-- URL Template for ATOM results Dataset level search -->
<Url type="text/xml"
rel="results"
indexOffset="1"
pageOffset="1"
template="http://www.nsidc.org/opensearch/1.1/service/variable={searchTerms?}&loc={geo:polygon?}&dtstart={time:start?}&dtend={time:end?}&format=atom"/>
<Url type="text/html"
rel="results"
indexOffset="1"
pageOffset="1"
template="http://www.nsidc.org/opensearch/1.1/service/variable={searchTerms?}&loc={geo:polygon?}&dtstart={time:start?}&dtend={time:end?}&format=html"/>
<!-- Example Queries -->
<Query role="example" variable="Air Temperature" />
<Query role="example" variable="Brightness Temperature"
dtstart="2000-01-01T00:00:00Z"
dtend="2000-01-31T23:59:59Z" />
<!-- Control Params -->
<Language>en-us</Language>
<OutputEncoding>UTF-8</OutputEncoding>
<InputEncoding>UTF-8</InputEncoding>
<SyndicationRight>open</SyndicationRight>
<AdultContent>false</AdultContent>
<Attribution>© 2009 National Snow and Ice Data Center.</Attribution>
</OpenSearchDescription>