The photo gallery's web service

The photo gallery now supports a web service for developers who wish to use our photos directly in their applications.

Syntax

http://nhm2.uio.no/botanisk/cgi-bin/lav_foto.pl?fo=w&gen=genus[&sp=epithet][&nr=herbariumAccessionNumber]

where
fo=w (required) specifies that the query is for the web service (otherwise the standard html page will be returned)
genus (required) is the name of a genus
epithet (optional) is the epithet of a species in this genus
herbariumAccessionNumber (optional) specifies a specimen in the lichen herbarium in the Natural History Museum, Oslo.

Example: http://nhm2.uio.no/botanisk/cgi-bin/lav_foto.pl?fo=w&gen=Letharia&sp=vulpina

Return format

<?xml version="1.0" encoding="utf-8" ?>
<NewDataSet>
  <photo>
    <genus>genus</genus>
    <epithet>epithet</epithet>
    <hbNo>herbarium accession number</hbNo>
    <country>country</country>
    <province>province</province>
    <district>district</district>
    <cp>initials of the copyright holder</cp>
    <date>date, as yyyymmdd</date>
    <index>text string to ensure all files have unique names (not a record ID)</index>
    <urlSfoto>url to down-scaled version of photo</urlSfoto>
    <urlFfoto>url to full-size version of photo</urlFfoto>
    <urlNLD>url to the record in the NLD database</urlNLD>
    <urlGBIF_Norway>url to the record in GBIF-Norway's database</urlGBIF_Norway>
  </photo>
  <photo>
  .
  .
  .
  </photo>
<NewDataSet>
With the exception of <genus>, <epithet> and <urlSfoto>, all fields may be empty.
Einar Timdal, 2009-07-28