en:user:gs3_format_statements
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:user:gs3_format_statements [2016/02/15 01:48] – created kjdon | en:user:gs3_format_statements [2023/03/13 20:54] (current) – [Iteration] kjdon | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
+ | |||
====== Greenstone 3 Format Statements ====== | ====== Greenstone 3 Format Statements ====== | ||
Line 8: | Line 11: | ||
Format statements must be written in well-formed XML. XML syntax is very similar to HTML. [[http:// | Format statements must be written in well-formed XML. XML syntax is very similar to HTML. [[http:// | ||
- | This page provides an overview of format statements. There is also a [[list_of_format_options|list of format statements]]. | + | This page provides an overview of format statements. There is also a [[gs3_list_of_format_options|list of formatting elements]] that can go in format statements. |
===== Format Features ===== | ===== Format Features ===== | ||
Line 126: | Line 129: | ||
* ''< | * ''< | ||
+ | ==== Adding new srcicons ==== | ||
- | ===== Metadata ===== | + | If you have used source documents, such as mp4, where greenstone doesn' |
+ | < | ||
+ | <replace macro=" | ||
+ | </ | ||
+ | |||
+ | ===== Document | ||
Any metadata that has been extracted from or added to documents can be referenced in format statements using the '' | Any metadata that has been extracted from or added to documents can be referenced in format statements using the '' | ||
- | If you want to display the file name for documents, ''< | + | If you want to display the file name for documents, |
Line 158: | Line 167: | ||
* ''< | * ''< | ||
* ''< | * ''< | ||
- | * ''< | + | * ''< |
* ''< | * ''< | ||
- | * ''< | + | * ''< |
+ | * ''< | ||
+ | |||
+ | ===== Classifier Metadata ===== | ||
+ | |||
+ | Metadata for classifiers is referenced in the same way as for a document, like < | ||
+ | * Title - the Title metadata gives the name of the classifier or bookshelf. One thing to note is that a bookshelf label is always stored as Title metadata, regardless of what metadata the classifier was built on. | ||
+ | * numleafdocs - this gives the number of documents underneath this part of the classifier. | ||
===== Conditional ===== | ===== Conditional ===== | ||
Line 242: | Line 258: | ||
To sort the values, add '' | To sort the values, add '' | ||
- | [[en:user:list_of_format_options# | + | [[en:user:gs3_list_of_format_options# |
< | < | ||
Line 253: | Line 269: | ||
===== Additional Resources ===== | ===== Additional Resources ===== | ||
- | * The **[[en: | + | * The **[[en: |
- | * There are some **[[en: | + | * There are some **[[en: |
* The templates in the GLI only effect very specific parts of the page. You may want to completely change large portions of how your Greenstone library looks. For more information on how to do this, check out the [[interfaces]] page. | * The templates in the GLI only effect very specific parts of the page. You may want to completely change large portions of how your Greenstone library looks. For more information on how to do this, check out the [[interfaces]] page. | ||
* [[http:// | * [[http:// | ||
- | |||
- | |||
en/user/gs3_format_statements.1455500938.txt.gz · Last modified: 2016/02/15 01:48 (external edit)