Editing How-To Guide for Implementing ESIP Federated Search Servers

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 90: Line 90:
 
Now, how does the client know which search engine, what dataset identifier to use and whether spatial criteria area allowed?  Easy, it's in the OpenSearch Description Document template described in the following section.
 
Now, how does the client know which search engine, what dataset identifier to use and whether spatial criteria area allowed?  Easy, it's in the OpenSearch Description Document template described in the following section.
 
== Granule Engine OpenSearch Description Documents ==
 
== Granule Engine OpenSearch Description Documents ==
These documents are the key to making the link between the Dataset-level and Granule-level searches.  They describe how to do a space-time query ''for a particular dataset''.  Here's an example:
 
<pre>
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?xml-stylesheet type="text/xsl" href="/xsl/frost.xsl"?>
 
<OpenSearchDescription xmlns:os="http://a9.com/-/spec/opensearch/1.1/"
 
          xmlns:geo="http://a9.com/-/opensearch/extensions/geo/1.0/">
 
  <os:ShortName>AIRX2RET.005</os:ShortName>
 
  <os:Description>Obtain a list of URLs:AIRX2RET.005:</os:Description>
 
  <os:Tags>AIRX2RET.005</os:Tags>
 
  <os:Contact>[email protected]</os:Contact>
 
  <os:Url type="application/atom+xml"
 
      template="http://mirador.gsfc.nasa.gov/cgi-bin/mirador/granlist.pl?dataSet=AIRX2RET.005&amp;page=1&amp;maxgranules={count}&amp;pointLocation={geo:box}&amp;endTime={time:end}&amp;startTime={time:start}&amp;format=atom"/>
 
</OpenSearchDescription>
 
</pre>
 
Note that this URL template searches ''only for AIRX2RET.005'' and no other dataset.
 
Now, you don't have to have a single static OpenSearch Description document for each dataset (though you can).  Some implementations may generate this on the fly, filling in the dataset requested in the appropriate location in the template.
 

WikiText

'''Bold''' | ''Italic'' | [[Wiki Page Name| Text to show]] | [http://external link.com Text to show]
==Heading== | * Bullets list | # Number List | sign ~~~ | sign and date ~~~~

More Wiki Help
Please note that all contributions to Federation of Earth Science Information Partners are considered to be released under the GNU Free Documentation License 1.2 (see Federation of Earth Science Information Partners:Copyrights for details). If you don't want your writing to be edited mercilessly and redistributed at will, then don't submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!

Cancel | Editing help (opens in new window)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox