Thread View: news.software.nntp
4 messages
4 total messages
Started by Jim Turnbull
Tue, 08 Aug 2000 00:00
Are there any tips on sucking from multiple newsfeeds in INN
Author: Jim Turnbull
Date: Tue, 08 Aug 2000 00:00
Date: Tue, 08 Aug 2000 00:00
15 lines
1155 bytes
1155 bytes
I'm after some tips on sucking news from multiple newsfeeds, e.g. msnews.microsoft.com news.myisp.com news.someother.org I have a news feed from my ISP setup ok, but some people want private feeds from 3rd party software vendors that we have relationships with and also want direct feeds from Microsoft instead of using our ISP. Jim
Re: Are there any tips on sucking from multiple newsfeeds in INN
Author: Jim Turnbull
Date: Tue, 08 Aug 2000 00:00
Date: Tue, 08 Aug 2000 00:00
23 lines
1322 bytes
1322 bytes
> What are you looking for that "-p extension" extension can not do? :) Just what I was looking for (I think). Thanks, I'll try this tomorrow. Jim "Frank Slootweg" <franks@neth.hp.com> wrote in message news:8mp7tk$qh2$1@support.neth.hp.com... > > > -p extension > > > > This extension is added to all files so that you can have multiple site > > feeds. For example, if you specify -p .dummy, then suck looks for > > sucknewsrc.dummy, suckkillfile.dummy, etc, and creates its temp files > > with the same extension. This will allow you to keep multiple > > sucknewsrc files, one for each site.
Re: Are there any tips on sucking from multiple newsfeeds in INN
Author: Frank Slootweg
Date: Tue, 08 Aug 2000 00:00
Date: Tue, 08 Aug 2000 00:00
11 lines
1064 bytes
1064 bytes
What are you looking for that "-p extension" extension can not do? > -p extension > > This extension is added to all files so that you can have multiple site > feeds. For example, if you specify -p .dummy, then suck looks for > sucknewsrc.dummy, suckkillfile.dummy, etc, and creates its temp files > with the same extension. This will allow you to keep multiple > sucknewsrc files, one for each site.
Re: Are there any tips on sucking from multiple newsfeeds in INN
Author: Simon Lyall
Date: Wed, 09 Aug 2000 00:00
Date: Wed, 09 Aug 2000 00:00
43 lines
2239 bytes
2239 bytes
Jim Turnbull <Jim.Turnbull@nospam.mfs.misys.co.uk> wrote:
> I'm after some tips on sucking news from multiple newsfeeds, e.g.
If you start getting direct sucking feeds from these sites make sure you
keep an eye on them. They tend to do silly things like change the path
without warning and then complain when you start sending them everything.
Here is my script (for suck-4.2.3):
#!/bin/bash
#
# Normal MODE
FIXED="-s -hl news.ihug.co.nz -bp -dt /home/suck -dd /home/suck -HF /var/news/etc/history -c "
RPOSTOPS="-s -p /var/news/spool/articles/ -d -f /home/suck/quick-filter.sh \$\$o=/var/tmp/FILTERED_MSG \$\$i /var/tmp/FILTERED_MSG "
#
# Debug Mode
# FIXED=" -hl news.ihug.co.nz -bp -dt /home/suck -dd /home/suck -HF /var/news/etc/history -c "
# RPOSTOPS=" -p /var/news/spool/articles/ -d -f /home/suck/quick-filter.sh \$\$o=/var/tmp/FILTERED_MSG \$\$i /var/tmp/FILTERED_MSG "
SITE=3dfx
REMOTE=news.3dfx.com
ACTIVE=/home/suck/active.3dfx
grep "^3dfx." /usr/news/etc/active > $ACTIVE
/usr/local/bin/suck $REMOTE $FIXED -p $SITE -AL $ACTIVE -i -3
/usr/local/bin/rpost $REMOTE -d -b /var/news/spool/out.going/$SITE $RPOSTOPS
and so on. The quick-filter.sh is.
news:/home/suck# more quick-filter.sh
#!/bin/sh
# sed -e "/^NNTP-Posting-Host/d" $1 > $2
sed -e "/^NNTP-Posting-Host/d" $1 | sed -e "/^Xref/d" > $2
--
Simon Lyall. | Newsmaster | Work: simon.lyall@ihug.co.nz
Network/System Admin. | | Home: simon@darkmere.gen.nz
ihug, Auckland, NZ | Asst Doorman | Web: http://www.darkmere.gen.nz
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