Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
How to execute URL in ruby on rails. ?
Vikas Gholap
1/16/2009 11:02:00 AM
i have problem, how to excute a URL string in ruby.
Input ------>
if i provide url in textfield named "song_url" like
"www.mywebsite.com/album/1/mysongs.html".
and i click on submit button.
output ----->
it will give a string in which all html response is stored.
how i execute this url so that i process data from resulting html.
--
Posted via
http://www.ruby-...
.
1 Answer
Brian Candler
1/16/2009 1:13:00 PM
0
Vikas Gholap wrote:
> if i provide url in textfield named "song_url" like
> "www.mywebsite.com/album/1/mysongs.html".
> and i click on submit button.
>
>
> output ----->
> it will give a string in which all html response is stored.
Use Net::HTTP or open-uri. Examples posted here two days ago, see
http://www.ruby-...
to...
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
How to execute URL in ruby on rails. ?
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