Changeset 30828 for main


Ignore:
Timestamp:
2016-09-22T11:35:01+12:00 (8 years ago)
Author:
kjdon
Message:

changing site name and description from metadata to displayitems, as that is what they should be. added entries for getting them from properties files, so we can translate them in GTI for the release. added resources folder, and siteConfig.properties to hold the dictionary key-values.

Location:
main/trunk/greenstone3/web/sites/localsite
Files:
2 added
1 edited

Legend:

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

    r30540 r30828  
    11<siteConfig xmlns:gsf='http://www.greenstone.org/greenstone3/schema/ConfigFormat' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
     2    <metadataList xmlns:gsf="http://www.greenstone.org/greenstone3/schema/MetadataFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     3        <metadata name="siteAdmin">[email protected]</metadata>
     4    </metadataList>
     5    <displayItemList>
     6        <displayItem name="siteName" lang="en">My Greenstone Library</displayItem>
     7        <displayItem name="siteName" key="siteName" dictionary="siteConfig"/>
     8        <displayItem name="siteDescription" lang="en">This is a digital library built using the open-source Greenstone Digital Library software, version 3. Edit the site name and description in web/sites/localsite/siteConfig.xml or web/sites/localsite/resources/siteConfig_xx.properties.</displayItem>
     9        <displayItem name="siteDescription" key="siteDescription" dictionary="siteConfig"/>
     10     
     11    </displayItemList>
    212    <siteList/>
    313    <serviceRackList>
     
    7383        <replace macro="[ScreenHeight]" scope="metadata" metadata="ScreenHeight" resolve="false"/>
    7484    </replaceList>
    75     <metadataList xmlns:gsf="http://www.greenstone.org/greenstone3/schema/MetadataFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    76         <!--<metadata name="siteURL">http://localhost:8080/greenstone3/</metadata>-->
    77         <metadata name="siteName" lang="en">My Greenstone Library</metadata>
    78         <metadata name="siteName" lang="fr">Mon site de dévelopment</metadata>
    79         <metadata name="siteDescription" lang="en">This is just a random site for testing stuff...</metadata>
    80         <metadata name="siteDescription" lang="fr">C'est juste un site pour tester des trucs...</metadata>
    81         <metadata name="siteAdmin">[email protected]</metadata>
    82     </metadataList>
    8385</siteConfig>
Note: See TracChangeset for help on using the changeset viewer.