🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #244702

Re: [Dialog] Detatching Attachments from Received Articles

#244702
From: Bernd Rose
Date: Thu, 03 Feb 2011 19:41
54 lines
4078 bytes
On Thu, 3 Feb 2011 12:33:35 -0600 Sqwertz wrote:

[40tude Dialog database] 
> If by columns you mean the filenames, .....

No. The file names are the easy part. If you don't wont to identify
them by content of the header list file (*.str), you can always
identify the number by <Selected group/article info...> menu entry
from <Settings> menu. (You need to hold down [Strg+Shift] while
left clicking on the <Settings> menu to see this special menu item.)
The file name for a group is the "Key:" entry in the "Group info"
section of the dialog.

When writing "columns" I'm referring to the division for specific
information (like Keep flag) of the records in record-based parts
of the Dialog database. You can think of such files as if they were
dBase tables (they are not!) without information for field names 
(= column names).

> I'll wait until Dialog becomes open source :-)

I don't think it ever will. Marcus already did a complete re-write
of the program before he even released the first public beta. He
was about to change many important parts of the code (.84 is the
only public outflow from this process). IMHO, he noticed that he'd
better do a complete re-write, *again*, to overcome the existing
limitations and problems. Being a perfectionist (IMHO, he *is* ;-) )
Marcus will not want to post code, he thinks not flawless. But that 
/entirely/ is my /personal/ impression of the situation...

> What I've been doing in the past is collecting my own archives of
> certain newsgroups and saving them for a couple years, then starting a
> new database fresh (while saving the old ones).  But a couple of them
> have gotten corrupted before I could archive them.  I still have the
> data, just don't know what to do with it.  It's possible all the text
> is intact which is really all I need.

You can adjust the script to extract /any/ message. All messages are
stored in raw form (minus detached attachments, of course; and in such
cases altered to contain information about the storage) inside the 
msg*.dat files in order of arriving/sending. 

A couple of years ago, I posted a MiniTrue one-liner, which could be
used to extract messages containing a specific text:

http://groups.google.com/group/news.software.readers/msg/8b290bb2d58067e3
http://www.idiotsdelight.net/minitrue

As you can see, you could split all msg*.dat files on every encounter
of 0x7F and would just get some/many extra splits, when 0x7F appears
inside binary attachments.

HTH.
Bernd
Technical Details
Message-ID: <vrdp0yo3kjsx$.dlg@b.rose.tmpbox.news.arcor.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!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail
References: <1f3acf06olppk$.dlg@sqwertz.com> <15ewmm3uwcyeo$.dlg@sqwertz.com> <cse9xo1qkygh$.dlg@b.rose.tmpbox.news.arcor.de> <1aaznbe19o81u$.dlg@sqwertz.com> <zs70ehed09qx.dlg@b.rose.tmpbox.news.arcor.de> <vyipnii0a1ud.dlg@sqwertz.com>

Show Full Headers
Complete Article Headers
Message-ID: <vrdp0yo3kjsx$.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: [Dialog] Detatching Attachments from Received Articles
Date: Thu, 3 Feb 2011 20:41:25 +0100
From: Bernd Rose <b.rose.tmpbox@expires-2011-02-28.arcornews.de>
References: <1f3acf06olppk$.dlg@sqwertz.com> <15ewmm3uwcyeo$.dlg@sqwertz.com> <cse9xo1qkygh$.dlg@b.rose.tmpbox.news.arcor.de> <1aaznbe19o81u$.dlg@sqwertz.com> <zs70ehed09qx.dlg@b.rose.tmpbox.news.arcor.de> <vyipnii0a1ud.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!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.41 (d5812cd6.222.323)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Lines: 54
Organization: Arcor
NNTP-Posting-Date: 03 Feb 2011 20:41:29 CET
NNTP-Posting-Host: 67ccc2d6.newsspool1.arcor-online.net
X-Trace: DXC=EJo5QcW=n>J6PJ?[X6JIXEic==]BZ:afN4Fo<]lROoRA<`=YMgDjhgBmD64AFe]0`B19JlNQl`::IS>;
 iInFGBaGEF; im1nX5=F
X-Complaints-To: usenet-abuse@arcor.de
X-Original-Bytes: 3867