Path: utzoo!utstat!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!amgraf!brian386!news From: news@brian386.uucp (News Administrator) Newsgroups: news.software.b Subject: Re: How can I get my feed to send me a subset of the Full News Feed?. Message-ID: <1990Aug06.020843.10532@brian386.uucp> Date: 6 Aug 90 02:08:43 GMT References: <783@hades.ausonics.oz.au> <3372@borabora.omni.com> Organization: McCane Consulting Lines: 26 In article <783@hades.ausonics.oz.au> greyham@hades.ausonics.oz.au (Greyham Stoney) writes: >Is there a "standard" method of getting a feed site to only send a subset >of a full news feed to us?. We don't want to drop full heirarchys as we >can in the 'sys' file [...] > I got most of this idea from my feed, with Bnews at his site (I think), I modified the idea for feeding my home site. He uses a script file which uses 'sed' to remove unwanted articles. I used a script sorta like: sed -e '/\/amiga\//d' \ -e '/\/apple\//d' < togo > new.togo mv new.togo togo This script was called local.procs and placed in the out.going/system sub-directory. Then all I had to do was add if [ -f local.procs ] then ./local.procs fi to the sendbatches file after the cd to the out.going/system sub-directory. This is an easy kludge which is pretty quick, and seems to get quicker as the sys line gets longer. In the sys file, I now use system:all So no special processing is required in 'relaynews'. brian