Skip to content

Favicon โ€‹

It's possible to provide a favicon for your corpus.

This is done by adding a <FaviconDir> element to the search.xml file. The favicon is a small icon that appears in the browser tab when your corpus is open.

xml
<SearchInterface>
    <InterfaceProperties>
		<FaviconDir>${request:corpusPath}/static/icon</FaviconDir>
	</InterfaceProperties>
</SearchInterface>

File location

/etc/projectConfigs/
โ”œโ”€ 
corpus-1/
|  โ””โ”€ 
static/
|     โ””โ”€ 
icon/
|        โ”œโ”€ 
favicon.ico
|        โ””โ”€ 
...
โ””โ”€ 
corpus-2/
   โ””โ”€ 
...
ย 
<--- corpus name/id
ย 
ย 
<--- the favicon file (ico format)
<--- other favicon files (see) full spec
ย 
ย 

Apache license 2.0