🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #203289

Re: [Dialog] .DAT to .mbox conversion?

#203289
From: Oliver Cromm
Date: Mon, 06 Aug 2007 16:13
33 lines
2854 bytes
* Steve Wertz wrote:

> On Sun, 5 Aug 2007 15:45:10 -0400, Charles Lasitter wrote:
> 
>> Is there any utility that can convert Dialog's .DAT format to standard
>> mbox format?
> 
> Along those same lines, I've wanted to write an external
> folder/group search function.
> 
> Is there a list of file formats and a description of what each
> file is?  Are *all* the actual bodies and headers really stored
> in just the single file msg.dat?

The data you are asking about are in the files msg.dat, msg1.dat,
msg2.dat etc., depending on how big your database is - each of them
maxes out at roughly 10 MB, I have currently msg13.dat as the highest. 

There is no official description, but the format of the .dat files is
not that difficult. An analysis and a way to export data (one file per
message) was posted in the thread starting at
<news:x4b3t9jctoc8$.1g4quxwvnmwf1.dlg@40tude.net>. That's in the German
Dialog group, but that very thread was initiated in English and most of
the answers are in English, too.

The Ruby script I gave in that thread could be easily changed to create
one mbox file per dat-file instead of single messages.

-- 
Java is the SUV of programming tools.
A project done in Java will cost 5 times as much, take twice as long,
and be harder to maintain than a project done in a scripting language
such as PHP or Perl. - Philip Greenspun
Technical Details
Message-ID: <1wk9pc4x2ck6z$.dlg@ocromm.my-fqdn.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.octanews.net!indigo.octanews.net!auth.beige.octanews.com.POSTED!not-for-mail
References: <16n9t1ynvi8j2.dlg@ncdm.com> <nxsahp9pj00b$.dlg@sqwertz.com>

Show Full Headers
Complete Article Headers
Message-ID: <1wk9pc4x2ck6z$.dlg@ocromm.my-fqdn.de>
Subject: Re: [Dialog] .DAT to .mbox conversion?
Date: Mon, 6 Aug 2007 12:13:43 -0400
From: Oliver Cromm <lispamateur@yahoo.de>
References: <16n9t1ynvi8j2.dlg@ncdm.com> <nxsahp9pj00b$.dlg@sqwertz.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.octanews.net!indigo.octanews.net!auth.beige.octanews.com.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.1de
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: École Nationale Supérieure de la Bananologie
X-Face: .f:ZE>c\~9oJ+1nK#>ntSHOQS~4x"Qx2m(<D<@p$G"tzb1lgWLUGY.zApKa@VL_?d$r(8=?VjrD9=uY:x!+H=hvj58Uw7)Y9<:KMYD.+^~#qMpeg2rvt`{#2a~7YoyFaFaBEdo4.TJzBqgtCZZ:mku4J|hey}DE}_"z(rl0N)\Pxh*0$"3B2mr\01&YPY7WJ:2kSe'I#PqiTxs1s49!S#W85'\zMXy*wRgD,,k.=4:3M{(P"i6S;
 \az~ut3z`; ?*Y;
 &]11<(EPF-SN`|3PhyL%~AuZpoFjjE_oM1`znHPq_?uib2WXwE+q@m),cLq~B$r^5uO]u6?CEecn=%xsDXNVa(1DX.)O(
Cancel-Lock: sha1:LJqyr4BrN8FrdfRl84U90LxLwfY=
Lines: 33
NNTP-Posting-Date: 06 Aug 2007 11:13:44 CDT
X-Complaints-To: abuse@octanews.net