Geonetwork Web Services Used By The Thl Map Collections App
<h3 class="heading-h6"><a name="THLToolboxhomegtDevelopersZonegtGisDevelopmentgtGeonetworkWebServicesUsedByTheThlMapCollectionsApp" class="anchorpoint"></a><a href="/tools/wiki/home.html">THL Toolbox</a> > <a href="/tools/wiki/Developers%27%20Zone.html">Developers' Zone</a> > <a href="/tools/wiki/Gis%20Development.html">Gis Development</a> > Geonetwork Web Services Used By The Thl Map Collections App</h3><p class="paragraph">
</p><h3 class="heading-h1"><a name="GeoNetworkWebServicesUsedbytheTHLMapCollectionsApp" class="anchorpoint"></a>GeoNetwork Web Services Used by the THL Map Collections App</h3><p class="paragraph"><strong class="bold">Contributor(s)</strong>: Tom Benner</p><p class="paragraph">GeoNetwork provides a number of web services for accessing its data. The following are used by the THL Map Collections App:
</p><h3 class="heading-h4"><a name="xmlsearch" class="anchorpoint"></a>xml.search</h3><p class="paragraph">
Given a list of parameters (e.g. abstract, dateFrom, sortBy, themeKey), this service performs a search and returns limited information on each result (xml.metadata.get will probably need to be used to get any user-friendly information for a result). A list of fields can be found <span class="nobr"><img src="/" alt="external link: " title="external link"/><a href="http://geonetwork.unocha.org/geonetwork/docs/javadoc/geonetwork/org/fao/geonet/constants/Geonet.SearchResult.html" target="rwikiexternal">here</a></span>. Additional fields can also be added by editing some of GeoNetwork's XSLT code. A walk-through of this is beyond the scope of this documentation, but /geonetwork/web/geonetwork/xml/search/lucene.xsl and /geonetwork/web/geonetwork/xml/schemas/iso19139/index-fields.xsl (or the same file in another one of the schema directories) are the files that should be modified, and the modification should usually be fairly straightforward given the examples of how other fields are established in those files.
</p><h3 class="heading-h4"><a name="xmlmetadataget" class="anchorpoint"></a>xml.metadata.get</h3><p class="paragraph">
Given an id parameter of a record, this service provides the record's metadata in XML.
</p><h3 class="heading-h4"><a name="portalsearchkeywords" class="anchorpoint"></a>portal.search.keywords</h3><p class="paragraph">
Provides an HTML unordered list of all of the keywords that are currently being used by records.
</p><h3 class="heading-h4"><a name="portallatestupdated" class="anchorpoint"></a>portal.latest.updated</h3><p class="paragraph">
Provides XML for the five most recently updated records.
</p><h3 class="heading-h6"><a name="ProvidedforunrestrictedusebythespanclassnobrimgsrcsakairwikitoolimagesicklearrowgifaltexternallinktitleexternallinkahrefhttpwwwthliborgtargetrwikiexternalTibetanandHimalayanLibraryaspan" class="anchorpoint"></a><em class="italic">Provided for unrestricted use by the <span class="nobr"><img src="/" alt="external link: " title="external link"/><a href="http://www.thlib.org" target="rwikiexternal">Tibetan and Himalayan Library</a></span></em></h3>