944,221 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 384
  • PHP RSS
Nov 5th, 2009
-1

how ro grab discription from oteh website in php?

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
shashank2009 is offline Offline
1 posts
since Nov 2009
Nov 5th, 2009
0
Re: how ro grab discription from oteh website in php?
Unless they have an API, you'd have to grab their HTML and parse it to get what you need.
Reputation Points: 13
Solved Threads: 19
Junior Poster
jomanlk is offline Offline
103 posts
since Oct 2009
Nov 5th, 2009
-1
Re: how ro grab discription from oteh website in php?
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.
Sponsor
Featured Poster
Reputation Points: 1067
Solved Threads: 955
Disgraced Poster
ardav is offline Offline
6,731 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: PHP Email Form with Validation
Next Thread in PHP Forum Timeline: PHP echo email address as mailto





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC