views:

41

answers:

1

Hi!

i read the meta tags from a PHP script that read the url convert it to html and then read the tags and title .................for this no problem but the problem is i wants to read only the text from html............... for Example when you put a link on facebook you can see that i read's your Title and some text from your webpage url.

like the google does while search the web page.

i wants to know that how can i write a script that work like a facebook book mark.........

A: 

Use DOMDocument::loadHTML

grantwparks