Cisco Ri schrieb:
> Anybody have a code snippet that extracts the title from the <title> tag
> from a given URL?

Without installing special things:

require 'open-uri'
open('http://google.com/').read =~ /<title>(.*?)<\/title>/
p $1