Hi emacsers

I'm wondering is there any existing lisp code snippet to get title of web page by url.
Such as, given "http://www.emacswiki.org/emacs/Git", we will get the title of this web page, which is "EmacsWiki: Git:".

Function of w3m-current-title is quite close, but a standalone lisp function is much preferred.

--
Thanks & Regards

Denny Zhang