Read some content of a resource on internet
Posted
by
Andreas Johannessen
on Stack Overflow
See other posts from Stack Overflow
or by Andreas Johannessen
Published on 2010-12-22T11:51:04Z
Indexed on
2010/12/22
11:54 UTC
Read the original article
Hit count: 230
Hi
For my iPhone application I need to read some content of a plain html file on the web. It's just some text within a pre-tag. However I don't want to download the whole file and then get the line I need.
The format is:
TextTextTextTextTextTextTextText
TextTextTextTextTextTextTextText
TextTextTextTextTextTextTextText
TextTextTextTextTextTextTextText
I only need the first line and then close the connection to that resource.
Thanks in advance.
© Stack Overflow or respective owner