Changeset 5868


Ignore:
Timestamp:
2003-11-18T14:07:54+13:00 (20 years ago)
Author:
kjdon
Message:

changed the configure stuff - was only adding collectionmeta if there were 2 tokens on the line. But now you can have collmeta where its all language qualified. so there will be three tokens on each line. since the collinfo structure doesn't handle multiple langs at the moment, it will now use the one with no lang otherwise it will use the first lang one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/collectserver.cpp

    r5024 r5868  
    8787    else if (key == "collectionmeta" && cfgline.size() == 2)
    8888      collectinfo.collectionmeta[cfgline[0]] = cfgline[1];
     89    else if (key == "collectionmeta" && cfgline.size() == 3 && collectinfo.collectionmeta[cfgline[0]].empty() )
     90      collectinfo.collectionmeta[cfgline[0]] = cfgline[2];
    8991    else if (key == "format" && cfgline.size() == 2)
    9092      collectinfo.format[cfgline[0]] = cfgline[1];
Note: See TracChangeset for help on using the changeset viewer.