how ro grab discription from oteh website in php?

Reply

Join Date: Nov 2009
Posts: 1
Reputation: shashank2009 is an unknown quantity at this point 
Solved Threads: 0
shashank2009 shashank2009 is offline Offline
Newbie Poster

how ro grab discription from oteh website in php?

 
-1
  #1
32 Days Ago
I just want to know that How can I grab small discription of a specific news from the news websites using url like http://www.bhaskar.com/2009/11/05/09...id_number.html

If you have a sample code,please send me.
thanks
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 102
Reputation: jomanlk is an unknown quantity at this point 
Solved Threads: 18
jomanlk jomanlk is offline Offline
Junior Poster
 
0
  #2
32 Days Ago
Unless they have an API, you'd have to grab their HTML and parse it to get what you need.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 1,011
Reputation: ardav will become famous soon enough ardav will become famous soon enough 
Solved Threads: 130
ardav's Avatar
ardav ardav is offline Offline
Veteran Poster
 
-1
  #3
32 Days Ago
if you know which part of the website you need, you can use cURL to 'grab' the specific part. However, the page will need to be reasonably 'static' or at least have a consistent structure has it is updated.
If you need RSS, you can use a number of services such as Google code.
Dunna letta dem afool ya - duh reppa sistema is da evil. INDETERMINACY is alive anda wella - force a duh issue.
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC