Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
let html scraper accept html5 <link rel="icon"> for favicon links
reger14803d58cd8e
diff --git a/source/net/yacy/document/parser/html/ContentScraper.java b/source/net/yacy/document/parser/html/ContentScraper.javaindex 6bd73f704..30310e017 100644--- a/source/net/yacy/document/parser/html/ContentScraper.java+++ b/source/net/yacy/document/parser/html/ContentScraper.java@@ -475,7 +475,7 @@ public class ContentScraper extends AbstractScraper implements Scraper {final String type = tag.opts.getProperty("type", EMPTY_STRING);final String hreflang = tag.opts.getProperty("hreflang", EMPTY_STRING);- if (rel.equalsIgnoreCase("shortcut icon")) {+ if (rel.equalsIgnoreCase("shortcut icon") || rel.equalsIgnoreCase("icon")) { // html5 -> rel="icon")final ImageEntry ie = new ImageEntry(newLink, linktitle, -1, -1, -1);this.images.add(ie);this.favicon = newLink;