[Netarchivesuite-users] File to exclude domains?

Peter Svanberg Peter.Svanberg at kb.se
Fri Oct 20 18:54:26 CEST 2023


Thank you Sara and Bert!

I was under the impression that it was some special treatment outside of the decideRule system, but this is perfect!

-----
Peter Sv.


Från: NetarchiveSuite-users <netarchivesuite-users-bounces at ml.sbforge.org> För sara.aubry at bnf.fr
Skickat: den 20 oktober 2023 09:29
Till: netarchivesuite-users at ml.sbforge.org
Ämne: Re: [Netarchivesuite-users] File to exclude domains?

Hello Peter,

We use Heritrix exclude.txt mechanism which you can activate with the following bean in your profile:

<bean id="rejectExcludedSurts" class="org.archive.modules.deciderules.surt.SurtPrefixedDecideRule">
       <!-- Decision value (ACCEPT, REJECT, NONE) -->
    <property name="decision" value="REJECT" />
    <property name="surtsSourceFile" value="/dlweb/data/nas/exclude.txt" />
    <property name="seedsAsSurtPrefixes" value="false" />
    <property name="alsoCheckVia" value="false" />
    <property name="surtsDumpFile" value="/dlweb/data/nas/exclude.dump" />
</bean>

Best,

Sara




De :        "Peter Svanberg" <Peter.Svanberg at kb.se<mailto:Peter.Svanberg at kb.se>>
A :        "netarchivesuite-users at ml.sbforge.org<mailto:netarchivesuite-users at ml.sbforge.org>" <netarchivesuite-users at ml.sbforge.org<mailto:netarchivesuite-users at ml.sbforge.org>>
Date :        19/10/2023 21:11
Objet :        [Netarchivesuite-users] File to exclude domains?
Envoyé par :        "NetarchiveSuite-users" <netarchivesuite-users-bounces at ml.sbforge.org<mailto:netarchivesuite-users-bounces at ml.sbforge.org>>
________________________________



I have a definite recollection of Sara talking about a file you can create containing domain names to be excluded from a snapshot. But I can't find any info on that anywhere. (Other than NAS-1725 but not what was done with that.) Can someone remind me?

(I know you can configure with zeros but a list in a file would be easier.)
-----

Peter Svanberg
National Library of Sweden
_______________________________________________
NetarchiveSuite-users mailing list
NetarchiveSuite-users at ml.sbforge.org<mailto:NetarchiveSuite-users at ml.sbforge.org>
https://ml.sbforge.org/mailman/listinfo/netarchivesuite-users
________________________________

Expositions Épreuves de la matière<https://www.bnf.fr/fr/agenda/epreuves-de-la-matiere> du 10 octobre 2023 au 4 février 2024 et Noir & Blanc : une esthétique de la photographie<https://www.bnf.fr/fr/agenda/noir-blanc-une-esthetique-de-la-photographie> du 17 octobre 2023 au 21 janvier 2024 | François-Mitterrand.

Participez à l’acquisition du bréviaire de Charles V, très rare manuscrit enluminé du XIVe siècle<https://www.bnf.fr/fr/participez-lacquisition-du-breviaire-de-charles-v>

Avant d'imprimer, pensez à l'environnement.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ml.sbforge.org/pipermail/netarchivesuite-users/attachments/20231020/b3235cb2/attachment-0001.html>


More information about the NetarchiveSuite-users mailing list