Changeset 21772 for main/trunk/greenstone2/runtime-src
- Timestamp:
- 2010-03-08T20:06:21+13:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/colservr/source.cpp
r16310 r21772 208 208 209 209 210 // get_metadata fills out the metadata if possible, if it is not respons able210 // get_metadata fills out the metadata if possible, if it is not responsible 211 211 // for the given OID then it will return false. 212 212 bool sourceclass::get_metadata (const text_t &requestParams, const text_t &refParams, … … 407 407 // get the text 408 408 textsearchptr->docTargetDocument(defaultindex, defaultsubcollection, 409 defaultlanguage, collection, docnum, doc); 409 defaultlanguage, collection, docnum, doc); 410 411 // remove the <Doc></Doc> and <Sec></Sec> tags 412 doc.replace("<Doc>", ""); 413 doc.replace("</Doc>", ""); 414 doc.replace("<Sec>", ""); 415 doc.replace("</Sec>", ""); 410 416 } 411 417
Note:
See TracChangeset
for help on using the changeset viewer.