🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #222224

Re: [dialog] Exporting from Sent folder

#222224
From: Oliver Cromm
Date: Mon, 16 Jun 2008 06:26
47 lines
2974 bytes
* Oliver Cromm wrote:

> * Bernd Rose wrote:
> 
>> On Sat, 7 Jun 2008 01:56:07 -0400, Oliver Cromm wrote:
>> 
>>> Messages from "Sent" can be extracted as separate files (*.msg, default)
>>> or as mbox (*.mbx):
>>>   
>>>   ruby extr_sent.rb
>>>   ruby extr_sent.rb -m
>> 
>> Hm. You may consider extracting the messages based on a msg2.drt 
>> lookup. (Group 2 is the Sent folder on all Dialog installations.)
>> 
>> Ignore the first 4 Bytes of the file. Afterwards you see records of
>> 15 Bytes each. The first 4 are record numbers. [...]
> 
> Wow, how do you know this things? And if you know them, why don't *you*
> post an extraction script?
> 
> Anyway, your description of the drt file seems to fit more or less, but
> I'll ask you about some details.

The new version is now based on the information in msg2.drt

<gopher://vector.crommatograph.info/0/scripts/dialog/extr_sent.rb>

No second file is needed.

This script should be more robust, and it's fast as hell (on my newish
machine, 625 messages extract in about 2 seconds).

The old version is still there for the moment, as extr_sent_v4.tar.gz.

____

For people having problems with gopher:

<html://vector.crommatograph.info:70/0/scripts/dialog/extr_sent.rb>

Or if it still doesn't work:

<http://gopher.floodgap.com/gopher/gw?gopher://vector.crommatograph.info:70/0/scripts/dialog/extr_sent.rb>

-- 
Oliver C.
Technical Details
Message-ID: <rce2zby16m7o$.dlg@mid.crommatograph.info>
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.brown.octanews.com.POSTED!not-for-mail
References: <azanzl663stj.dlg@mid.crommatograph.info> <f303u6enh3nd.dlg@b.rose.tmpbox.news.arcor.de> <m194g6bq78bp.dlg@mid.crommatograph.info>

Show Full Headers
Complete Article Headers
Message-ID: <rce2zby16m7o$.dlg@mid.crommatograph.info>
Subject: Re: [dialog] Exporting from Sent folder
Date: Mon, 16 Jun 2008 02:26:34 -0400
From: Oliver Cromm <lispamateur@yahoo.de>
References: <azanzl663stj.dlg@mid.crommatograph.info> <f303u6enh3nd.dlg@b.rose.tmpbox.news.arcor.de> <m194g6bq78bp.dlg@mid.crommatograph.info>
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.brown.octanews.com.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: Seminar fuer kritische Bananenwissenschaft
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:bVqzza/VAR3PXQDDJDGqct7VKWs=
X-NNTP-Posting-Host: 192.168.11.101
Lines: 47
NNTP-Posting-Date: 16 Jun 2008 01:26:59 CDT
X-Complaints-To: abuse@octanews.net