- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getCrawlerDocumentHtmlCanonicalXpath (0.21 sec)
-
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) -
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)