Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for normalizeCanonicalUrl (0.55 sec)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            String value;
    
            value = transformer.normalizeCanonicalUrl("http://hoge.com/", "a");
            assertEquals("http://hoge.com/a", value);
    
            value = transformer.normalizeCanonicalUrl("http://hoge.com/", "aaa");
            assertEquals("http://hoge.com/aaa", value);
    
            value = transformer.normalizeCanonicalUrl("http://hoge.com/", "/aaa");
            assertEquals("http://hoge.com/aaa", value);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            if (StringUtil.isBlank(canonicalUrl)) {
                return null;
            }
            return normalizeCanonicalUrl(responseData.getUrl(), canonicalUrl);
        }
    
        protected String normalizeCanonicalUrl(final String baseUrl, final String canonicalUrl) {
            try {
                final URL u = new URL(baseUrl);
    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