- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for sitemapsRule (0.19 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/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
.singleton("sitemapsResponseProcessor", SitemapsResponseProcessor.class)// .<SitemapsRule> singleton("sitemapsRule", SitemapsRule.class, rule -> { rule.setResponseProcessor(container.getComponent("sitemapsResponseProcessor")); rule.setRuleId("sitemapsRule"); rule.addRule("url", ".*sitemap.*"); })//
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 18K 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)