🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by KenL. Mon, 07 Feb 2000 00:00
Gravity header storage
#57799
Author: KenL.
Date: Mon, 07 Feb 2000 00:00
15 lines
1292 bytes
I'd like to write some local utilities to process header information for 
a given newsgroup.  I use Gravity for reading/posting.  Is the Gravity db 
storage format for local headers documented somewhere?  Alternately, is 
there a way to have Gravity save the headers in some sort of ASCII text 
format?  Or, if Gravity can't do this, is there a newsreader that permits 
saving header information in text (or a well-documented) format?

I suppose the only alternative would be to write my own NNTP interface to 
a news server, but that's something I'd like to avoid.

Thanks.
-- 
Ken L.

Re: Gravity header storage
#57815
Author: Tom B.
Date: Tue, 08 Feb 2000 00:00
30 lines
2107 bytes
KenL., KenL54@go.com, posted ..

> I'd like to write some local utilities to process header information for 
> a given newsgroup.  I use Gravity for reading/posting.  Is the Gravity db 
> storage format for local headers documented somewhere?  Alternately, is 
> there a way to have Gravity save the headers in some sort of ASCII text 
> format?  Or, if Gravity can't do this, is there a newsreader that permits 
> saving header information in text (or a well-documented) format?

The answer to gravity is a qualified yes, it can save header info in 
ASCII text but you have to get the body too. I haven't seen a hack for 
the db format although I have for agent.

See the rule condition "append to file." As far as which headers show; 
they will be the ones selected (the ones that normally show), so you 
can add the ones you want to keep. If you want *all* headers you have 
to have all headers showing when you run the rule.

You can write a rule to do a whole group at once. Set up a rule 
with an append to a text file (you have to create an empty file 
first), no conditions-always true. Then run it manually and it will 
put the whole group in the text file. Or you can have the rule append 
automatically on download (just remember the bit about which headers 
show).

-- 
    Tom B.  Naples FL   ** Gravity Page **
    http://www.naplesfl.net/~tbates/gravity/

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