private String crawlCode(String content){
  String result="";
  String resultSpan="";
  String resultParagraph="";
  String resultDiv="";
  resultSpan=getTagContent("span",content);
  resultParagraph=getTagContent("p",content);
  resultDiv=getTagContent("div",content);
  result=resultSpan;
  if (resultParagraph.length() > resultSpan.length() && resultParagraph.length() >= resultDiv.length())   result=resultParagraph;
 else   if (resultParagraph.length() > resultSpan.length() && resultParagraph.length() < resultDiv.length())   result=resultDiv;
 else   result=resultParagraph;
  return htmlDecode(result);
}

private String crawlCode ( String content ) { String result = "" ; String resultSpan = "" ; String resultParagraph = "" ; String resultDiv = "" ; resultSpan = getTagContent ( "span" , content ) ; resultParagraph = getTagContent ( "p" , content ) ; resultDiv = getTagContent ( "div" , content ) ; result = resultSpan ; if ( resultParagraph . length ( ) > resultSpan . length ( ) && resultParagraph . length ( ) >= resultDiv . length ( ) ) result = resultParagraph ; else if ( resultParagraph . length ( ) > resultSpan . length ( ) && resultParagraph . length ( ) < resultDiv . length ( ) ) result = resultDiv ; else result = resultParagraph ; return htmlDecode ( result ) ; }
crawls the code looking for relevant information
