logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > PHP
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 05-27-2012, 10:13 PM   #1
moviemastersdk
 
Join Date: Dec 2011
Posts: 33
Default PHP website content extraction

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
moviemastersdk is offline   Reply With Quote
Old 05-28-2012, 01:08 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

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
edbr is offline   Reply With Quote
Old 05-29-2012, 06:38 AM   #3
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

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
davidj is offline   Reply With Quote
Old 05-29-2012, 07:10 AM   #4
moviemastersdk
 
Join Date: Dec 2011
Posts: 33
Default

no, it's not my website,
but i'm am writing an android app for the website,
moviemastersdk is offline   Reply With Quote
Old 05-29-2012, 08:15 AM   #5
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

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
davidj is offline   Reply With Quote
Old 05-31-2012, 08:17 AM   #6
moviemastersdk
 
Join Date: Dec 2011
Posts: 33
Default

Quote:
Originally Posted by davidj View Post
You're writing an android app in PHP? I thought it used JAVA?
oh yeah, ofc it does,
i was just thinking about parsing the data in php on my server, and sending it to the app,

but i found out i was able to do it all in java.
moviemastersdk is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 08:32 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com