开发者

reading only text from Html using PHP

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.........


Use DOMDocument::loadHTML

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜