Skip to content

Commit

Permalink
*) extracting urls works now
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2890 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
low012 committed Nov 1, 2006
1 parent fc2936d commit 8c9bc7e
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions source/de/anomic/plasma/parser/swf/swfParser.java
Expand Up @@ -120,20 +120,10 @@ public plasmaParserDocument parse(URL location, String mimeType, String charset,
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
Expand Down

0 comments on commit 8c9bc7e

Please sign in to comment.