[Netarchivesuite-users] mandatory field in harvester-templates

Bjarne Andersen bja at statsbiblioteket.dk
Thu Oct 16 12:47:38 CEST 2008


To have statistics work right when jobs finishes and goes back into the database all templates in NetarchvieSuite needs a special content-size annotation post-processor:

<newObject name="ContentSize" class="dk.netarkivet.harvester.harvesting.ContentSizeAnnotationPostProcessor">
                <boolean name="enabled">true</boolean>
                <newObject name="ContentSize#decide-rules" class="org.archive.crawler.deciderules.DecideRuleSequence">
                        <map name="rules">
                        </map>
                </newObject>
        </newObject>

otherwise size will allways be 0 in the database for havests done without this in the template

This sould be documented in the manual under mandatory fields for harvester templates




More information about the NetarchiveSuite-users mailing list