| 44 | <OpenSearchDescription> |
| 45 | <ShortName>[AtomServiceFeed:feed.title]</ShortName> |
| 46 | <Description>[AtomServiceFeed:feed.title]</Description> |
| 47 | <!--URL of this document--> |
| 48 | <Url type="application/OpenSearchDescription+xml" rel="self" template="http://nationaalgeoregister.nl/opensearch/[ServiceMetadata:fileIdentifier]/OpenSearchDescription.xml"/> |
| 49 | <!--Generic URL template for browser integration--> |
| 50 | <Url type="application/atom+xml" rel="results" template="http://nationaalgeoregister.nl/opensearch/[ServiceMetadata:fileIdentifier]/search?q={searchTerms}"/> |
| 51 | |
| 52 | <!-- repeat for each Atom dataset feed --> |
| 53 | <!--Describe Spatial Data Set Operation request URL template to be used |
| 54 | in order to retrieve the Description of Spatial Object Types in a Spatial |
| 55 | Dataset--> |
| 56 | <Url type="application/atom+xml" rel="describedby" template="http://nationaalgeoregister.nl/opensearch/[ServiceMetadata:fileIdentifier]/search?spatial_dataset_identifier_code={inspire_dls:spatial_dataset_identifier_code?}&spatial_dataset_identifier_namespace={inspire_dls:spatial_dataset_identifier_namespace?}&language={language?}&q={searchTerms?}"/> |
| 57 | |
| 58 | <!-- repeat step for each attached dataset --> |
| 59 | <!--Get Spatial Data Set Operation request URL template to be used in |
| 60 | order to retrieve a Spatial Dataset--> |
| 61 | <!-- For download of GML files, use this template. --> |
| 62 | <Url type="application/gml+xml;version=3.2" rel="results" template="http://nationaalgeoregister.nl/opensearch/[ServiceMetadata:fileIdentifier]/search?spatial_dataset_identifier_code={inspire_dls:spatial_dataset_identifier_code?}&spatial_dataset_identifier_namespace={inspire_dls:spatial_dataset_identifier_namespace?}&crs={inspire_dls:crs?}&language={language?}&q={searchTerms?}"/> |
| 63 | <!-- format differentiation. If multiple formats are supported (for the same CRS), return an Atom feed containing multiple links. In that case use results="application/atom+xml" for multiple downloadable files. --> |
| 64 | <Url type="application/atom+xml" rel="results" template="http://nationaalgeoregister.nl/opensearch/[ServiceMetadata:fileIdentifier]/search?spatial_dataset_identifier_code={inspire_dls:spatial_dataset_identifier_code?}&spatial_dataset_identifier_namespace={inspire_dls:spatial_dataset_identifier_namespace?}&crs={inspire_dls:crs?}&language={language?}&q={searchTerms?}"/> |
| 65 | <!-- Voor elke Service Feed de contactgegevens --> |
| 66 | <Contact>[AtomServiceFeed:author.name]</Contact> |
| 67 | <Tags>[ServiceMetadata.Keywords]</Tags> |
| 68 | <LongName>[AtomServiceFeed:feed.subtitle]</LongName> |
| 69 | |
| 70 | <!-- repeat for each dataset dataset and crs --> |
| 71 | <Query role="example" inspire_dls:spatial_dataset_identifier_namespace="[AtomServiceFeed:feed.entry.inspire_dls:spatial_dataset_identifier_namespace]" inspire_dls:spatial_dataset_identifier_code="[AtomServiceFeed:feed.entry.inspire_dls:spatial_dataset_identifier_code]" inspire_dls:crs="[AtomDatasetFeed:feed.entry.category@term]" language="[AtomDatasetFeed:feed.entry.link[rel=”alternate”]@xml:lang]" title="[AtomDatasetFeed:feed.entry.title]" count="1"/> |
| 72 | |
| 73 | <!-- per Atom Service feed / Service metadata record combination: --> |
| 74 | <Developer>[AtomServiceFeed:author.name]</Developer> |
| 75 | <!--Languages supported by the service. The first language is the default language--> |
| 76 | <Language>[AtomServiceFeed:feed.title@xml:lang]</Language> |
| 77 | |
| 78 | }}} |
| 79 | |
| 80 | {{{ |
132 | | |
133 | | '''TODO:''' |
134 | | |
135 | | * create Atom output format (new rss.detail endpoint using custom xslt) |
136 | | * Add option to iso19115 'online resource' section to auto generate a hyperlink to an Atom feed referring to the uploaded dataset |
137 | | * Add option to harvest iso19115/iso19119 metadata from an Atom Feed |
138 | | * If online resource section contains atom link, present as human readable in metadata record view |
139 | | * filter by iso19119-uuid |
140 | | * filter by "inspire compliency"? |
141 | | * Complience testing |
| 172 | ''' Link to Inspire thesaurus ''' |
| 173 | |
| 174 | A reference should be made from the ATOM feed to a SKOS/RDF thesaurus on the JRC website (http://inspire-registry.jrc.ec.europa.eu/registers/FCD). This thesaurus has a format currently not supported by geonetwork (each term is in a separate web location, the central document only has a list of links/identifiers). We might be able to support the format if with an upgrade of Sesame. Else we should transform the thesaurus to a readable format. A user should at least include a single keyword from this thesaurus in each record, that dhouls have an Aton document generated by geonetwork. Most probably in a new version of the discovery service specification a link to this thesaurus will be required anyway. |
| 175 | |
| 176 | '''Other challenges when generating Inpire compliant Atom documents''' |
| 177 | |
| 178 | * The Atom feed should have some indication of filesize of the download, we might be able to find this info with a java function (if the file resides on the geonetwork server). This kind of info can also be filled in iso19115 ( transfersize), but it seems a total of all files attached to the record. |
| 179 | * multilingual support, how to register the language of the external resource (proposal: gmd:online@xlink:role) |
| 180 | * projection (crs) of the download, geonetwork doesn't have "epsg:xxxx" in rs_identifier, and crs seems to be registered for all gmd_online |
| 181 | |