en:user_advanced:web_editor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:user_advanced:web_editor [2016/06/22 04:39] – anupama | en:user_advanced:web_editor [2016/11/07 01:07] – kjdon | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | The following instructions are by Georgy Litvinov. | + | |
- | **Requirements: | + | Greenstone 3 allows you to edit the content and metadata of documents online in a web browser. This functionality is available to logged-in users who have been assigned to either the " |
- | 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 '' | ||
- | 2. You need to be logged in to edit your collection. To do so when using the default | + | - Run the Greenstone 3 server |
- | 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 '' | + | - You need to be logged in to edit your collection. To do so when using the default Greenstone |
+ | |||
+ | - 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 '' | ||
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. | 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. | ||
Line 20: | Line 20: | ||
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 '' | 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 '' | ||
- | 9. As you may know, you can use hierarchy classifiers in your collections. 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 a metadata name used by the hierarchy classifier. To choose the hierarchy position you then want to assign to your document, click on the value cell. To the right of the metadata table, you will see a flyout menu from which you can select the hierarchy position. You can also manually enter the hierarchy position as metadata value. In that case, you will see suggestions indication a position you can choose from. | ||
10. To save your changes, just click on the '' | 10. To save your changes, just click on the '' | ||
+ | |||
+ | |||
+ | ==== Using the web editor to insert a document into a hierarchy created by a hierarchical classifier ==== | ||
+ | |||
+ | 9. If your collection uses a **hierarchy classifier**, | ||
+ | |||
+ | 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 '' | ||
+ | |||
+ | 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. '' | ||
+ | - Ordered List Item | ||
+ | 1. Let's take the lucene-jdbm-demo collection as an example. Its '' | ||
+ | |||
+ | < | ||
+ | < | ||
+ | <option name=" | ||
+ | <option name=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | 2. You can either edit this file manually or use GLI to set the hfile option on the Hierarchy classifier to a file: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | <option name=" | ||
+ | <option name=" | ||
+ | <option name=" | ||
+ | <option name=" | ||
+ | <option name=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | 3. Add the hierarchy file, hfile, by creating it with whatever name you assigned above (subject_hierarchy.txt), | ||
+ | < | ||
+ | 1 1 "First level. First element" | ||
+ | 1.1 1.1 " | ||
+ | 2 2 "First level. Second element" | ||
+ | 2.1 2.1 " | ||
+ | 2.2 2.2 " | ||
+ | 2.3 2.3 " | ||
+ | </ | ||
+ | |||
+ | The " | ||
+ | |||
+ | < | ||
+ | 1 1 " | ||
+ | 1.1 1.1 " | ||
+ | 2 2 " | ||
+ | 2.1 2.1 " | ||
+ | 2.2 2.2 "Other animals (micro-livestock, | ||
+ | 3 3 " | ||
+ | </ | ||
+ | |||
+ | 4. Rebuild the collection and preview the hierarchy classifier "Topic Hierarchy" | ||
+ | |||
+ | This is where the web editor comes in, making it easier to assign each document to somewhere in the existing hierarchy that you created in the hfile. | ||
+ | |||
+ | 5. Log in to your Greenstone 3 digital library and preview a document in your collection. Press the '' | ||
+ | |||
+ | 6. Click in the value cell of the new '' | ||
+ | |||
+ | For instance, heading 3 in our hfile is " | ||
+ | |||
+ | Alternatively you could have typed " | ||
+ | |||
+ | 7. After modifying the metadata for the document, press Save and Rebuild. Then preview to see your changes take effect, by visiting the "Topic hierarchy" |
en/user_advanced/web_editor.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1