Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!maytag!looking!brad From: brad@looking.on.ca (Brad Templeton) Newsgroups: news.misc Subject: Re: Articles most often cited in comp.all Message-ID: <69652@looking.on.ca> Date: 31 Dec 89 05:16:33 GMT References: <9224@elsie.UUCP> <6977@tank.uchicago.edu> Organization: Looking Glass Software Ltd. Lines: 34 Class: information,original It's quite simple. Are a lot of people actually *using* these stats? If there are a lot, then it may be worth posting them, although I would suggest news.lists and not here. If there are not a lot, then those few who are keen should just get the software. The following program will process the newsgroups in the .newsrc and write out a reference count for each message-id. It doesn't attach subjects, but another simple program could do that. (An inefficient 2nd. newsclip pass could also do that.) (The Newsclip compiler was posted recently to comp.sources.misc) ---------------------------cut here-------------------- database artids; extern string array references; procedure init() { artids = fresh_database( 10000 ); /* empty database */ } procedure article() { int i; /* for each id in References, increment ref count */ if( references != nilarray ) for( i = 0; i < count(references); i++ ) artids[references[i]]++; } procedure terminate() { write_database( artids, "/tmp/refcount", 0 ); } -- Brad Templeton, ClariNet Communications Corp. -- Waterloo, Ontario 519/884-7473