Is it possible to get page description from page url without slowdowing the page load? via java script or php or any language?
For example I would send this input:
http://www.facebook.com
and get this output:
Facebook is a social utility that connects people with friends and others who work, study and live around them. People use Facebook to keep up with friends, ...
How I can do it?
You need the function
file_get_contents($url). For more help, refer to this1: http://php.net/manual/en/function.file-get-contents.php . You may need to do
urlencodeif the URL contains some spaces . As for the parsing part, I have found some code on the web . Here is the link. Do let knowCode :