Get String Instead of Source - Xcode Cocoa

Posted by Kevin on Stack Overflow See other posts from Stack Overflow or by Kevin
Published on 2010-04-23T19:23:24Z Indexed on 2010/04/23 19:33 UTC
Read the original article Hit count: 279

Filed under:
|
|
|
|

Hello everyone,

I have a program that will scan the contents of a website, and display it in a textbox. The problem is that it shows the html source. For example if my html code was:

<html>
<body>

<p>Hello</p>

</body>
</html>

instead of just showing hello,

it'll show the code above...

How can I get my objective c program to just read the hello, and not the html source.. I was assuming that it was the encoding when reading the website, but I might be possibly wrong..

I would greatly appreciate it if someone could give me a reasonable answer..

Best Regards,

Kevin

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about xcode