You are here

function taxonomy_xml_taxonomy_servers in Taxonomy import/export via XML 6

Same name and namespace in other branches
  1. 6.2 lookup_services.inc \taxonomy_xml_taxonomy_servers()

Return a list of known lookup and search services, and some instructions on how they may be invoked.

File

./taxonomy_xml.module, line 1399
taxonomy_xml.module This module makes it possible to import and export taxonomies as XML documents.

Code

function taxonomy_xml_taxonomy_servers() {
  $services = array(
    'twdg' => array(
      'provider' => 'Biodiversity Information Standards (TDWG)',
      'servicename' => 'LSID Web Resolver',
      'servicetype' => 'lookup',
      'description' => 'This currently requires you to know an LSID in advance - there are no machine-readable LSID search services that I can find yet',
      'identifier' => 'identifier',
      'protocol' => 'URI',
      'pattern' => 'http://lsid.tdwg.org/!identifier',
      'format' => 'rdf_format',
    ),
    'sonz' => array(
      'provider' => 'New Zealand Government Locator Service (NZGLS)',
      'servicename' => 'Services Of New Zealand (SONZ)',
      'description' => 'A list of topics and classifications used to describe subjects of interest to government and governemnt agencies. Subjects include terms relating to administration, national affairs, education, infrastructure, law, economics and industry.',
      'about' => 'http://www.e.govt.nz/standards/nzgls/thesauri',
      'servicetype' => 'lookup',
      'protocol' => 'URI',
      'pattern' => 'http://www.e.govt.nz/standards/nzgls/thesauri/sonz150.txt/download',
      'format' => 'csv_format',
    ),
  );
  return $services;
}