Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,791 for xpath (0.02 seconds)

  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();
        }
    
        /**
         * Gets the XPath expression for extracting content.
         *
         * @param fessConfig the Fess configuration
         * @param xpathConfigMap the XPath configuration map
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/ParameterUtil.java

    /**
     * Utility class for parameter operations.
     */
    public class ParameterUtil {
        private static final String CIPHER_PREFIX = "{cipher}";
    
        /** The XPath field prefix. */
        protected static final String XPATH_PREFIX = "field.xpath.";
    
        /** The meta field prefix. */
        protected static final String META_PREFIX = "field.meta.";
    
        /** The value field prefix. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            // Test with xpath parameters
            configParameters = "field.xpath.title=//title\nfield.xpath.content=//body";
            result = ParameterUtil.createConfigParameterMap(configParameters);
            assertEquals(2, result.get(ConfigName.XPATH).size());
            assertEquals("//title", result.get(ConfigName.XPATH).get("title"));
            assertEquals("//body", result.get(ConfigName.XPATH).get("content"));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  4. src/main/resources/fess_config.properties

    dc:title=title:string\n\
    
    # html
    
    # XPath to extract main content from HTML documents.
    crawler.document.html.content.xpath=//BODY
    # XPath to extract language attribute from HTML documents.
    crawler.document.html.lang.xpath=//HTML/@lang
    # XPath to extract digest (description) from HTML documents.
    crawler.document.html.digest.xpath=//META[@name='description']/@content
    # XPath to extract canonical URL from HTML documents.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
  5. README.md

    // Configure for file system crawling
    container.singleton("fsClient", FileSystemClient.class);
    
    // Add file URL
    crawler.addUrl("file:///path/to/directory");
    crawler.urlFilter.addInclude("file:///path/to/directory/.*");
    ```
    
    ## Configuration
    
    ### XML Configuration
    
    Fess Crawler uses XML-based configuration with LastaFlute DI. Place configuration files in your classpath:
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Aug 31 05:32:52 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  6. 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";
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 576.9K bytes
    - Click Count (2)
  7. docs/es/docs/tutorial/path-params.md

    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## Parámetros de path conteniendo paths { #path-parameters-containing-paths }
    
    Imaginemos que tienes una *path operation* con un path `/files/{file_path}`.
    
    Pero necesitas que `file_path` en sí mismo contenga un *path*, como `home/johndoe/myfile.txt`.
    
    Entonces, la URL para ese archivo sería algo como: `/files/home/johndoe/myfile.txt`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/path-params.md

    ## Order matters { #order-matters }
    
    When creating *path operations*, you can find situations where you have a fixed path.
    
    Like `/users/me`, let's say that it's to get data about the current user.
    
    And then you can also have a path `/users/{user_id}` to get data about a specific user by some user ID.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/path-params.md

    # 路徑參數 { #path-parameters }
    
    你可以用與 Python 格式化字串相同的語法來宣告路徑「參數」或「變數」:
    
    {* ../../docs_src/path_params/tutorial001_py310.py hl[6:7] *}
    
    路徑參數 `item_id` 的值會作為引數 `item_id` 傳入你的函式。
    
    所以,如果你執行這個範例並前往 [http://127.0.0.1:8000/items/foo](http://127.0.0.1:8000/items/foo),你會看到這樣的回應:
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## 具型別的路徑參數 { #path-parameters-with-types }
    
    你可以在函式中使用標準的 Python 型別註記為路徑參數宣告型別:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/path-params.md

    ```JSON
    {
      "model_name": "alexnet",
      "message": "Deep Learning FTW!"
    }
    ```
    
    ## Path İçeren Path Parametreleri { #path-parameters-containing-paths }
    
    Diyelim ki `/files/{file_path}` path'ine sahip bir *path operation*'ınız var.
    
    Ama `file_path`'in kendisinin `home/johndoe/myfile.txt` gibi bir *path* içermesi gerekiyor.
    
    Böylece, o dosyanın URL'si şu şekilde olur: `/files/home/johndoe/myfile.txt`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.7K bytes
    - Click Count (0)
Back to Top