Ignore:
Timestamp:
2009-04-06T11:55:18+12:00 (15 years ago)
Author:
kjdon
Message:

check the metadataSet list for whether we support a format or not

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/oaiservr/oaiaction.cpp

    r18862 r18893  
    4141bool oaiaction::formatNotSupported(text_t &metaFormat)
    4242{
    43   if (metaFormat == "oai_dc") return false;
    44   if (metaFormat == "rfc1807") return false;
    45   if (metaFormat == "gsdl_qdc") return false;
    46   return true;
     43  // is it in our list?
     44  if (this->configuration->getMetadataSet().count(metaFormat) == 0) return true;
     45  return false;
    4746}
    4847
Note: See TracChangeset for help on using the changeset viewer.