Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addFieldRule (0.21 sec)

  1. src/main/resources/crawler/transformer.xml

    		 -->
    		<property name="convertUrlMap">
    			{"feed:" : "http:"}
    		</property>
    		<!-- segment -->
    		<postConstruct name="addFieldRule">
    			<arg>"title"</arg>
    			<arg>"//TITLE"</arg>
    			<arg>true</arg>
    		</postConstruct>
    		<postConstruct name="addFieldRule">
    			<arg>"important_content"</arg>
    			<arg>"//*[self::H1 or self::H2 or self::H3]"</arg>
    			<arg>true</arg>
    		</postConstruct>
    	</component>
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jan 10 03:35:10 UTC 2019
    - 1.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

            if (trimSpaceEnabled) {
                final Matcher matcher = SPACE_PATTERN.matcher(value);
                return matcher.replaceAll(" ").trim();
            }
            return value;
        }
    
        public void addFieldRule(final String name, final String xpath) {
            fieldRuleMap.put(name, xpath);
        }
    
        /**
         * Returns data as XML content of String.
         *
         * @return XML content of String.
         */
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                    return new URL(new URL(currentUrl), url);
                }
                return new URL(url);
            }
            return null;
        }
    
        public void addFieldRule(final String name, final String xpath, final boolean isPruned) {
            addFieldRule(name, xpath);
            fieldPrunedRuleMap.put(name, isPruned);
        }
    
        public void setConvertUrlMap(final Map<String, String> convertUrlMap) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

            attributeMap.put(name, value);
        }
    
        public void addFeature(final String key, final String value) {
            featureMap.put(key, value);
        }
    
        public void addFieldRule(final String name, final String xpath) {
            fieldRuleMap.put(name, xpath);
        }
    
        /**
         * @return the fieldRuleMap
         */
        public Map<String, String> getFieldRuleMap() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top