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. Create contextmenu just like the one on the homescreen


I can create context menu on my app, but it's a single level only.
The question is how to create categorized menu on my context menu just
like on the home screen's context menu?


Application (level 1)
     |-Application name (level 2)

I tried to use submenu, but it pops up another dialog box instead of
expanding the category.

Can anybody give me a hint?



2. When will the Media classes be able to connect to telephone 'conversation' audio channels ?

I'd never claim that all of the software on android can be replaced by third
party developers.  Most system application components can be re-used and
replaced by third party apps, but that is a very different statement.

Also, just being able to replace the phone app (which is not really any app,
but more a core system process) means nothing about being able to do
IVR-like features -- all the phone app does is talk with the radio module
(running on a different processor) using very high-level commands.

If you want to add new features to the platform, you can get the source code
and look/work on it, and talk about that work on android-platform.  Though
again, I doubt you would get very far adding IVR features even directly
modifying the platform code.

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.


3. How to start the standard MusicBrowserActivity?

4. Please Google: clean racist comment on Android Market

5. When will the Media classes be able to connect to telephone 'conversation' audio channels ?

6. how can BroadcastReceiver do managedquery?

7. Using Mogees on SlideME