Thank you for reply . I am using this link http://code.google.com/apis/ajax/playground/?exp=feeds#load_feed and the structure specified in the link to read an RSS feed on an mobile application . The application will be running on all platforms like android , iPhone and blackberry etc. The app is basically html pages which are reading RSS feeds . My problem is there are situations where cell phone doesn't have net connection and connection terminates in between, but since its an html page i cant use android or iPhone API to handle the error on HTML (or i dont know how to do it on HTML ) . Can u please suggest me ways or methods to handle Error like net connection problem or no content in given RSS , i would be thankful to you.
Regards, Sebastin On Wed, Mar 7, 2012 at 7:17 PM, Jeremy Geerdes <[email protected]> wrote: > If the API is returning an error, you can check for the error property, > per the documentation. If the feed contents are improperly formed (e.g., > malformed XML), you will need to get a little more creative. Exactly what > you need to do, though, will depend on a wide variety of conditions. For > instance, what language are you writing in? How are you processing the > feed? And more. It's really not possible to give you more specific advice > without seeing what you've got so far. It would be very helpful if you > could provide a link to a demo page of what you're trying to do or, if > that's not possible and/or the feed is being processed by server-side code, > a pastebin with the relevant code. > > Jeremy R. Geerdes > Generally Cool Guy > Des Moines, IA > > For more information or a project quote: > [email protected] > > If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan > Church! > > On Mar 7, 2012, at 12:44 AM, Sebs wrote: > > > Hi, > > I am using this API for reading a feed but i was just running > > through some check but was wondering where to handle the error like > > contents not proper and result not proper . i went through the > > contents i got error? but how to use it. > > > > Thank you for help in advance. > > > > Regards, > > Sebastin > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Google AJAX APIs" group. > > To post to this group, send email to > > [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > To view this message on the web, visit > > http://groups.google.com/group/google-ajax-search-api?hl=en_US > > For more options, visit this group at > > http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Google AJAX APIs" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > To view this message on the web, visit > http://groups.google.com/group/google-ajax-search-api?hl=en_US > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en > -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] To view this message on the web, visit http://groups.google.com/group/google-ajax-search-api?hl=en_US For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
