Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 974 for xpath (0.04 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /** The key of the configuration. e.g. //HTML/@lang */
        String CRAWLER_DOCUMENT_HTML_LANG_XPATH = "crawler.document.html.lang.xpath";
    
        /** The key of the configuration. e.g. //META[@name='description']/@content */
        String CRAWLER_DOCUMENT_HTML_DIGEST_XPATH = "crawler.document.html.digest.xpath";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 468.5K bytes
    - Viewed (1)
  8. docs/en/docs/tutorial/path-params.md

    ### Path convertor
    
    Using an option directly from Starlette you can declare a *path parameter* containing a *path* using a URL like:
    
    ```
    /files/{file_path:path}
    ```
    
    In this case, the name of the parameter is `file_path`, and the last part, `:path`, tells it that the parameter should match any *path*.
    
    So, you can use it with:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/path-params.md

    ## El orden importa
    
    Cuando creas *operaciones de path* puedes encontrarte con situaciones en las que tengas un path fijo.
    
    Digamos algo como `/users/me` que sea para obtener datos del usuario actual.
    
    ... y luego puedes tener el path `/users/{user_id}` para obtener los datos sobre un usuario específico asociados a un ID de usuario.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/path-params.md

    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    ↩️ ➡ 🔢 `item_id` ✔️ 💲 `"foo"`, ❔ 🚫 `int`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top