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

NSXMLParser question


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

Hello,

For test purposes I wanted to check out the NSXMLParser object to read RSS feeds. Now, I've found that some sites do not parse at all.

For example: http://slashdot.org/index.rss doesn't parse, but changing that to http://www.slashdot.org/index.rss (notice the www) does. Is there a method in Cocoa that will automatically change the URL from one format to the other?
Another site is http://www.insidemacgames.com/news/rss.php A closer look to the code shows that the code has a <![CDATA[ tag, which is probably why the parser doesn't parse.

I've seen that NSXMLParser does have delegate methods to handle this, but I have no idea how to use them. Can anybody here help me on this issue, perhaps with some sample code?

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: NSXMLParser question
      • From: Kevin Ballard <email@hidden>
  • Prev by Date: Re: Subclassing NSTableView
  • Next by Date: RE: Subclassing NSTableView[Solved]
  • Previous by thread: Re: Noobie Question - Switching Views
  • Next by thread: Re: NSXMLParser question
  • Index(es):
    • Date
    • Thread