Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: Get title from URL?
Dan Diebolt
4/24/2009 8:14:00 AM
[Note: parts of this message were removed to make it a legal post.]
require 'Hpricot'
require 'open-uri'
url="
http://www.ruby-lang....
doc=Hpricot(open(url))
title=(doc/"title").inner_text
=> "Ruby Programming Language"
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Get title from URL?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password