
7 Dec
2007
7 Dec
'07
10:15 a.m.
Hi, I am working on a product to analyze posts made in Forums, Usenet and discussion mailing lists like Haskell-Cafe. For this, I require the messages to be accessible in this format: <forum> (* example: Haskell-cafe *) [ list of - <thread> [ list of - <post> </post> ] </thread> ] </forum> as XML. However, I find that that the messages (in haskell-cafe/usenet) themselves aren't organized in this fashion. I would like to know if there is any way in which I can get the archives in this fashion. Thanks, -- ~Vimal RLE :) encode = map (length &&& head) . group decode = concatMap (uncurry replicate)