- Timestamp:
- 2008-05-01T13:59:09+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/src/java/org/greenstone/gsdl3/service/AbstractBrowse.java
r14526 r15326 725 725 */ 726 726 abstract protected String getStructureInfo(String node_id, String info_type); 727 // /** needs to get info from gdbm database - if the calling code gets it already it may pay to pass it in instead */728 // protected String resolveTextMacros(String doc_content, String doc_id, String lang)729 // {730 // DBInfo info = null;731 // if (doc_content.indexOf("_httpdocimg_")!=-1) {732 // String top_doc_id = OID.getTop(doc_id);733 // info = this.gdbm_src.getInfo(top_doc_id);734 // if (info == null) {735 // // perhaps we had per.iods in the ids - just try the current id736 // top_doc_id = doc_id;737 // info = this.gdbm_src.getInfo(top_doc_id);738 // }739 // if (info != null) {740 // String archivedir = info.getInfo("archivedir");741 // String image_dir = this.site_http_address + "/collect/"+this.cluster_name+"/index/assoc/"+archivedir;742 743 // // Resolve all "_httpdocimg_"s744 // doc_content = doc_content.replaceAll("_httpdocimg_", image_dir);745 // }746 // }747 // // resolve any collection specific macros748 // doc_content = macro_resolver.resolve(doc_content, lang, GS2MacroResolver.SCOPE_TEXT, doc_id, info);749 // return doc_content;750 // }751 752 727 753 728 }
Note:
See TracChangeset
for help on using the changeset viewer.