开发者

How to add an rss feed to an iphone app that isn't in xml format

开发者 https://www.devze.com 2023-03-01 09:02 出处:网络
I am trying to get an rss feed into my iphone app. I was following this tutorial: http://cocoadevblog.com/iphone-tutorial-creating-a-rss-feed-reader

I am trying to get an rss feed into my iphone app.

I was following this tutorial:

http://cocoadevblog.com/iphone-tutorial-creating-a-rss-feed-reader

and it works for a feed in xml format but im trying to get this feed in feed://www.clontarfrugby.com/feed/ and it keeps giving me the error Unable to download xml data (error code 1002) I have been loo开发者_JAVA技巧king online for ways to import a rss feed thats not in xml format but i cant find anything. Does anyone know how to change what ive done in the tutorial so i can import the right feed? or does anyone know of any tutorials that could help me out?


That is an XML feed (RSS is always XML).

Your issue is likely that "feed://" isn't a real URL, even if Safari handles it. Change it to "http://" and it'll probably work fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消