Article View: news.software.readers
Article #144828Re: [XNEWS] - Filtering out Cross-posting
From: Murray Peterson
Date: Fri, 12 Mar 2004 16:08
Date: Fri, 12 Mar 2004 16:08
33 lines
2188 bytes
2188 bytes
Jose <reluctantly.munged@toavoidspam.com> wrote in
news:Xns94AA614D1B8B5j10161@207.225.159.8:
> On Thu, 11 Mar 2004 20:45:06 GMT, Tech Zero wrote in
> <news:Xns94A98C0B9A811ZeroOne@news.individual.net>:
>
>>> Score::-9999
>>> Xref: ([^:]+:\d+){1}
>
> What does <\d+> do?
\d matches any digit, and the + idicates "one or more". Therefore, \d+
matches any substring contatining one or more digits.
For further information, read the pcre.html and scoring.txt files in your
Xnews directory.
>> "(.*:){x,}" is cleaner...
>> With "x" set to how many cross posts you want.
>> (1 being the group your reading)
>
> What would either of these codes do that simply setting the cross-
> posting option in Xnews/Setup/Misc would not do?
Nothing, except for the knowledge of how scoring works. However, the final
example gives you exact control over what groups a message is posted to, as
opposed to just the number of crossposted groups.
--
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL: http://members.shaw.ca/murraypeterson/
Technical Details
Message-ID:
<Xns94AA5CF6F8DCfarkle@24.71.223.159>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.ash.giganews.com!nntp.giganews.com!pd7cy2so!pd7cy1no!shaw.ca!pd7tw3no.POSTED!53ab2750!not-for-mailReferences:
<AIU3c.770040$ts4.327290@pd7tw3no> <Xns94A96590B8D58duckrulestheuniverse@140.99.99.130> <Xns94A98C0B9A811ZeroOne@news.individual.net> <Xns94AA614D1B8B5j10161@207.225.159.8>Show Full Headers
Complete Article Headers
Message-ID: <Xns94AA5CF6F8DCfarkle@24.71.223.159> Subject: Re: [XNEWS] - Filtering out Cross-posting Date: Fri, 12 Mar 2004 16:08:15 GMT From: Murray Peterson <mwp@home.com.invalid> References: <AIU3c.770040$ts4.327290@pd7tw3no> <Xns94A96590B8D58duckrulestheuniverse@140.99.99.130> <Xns94A98C0B9A811ZeroOne@news.individual.net> <Xns94AA614D1B8B5j10161@207.225.159.8> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!border1.nntp.ash.giganews.com!nntp.giganews.com!pd7cy2so!pd7cy1no!shaw.ca!pd7tw3no.POSTED!53ab2750!not-for-mail X-Trace-PostClient-IP: 68.145.154.18 Newsgroups: news.software.readers Organization: None User-Agent: Xnews/06.02.16 Lines: 32 NNTP-Posting-Host: 24.71.223.147 X-Complaints-To: abuse@shaw.ca X-Trace: pd7tw3no 1079107695 24.71.223.147 (Fri, 12 Mar 2004 09:08:15 MST) NNTP-Posting-Date: Fri, 12 Mar 2004 09:08:15 MST