public static String toPureHtml(WebPage wp){
		final StringBuffer result = new StringBuffer();
		try {
			final URL linkUrl = new URL(wp.getUrl());
			final HttpURLConnection httpConnection = (java.net.HttpURLConnection) linkUrl.openConnection();
			httpConnection.connect();
			final java.io.InputStream urlStream = httpConnection.getInputStream();
			BufferedReader bufferReader = new BufferedReader(new java.io.InputStreamReader(urlStream, wp.getCharSet()));
			String tmpLine = "";
			while ((tmpLine = bufferReader.readLine()) != null) {
				result.append(tmpLine).append("\n");
			}
		} catch (UnsupportedEncodingException e1) {
			e1.printStackTrace();
		} catch (IOException e) {
			System.out.println("Parsing error:\n" + e);
		} catch (Exception e) {
			System.out.println("Connecting error:\n" + e);
		}
		
		return result.toString();
	}