🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
13 messages
13 total messages Started by Terry Davis Fri, 21 Sep 2001 20:46
archiving old messages - howto
#54370
Author: Terry Davis
Date: Fri, 21 Sep 2001 20:46
12 lines
1225 bytes
I had a question raised to me today.  I need some advise.

They want to be able to pull out old messages and have the ability to shove 
them into another database system of some sort.  Are there any utilities 
that can do this for me?

Thank you!
-- 
Terry Davis
Systems Administrator
BirdDog Solutions
Re: archiving old messages - howto
#54362
Author: Jeffrey M. Vinocur
Date: Fri, 21 Sep 2001 21:05
13 lines
1292 bytes
In article <FFNq7.1614$0w4.231861@news.uswest.net>,
Terry Davis  <tdavis@birddog.com> wrote:
>
>They want to be able to pull out old messages and have the ability to shove 
>them into another database system of some sort.

What storage method are you using?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: archiving old messages - howto
#54363
Author: Terry Davis
Date: Fri, 21 Sep 2001 22:23
25 lines
1437 bytes
Hi Jeffrey,

Thank you for your response.
I am using timehash.

Terry


Jeffrey M. Vinocur wrote:

> In article <FFNq7.1614$0w4.231861@news.uswest.net>,
> Terry Davis  <tdavis@birddog.com> wrote:
>>
>>They want to be able to pull out old messages and have the ability to
>>shove them into another database system of some sort.
> 
> What storage method are you using?
> 
> 

-- 
Terry Davis
Systems Administrator
BirdDog Solutions
Re: archiving old messages - howto
#54368
Author: Terrance Richard Boyes
Date: Fri, 21 Sep 2001 23:25
23 lines
1904 bytes
Terry Davis <tdavis@birddog.com> wrote:
> Jeffrey M. Vinocur wrote:

>> In article <FFNq7.1614$0w4.231861@news.uswest.net>,
>> Terry Davis  <tdavis@birddog.com> wrote:
>>>
>>>They want to be able to pull out old messages and have the ability to
>>>shove them into another database system of some sort.
>> 
>> What storage method are you using?

> Thank you for your response.
> I am using timehash.

Use Perl, the NNTP/News stuff to read the articles, then
the DBD/DBI stuff to put them in a database.

-- 
<URL:http://www.pierrot.co.uk/>                                  Team AMIGA
When I was in school, I cheated on my metaphysics exam: I looked into the soul
of the boy sitting next to me.  - Woody Allen

Re: archiving old messages - howto
#54375
Author: Jeffrey M. Vinocur
Date: Sat, 22 Sep 2001 20:03
30 lines
2031 bytes
In article <20010921.232508.9E9801DE.eZaa@pierrot.co.uk>,
Terrance Richard Boyes <tez@pierrot.co.uk> wrote:
>Terry Davis <tdavis@birddog.com> wrote:
>> Jeffrey M. Vinocur wrote:
>>> Terry Davis  <tdavis@birddog.com> wrote:
>>>
>>>>They want to be able to pull out old messages and have the ability to
>>>>shove them into another database system of some sort.
>>> 
>>> What storage method are you using?
>
>> I am using timehash.

Then, if you want to pull existing articles you, you need to do
something like the below (not necessarily Perl; you could do
various things).  Depends wht you mean by database.


>Use Perl, the NNTP/News stuff to read the articles, then
>the DBD/DBI stuff to put them in a database.

But if you only want to process new articles as they come in,
it's probably easier.  Depends again on what exactly you want to
do.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: archiving old messages - howto
#54384
Author: Terry Davis
Date: Sun, 23 Sep 2001 22:56
52 lines
3056 bytes
> Depends again on what exactly you want to do.

I should have been more specific.  I am setting this up as a "temporary"
project that will probably be moved to a more "robust" environment in the
future.  The quotes are from people who have no clue about technology or
nntp for that matter.  (i guess I have no clue regarding nntp either).

I do not know what type of database.  I was simply wanting to "export" the
news articles into a text format of some sort that is easy to be manipulated
and formatted.  CSV is probably not relevant for this....but any other ideas
?

I just started, so if it is easier to use another storage method, I am open
for suggestions.

Thank you.
Terry

"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:9oiqqf$5qt$1@marduk.litech.org...
> In article <20010921.232508.9E9801DE.eZaa@pierrot.co.uk>,
> Terrance Richard Boyes <tez@pierrot.co.uk> wrote:
> >Terry Davis <tdavis@birddog.com> wrote:
> >> Jeffrey M. Vinocur wrote:
> >>> Terry Davis  <tdavis@birddog.com> wrote:
> >>>
> >>>>They want to be able to pull out old messages and have the ability to
> >>>>shove them into another database system of some sort.
> >>>
> >>> What storage method are you using?
> >
> >> I am using timehash.
>
> Then, if you want to pull existing articles you, you need to do
> something like the below (not necessarily Perl; you could do
> various things).  Depends wht you mean by database.
>
>
> >Use Perl, the NNTP/News stuff to read the articles, then
> >the DBD/DBI stuff to put them in a database.
>
> But if you only want to process new articles as they come in,
> it's probably easier.  Depends again on what exactly you want to
> do.
>
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org


Re: archiving old messages - howto
#54383
Author: Jeffrey M. Vinocur
Date: Sun, 23 Sep 2001 23:26
22 lines
1814 bytes
In article <BMtr7.17890$kf1.7235596@news1.rdc1.ne.home.com>,
Terry Davis <tdavis@birddog.com> wrote:
>
>I do not know what type of database.  I was simply wanting to "export" the
>news articles into a text format of some sort that is easy to be manipulated
>and formatted.  CSV is probably not relevant for this....but any other ideas
>?
>
>I just started, so if it is easier to use another storage method, I am open
>for suggestions.

Well, all you're going to get as the articles in flat text
format.  You might set up the archive script that comes witn INN
to store the articles in a directory (one file per article), and
then process them later.



-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: archiving old messages - howto
#54385
Author: Terry Davis
Date: Mon, 24 Sep 2001 00:10
33 lines
2222 bytes
i dont think I have enough inodes on my filesystem to support that
method.......

"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:9olr36$20t$1@marduk.litech.org...
> In article <BMtr7.17890$kf1.7235596@news1.rdc1.ne.home.com>,
> Terry Davis <tdavis@birddog.com> wrote:
> >
> >I do not know what type of database.  I was simply wanting to "export"
the
> >news articles into a text format of some sort that is easy to be
manipulated
> >and formatted.  CSV is probably not relevant for this....but any other
ideas
> >?
> >
> >I just started, so if it is easier to use another storage method, I am
open
> >for suggestions.
>
> Well, all you're going to get as the articles in flat text
> format.  You might set up the archive script that comes witn INN
> to store the articles in a directory (one file per article), and
> then process them later.
>
>
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org


Re: archiving old messages - howto
#54388
Author: Jeffrey M. Vinocur
Date: Mon, 24 Sep 2001 00:36
12 lines
1387 bytes
In article <ZRur7.18076$kf1.7269367@news1.rdc1.ne.home.com>,
Terry Davis <tdavis@birddog.com> wrote:
>i dont think I have enough inodes on my filesystem to support that
>method.......

How many articles are you planning on saving?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: archiving old messages - howto
#54387
Author: Terry Davis
Date: Mon, 24 Sep 2001 00:41
22 lines
1914 bytes
i actually thought about my statement and realized that I would need to have
1885340 articles at this point to run into trouble............dont think
that is going to happen.  ;)

how can I go about what you described ?

"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:9olv5p$20t$2@marduk.litech.org...
> In article <ZRur7.18076$kf1.7269367@news1.rdc1.ne.home.com>,
> Terry Davis <tdavis@birddog.com> wrote:
> >i dont think I have enough inodes on my filesystem to support that
> >method.......
>
> How many articles are you planning on saving?
>
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org


Re: archiving old messages - howto
#54389
Author: Jeffrey M. Vinocur
Date: Mon, 24 Sep 2001 00:48
12 lines
1367 bytes
In article <Tivr7.18081$kf1.7281074@news1.rdc1.ne.home.com>,
Terry Davis <tdavis@birddog.com> wrote:
>
>how can I go about what you described ?

How about starting with reading the manpage for `archive`?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: archiving old messages - howto
#54391
Author: Terry Davis
Date: Mon, 24 Sep 2001 01:02
19 lines
1699 bytes
cool!
will start there, thank you!

"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:9olvsc$20t$3@marduk.litech.org...
> In article <Tivr7.18081$kf1.7281074@news1.rdc1.ne.home.com>,
> Terry Davis <tdavis@birddog.com> wrote:
> >
> >how can I go about what you described ?
>
> How about starting with reading the manpage for `archive`?
>
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org


Re: archiving old messages - howto
#54419
Author: Tim Skirvin
Date: Wed, 26 Sep 2001 17:23
15 lines
1514 bytes
Terry Davis <tdavis@birddog.com> writes:

>They want to be able to pull out old messages and have the ability to shove 
>them into another database system of some sort.  Are there any utilities 
>that can do this for me?

	Here's a start: 
	
   	   http://www.killfile.org/~tskirvin/software/kiboze

			    - Tim Skirvin (tskirvin@killfile.org)
-- 
<URL:http://www.killfile.org/~tskirvin/> Skirv's Homepage <FISH><
<URL:http://www.killfile.org/dungeon/>	The Killfile Dungeon  <*>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads