![]() |
#1 |
![]() Join Date: Dec 2011
Posts: 33
|
![]() I want to extract some content of divs and tables from a website
the first div i want to extract content from, looks like this: Code:
<div id="s_m_HeaderContent_MainTitle" class="maintitle">Content I Want</div> i need the data for an app, i'm creating |
![]() |
![]() |
![]() |
#2 |
![]() ![]() Join Date: Aug 2005
Location: Bali
Posts: 11,216
|
![]() your website?
__________________
If you're happy and you know it shake your meds! different style links examples Flight / Hotel search Free script download Bali Villas |
![]() |
![]() |
![]() |
#3 |
![]() Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
|
![]() Web site scraping could be frowned upon and if the owner realised what you are doing he could block you.
Look at cURL to do this... http://bit.ly/KnogFR
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk |
![]() |
![]() |
![]() |
#4 |
![]() Join Date: Dec 2011
Posts: 33
|
![]() no, it's not my website,
but i'm am writing an android app for the website, ![]() |
![]() |
![]() |
![]() |
#5 |
![]() Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
|
![]() You're writing an android app in PHP? I thought it used JAVA?
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk |
![]() |
![]() |
![]() |
#6 |
![]() Join Date: Dec 2011
Posts: 33
|
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|