Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getCrawlerDocumentHtmlCanonicalXpath (0.69 sec)

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

            String xpath = configMap.get(Config.HTML_CANONICAL_XPATH);
            if (xpath == null) {
                xpath = fessConfig.getCrawlerDocumentHtmlCanonicalXpath();
            }
            if (StringUtil.isBlank(xpath)) {
                return null;
            }
            final String canonicalUrl = getSingleNodeValue(document, xpath, node -> node);
    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/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                }
            };
            transformer.fessConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                public String getCrawlerDocumentHtmlCanonicalXpath() {
                    return "//LINK[@rel='canonical'][1]/@href";
                };
            };
    
            final ResponseData responseData = new ResponseData();
            responseData.setSessionId("test");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

         * The value is, e.g. //LINK[@rel='canonical'][1]/@href <br>
         * @return The value of found property. (NotNull: if not found, exception but basically no way)
         */
        String getCrawlerDocumentHtmlCanonicalXpath();
    
        /**
         * Get the value for the key 'crawler.document.html.pruned.tags'. <br>
         * The value is, e.g. noscript,script,style,header,footer,aside,nav,a[rel=nofollow] <br>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 468.5K bytes
    - Viewed (1)
Back to top