crawler.rule.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fess-crawler-lasta Show documentation
Show all versions of fess-crawler-lasta Show documentation
This is LastaFlute support.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN" "http://dbflute.org/meta/lastadi10.dtd"> <components namespace="fessCrawler"> <include path="crawler/container.xml" /> <include path="crawler/transformer.xml" /> <component name="ruleManager" class="org.codelibs.fess.crawler.rule.impl.RuleManagerImpl" instance="prototype"> <postConstruct name="addRule"> <arg>sitemapsRule</arg> </postConstruct> <postConstruct name="addRule"> <arg>fileRule</arg> </postConstruct> </component> <component name="sitemapsRule" class="org.codelibs.fess.crawler.rule.impl.SitemapsRule"> <property name="ruleId">"sitemapsRule"</property> <property name="responseProcessor"> <component class="org.codelibs.fess.crawler.processor.impl.SitemapsResponseProcessor"> </component> </property> <postConstruct name="addRule"> <arg>"url"</arg> <arg>".*sitemap.*"</arg> </postConstruct> </component> <component name="fileRule" class="org.codelibs.fess.crawler.rule.impl.RegexRule"> <property name="ruleId">"fileRule"</property> <property name="defaultRule">true</property> <property name="responseProcessor"> <component class="org.codelibs.fess.crawler.processor.impl.DefaultResponseProcessor"> <property name="transformer">fileTransformer</property> <property name="successfulHttpCodes">(int[])[200]</property> <property name="notModifiedHttpCodes">(int[])[304]</property> </component> </property> </component> </components>