tubackkhoa / gbif-dataportal

Automatically exported from code.google.com/p/gbif-dataportal
0 stars 1 forks source link

Display and download possibility for full record details as served by provider #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As stated in bugzilla

(Add sending of live requests to providers' datasources, display of full
record details in the Portal UI, possibility to download full record
details (Darwin Core or ABCD) as supplied by providers.)

This is implemented already but just gives back the raw xml message but
might need styling.

There is still a pending issue to check:

--------------------------------------

This does not seem to work in all cases. See, e.g.,
http://portaldev.gbif.org/occurrence/93029/: the result comes back with 0 hits.
A test provider-side, however, does work if the request is sent against a
combination of the three ID values:

<?xml version='1.0' encoding='UTF-8'?>
<request xmlns='http://www.biocase.org/schemas/protocol/1.3'>
  <header><type>search</type></header>
  <search>
    <requestFormat>http://www.tdwg.org/schemas/abcd/2.06</requestFormat>
    <responseFormat start='0'
limit='10'>http://www.tdwg.org/schemas/abcd/2.06</responseFormat>
      <filter><and><and>
<like path='/DataSets/DataSet/Units/Unit/UnitID'>M-0018785</like><like
path='/DataSets/DataSet/Units/Unit/SourceInstitutionID'>M</like></and><like
path='/DataSets/DataSet/Units/Unit/SourceID'>BSMeryscoll</like></and>
      </filter>
      <count>false</count>
  </search>
</request>

Original issue reported on code.google.com by josecua...@gmail.com on 31 Jul 2009 at 12:43

GoogleCodeExporter commented 9 years ago
The query used now for ABCD providers is different from the one quoted 
originally in this issue. Apparently it now uses the wrong concept 
DatasetTitle, but with the values for SourceID in the filters, for example

<abcd:SourceInstitutionID>MNHM</abcd:SourceInstitutionID>
<abcd:DatasetTitle>MNHM-Botany</abcd:DatasetTitle>
<abcd:UnitID>H-JM 6676</abcd:UnitID>

Original comment by joerg.ho...@gmail.com on 23 Apr 2012 at 10:00