User Tools

Site Tools


Greenstone2 or Greenstone3

Greenstone3 is a complete redesign and reimplementation of the original Greenstone digital library software (Greenstone2). In general, we recommend using Greenstone3, however, in some circumstances Greenstone2 may be more suitable for your needs. The sections below present the advantages and disadvantages of the current distribution of Greenstone3 compared to Greenstone2.

If you have used Greenstone2 in the past, you will find that Greenstone3 works very similarly in many ways. For instance, you still use the same GLI to create and build collections in the same way. The only differences in building are internal software differences. As you begin to format and customize your collections and library, you will encounter more differences. If you are interested in moving your Greenstone2 collections to a Greenstone3 installation, you can find more information about it here.

Tutorials are available for both versions and are kept up-to-date for each release.

Advantages of Greenstone3

Greenstone3 retains all the advantages of Greenstone2—for example, it is multiplatform, highly configurable, and soon-to-be multilingual software. It incorporates all the features of Greenstone2, and is backwards compatible: that is, it can build and run existing collections without modification. Written in Java, it is structured as a network of independent modules that communicate using XML: thus it runs in a distributed fashion and can be spread across different servers as necessary. This modular design increases the flexibility and extensibility of Greenstone. Advantages of Greenstone3 include:

  • Themes Greenstone3's default interface is built around JQuery themes, allowing you to completely change the color scheme of your library in seconds.
  • Interface Customization Greenstone3 replaces macros with XML and XSLT for customising the visual appearance of your collections. This affords users more power over the look-and-feel of collections. The library program generates page data in XML, which is converted to HTML using XSLT. All formatting is done using XSLT, so it makes it easier to customize than Greenstone2 in which some of the HTML is output by the library, and some by the macro files. It is very easy to get back the data in XML, if you want to use it for other purposes.
  • Development Greenstone3 is being actively developed, with new features being added and stability increasing all the time.
  • Berry Baskets Berry Baskets offer a way to gather documents of interest while browsing Greenstone collections. When you turn the facility on from the Preferences page, a basket appears in your browser window. Now, whenever you see a document that interests you, you can drag-and-drop it into the basket. Later, you can review the basket's contents, and email them to yourself. (Note, it works best under Firefox, rather than Internet Explorer.)
  • Cross-Collection Search Cross-collection searching in Greenstone3 is provided across all collections by default. Collections are no longer required to have the same indexes, as the default index is used for each one. However, this means that you can't select which indexes to search, and search result ranking may not be valid as different indexers rank results differently.
  • Multiple sets of collections and multiple interfaces A single Greenstone3 installation can have multiple sets of collections and multiple interface definitions. Greenstone2, on the other hand, has a single collect directory, and a single set of macros. Greenstone3 has multiple "sites" each of which has its own collect directory, and multiple "interfaces" each of which has its own set of XSLT files. Any site can be served using any interface.
  • Addition of New Features The library runtime is written in Java and is modular, making it a lot easier to add new features should they be needed.
  • Distributed Computing Support It is easy for different Greenstone3 installations to communicate with each other and serve each others collections. SOAP connections allow the library to run in a distributed fashion.
  • Web Service Greenstone3 allows collections to be served in XML format over SOAP, which makes the information in Greenstone collections not only human-readable but also machine-readable.

Disadvantages of Greenstone3

  • If you have heavily modified macros/format statements using greenstone 2 then it can be tricky to achieve the same thing in Greenstone3. However, Greenstone 3 is much more customizable once you do know how.
  • Need to click preview after changes to format statements Unlike in Greenstone2, the collectionConfiguration file is loaded into memory when the library server starts up. Changes to the file require the collection to be reloaded in Greenstone, or the server restarted. Clicking the "preview collection" in GLI will do this for you.
  • Export to CD/DVD-ROM Exporting collections to CD-ROM and DVD-ROM is not supported in Greenstone3's GLI. However you can make a DVD yourself, see this page.
en/user/gs2_or_gs3.txt · Last modified: 2023/03/13 01:46 by