Discussion Forums  >  Uncategorized

Replies: 1    Views: 367

DPinoh
Apple Fan
Profile
Posts: 55
Reg: Feb 17, 2011
USA, Ohio
550
04/26/11 07:32 PM (14 years ago)

Error code on RSS feed

I have an RSS feed as part of my app - but one link returns the following error iOS Error Code:- 1007 iOS Error Message: too many HTTP redirects and the feed doesn't load. Is there any way to correct this? Thanks much.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/27/11 03:50 AM (14 years ago)
Hmm... v1.5 should handle this well, v1.4 not so much. It's usually realted to an HTML document that several different javascript files, like Google Ad Sense and other 'sneaky' scripts that load after the HTML. In v1.5 have a look at BT_screen_webVIew.m and BT_screen_customHTML.m. (webView.m is used for Custom URL screens, customHTML.m is used for html pasted in the control panel). Find the 'didFailLoadWithError' method and you'll see where we handle these types of errors. You may need to add: if(errorCode == -1007) return; But.. if there are too many redirects....there coulud be something else wrong. Maybe try it in Mobile Safari first to make sure the URL loads as expected.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.