|Table of Contents|
The Edit Harvest Templates is used for managing the harvester templates . It enables you to both (Heritrix 3 crawler-bean files with special placeholders for fields that are inserted by NetarchiveSuite). It features download and upload templates from/to the system database.
The download part lets you view existing templates as either plain text or XML in the browser window or download existing templates to your local computer.
Select the template you want to view/download in the first select box, select the method in the second and press Retrieve.
In the Upload section you can either update an existing template or create a new one.
To update an existing template, select the template to update in the first select box and browse for a file on your local computer with the Browse button.
By pressing of templates, including the replacement of existing templates. In NetarchiveSuite, there is an option to allow the user to move templates between Active and Inactive states. If a template is in the Inactive state, then it cannot be selected when creating or editing a harvest. This feature is optional - whether or not it is available is determined by the configuration chosen by the System Administrator. The appearance of the Edit Harvest Templates page depends on whether or not this feature is available. If it is available the page looks like
Pressing the "Show Inactive" button does what you would expect:
You can then activate or deactivate any template, except for the Default Template, by clicking on the relevant link.
Download and Replace
In the upper panel, you can view, download, or replace an existing harvest template.
To view or download, simply choose the desired viewing option from the drop down next to the relevant template and press Retrieve.
To replace an existing template with a file from your local hard drive, use the Browse button in the same row as the relevant template to select the file on you hard drive, then click on the Replace harvesttemplate with file from your own harddrive you will overwrite the chosen template in the database.'' button.
Uploading a New Template
To create a new template give the new template a name in the “Template Name” box and select a file from your local computer with Browse.
By pressing Create a new harvesttemplate using a file from your own harddrive you will add the new template with the given name to the database.
When using the upload functions the uploaded files will be checked against certain rules to ensure that the templates contain specific elements used by the NetarchiveSuite system.
New templates are always created in the state Active.