Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) Corrections in jMimeMagic MagicRule-file to detect some special rss feeds
thelie7d16ef831ea
diff --git a/libx/jmimemagic-0.0.4a.jar b/libx/jmimemagic-0.0.4a.jarindex a466dd014..9fb2355d3 100644Binary files a/libx/jmimemagic-0.0.4a.jar and b/libx/jmimemagic-0.0.4a.jar differdiff --git a/source/de/anomic/plasma/plasmaParser.java b/source/de/anomic/plasma/plasmaParser.javaindex b50d0eaa5..a27ff1c0b 100644--- a/source/de/anomic/plasma/plasmaParser.java+++ b/source/de/anomic/plasma/plasmaParser.java@@ -696,8 +696,19 @@ public final class plasmaParser {// printing out all parsed sentencesif (document != null) {+ // found textString[] sentences = document.getSentences();if (sentences != null) for (int i = 0; i < sentences.length; i++) System.out.println("line " + i + ":" + sentences[i]);++ // found links+ int anchorNr = 0;+ Map anchors = document.getAnchors();+ Iterator anchorIter = anchors.keySet().iterator();+ while (anchorIter.hasNext()) {+ String key = (String) anchorIter.next();+ System.out.println("URL " + anchorNr + ":\t" + key + " | " + anchors.get(key));+ anchorNr++;+ }}} catch (Exception e) {e.printStackTrace();