In one of my forms, i want the user to enter a url and then the title of the associated web page to be automatically filled in, by looking it up from the page. Currently i''m doing that using hpricot, which can pull out the contents of the title tag, but it only pulls it out as text. This works most of the time, but a lot of the time i get "HTML HR TAG" or something similar. Does anyone know how i can reliably get at the displayed title of any web page? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---