Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getBaseHref (0.09 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                final DOMParser parser = getDomParser();
                parser.parse(new InputSource(is));
                final Document document = parser.getDocument();
                // base href
                final String baseHref = getBaseHref(document);
                URI uri;
                try {
                    uri = new URI(baseHref == null ? responseData.getUrl() : baseHref);
                } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            }
        }
    
        protected List<String> getAnchorList(final Document document, final ResponseData responseData) {
            List<RequestData> anchorList = new ArrayList<>();
            final String baseHref = getBaseHref(document);
            try {
                final URL url = getBaseUrl(responseData.getUrl(), baseHref);
                for (final Map.Entry<String, String> entry : childUrlRuleMap.entrySet()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top