- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for sitemapsRule (0.1 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * @author shinsuke * */ public class SitemapsRule extends RegexRule { /** * */ private static final long serialVersionUID = 1L; private static final Logger logger = LoggerFactory.getLogger(SitemapsRule.class); @Override public boolean match(final ResponseData responseData) { if (super.match(responseData)) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java
public SitemapsRule sitemapsRule; @Override protected void setUp() throws Exception { super.setUp(); StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("sitemapsHelper", SitemapsHelper.class)// .singleton("sitemapsRule", SitemapsRule.class); sitemapsRule = container.getComponent("sitemapsRule"); } public void test_match() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java
.singleton("sitemapsRule", SitemapsRule.class)// .singleton("fileRule", RegexRule.class)// .singleton("ruleManager", RuleManagerImpl.class); ruleManager = container.getComponent("ruleManager"); SitemapsRule sitemapsRule = container.getComponent("sitemapsRule"); sitemapsRule.setRuleId("sitemapsRule"); sitemapsRule.addRule("url", ".*sitemap.*");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.2K bytes - Viewed (0) -
fess-crawler-lasta/src/main/resources/crawler/rule.xml
<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
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 1.5K bytes - Viewed (0) -
src/main/resources/crawler/rule.xml
<arg>fsFileRule</arg> </postConstruct> <postConstruct name="addRule"> <arg>defaultRule</arg> </postConstruct> </component> <component name="sitemapsRule" class="org.codelibs.fess.crawler.rule.impl.RegexRule" > <property name="ruleId">"sitemapsRule"</property> <property name="responseProcessor"> <component class="org.codelibs.fess.crawler.processor.impl.SitemapsResponseProcessor"> </component> </property>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jun 04 08:42:49 UTC 2020 - 4.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
buf.append("</url>").append('\n'); buf.append("</urlset>").append('\n'); File sitemapsFile = new File(tempDir, "sitemaps.xml"); FileUtil.writeBytes(sitemapsFile.getAbsolutePath(), buf.toString().getBytes("UTF-8")); robotTxtFile.deleteOnExit(); // sitemaps.txt buf = new StringBuilder();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
buf.append("</url>").append('\n'); buf.append("</urlset>").append('\n'); File sitemapsFile = new File(tempDir, "sitemaps.xml"); FileUtil.writeBytes(sitemapsFile.getAbsolutePath(), buf.toString().getBytes("UTF-8")); robotTxtFile.deleteOnExit(); // sitemaps.txt buf = new StringBuilder();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0)