Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,580 for xpath (0.05 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            final String xpath = xpathConfigMap.get(XPath.DEFAULT_LANG);
            if (StringUtil.isNotBlank(xpath)) {
                return xpath;
            }
            return fessConfig.getCrawlerDocumentHtmlLangXpath();
        }
    
        protected String getContentXpath(final FessConfig fessConfig, final Map<String, String> xpathConfigMap) {
            final String xpath = xpathConfigMap.get(XPath.DEFAULT_CONTENT);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

    import java.util.function.Consumer;
    
    import javax.xml.xpath.XPath;
    import javax.xml.xpath.XPathEvaluationResult;
    import javax.xml.xpath.XPathExpressionException;
    import javax.xml.xpath.XPathFactory;
    import javax.xml.xpath.XPathNodes;
    
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.w3c.dom.Node;
    
    public class XPathAPI {
    
        private final XPath xPath;
    
        public XPathAPI() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfig.java

            }
    
            // xpath.*
            public static class XPath {
                public static final String DEFAULT_LANG = "default.lang";
                public static final String DEFAULT_CONTENT = "default.content";
                public static final String DEFAULT_DIGEST = "default.digest";
                // xapth.<field>=<value>
            }
    
            // config.*
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            }
    
            return url.replaceAll("([^:])/+", "$1/");
        }
    
        protected boolean isValidPath(final String path) {
            if (StringUtil.isBlank(path)) {
                return false;
            }
    
            final Matcher matcher = invalidUrlPattern.matcher(path);
            if (matcher.find()) {
                return false;
            }
    
            return true;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    
    import javax.xml.xpath.XPathEvaluationResult;
    import javax.xml.xpath.XPathException;
    import javax.xml.xpath.XPathNodes;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.fess.crawler.entity.ExtractData;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

        # Remove empty testcases
        for p in testsuite._elem.xpath(".//testcase"):
          if not len(p):  # pylint: disable=g-explicit-length-test
            testsuite._elem.remove(p)
        # Change "testsuite > testcase,system-out" to "testsuite > testcase > error"
        for p in testsuite._elem.xpath(".//system-out"):
          for c in p.getparent().xpath(".//error | .//failure"):
            c.text = p.text
          p.getparent().remove(p)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 19:00:37 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

    import javax.xml.XMLConstants;
    import javax.xml.namespace.NamespaceContext;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.xpath.XPath;
    import javax.xml.xpath.XPathExpressionException;
    import javax.xml.xpath.XPathNodes;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.crawler.Constants;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    import javax.xml.xpath.XPathEvaluationResult;
    import javax.xml.xpath.XPathException;
    import javax.xml.xpath.XPathNodes;
    
    import org.codelibs.core.beans.util.BeanUtil;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.entity.AccessResultData;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/ParameterUtil.java

    import org.lastaflute.core.security.PrimaryCipher;
    
    public class ParameterUtil {
        private static final String CIPHER_PREFIX = "{cipher}";
    
        protected static final String XPATH_PREFIX = "field.xpath.";
    
        protected static final String META_PREFIX = "field.meta.";
    
        protected static final String VALUE_PREFIX = "field.value.";
    
        protected static final String SCRIPT_PREFIX = "field.script.";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. src/main/resources/fess_config.properties

    crawler.metadata.name.mapping=\
    title=title:string\n\
    Title=title:string\n\
    dc:title=title:string\n\
    
    # html
    crawler.document.html.content.xpath=//BODY
    crawler.document.html.lang.xpath=//HTML/@lang
    crawler.document.html.digest.xpath=//META[@name='description']/@content
    crawler.document.html.canonical.xpath=//LINK[@rel='canonical'][1]/@href
    crawler.document.html.pruned.tags=noscript,script,style,header,footer,aside,nav,a[rel=nofollow]
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 01 14:13:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top