Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) extracting urls works now

low0128c9bc7e341f1
diff --git a/source/de/anomic/plasma/parser/swf/swfParser.java b/source/de/anomic/plasma/parser/swf/swfParser.java
index 54248a1d2..42ca7f779 100644
--- a/source/de/anomic/plasma/parser/swf/swfParser.java
+++ b/source/de/anomic/plasma/parser/swf/swfParser.java
@@ -120,20 +120,10 @@ public class swfParser extends AbstractParser implements Parser {
urlEnd = contents.indexOf(linebreak,urlStart);
url = contents.substring(urlStart,urlEnd);
urlnr = (new Integer(++urls)).toString();
- anchors.put(urlnr,url);
- //contents = contents.substring(0,urlStart)+contents.substring(urlEnd);
+ anchors.put(url,urlnr);
+ contents = contents.substring(0,urlStart)+contents.substring(urlEnd);
}
-// if(anchors.isEmpty()){
-// anchors=null;
-// String msg = "NONE xxxxxxxxxxxxxxx";
-// this.theLogger.logSevere(msg);
-// }
-// else{
-// String msg = "xxxxxxx "+anchors.get("1").toString();
-// this.theLogger.logSevere(msg);
-// }
-
// As the result of parsing this function must return a plasmaParserDocument object
plasmaParserDocument theDoc = new plasmaParserDocument(
location, // url of the source document