Changeset 3673
- Timestamp:
- 2003-01-17T00:39:30+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/formattools.cpp
r2967 r3673 1099 1099 const text_t &text, bool highlight, 1100 1100 ostream& logout) { 1101 1102 // GRB: added code here to ensure that the cstr (and other collections) 1103 // uses the document metadata item Summary, rather than compressing 1104 // the text of the document, processed via the methods in 1105 // summarise.cpp 1106 if (docinfo.metadata.count("Summary") > 0 && 1107 docinfo.metadata["Summary"].values.size() > 0) { 1108 return docinfo.metadata["Summary"].values[0]; 1109 } 1110 1101 1111 text_t textToSummarise, query; 1102 1112 if(text.empty()) { // get document text
Note:
See TracChangeset
for help on using the changeset viewer.