html - Rendering (display) a part of a web page in an android application -
this question not android programmers , whom interested in web pages design .
i make android app renders some parts of specific web pages (not part of them) .
i heard jsoun library tool task
my main problem is:-
how can choose correct link web page's source render part of web page ?.
for example let take famous website forbes
how can render list of richest men name , rank,name net worth,change,age,source,country of citizenship appearthere excluding other parts of web page. here example of application accomplishes task
you may have suggestion.
you need screen-scrape html. i'm not sure android libraries doing this, build restful service return data needed. service heavy lifting of scraping webpage , converting data json sent device.
on server side use library beautiful soup scraping. easy enough use once have installed. create beautifulsoup object html , make calls myobject.gettitle() return title of html. can use tags in html drill down elements want , build json object there. here image of elements interested in list. note #ids on right list item.
Comments
Post a Comment