Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!wuarchive!kuhub.cc.ukans.edu!anu-news!list From: GLASSMANN@CCAVAX.CAMB.COM (Lenny Glassmann) Newsgroups: news.software.anu-news Subject: Re: NEWS.ITEM file going bad Message-ID: <9164@ccavax.camb.com> Date: 13 Oct 89 15:23:10 GMT References: <8910130044.AA17481@uunet.uu.net> Sender: ANU-NEWS Discussion Reply-To: Lenny Glassmann Organization: Cambridge Computer Associates, Inc. Lines: 16 Apparently-To: anu-news@vm1.nodak.edu > In article , > Jonathan_Welch writes: > It would be nice if there were some way to tell news to build > an item file by scanning the files in the message directories. > Has anyone done (or interested in doing) something like this? > I've done this by creating a program which is stolen from NEWS' ADD FILE command. It reads all of the ITM files in the directory tree, and creates a new NEWS.ITEMS file. It runs in about 2 hours on a microVAX II with all of the comp.* and news.* groups, plus a few others. Also, it does NOT create new newsitems, and therefore, everyone doesn't have to read everything again. The only information that is lost is the time the items were added to the database, and any local expiration time that was set. I built the program from NEWS V5.8a, I hope the NEWS.ITEMS layout has not changed in V5.9. Also, this program expects NEWS.GROUPS to be intact. Let me know if you want a copy of this program.