Changeset 11271


Ignore:
Timestamp:
2006-02-16T13:46:08+13:00 (18 years ago)
Author:
kjdon
Message:

added in a global replaceList which collections can include by adding a 'replaceListRef id=gs2-standard' element into their collectionConfig

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/web/sites/localsite/siteConfig.xml

    r11232 r11271  
    1616  </serviceRackList>
    1717  <serviceClusterList/>
     18  <!-- this is a global replace list for all collections. At this stage it only applies to greenstone 2 collections. It will attempt to resolve most of the common macros that appear in metadata. You can add more items here if you want them to apply to all collections. To turn this on/off for a particular collection, add <replaceListRef id='xx'/> into the collectionConfig for each set that you want to use -->
     19  <replaceList  id="gs2-standard">
     20    <replace macro="_iconpdf_" scope="metadata" text="&lt;img src='interfaces/default/images/ipdf.gif' border='0'/&gt;" resolve="false"/>
     21    <replace macro="_icondoc_" scope="metadata" text="&lt;img src='interfaces/default/images/imsword.gif' border='0'/&gt;" resolve="false"/>
     22    <replace macro="_iconps_" scope="metadata" text="&lt;img src='interfaces/default/images/ips.gif' border='0'/&gt;" resolve="false"/>
     23     <replace macro="_iconrtf_" scope="metadata" text="&lt;img src='interfaces/default/images/irtf.gif' border='0'/&gt;" resolve="false"/>
     24    <replace macro="\[archivedir\]" scope="all" metadata="archivedir" resolve="false"/>
     25    <replace macro="\[assocfilepath\]" scope="metadata" metadata="assocfilepath" resolve="false"/>
     26    <!-- _httpsite_ and _clustername_ are macros that are defined in the java code -->
     27    <replace macro="_httpcollection_" scope="metadata" text="_httpsite_/collect/_clustername_" resolve="true"/>
     28    <replace macro="_httpprefix_" scope="metadata" text="_httpsite_" resolve="true"/>
     29    <replace macro="_httpdocimg_" scope="text" text="_httpsite_/collect/_clustername_/index/assoc/[archivedir]/" resolve="true"/>
     30  </replaceList>
    1831</siteConfig>
Note: See TracChangeset for help on using the changeset viewer.