Skip to content

Document contents and Metadata โ€‹

Location
/etc/projectConfigs/
โ””โ”€ 
corpus-1/
   โ”œโ”€ 
search.xml
   โ”œโ”€ 
help.inc
   โ”œโ”€ 
about.inc
   โ”œโ”€ 
article.xsl
   โ”œโ”€ 
meta.xsl
   โ”œโ”€ 
static/
   |  โ”œโ”€ 
locales/
   |  |  โ”œโ”€ 
en-us.json
   |  |  โ””โ”€ 
...
   |  โ””โ”€ 
...
   โ”œโ”€ 
corpus-2/
   โ”œโ”€ 
corpus-3/
   โ”œโ”€ 
...
   โ”œโ”€ 
default/
   |  โ”œโ”€ 
search.xml
   |  โ””โ”€ 
...
   โ””โ”€ 
...
<--- The location set in the corporaInterfaceDataDir setting
<--- Exact name/ID of the corpus as in BlackLab
ย 
ย 
ย 
ย 
ย 
ย 
<--- Language files for the interface, specific to this corpus
ย 
ย 
<--- Anything else you want to make available client-side
ย 
ย 
ย 
<--- Fallbacks / Defaults go here
ย 
ย 
ย 

See

See the dedicated section for customizing documents for concrete details and examples.

article.xsl โ€‹

article.xsl is the XSLT file used to transform documents in your corpus from XML into HTML for display in the MyCorpus/docs/some_doc/ page. You can customize this file to change how the document content is displayed.

meta.xsl โ€‹

meta.xsl is the XSLT file used to transform the metadata of documents in your corpus from XML into HTML for display in the MyCorpus/docs/some_doc/ page. You can customize this file to change how the document metadata is displayed. It operates on the metadata that BlackLab has about the document, not the metadata from the document contents. The default meta.xsl file is a simple table with all the metadata fields and their values, which is usually sufficient.

For examples and details, continue on to customizing documents.

Apache license 2.0