en:beginner:customization
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
en:beginner:customization [2023/03/13 20:43] – [Customization] kjdon | en:beginner:customization [2023/03/13 20:47] – [Site, interfaces, and libraries] kjdon | ||
---|---|---|---|
Line 28: | Line 28: | ||
You can have multiple separate sites in a single Greenstone3 installation. | You can have multiple separate sites in a single Greenstone3 installation. | ||
- | An **[[en: | + | An **[[en: |
with a set of XSLT files used for translating XML output from the library into an appropriate form -- | with a set of XSLT files used for translating XML output from the library into an appropriate form -- | ||
HTML generally. XSLT (and therefore every Greenstone interface) is built around things called **templates**, | HTML generally. XSLT (and therefore every Greenstone interface) is built around things called **templates**, | ||
tell Greenstone how to display pages depending on the content for that page (e.g. a document' | tell Greenstone how to display pages depending on the content for that page (e.g. a document' | ||
the names of the collections in your site, what browsing classifier have been defined, etc.). | the names of the collections in your site, what browsing classifier have been defined, etc.). | ||
+ | |||
+ | A **library** is a combination of one site with one interface - in technical terms, each library is a servlet. | ||
+ | |||
+ | You can create any number of interfaces in your Greenstone3 installation, | ||
//If all of that sounds really confusing, don't worry! | //If all of that sounds really confusing, don't worry! | ||
Unless you want to make extreme changes to an interface (or define your own), | Unless you want to make extreme changes to an interface (or define your own), | ||
you can largely avoid XSLT. // | you can largely avoid XSLT. // | ||
+ | |||
+ | ==== Customizations ==== | ||
While the interfaces (i.e. the files that dictate how each page looks) themselves are separate from the content, you can override any part of | While the interfaces (i.e. the files that dictate how each page looks) themselves are separate from the content, you can override any part of | ||
Line 45: | Line 51: | ||
* The GLI's **Format Features** section: The GLI provides an easy way to override parts of interface on a collection-level. Instead of having to create your own XSL files, you can type templates into the Format Features section of the Format panel. | * The GLI's **Format Features** section: The GLI provides an easy way to override parts of interface on a collection-level. Instead of having to create your own XSL files, you can type templates into the Format Features section of the Format panel. | ||
- | You can create any number of interfaces in your Greenstone3 installation, | ||
- | present the same content in different ways. For example, you may want to provide two interfaces | ||
- | for your sites: one interface for visitors using computers and another interface for mobile users. In addition, | ||
- | multiple sites can make use of the same interface. | ||
- | Finally, every site-interface combination you create is considered a **library** | ||
- | (in technical terms, each library is actually a servlet). | ||
=====Greenstone2===== | =====Greenstone2===== | ||
==== Collection level vs. library level ==== | ==== Collection level vs. library level ==== |
en/beginner/customization.txt · Last modified: 2023/03/13 20:51 by kjdon