• 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
Re: NSXMLParser question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSXMLParser question


  • Subject: Re: NSXMLParser question
  • From: Jesus De Meyer <email@hidden>
  • Date: Thu, 21 Oct 2004 17:23:13 +0200


Yes, not all RSS feeds are well-formed XML. These feeds aren't correct, but if you want to be able to parse them you can't use NSXMLParser (since a real XML parser won't parse a non-well-formed feed).

So what's the purpose of NSXMLParser then?

Given that, why are you writing your own RSS parser at all? Brent Simmons has posted open-source code to an RSS parser using CoreFoundation routines. You can find it at <http://ranchero.com/cocoa/rss/>. Note that I haven't looked at it, I'm just assuming it's decent since he's the author of NetNewsWire (and NetNewsWire 2 rocks)

I can't say why, but I checked out the code from Brent. I'm using that instead of NSXMLParser, although it doesn't support the Atom protocol, but I don't think that's used so much.

Thanks

_______________________________________________
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: NSXMLParser question
      • From: Kevin Ballard <email@hidden>
    • Re: NSXMLParser question
      • From: Keith Anderson <email@hidden>
References: 
 >NSXMLParser question (From: Jesus De Meyer <email@hidden>)
 >Re: NSXMLParser question (From: Kevin Ballard <email@hidden>)

  • Prev by Date: Fwd: Debug 'fork' with Xcode and continue in child
  • Next by Date: Copy and release
  • Previous by thread: Re: NSXMLParser question
  • Next by thread: Re: NSXMLParser question
  • Index(es):
    • Date
    • Thread