RE: [NSString stringWithContentsOfURL:] not working
RE: [NSString stringWithContentsOfURL:] not working
- Subject: RE: [NSString stringWithContentsOfURL:] not working
- From: Oliver Donald <email@hidden>
- Date: Tue, 14 Sep 2004 16:51:02 +0100
Title: RE: [NSString stringWithContentsOfURL:] not working
I was told offlist about the formatting error with the NSLog()'s, just in case anyone was wondering, no that wasn't in the actual code and isn't the bug ;) I dont have the actual code at work, so the code in my original post was hurriedly written from memory.
Hence the code actuall is...
- (BOOL)extract
{
NSURL *storyURL;
NSString *story;
storyUrl = [NSURL URLWithString:[urlField stringValue]];
NSLog("URL = "" storyUrl);
story = [NSString stringWithContentsOfURL:storyURL];
NSLog("HTML = [%@]", story);
...
...
}
Cheers,
Oli
DISCLAIMER: The information contained in this e-mail is confidential and may be privileged. It is intended for the addressee only. If you are not the intended recipient, please delete this e-mail immediately. The contents of this email must not be disclosed or copied without the sender's consent. We cannot accept any responsibility for viruses, so please scan all attachments. The statements and opinions expressed in this message are those of the author and do not necessarily reflect those of the company. The company does not take any responsibility for the views of the author.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden