🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #168424

Re: [slrn] Can Agent data files be imported into slrn?

#168424
From: Alan Connor
Date: Fri, 01 Jul 2005 10:28
45 lines
2683 bytes
On news.software.readers, in
<Xh4xe.1818$aY6.836@newsread1.news.atl.earthlink.net>, "Alan
Connor" wrote:

<snip>

> Getting your cache from agent into your main slrnpull directory
> tree would be tricky and it would probably be better to create
> a seperate one and use a different slrnrc called with the -i
> option and --spool (which you use for slrnpull) to access it.
>

Been looking into this and don't think it would be particularly
tricky after all. 

Slrnpull uses a sort-of maildir storage format, rather than
the mbox format, one post per file in a directory like:
../news/news/software/readers/ with each file having as its name
the server number of the post.

Xref: news.earthlink.net news.software.readers:214451

As long as there was no conflict in the server numbers of old and
new posts (if you hadn't changed newsservers) then you should
just be able to put the names of the groups in slrnpull.conf, run
it while not connected to the newsserver, and it will create the
directory trees for each one.

A fairly simple script would split the agent mboxes into
individual post/files, name the files after the server numbers in
the individual posts, and put them where they belong.

If you are interested, I will write it.

Then you just need to create the file ../data/active, which is
a very simple flat file, with the names of each newsgroup and
the first and last server numbers. 

THEN connect to the server with slrnpull and start downloading
new posts.

Thanks for the opportunity to look into this.

AC
Technical Details
Message-ID: <UU8xe.14412$pa3.10229@newsread2.news.atl.earthlink.net>
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!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!65807237!not-for-mail
References: <a5e9c11uke73ojk7siolo1p1l6n1gted1d@4ax.com> <Xh4xe.1818$aY6.836@newsread1.news.atl.earthlink.net>

Show Full Headers
Complete Article Headers
Message-ID: <UU8xe.14412$pa3.10229@newsread2.news.atl.earthlink.net>
Subject: Re: [slrn] Can Agent data files be imported into slrn?
Date: Fri, 01 Jul 2005 10:28:04 GMT
From: Alan Connor <zzzzzz@xxx.yyy>
References: <a5e9c11uke73ojk7siolo1p1l6n1gted1d@4ax.com> <Xh4xe.1818$aY6.836@newsread1.news.atl.earthlink.net>
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!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!65807237!not-for-mail
Newsgroups: news.software.readers
Reply-To: xxxx@yyy.zzz
User-Agent: slrn/0.9.7.3 (Linux)
Lines: 45
NNTP-Posting-Host: 4.242.9.26
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.news.atl.earthlink.net 1120213684 4.242.9.26 (Fri,
NNTP-Posting-Date: Fri, 01 Jul 2005 03:28:04 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net