Import XML in mysql

Hi,

I am using scrubyt for scraping a webpage. The output is xml:

Example:


<item_name>Canon Vertical Battery Grip BG-E3 For EOS Digital Rebel
XT</item_name>
$179.00


<item_name>Canon Vertical Battery Grip BG-E4 For EOS
5D</item_name>
$249.00


<item_name>Canon CB-2LW Battery Charger For Canon NB2L Lithium
Battery</item_name>
$69.00

Question:

Is there a way to import this output in a mysql-database?

Grtz…remco

i don’t know if there’s a direct way, but with hpricot it would be a
thing of 15 minutes to write something like that

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs