Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SitemapsRule (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top