User Tools

Site Tools


en:user:gs3_sample_interface_modifications

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:user:gs3_sample_interface_modifications [2019/09/24 00:33] – [Total documents in library] kjdonen:user:gs3_sample_interface_modifications [2019/10/21 20:58] – [Changing the collection description] kjdon
Line 32: Line 32:
 </code> </code>
  
-<gslib:collectionMeta> can retrieve metadata elements from the collection (as opposed to from documents). Here we use it to retrieve "numDocs" metadata - the number of documents in the colleciton.+<gslib:collectionMeta> can retrieve metadata elements from the collection (as opposed to from documents). Here we use it to retrieve "numDocs" metadata - the number of documents in the collection - and "buildDate" metadata - the date the collection was last built.
  
 The buildDate metadata element is a timestamp, so is not user friendly. We can use one of our utility functions to format it. The buildDate metadata element is a timestamp, so is not user friendly. We can use one of our utility functions to format it.
 +Utility functions are defined in src/java/org/greenstone/gsdl3/util/XSLTUtil.java.
  
 ==== Total documents in library ==== ==== Total documents in library ====
en/user/gs3_sample_interface_modifications.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1