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

Discussion in 'Ruby' started by John Levine, Feb 2, 2012.

  1. John Levine

    John Levine Guest

    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
     
    John Levine, Feb 2, 2012
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. CJ
    Replies:
    1
    Views:
    1,855
    Andrew Thompson
    Oct 29, 2004
  2. Federico Bari

    XML MULTI-TABLES parsing and mySQL

    Federico Bari, Jan 26, 2004, in forum: XML
    Replies:
    0
    Views:
    469
    Federico Bari
    Jan 26, 2004
  3. jkugler
    Replies:
    3
    Views:
    1,003
    =?ISO-8859-1?Q?J=FCrgen_Kahrs?=
    Jun 12, 2006
  4. Jan Arickx
    Replies:
    0
    Views:
    360
    Jan Arickx
    Aug 25, 2003
  5. Federico Bari

    XML MULTI-TABLES parsing and mySQL

    Federico Bari, Jan 25, 2004, in forum: Perl Misc
    Replies:
    3
    Views:
    204
  6. joe
    Replies:
    0
    Views:
    363
  7. Erik Wasser
    Replies:
    5
    Views:
    845
    Peter J. Holzer
    Mar 5, 2006
  8. ecureuil
    Replies:
    0
    Views:
    619
    ecureuil
    May 28, 2006
Loading...