From: "Иван Бишевац" Date: 2012-09-06T19:06:54+09:00 Subject: Re: Parsing through downloaded html --f46d042e00c192d94c04c905a698 Content-Type: text/plain; charset=UTF-8 It's ok if you are a new to Ruby but don't be so passive. You are not first that is looking for excel library (in Ruby terms it's called gem). First look for that. After you find these libraries pick one and search Google for usage or go to their site there you will find support or documentation. That's the way all of us works. 2012/9/6 Sybren Kooistra > Thanks Jesus. > > So something like: > > require 'nokogiri' > Dir['*.html'].each do |file| > document = Nokogiri::HTML(open(file)) > variable = document.xpath("//div/h2") > [and something to PUT the variable in a specified excel column/csv file) > > ?? > > (again, I am a newb =)) > > -- > Posted via http://www.ruby-forum.com/. > > --f46d042e00c192d94c04c905a698 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It's ok if you are a new to Ruby but don't be so passive.
You a= re not first that is looking for excel library (in Ruby terms it's call= ed gem). First look for that.
After you find these libraries pick= one and search Google for usage or go to their site there you will find su= pport or documentation.
That's the way all of us works.

= 2012/9/6 Sybren Kooistra <lists@ruby-forum.com>
Thanks Jesus.

So something like:

require 'nokogiri'
Dir['*.html'].each do |file|
document =3D Nokogiri::HTML(open(file))
variable =3D document.xpath("//div/h2")
[and something to PUT the variable in a specified excel column/csv file)
??

(again, I am a newb =3D))

--f46d042e00c192d94c04c905a698--