*) extracting urls works now

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2890 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
low012 18 years ago
parent fc2936d500
commit 8c9bc7e341

@ -120,20 +120,10 @@ public class swfParser extends AbstractParser implements Parser {
urlEnd = contents.indexOf(linebreak,urlStart); urlEnd = contents.indexOf(linebreak,urlStart);
url = contents.substring(urlStart,urlEnd); url = contents.substring(urlStart,urlEnd);
urlnr = (new Integer(++urls)).toString(); urlnr = (new Integer(++urls)).toString();
anchors.put(urlnr,url); anchors.put(url,urlnr);
//contents = contents.substring(0,urlStart)+contents.substring(urlEnd); 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 // As the result of parsing this function must return a plasmaParserDocument object
plasmaParserDocument theDoc = new plasmaParserDocument( plasmaParserDocument theDoc = new plasmaParserDocument(
location, // url of the source document location, // url of the source document

Loading…
Cancel
Save