A
Anonymous
Guest
I am trying to make a function that would connect to a site and read the source code and return the description and the title of the page.
Example:
let say this is our function: get_description ($url)
Then, calling get_description ("http://www.excite.com") should return the following text:
"Excite is the leading personalization Web portal, featuring world-class search, content and functionality. From financial portfolios to sports scores, local weather forecasts to movie listings, Excite gathers what matters most to you every day. It's like your very own online personal assitant."
Note the description META tag at http://www.excite.com if this example is does not make sense yet.
You help is greatly appreciated and your function coding is even more.
Best Regards,
Med
madmed@dotnetos.com
Example:
let say this is our function: get_description ($url)
Then, calling get_description ("http://www.excite.com") should return the following text:
"Excite is the leading personalization Web portal, featuring world-class search, content and functionality. From financial portfolios to sports scores, local weather forecasts to movie listings, Excite gathers what matters most to you every day. It's like your very own online personal assitant."
Note the description META tag at http://www.excite.com if this example is does not make sense yet.
You help is greatly appreciated and your function coding is even more.
Best Regards,
Med
madmed@dotnetos.com