Fetch Meta Title And Description From External Site

how to fetch the meta title and description for external site ,

example :

http://www.yiiframework.com/ means 

i need

meta title: Yii PHP Framework: Best for Web 2.0 Development

meta description : Yii is a high-performance component-based PHP framework best for Web 2.0 development.

Look into the DOM object. Load the the page, then parse the DOM object