Re: Loading an RSS (feed://) URL
Re: Loading an RSS (feed://) URL
- Subject: Re: Loading an RSS (feed://) URL
- From: Jerry Krinock <email@hidden>
- Date: Mon, 20 Jun 2005 21:39:30 -0700
on 05/06/20 20:41, Nick Zitzmann at email@hidden wrote:
> IIRC, NSURLConnection & NSURLDownload only support http, https, and ftp.
Not stated in NSURLConnection documentation. But, yes, my experience here
certainly seems to bear this out. It also seems to work with local
"file:///" schemes.
on 05/06/20 20:52, Ondra Cada at email@hidden wrote:
> once I've needed a RSS feed in Cocoa
> myself, and it worked like a charm with http:, namely with "http://
> www.bbc.co.uk/syndication/feeds/news/ukfs_news/world/rss091.xml".
> Have you tried just using "http" in place of "feed"?
I just tried it, and it works! WHAT A HACK!!!
> I *do not know*,
> but kind of feel the protocol is HTTP anyway,
My understanding is that "http" "ftp", "file" or "feed" is called the
"scheme" of the URL, but that's the idea: It tells the browser how to handle
it.
New flash: I just found some open-source code that I downloaded last week
but forgot about :|. It is a Project Builder project by Brent Simmons
called RSSInspector 1.0b1 and is available at:
http://ranchero.com/cocoa/rss/
He published this in August 2002. Surprise, surprise...I see he gets his
data using the old NSURLHandle. I had avoided this because the docs said it
is supposed to be now depracated!
(Maybe it's depracated because it is not "smart" enough to know that it's
not supposed to be able to handle feed:// schemes.)
Well, it looks like I've got two ways to do this now.
Thanks for the help. (No thanks to the official documentation.)
on 05/06/20 21:26, Andy Lee at email@hidden wrote:
> Based on a quick glance, I would
> look at WebPolicyDelegate -> -
> webView:decidePolicyForNavigationAction:request:frame:decisionListener:
Thanks, I'll look this up tomorrow and post a follow-up message if I find
anything useful there.
Jerry Krinock
_______________________________________________
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