500kb OPML parsing issues

by renegadea...@googlemail.com » Wed, 10 Jun 2009 10:37:08 GMT

Sponsored Links
 Right this is the problem. I am trying to find specific words within
this large OPML file which content is

: http://news.bbc.co.uk/rss/feeds.opml 

The file is a large list of rss feeds for various bbc news items - and
I need to parse it to find specific feeds.

Currently I am doing it as follows:


This is fairly fast if i search for say "celtic" however if you enter
"w00f" and run the command it will be disgustingly slow.

Can anybody demonstrate how I can parse this opml file using the
android xml parsers please - because i have tried, and tried, and
tried and cannot get it to do it!



500kb OPML parsing issues

by Dave Bordoley » Wed, 10 Jun 2009 15:59:49 GMT

 Use a SAX parser to parse the XML, see


On Tue, Jun 9, 2009 at 7:36 PM,


Sponsored Links

500kb OPML parsing issues

by Marc Lester Tan » Wed, 10 Jun 2009 16:11:58 GMT

 or use Pull Parser:




500kb OPML parsing issues

by renegadea...@googlemail.com » Wed, 10 Jun 2009 19:32:04 GMT

 Can you actually show me some code doing it - I ave tried using these
and always fail with some exception... please demo how you would do


500kb OPML parsing issues

by Sean Hodges » Wed, 10 Jun 2009 21:10:43 GMT


A simple example is provided on the already linked article for
( http://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html )

An example for using the SAXParser is available here:

If you get exceptions, please post them up (along with your source
code) so we can take a look at them and try to help out.



On Wed, Jun 10, 2009 at 12:31 PM,


Other Threads

1. Screen capture from video stream

I want to get a screenshot from the video which is showing.
Is it possible to get screenshot from video stream?

Any ideas?



2. Smooth scrolling within a custom view - how to?


I would really appreciate any insights regarding the following. Any
pointers/hints/thoughts on this   would be very helpful. I have wasted
quite a bit of time on this.

I have a custom view that needs to scroll internally. Currently the
way I do it is to re-draw the View when I detect fling/scroll
gestures. It works but is extremely jerky when the scroll amount is
I am trying to make the custom view scroll smoothly similar to the way
ListView does.

I've looked at the 'Scroller' class but couldn't figure out how to
make it work with a View.

The only solution I've figured out so far is to start a 'Timer'/Thread
on large Scrolls and manually post invalidates.  This is obviously
undesirable from a performance perspective since every fling/large
scroll creates a Timer/Thread.

I do not want to use ScrollView. The custom view is laid out within a




3. Can startActivityForResult be called from within InputMethodService?

4. queryBroadcastReceivers does not return receivers registered by registerReceiver()

5. ContactsContract.Contact Not fully Aggregated

6. Galaxy Tab SDK missing shared library

7. Application wake up