🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Jim Holloman Thu, 04 Mar 1999 00:00
Exporting Messages (Gravity)
#47048
Author: Jim Holloman
Date: Thu, 04 Mar 1999 00:00
12 lines
951 bytes
Has anyone written a program that will allow you to
export all the messages in a Gravity NewsGroup
database to a text file?

In other words, I want a plain ASCII file containing
only the headers and text of the messages -- without
any of the indexing stuff; one output file for each 
newsgroup.

Jim H.

Re: Exporting Messages (Gravity)
#47043
Author: Tom B.
Date: Thu, 04 Mar 1999 00:00
50 lines
2156 bytes
In article <MPG.114822704c9b1d559896a7@news.atl.BellSouth.net> 
Jim Holloman posted  ... 

> Has anyone written a program that will allow you to
> export all the messages in a Gravity NewsGroup
> database to a text file?
> 
> In other words, I want a plain ASCII file containing
> only the headers and text of the messages -- without
> any of the indexing stuff; one output file for each 
> newsgroup.
> 

If you mean automatically here is one

rule = test
  enabled = Yes
  allgroups = No
begin groups
  news.software.readers
end groups
begin condition
end condition
begin actions
  saveTo D:\Document\notes\gravity\nsr.txt
  fetchBody
end actions
end rule

You have to fetch the body for this to work during download of 
headers and you would make a separate rule for each group (changing 
the file name for each of course). The conditions are none - always 
true. You can copy this into a text file and import it, then tweak.

If you want to run it manually and archive the whole group you don't 
need to fetch the body Gravity seems to do it automatically. But be 
warned Gravity will begin fetching every article unless you select 
more than one.

As far as showing headers what ever is displayed in your article 
window will be saved (from - newsgroup - posting host, etc.). I 
don't know what you mean by 'indexing stuff.' So, if all you want is 
subject, date and text you would have to change article layout in 
global.
-- 

     Tom B.   NAPLES, FL
     nfn03862@naples.net

Re: Exporting Messages (Gravity)
#47126
Author: Jim Holloman
Date: Sat, 06 Mar 1999 00:00
35 lines
1939 bytes
[This followup was posted to news.software.readers and a copy was sent to 
the cited author.]

In article <MPG.1148438ca60f71509898a4@news.naplesfl.net>, 
nfn03862@naples.net says...
> In article <MPG.114822704c9b1d559896a7@news.atl.BellSouth.net> 
> Jim Holloman posted  ... 
> 
> > Has anyone written a program that will allow you to
> > export all the messages in a Gravity NewsGroup
> > database to a text file?

Thanks, Tom, for the follow up and for the script.  You 
opened my eyes to some capabilities of Gravity that I 
have not tried; that of rules (or scripts).  I am not
one that learns well from online documentation.  I do
much better with hardcopy.

The script you provided will do the job to a limited
extent.  Actually, I was looking for a standalone program
that would process all the news database files in a
directory.  A DOS program would do fine, with a command
line like:

   Convert *.* [Options]

Then, every newsgroup database would be converted to a
ASCII text file and the options would provide for either 
full headers or partial headers.

MicroPlanet provided me with a program (DUMP, I believe),
but it creates a separate file for EACH message.  Useful 
for debugging, but not for mass conversion.

Re: Exporting Messages (Gravity)
#47160
Author: Francois Visagie
Date: Mon, 08 Mar 1999 00:00
39 lines
2226 bytes
In article <MPG.114a964f36a2c9fa9896a8@news.atl.BellSouth.net>, Jim 
Holloman <tn1@BellSouth.net> says...
<< snip >>
> The script you provided will do the job to a limited
> extent.  Actually, I was looking for a standalone program
> that would process all the news database files in a
> directory.  A DOS program would do fine, with a command
> line like:
> 
>    Convert *.* [Options]
> 
> Then, every newsgroup database would be converted to a
> ASCII text file and the options would provide for either 
> full headers or partial headers.
> 
> MicroPlanet provided me with a program (DUMP, I believe),
> but it creates a separate file for EACH message.  Useful 
> for debugging, but not for mass conversion.

Hi Jim,

Have you contacted MicroPlanet with your exact suggestions? If I'm not 
mistaken, providing access to the newsbase for external programs is one 
of the features under consideration for new versions, and your input may 
just be what's needed to make up their minds and/or define the 
implementation.

Regards,
-- 
Fran�ois Visagie
Product Manager: Call Centres
DataFusion Systems (Pty) Ltd
P.O. Box 582, Stellenbosch, 7599, South Africa
Tel. +27 (21) 888-2000
Fax. +27 (21) 888-2200
http://www.datafusion-systems.com
Please note: to mail me, remove the '.TurfThis' from my address.

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