Changeset 8531


Ignore:
Timestamp:
17/08/12 10:42:06 (7 years ago)
Author:
mnagni
Message:

Incomplete - # 22528: Migration of FAtCat Open Search link for HPFeld
 http://team.ceda.ac.uk/trac/ceda/ticket/22528

update the homepage

Location:
mauRepo/HPFos/trunk/hpfos/HPFos/template
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/HPFos/trunk/hpfos/HPFos/template/homeTemplate

    r8359 r8531  
    1 --------> <a href='{{ hostURL }}/search/description'> get the description </a> 
    2 <br/> 
    3 <br/> 
    4 <br/> 
    5 --------> <a href='{{ hostURL }}/search/atom'> do a search </a> 
     1<html xmlns:v="urn:schemas-microsoft-com:vml" 
     2xmlns:o="urn:schemas-microsoft-com:office:office" 
     3xmlns:w="urn:schemas-microsoft-com:office:word" 
     4xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 
     5xmlns="http://www.w3.org/TR/REC-html40"> 
     6 
     7<body lang=EN-GB link=blue vlink=purple style='tab-interval:36.0pt'> 
     8 
     9<h1><span style='mso-fareast-font-family:"Times New Roman";color:black'>Description<o:p></o:p></span></h1> 
     10 
     11<p><span style='font-size:7.0pt;font-family:"Verdana","sans-serif";color:black'>The HPFos 
     12is an Opensearch (OS) engine able to select ObservationCollections and 
     13Observations from the Ceda Metacatalog. The applicaiton is composed by <o:p></o:p></span></p> 
     14 
     15<ul type=disc> 
     16 <li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt: 
     17     auto;mso-list:l3 level1 lfo3;tab-stops:list 36.0pt'><span 
     18     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     19     "Times New Roman"'><a href="https://github.com/kusamau/cedaMarkup">cedaMarkup</a> 
     20     which acts a OS engine <o:p></o:p></span></li> 
     21 <li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt: 
     22     auto;mso-list:l3 level1 lfo3;tab-stops:list 36.0pt'><span 
     23     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     24     "Times New Roman"'>Django as HTTP server <o:p></o:p></span></li> 
     25 <li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt: 
     26     auto;mso-list:l3 level1 lfo3;tab-stops:list 36.0pt'><span 
     27     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     28     "Times New Roman"'>SQLAlchemy as mediator with the Ceda Metacatalog <o:p></o:p></span></li> 
     29</ul> 
     30 
     31<h2 id=TheOSDescription><span style='mso-fareast-font-family:"Times New Roman"; 
     32color:black'>The OS Description<o:p></o:p></span></h2> 
     33 
     34<p><span style='font-size:7.0pt;font-family:"Verdana","sans-serif";color:black'>The 
     35actual OS query description is <o:p></o:p></span></p> 
     36 
     37<div style='border:solid #D7D7D7 1.0pt;padding:3.0pt 3.0pt 3.0pt 3.0pt'><pre 
     38style='margin-top:12.0pt;margin-right:21.0pt;margin-bottom:12.0pt;margin-left: 
     3921.0pt;background:#F7F7F7'><span style='color:black'>&lt;!OpenSearchDescription xmlns=&quot;<a 
     40href="http://a9.com/-/spec/opensearch/1.1/">http://a9.com/-/spec/opensearch/1.1/</a>&quot; xmlns:a0=&quot;<a 
     41href="http://a9.com/-/opensearch/extensions/geo/1.0/">http://a9.com/-/opensearch/extensions/geo/1.0/</a>&quot; xmlns:a1=&quot;<a 
     42href="http://a9.com/-/opensearch/extensions/time/1.0/">http://a9.com/-/opensearch/extensions/time/1.0/</a>&quot;&gt;<o:p></o:p></span></pre><pre 
     43style='margin-top:12.0pt;margin-right:21.0pt;margin-bottom:12.0pt;margin-left: 
     4421.0pt;background:#F7F7F7'><span style='color:black'>&nbsp; &lt;Url template=&quot;<a 
     45href="http:///HPFos/search/atom?count=%7bcount?%7d&amp;amp;startPage=%7bstartPage?%7d&amp;amp;startIndex=%7bstartIndex?%7d&amp;amp; 
     46q=%7bsearchTerms?%7d&amp;amp;uid=%7ba0:uid?%7d&amp;amp;bbox=%7ba0:bbox?%7d&amp;amp;start=%7ba0:start?%7d&amp;amp;stop=%7ba1:stop?%7d">http://citest1.jc.rl.ac.uk/HPFos/search/atom?count={count?}&amp;amp;startPage={startPage?}&amp;amp;startIndex={startIndex?}&amp;amp;q={searchTerms?}&amp;amp;uid={a0: 
     47uid?}&amp;amp;bbox={a0:bbox?}&amp;amp;start={a0:start?}&amp;amp;stop={a1:stop?}</a>&quot; 
     48type=&quot;application/atom+xml&quot;/&gt;<o:p></o:p></span></pre><pre 
     49style='margin-top:12.0pt;margin-right:21.0pt;margin-bottom:12.0pt;margin-left: 
     5021.0pt;background:#F7F7F7'><span style='color:black'>&lt;/OpenSearchDescription&gt;<o:p></o:p></span></pre></div> 
     51 
     52<h2 id=Parameterdescription><span style='mso-fareast-font-family:"Times New Roman"; 
     53color:black'>Parameter description<o:p></o:p></span></h2> 
     54 
     55<ul type=disc> 
     56 <li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt: 
     57     auto;mso-list:l2 level1 lfo6;tab-stops:list 36.0pt'><strong><span 
     58     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     59     "Times New Roman";mso-bidi-font-family:Calibri'>count</span></strong><span 
     60     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     61     "Times New Roman"'>: the number of search results per page desired by the 
     62     search client <o:p></o:p></span></li> 
     63 <li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt: 
     64     auto;mso-list:l2 level1 lfo6;tab-stops:list 36.0pt'><strong><span 
     65     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     66     "Times New Roman";mso-bidi-font-family:Calibri'>startIndex</span></strong><span 
     67     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     68     "Times New Roman"'>: the index of the first search result desired by the 
     69     search client <o:p></o:p></span></li> 
     70 <li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt: 
     71     auto;mso-list:l2 level1 lfo6;tab-stops:list 36.0pt'><strong><span 
     72     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     73     "Times New Roman";mso-bidi-font-family:Calibri'>startPage</span></strong><span 
     74     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     75     "Times New Roman"'>: the page number of the set of search results desired 
     76     by the search client <o:p></o:p></span></li> 
     77 <li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt: 
     78     auto;mso-list:l2 level1 lfo6;tab-stops:list 36.0pt'><strong><span 
     79     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     80     "Times New Roman";mso-bidi-font-family:Calibri'>searchTerm</span></strong><span 
     81     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     82     "Times New Roman"'>: the keyword or keywords desired by the search client 
     83     (not implemented yet) <o:p></o:p></span></li> 
     84 <li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt: 
     85     auto;mso-list:l2 level1 lfo6;tab-stops:list 36.0pt'><strong><span 
     86     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     87     "Times New Roman";mso-bidi-font-family:Calibri'>uid</span></strong><span 
     88     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     89     "Times New Roman"'>: an unique identifier (not implemented) <o:p></o:p></span></li> 
     90 <li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt: 
     91     auto;mso-list:l2 level1 lfo6;tab-stops:list 36.0pt'><strong><span 
     92     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     93     "Times New Roman";mso-bidi-font-family:Calibri'>bbox</span></strong><span 
     94     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     95     "Times New Roman"'>: a bounding box (west, south, east, north) <o:p></o:p></span></li> 
     96 <li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt: 
     97     auto;mso-list:l2 level1 lfo6;tab-stops:list 36.0pt'><strong><span 
     98     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     99     "Times New Roman";mso-bidi-font-family:Calibri'>start</span></strong><span 
     100     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     101     "Times New Roman"'>: a string of the beginning of the time slice of the 
     102     search query. This string should match the RFC-3339 - Date and Time on the 
     103     Internet: Timestamps, which is also used by the Atom syndication format 
     104     (not implemented) <o:p></o:p></span></li> 
     105 <li class=MsoNormal style='color:black;mso-margin-top-alt:auto;mso-margin-bottom-alt: 
     106     auto;mso-list:l2 level1 lfo6;tab-stops:list 36.0pt'><strong><span 
     107     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     108     "Times New Roman";mso-bidi-font-family:Calibri'>stop</span></strong><span 
     109     style='font-size:7.0pt;font-family:"Verdana","sans-serif";mso-fareast-font-family: 
     110     "Times New Roman"'>: a string of the beginning of the time slice of the 
     111     search query. This string should match the RFC-3339 - Date and Time on the 
     112     Internet: Timestamps, which is also used by the Atom syndication format 
     113     (not implemented) <o:p></o:p></span></li> 
     114</ul> 
     115 
     116<h1 id=EXAMPLES><span style='mso-fareast-font-family:"Times New Roman"; 
     117color:black'>EXAMPLES<o:p></o:p></span></h1> 
     118 
     119<p><span style='font-size:7.0pt;font-family:"Verdana","sans-serif";color:black'><a 
     120href="http://citest1.jc.rl.ac.uk/HPFos/search/atom"><span class=icon><span 
     121style='color:#BB0000;text-decoration:none;text-underline:none'>&nbsp;</span></span>All 
     122the CEDA_ObservationCollections</a> Uses the standard 10 items per page 
     123default. The total items number is 42. The value is visible looking at the page 
     124source and looking for the os:totalResults tag) <o:p></o:p></span></p> 
     125 
     126<p><span style='font-size:7.0pt;font-family:"Verdana","sans-serif";color:black'><a 
     127href="http://citest1.jc.rl.ac.uk/HPFos/search/atom?count=5"><span class=icon><span 
     128style='color:#BB0000;text-decoration:none;text-underline:none'>&nbsp;</span></span>All 
     129the CEDA_ObservationCollections, count=5</a> <o:p></o:p></span></p> 
     130 
     131<p><span style='font-size:7.0pt;font-family:"Verdana","sans-serif";color:black'><a 
     132href="http://citest1.jc.rl.ac.uk/HPFos/search/atom/?count=5&amp;startIndex=1"><span 
     133class=icon><span style='color:#BB0000;text-decoration:none;text-underline:none'>&nbsp;</span></span>All 
     134the CEDA_ObservationCollections, count=5, startIndex=1</a> (the result is 
     135identical to the previous) <o:p></o:p></span></p> 
     136 
     137<p><span style='font-size:7.0pt;font-family:"Verdana","sans-serif";color:black'><a 
     138href="http://citest1.jc.rl.ac.uk/HPFos/search/atom/?count=5&amp;startIndex=1&amp;startPage=1"><span 
     139class=icon><span style='color:#BB0000;text-decoration:none;text-underline:none'>&nbsp;</span></span>All 
     140the CEDA_ObservationCollections, count=5, startIndex=1, startPage=1</a> (the 
     141result is identical to the previous) <o:p></o:p></span></p> 
     142 
     143<p><span style='font-size:7.0pt;font-family:"Verdana","sans-serif";color:black'><a 
     144href="http://citest1.jc.rl.ac.uk/HPFos/search/atom/?count=alotofitems&amp;startIndex=1&amp;startPage=1"><span 
     145class=icon><span style='color:#BB0000;text-decoration:none;text-underline:none'>&nbsp;</span></span>All 
     146the CEDA_ObservationCollections, count=alotofitems, startIndex=1, startPage=1</a> 
     147(the result is identical to the previous because the count parameter generated 
     148an error forcing the OS engine to use the default count number) <o:p></o:p></span></p> 
     149 
     150<h2 id="geo:bbox"><span style='mso-fareast-font-family:"Times New Roman"; 
     151color:black'>geo:bbox<o:p></o:p></span></h2> 
     152 
     153<p><span style='font-size:7.0pt;font-family:"Verdana","sans-serif";color:black'><a 
     154href="http://citest1.jc.rl.ac.uk/HPFos/search/atom/?bbox=90,30,70,30&amp;count=20"><span 
     155class=icon><span style='color:#BB0000;text-decoration:none;text-underline:none'>&nbsp;</span></span>All 
     156the CEDA_ObservationCollection, count=20, bbox=90,30,70,30</a> From the search <a 
     157href="http://citest1.jc.rl.ac.uk/HPFos/search/atom"><span class=icon><span 
     158style='color:#BB0000;text-decoration:none;text-underline:none'>&nbsp;</span></span>http://citest1.jc.rl.ac.uk/HPFos/search/atom</a> 
     159the result n.10 should ï¿œNEXTMap British digital terrain model dataset produced 
     160by Intermapï¿œ which has geographicExtent (3, 61, -9, 49) The previous query 
     161shows that <o:p></o:p></span></p> 
     162 
     163<p><span style='font-size:7.0pt;font-family:"Verdana","sans-serif";color:black'>1) 
     164The results as less than 20 (that is less than 42 which is the total number of 
     165collections) 2) The NEXT Map collection is not in the result (the bbox 
     166explicitly excluded the NEXT MAP extension) <o:p></o:p></span></p> 
     167 
     168</body> 
     169 
     170</html> 
     171 
Note: See TracChangeset for help on using the changeset viewer.