Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #6444

What libraries should I use for MIME parsing, XML parsing, and MySQL ?

From John Levine <johnl@iecc.com>
Newsgroups comp.lang.ruby
Subject What libraries should I use for MIME parsing, XML parsing, and MySQL ?
Date 2012-02-02 23:15 +0000
Organization Taughannock Networks, Trumansburg NY
Message-ID <jgf5eq$19hk$1@leila.iecc.com> (permalink)

Show all headers | View raw


I have a new application where people send me mail messages each of
which has an attached ZIP file.  Inside the ZIP file is an XML file
which I want to parse and put the interesting bits into a MySQL
database.  (This is the dmarc.org system, in case you were wondering.)

I'm running on FreeBSD which uses ruby 1.8.  I see a bazillion ruby
packages in the ports collection, but it's not obvious which ones are
better than others.  I figured out that Archive::ZIP is a reasonable
way to get stuff out of the ZIP file, but which libraries should I use
to:

* parse mail messages and extract MIME parts

* parse XML files

* talk to MySQL databases?

TIA

Back to comp.lang.ruby | Previous | Next | Find similar | Unroll thread


Thread

What libraries should I use for MIME parsing, XML parsing, and MySQL ? John Levine <johnl@iecc.com> - 2012-02-02 23:15 +0000

csiph-web