Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old January 9th, 2012, 07:40 AM   #1 (permalink)
New Member
 
Join Date: Dec 2011
Location: Southampton, UK
Posts: 9
 
Device(s): Galaxy Nexus
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via Skype™ to wadey danjswade@gmail.com
Default Take a portion of a website and include it in app

Good morning all

Is there a way to isolate just a portion of a website and feed this into an app?

For example, I'm looking to develop an app for my rugby club, I want the league to show up, but rather than direct to the RFU site, can I catch just the table itself? Here's the website to help clarify matters:

MatchByDivision

Ta!

wadey is offline  
Reply With Quote
Sponsors
Old January 9th, 2012, 07:40 AM   #2 (permalink)
New Member
 
Join Date: Dec 2011
Location: Southampton, UK
Posts: 9
 
Device(s): Galaxy Nexus
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via Skype™ to wadey danjswade@gmail.com
Default

Oh, you will need to click "league table" in the top right
wadey is offline  
Reply With Quote
Old January 10th, 2012, 01:08 PM   #3 (permalink)
Junior Member
 
Lemoncog's Avatar
 
Join Date: Feb 2011
Posts: 25
 
Device(s): HTC Desire HD
Thanks: 0
Thanked 6 Times in 2 Posts
Default

Isolating html is difficult. Usually if you were developing this kind of application you would work with the people who provide the information to that website, and directly access there information by means of an API.

What your trying to do here is access information that the website has already parsed. Its adding an extra level of complexity and means your application will rely on that website to stay the same and be accessibly. Not to mention that site owner might be annoyed with you effectively stealing his content.

Ideally you would want to discuss your application idea with the people who provide the Rugy data and gain access to there API.

However if that is not an option you can look into using a HTML parser/cleamer such as Jsoup, found at jsoup Java HTML Parser, with best of DOM, CSS, and jquery .

With this you could parse and read the html and isolate the area that has the table, but its going to be very slow to parse and fiddle to extract data from.
Lemoncog is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 12:06 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo