SaxParser problem

urikupfer

Member
Licensed User
Longtime User
How can I stop reading very big rss file (that take too long time) after constant number of items?
 

urikupfer

Member
Licensed User
Longtime User
Hi erel
I have tried this solution, I throw exception in the start element event, but I get the error message , in java surrounding the Parser.Parse2 with try catch
solve it , in b4a it doesn't help.
 
Upvote 0

urikupfer

Member
Licensed User
Longtime User
Hi Erel
No, I am not using the HttpUtils2 , for some reason it
doesn't download all the string I need.
Any way I have written the parser in a class with a
thread and this way it work fine.
uri
 

Attachments

  • ParserClass.bas
    4.9 KB · Views: 276
Upvote 0

urikupfer

Member
Licensed User
Longtime User
hi erel
now it`s working fine with HttpUtils2 ,and as you can see the parser stops after 500 items.
 

Attachments

  • RSS_Reader.zip
    214.9 KB · Views: 276
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…