On Aug 12, 1:44 pm, Bagz <[email protected]> wrote:
> Hi All,
>
> I was wondering if anyone can help me out and point me in the right
> direction...
>
> For an example, lets say i have a url which returns stats about a
> certain football team (the team name is a parameter on the url) and it
> displays the information purely as text (with maybe a bit of text
> before and after):
>
> Stadium: MyStadium
> Capacity: 100,000
> Shirt Colour: Red
>
> Is anyone able to give me any advice on how i would go about
> retrieving only the information i need so i can put it into my own
> format and display it nicer? Would i need an xml parser, would i need
> the page source code, if so how could i get it?
>
> Thanks in advance,
> Craig



Hi Craig.

I would use a regular expression parser. Look up Regular Expressions
to see what I mean. It is perfect for parsing web text data.

There is probably a regex parser in the java language somewhere that
you should be able to use.

-niko
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to