Hi Giuseppe ,
we had the same question several years ago, and addressed it in the
'bluenetMEST' branch of geonetwork. [ available for download from
http://anzlicmet.bluenet.utas.edu.au/ ]
Our problem was broader: we wanted our users in Geonetwork to be able to
filter their search so that only records with data attached (whether as
uploaded files, or linked-to usinh ftp ot http) were returned.
We also wanted all these records to show a "data for download" button that
takes the user to a list all the files/ urls available from that record.
OUR SOLUTION:
In that blueNetMEST software, we have added the ISO19115 profile called the
'Marine Community Profile (MCP)'. In the MCP, we added some additional
choices to the Distribution/transferOptions/onlineResource/protocol
codelist, namely:
- for files uploaded to GeoNetwork, instead of just 'File for download', we
offer the options of 'Data file for download' and 'Other file for download'.
- for ftp/http sites ,instead of just 'Web address url', we added 'Data for
download [URL]' [and we use that one for both http and ftp addresses that
link directly to data file(s) ]
We changed the indexing and software so that
- a "DATA DOWNLOAD" button appears for records that use "Dataifile for
download' (uploaded files) or "data for Download (URL)' protocol.
- a "DOWNLOAD" button appears, where a record has a 'non-data' file uploaded
to GeoNetwork, and the "Other file for download' protocol has been used.
You can see a demo of this by going to
http://mest121.emii.org.au/geonetwork/
(a test 'bluenetMEST software' instance we run) and searching for the term
'samplemetadata'
In the ADVANCED SEARCH page, if you tick the "data for download" box, the
search only finds records using 'data for download' or 'data for download
(URL)' protocols.
(a shortcut url is:
http://mest121.emii.org.au/geonetwork/srv/en/search.external?title=samplemetadata&download=on
Hope this helps.
As an aside: we amended the software so that the "file upload" function is
used to provide seamless file access to 'select' files stored on a password
protected /secure ftp site. But I dont think this is what you are after,
from your email.
Feel free to email me if you have any queries about it,
Kate Roberts
(kate.roberts@anonymised.com )
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Download-data-button-option-for-batch-imported-metadata-tabs-tp5919507p5921374.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.