This version is outdated by a newer approved version.DiffThis version (2016/06/23 17:58) is a draft.
Approvals: 0/1
The Previously approved version (2016/06/22 16:39) is available.Diff

This is an old revision of the document!


Using Greenstone 3's Web Editor

The following instructions are by Georgy Litvinov.

Requirements: a Greenstone3 installation, a collection to test it on.

1. Run the Greenstone 3 server (gs3-server) and visit your digital library home page in the browser. If you have installed Greenstone 3 on your PC, the URL to visit would be http://localhost:8383/greenstone3/library or http://127.0.0.1:8383/greenstone3/library

2. You need to be logged in to edit your collection. To do so when using the default Greenstone 3 library interface, you'd click the Login button at the top right of the home page. (For the half-tone interface, click on the down arrow at the bottom of the home page to View More options, and then follow the Login link). Use the username and password you created during installation. The default is admin for both. If you haven't change the defaults, you can do so by running ant config-admin from the command line.

3. You need to enable the document edit mode. To do so, click on the button with your account name at the top right of the page (where the Login button was). From the drop-down list, choose Enable edit mode.

4. Open the document you wish to edit. You can do this by using Search or to locate your document, or you can simply open the document after Browsing to it with a collection classifier.

5. With a document open, click on the Edit content button to the right.

6. You'll now be you able to edit the internal content of your document much like in your favourite text editor. Click on anywhere in the text body of the document to see a cursor to start editing the content.

7. You can modify metadata by pressing edit metadata button above the document body.

8. If you want to add new metadata, fill in the field underneath the metadata table with a new metadata name and click on the button Add new metadata. Your new metadata entry will appear at the end of the metadata table. Then enter a value for your new metadata entry.

9. If your collection uses a hierarchy classifier, you can use the web editor to assign each document to a position in the hierarchy you've already defined in the hierarchy classifier's hfile.

To add a document to the hierarchy classifier, you need to add a metadata entry just as you did in step 8 above, but with the metadata name set to the metadata option configured for the hierarchy classifier. For instance, if you built your hierarchy classifier with the metadata option set to dc.Creator, then you'd use the web editor to Add New Metadata with name dc.Creator for the document.

To choose the hierarchy position that you want to assign to your document, click on the value cell for the new metadata field added. To the right of the metadata table, you will then see a flyout menu appear from which you can select the hierarchy position. You can also manually enter the hierarchy position as the metadata value (e.g. 2.3). In that case, you will see all the matching suggestions for that hierarchical position from which you can choose.

10. To save your changes, just click on the Save and Rebuild button and wait for the build to complete.