------art_57225_16019199.1181230094565
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi there,

The code below provides me the html for a specific id of the site:
www.securityfocus.com What I'm trying to do is: Getting the info of the div
id ulnerability" only, but for all the different id's available -
currently around 25000. I think it is something like:  next_page 'Next'>',
:limit 25000 but where do I need to put it and how can I get the div id
info only? I appreciate your help.

require 'rubygems'
require 'hpricot'
require 'open-uri'

# load the Securityfocus home page (id 715 to start)
doc  pricot(open("http://www.securityfocus.com/bid/715"))

# print the altered HTML
puts doc


-tom

------art_57225_16019199.1181230094565--