From: Dick Davies Date: 2004-09-23T21:40:32+09:00 Subject: Re: mozilla bookmarks * James Britt [0921 17:21]: > Dick Davies wrote: > > >long shot but what the hell - don't suppose any of you good > >good people are sitting on a parser for Mozilla/Firefox bookmarks.html > >files, by any chance? > > > > > >nah, didn't think so :) > > > > > > > >Ah well, never mind. I found that squirting it into REXML::Document.new() > >by way of 'tidy -asxml' at least stops the constructor choking to death, > >I'll have to take it from there..... > > Do you use the Ruby/Tidy wrapper? > > http://www.rubyxml.com/index.rb/Applications@Ruby_Wrapper_for_XML_Tidy.txt I will eventually, I think - though to be honest even on my monster bookmark file the tidy warning/error output is longer than the generated XML :) -- Census Taker to Housewife: Did you ever have the measles, and, if so, how many? Rasputin :: Jack of All Trades - Master of Nuns