Changeset 8829
- Timestamp:
- 2004-12-16T15:29:17+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGRetrieve.java
r8828 r8829 34 34 * 35 35 * @author <a href="mailto:[email protected]">Katherine Don</a> 36 * @version $Revision$36 * 37 37 */ 38 38 … … 98 98 } 99 99 // Get the request content 100 System.err.println("extlink = "+extlink);101 100 Element query_doc_list = (Element) GSXML.getChildByTagName(request, GSXML.DOC_NODE_ELEM+GSXML.LIST_MODIFIER); 102 101 if (query_doc_list == null) { … … 116 115 this.mg_src.setIndex(indexpath); 117 116 118 System.err.println("getting the docs");119 117 // Get the documents 120 118 String[] doc_ids = GSXML.getAttributeValuesFromList(query_doc_list, … … 127 125 doc_list.appendChild(doc); 128 126 129 System.err.println("doc id= "+doc_id);130 127 if (extlink) { 131 128 if (OID.needsTranslating(doc_id)) { … … 149 146 } 150 147 151 System.err.println("remaining doc id = "+doc_id);152 148 long doc_num = this.gdbm_src.OID2Docnum(doc_id); 153 149 if (doc_num == -1) { … … 158 154 159 155 if (doc_content!=null) { 160 System.err.println("got the content");161 156 // remove any ctrl-c or ctrl-b (I hope these are the right codes) 162 //System.err.println("doc content "+doc_content);163 157 doc_content = doc_content.replaceAll("\u0002|\u0003", ""); 164 System.err.println("replaced ctrl b");165 158 // replace _httpimg_ with the correct address 166 159 doc_content = resolveTextMacros(doc_content, doc_id, lang); 167 System.err.println("resolved text macros");168 160 GSXML.addDocText(this.doc, doc, doc_content); 169 System.err.println("added text");170 161 } else { 171 162 System.err.println("the doc content was null, not getting that section\n");
Note:
See TracChangeset
for help on using the changeset viewer.