User Tools

Site Tools


en:user_advanced:web_editor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:user_advanced:web_editor [2016/06/23 06:41] – [Using the web editor to insert a document into a hierarchy created by a hierarchical classifier] anupamaen:user_advanced:web_editor [2016/06/23 06:52] – [Using the web editor to insert a document into a hierarchy created by a hierarchical classifier] anupama
Line 52: Line 52:
 </code> </code>
  
-3. Add the hierarchy file, hfile, by creating it with whatever name you assigned above (subject_hierarchy.txt), with content of the following format. Then place this file in the collection's etc folder:+3. Add the hierarchy file, hfile, by creating it with whatever name you assigned above (subject_hierarchy.txt), with content of the following format. Then place this file in the collection'''etc'' folder:
 <code> <code>
 1 1 "First level. First element" 1 1 "First level. First element"
Line 62: Line 62:
 </code> </code>
  
-The "subject_hierarchy.txt" hfile in our example contains the following existing metadata (from dc.Subject and Keywords) thus organising the Subjects classifier into an outline:+The "subject_hierarchy.txt" hfile in our example contains the following //existing// metadata (from dc.Subject and Keywords assigned to documents) thus organising the Subjects into an outline or hierarchy:
  
 <code> <code>
Line 73: Line 73:
 </code> </code>
  
-4. Rebuild the collection and preview the hierarchy classifier. The hierarchy exists in the form of book nodes you can expand, but there are no documents in them. This is where the web editor comes in, making it easier to assign each document to somewhere in the existing hierarchy you created in the hfile.+4. Rebuild the collection and preview the hierarchy classifier "Topic Hierarchy"You'll see that the hierarchy now exists in the form of book nodes that you can expand, but it's just an empty outline at this stage as there are no documents under them.
  
-5. Log in to your Greenstone 3 digital library and preview a document in your collection. Press the ''Edit content'' button to the right of the open document. Then press the ''edit metadata'' button that appears near the //document heading//. At the bottom of the document's metadata table, type the metadata name on which the hierarchy is built (''dc.Subject'' in our example) and press the ''Add new metadata'' button.+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.
  
-6Click in the value cell of the new ''dc.Subject'' metadata field that now appears at the bottom of the document's metadata table. A flyout should appear to the right allowing you to choose what hierarchical topic you want this document to appear underFor instance, heading 3 in our hfile is "Communication, Information and Documentation", so if you select this from the flyout, then the document will appear under that topic.+5Log in to your Greenstone 3 digital library and preview a document in your collection. Press the ''Edit content'' button to the right of the open documentThen press the ''edit metadata'' button that appears near the //document's heading//. The metadata associated with the document will be displayed in a table. At the bottom of the document's metadata table, type the metadata name on which the hierarchy is built (''dc.Subject'' in our example) and press the ''Add new metadata'' button.
  
-Alternatively you could have typed "3" as the value for the ''dc.Subject'' metadata field that you added, at which point the flyout would try to show you the subject for this and its subtopics. If you left the value at "3", the document will once again appear under "Communication, Information and Documentation" when you now press the Save and Rebuild button to incorporate your changes.+6. Click in the value cell of the new ''dc.Subject'' metadata field that now appears at the bottom of the document's metadata table. Clicking in it should make a flyout appear to the right displaying the hierarchical topics and allowing you choose the one you want this document to appear under.
  
-7. After modifying the metadata for the document, press Save and Rebuild. Then visit the "Topics hierarchy" classifier and check under the appropriate book nodes and you'll see that your documents have been added under them.+For instance, heading 3 in our hfile is "Communication, Information and Documentation", so if you select this from the flyout, then the document will appear under that topic. 
 + 
 +Alternatively you could have typed "3" as the value for the ''dc.Subject'' metadata field that you added, at which point the flyout would try to show you the subject for this and its subtopics. If you left the value at "3", the document will once again appear under "Communication, Information and Documentation" (as this is associated with heading 3 in our hfile) when you now press the Save and Rebuild button to incorporate your changes. 
 + 
 +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" classifier. Check under the appropriate book nodes and you'll see that your documents have been added under them.
en/user_advanced/web_editor.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1