• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Parsing HTML
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parsing HTML


  • Subject: Parsing HTML
  • From: Jesus De Meyer <email@hidden>
  • Date: Thu, 27 Oct 2005 22:32:32 +0200

Hi,

In my app, I need to parse certain HTML characters/codes. Now, in the past (before Tiger) I was using initWithHTML and that worked fine, but in Tiger it doesn't work. Now an Apple engineer told me that since initWithHTML now uses WebKit, I cannot use that method inside a delegate method of NSURLConnection.
The problem is, that everything my app has to do happens after connectionDidFinishLoading.


Is there a way around this so that I can still parse HTML text. Parsing it manually is not a pleasant task.

The files I'm retrieving are XML files (RSS/Atom files to be precisely) and I need to use NSURLConnection inorder to handle authentication. For the XML parsing, I use CFXMLParser

Thanks in advance,

Jesus
_______________________________________________
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


  • Follow-Ups:
    • Re: Parsing HTML
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: view is locked?
  • Next by Date: Re: Generating ligature glyphs
  • Previous by thread: view is locked?
  • Next by thread: Re: Parsing HTML
  • Index(es):
    • Date
    • Thread