Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for nofollow (0.12 seconds)

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

                        }
                        if (content.contains(ROBOTS_TAG_NOFOLLOW)) {
                            nofollow = true;
                        }
                    }
                    if (noindex && nofollow) {
                        logger.info("META(robots=noindex,nofollow): {}", responseData.getUrl());
                        throw new ChildUrlsException(Collections.emptySet(), "#processMetaRobots");
                    }
    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/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getCrawlerDocumentHtmlPrunedTags() {
                    return "script,div#main,p.image,a[rel=nofollow],div[x-y=a-.:_0]";
                }
            };
    
            PrunedTag[] tags = fessConfig.getCrawlerDocumentHtmlPrunedTagsAsArray();
            assertTrue(matchesTag(tags[0], "<script></script>"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/MarkdownRendererTest.java

            assertTrue(result.contains("<a"));
            assertTrue(result.contains("href=\"http://example.com\""));
            assertTrue(result.contains("Link"));
            assertTrue(result.contains("rel=\"nofollow\""));
        }
    
        @Test
        public void test_render_link_https() {
            String result = markdownRenderer.render("[Secure Link](https://example.com)");
            assertTrue(result.contains("<a"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                };
            };
    
            final ResponseData responseData = new ResponseData();
            responseData.addMetaData("X-Robots-Tag", "nofollow");
    
            transformer.processXRobotsTag(responseData, new ResultData());
            assertTrue(responseData.isNoFollow());
        }
    
        @Test
        public void test_processMetaRobots_no() throws Exception {
            final String data = "<html><body>foo</body></html>";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  5. src/main/webapp/js/chat.js

            // Register hook once: add rel="nofollow" to links, restrict class to code/pre/span/div
            // (matches server-side requireRelNofollowOnLinks and allowAttributes("class").onElements(...))
            DOMPurify.addHook('afterSanitizeAttributes', function(node) {
                if (node.tagName === 'A' && node.hasAttribute('href')) {
                    node.setAttribute('rel', 'nofollow');
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  6. src/main/resources/fess_config.properties

    crawler.document.html.canonical.xpath=//LINK[@rel='canonical'][1]/@href
    # HTML tags to prune (remove) during document processing.
    crawler.document.html.pruned.tags=noscript,script,style,header,footer,aside,nav,a[rel=nofollow]
    # Maximum length of digest extracted from HTML documents.
    crawler.document.html.max.digest.length=120
    # Default language for HTML documents.
    crawler.document.html.default.lang=
    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)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        String CRAWLER_DOCUMENT_HTML_CANONICAL_XPATH = "crawler.document.html.canonical.xpath";
    
        /** The key of the configuration. e.g. noscript,script,style,header,footer,aside,nav,a[rel=nofollow] */
        String CRAWLER_DOCUMENT_HTML_PRUNED_TAGS = "crawler.document.html.pruned.tags";
    
        /** The key of the configuration. e.g. 120 */
    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)
  8. src/main/java/org/codelibs/fess/app/web/admin/wizard/CrawlingConfigForm.java

        /**
         * Path or URL to be crawled by this configuration.
         */
        @Required
        @Size(max = 1000)
        public String crawlingConfigPath;
    
        /**
         * Maximum depth for crawling (how many levels deep to follow links).
         */
        @Min(value = 0)
        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer depth;
    
        /**
         * Maximum number of pages/documents to access during crawling.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

        protected Map<String, String> filePathMap = new HashMap<>();
    
        /** The name of this thumbnail generator. */
        protected String name;
    
        /** Maximum number of redirects to follow. */
        protected int maxRedirectCount = 10;
    
        /** Availability status of this generator. */
        protected Boolean available = null;
    
        /**
         * Registers this thumbnail generator with the thumbnail manager.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            final LlmChatRequest request = client.testBuildIntentRequest("Follow-up", history);
            final List<LlmMessage> messages = request.getMessages();
            // system + 1 history + user = 3 messages
            assertEquals(3, messages.size());
            assertEquals("Previous question", messages.get(1).getContent());
            assertTrue(messages.get(2).getContent().contains("Follow-up"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
Back to Top