Article View: news.software.readers
Article #61990Re: O/T: Archiving News Posts
From: Colin Watson
Date: Tue, 30 May 2000 00:00
Date: Tue, 30 May 2000 00:00
58 lines
3782 bytes
3782 bytes
Newz Guy <im@home.com> wrote: >I figure someone here has either thought of this or is already doing it, >and if they haven't they'd be willing to up their 2 cents worth: [...] >Both Agent and Gravity allow one to export or save the contents of one >group or another, in one format or another. It all comes to down lines >of text, after all. Megabyte sized text files, however, are a bit of >drag to read through (a lot like some of my posts), and despite the >great features available in some text editors, hardly an ideal approach. > >I haven't come up with anything satisfactory, and lately I've been more >concerned about archiving certain groups and have become really tired of >half-assed approaches. Forte never came up with nested folders, and >while the folks who make Gravity say they have something in the works, >I'd rather create and maintain archives in such a way that is newsreader >independent. I've been doing something which is probably quite close to what you're interested in. When it started to become obvious to me that Deja weren't going to keep old posts around forever, I used a couple of shell and Perl scripts and a day or two of this handy university connection to snarf its old posts in one newsgroup, and combined those with my old Free Agent database and the contents of the news server I run now. I dumped all this into a somewhat INN-like format (one article per file, but the articles in the newsgroup are stored in a two-level directory structure to avoid long search times), built some index files which aren't a million miles away from the overview database in principle, and wrote a little web-based front-end. This produces a functional archive, but searching on anything other than common header fields is prohibitively slow, and keeping it up to date is a bit on the clunky side. Block size is also an issue with that many small files; my archive contains almost 100000 articles, so even with a 1K block size I'm wasting somewhere around 50Mb of space. The next stage is to construct a SQL database (almost done, thanks to a DB-experienced friend of mine who's helping me with this), feed all the articles into that, and start having them automatically fed in from a newsfeed. I have some ideas about the front-end that I'd like to work on, too. Lots of ideas, no time to implement them ... and it's not yet in a state where I can advertise it to the world instead of just to the relevant newsgroup. I do intend to make the source code freely available, though, so you can try it yourself when it's finished, or use my ideas. I'm doing this on Unix, though, so you might have a bit of work ahead of you getting it to work on Windows. Anyway - this is just by way of an indication that there *are* people doing the sort of thing you're interested in. Indeed, there are a certain number of standard tools, like hypermail and mhonarc, that might help you; I'm just perverse enough to want to roll my own. :) -- Colin Watson [cjw44@flatline.org.uk] Linux: the choice of a GNU generation.
Technical Details
Message-ID:
<8h0ht4$hek$1@riva.ucam.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<MPG.139ccdc43cc4179a98969a@news-east.newscene.com>Show Full Headers
Complete Article Headers
Message-ID: <8h0ht4$hek$1@riva.ucam.org> Subject: Re: O/T: Archiving News Posts Date: Tue, 30 May 2000 00:00:00 +0000 From: cjw44@flatline.org.uk (Colin Watson) References: <MPG.139ccdc43cc4179a98969a@news-east.newscene.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.mbox.zip!not-for-mail X-Deja-AN: 629023570 X-Trace: riva.ucam.org 959695588 17876 131.111.193.196 (30 May 2000 14:06:28 GMT) Organization: riva.ucam.org Newsgroups: news.software.readers