Hi, everybody. I am newbie RoR. I want to get all data from DOM Source of website. Can you guide me the way to use REXML? I have ready installed lib-xml library but I only use XML::Parser. I don''t understant it. Thanks a lot and looking forward. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Vuong Hung wrote:> Hi, everybody. > > I am newbie RoR. > > I want to get all data from DOM Source of website. > > Can you guide me the way to use REXML? I have ready installed lib-xml > library but I only use XML::Parser. I don''t understant it. > > Thanks a lot and looking forward.Use Hpricot to parse Html/xml page which is much more easy. You can select particular data by finding unique css There are various options are available. Amar Daxini http://railstech.com -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Amar Daxini wrote:> Vuong Hung wrote: >> Hi, everybody. >> >> I am newbie RoR. >> >> I want to get all data from DOM Source of website. >> >> Can you guide me the way to use REXML? I have ready installed lib-xml >> library but I only use XML::Parser. I don''t understant it. >> >> Thanks a lot and looking forward. > > Use Hpricot to parse Html/xml page which is much more easy. > You can select particular data by finding unique css > There are various options are available. > Amar Daxini > http://railstech.comThanks Amar Daxini, I will try it. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.