public String[] getHtmlCommentsFromYahoo(URL url, MaintenanceDataManager mdm, int threadId){
		String nextLine;
	    URLConnection urlConn = null;
	    InputStreamReader inStream = null;
	    BufferedReader buff = null;
	    String result;
	    String[] htmlComments = null;
	    try{
	    	System.out.println(url.toString());
	    	urlConn = url.openConnection();
	        inStream = new InputStreamReader(urlConn.getInputStream());
	        buff = new BufferedReader(inStream);
	        while (true){
	        	nextLine = buff.readLine(); 
	            if (nextLine != null){
	            	result = "" + nextLine; //contain the jason object
		            if(mdm != null && threadId < MaintenanceDataManager.arrayOfKeys.length){//TODO check if null
		            	String key = MarkupUtility.getNextPaginationKey(result);
		            	if(key != null)
		            		MaintenanceDataManager.arrayOfKeys[threadId] = key ;
		            }
	                htmlComments = result.split("js-item comment ");
	                int htmlCommentsSize = htmlComments.length;
	                for(int i=1; i<htmlCommentsSize; i++){
	                	htmlComments[i] = "<li class=\"js-item comment" + htmlComments[i];
                		String temp[] = htmlComments[i].split("li>");
    	                htmlComments[i] = temp[0] + "li>";
	                }
	                String tempHtml[] = new String[htmlCommentsSize-1];
	                for(int i = 1; i < htmlCommentsSize; i++)
	                	tempHtml[i-1] = htmlComments[i];
	                return tempHtml;
	            }
	            else{
	               break;
	            } 
	        }
	        } catch(MalformedURLException e){
	        	System.out.println("Please check the URL:" + e.toString() );
	        	} catch(IOException  e1){
	        		System.out.println("Can't read  from the Internet: "+ e1.toString() ); 
	        	}
	        return htmlComments;
	}