Changeset 26509 for main

Show
Ignore:
Timestamp:
23.11.2012 01:20:03 (7 years ago)
Author:
davidb
Message:

collection config file updated to demonstrate th euse of <gsf:headMetaTags> to control what <meta> elements appear in the HTML <head> section.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/sites/localsite/collect/lucene-jdbm-demo/etc/collectionConfig.xml

    r26095 r26509  
    77        <metadata lang="en" name="public">true</metadata> 
    88    </metadataList> 
     9 
    910    <displayItemList> 
    1011        <displayItem assigned="true" lang="en" name="name">Demo Collection</displayItem>  
     
    1213        <displayItem lang="en" name="shortDescription">Demonstration collection containing a few books from the Humanitarian and Development Libraries. Uses Lucene and JDBM.</displayItem>  
    1314    </displayItemList> 
     15 
    1416    <search type="lucene"> 
    1517        <level name="section"> 
     
    145147                        </gsf:when> 
    146148                    </gsf:switch> 
     149 
    147150                </td> 
    148151            </gsf:template> 
     
    180183        <format> 
    181184            <gsf:option name="TOC" value="true"/> 
     185             
     186            <gsf:headMetaTags> 
     187              <gsf:metadata name="dls.Title"/> 
     188              <gsf:metadata name="dls.Subject"/> 
     189              <gsf:metadata name="dls.Organization"/> 
     190            </gsf:headMetaTags> 
     191 
    182192        </format> 
    183193    </display>