Thread View: news.software.readers
3 messages
3 total messages
Started by bluejay
Wed, 24 May 2000 00:00
XPAT
Author: bluejay
Date: Wed, 24 May 2000 00:00
Date: Wed, 24 May 2000 00:00
15 lines
1263 bytes
1263 bytes
Can't seem to get this to work. I know it won't work in all servers, but it used to work for me in many. I get the message: 500 Syntax error or bad command. I am using the asterisks, setting Range at 1-, selecting subject or from as appropriate and leave assign score at 10000. What, if anything, am I doing wrong. I tried re-installing the program--same result. The Find command BTW works perfectly well. Any ideas? -- bluejay My reply address is correct as is. The courtesy of providing a correct reply address is more important to me than time spent deleting spam.
Re: XPAT
Author: Curt Welch
Date: Thu, 25 May 2000 00:00
Date: Thu, 25 May 2000 00:00
23 lines
1630 bytes
1630 bytes
gunnyNOSPAM@yucom.be (gunny) wrote: > Are we talking XNews here? Looking at your header I guess so. > > I believe the "Find" command looks in the downloaded info, whereas the > XPAT searches directly on the server side (and only downloads the > matching msgs therefor being the faster one). > As you say, you should check if the server supports XPAT searches. I > don't know of any news client that can verify that, ... telnet does :) Just telnet to the server and try an XPAT command (after authentication if needed and after selrcting a group). If you get a 500 error, that means XPAT isn't supported. If need help on how to do this, just ask. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: XPAT
Author: gunny
Date: Thu, 25 May 2000 00:00
Date: Thu, 25 May 2000 00:00
68 lines
2751 bytes
2751 bytes
Are we talking XNews here? Looking at your header I guess so.
I believe the "Find" command looks in the downloaded info, whereas the XPAT
searches directly on the server side (and only downloads the matching msgs
therefor being the faster one).
As you say, you should check if the server supports XPAT searches. I don't
know of any news client that can verify that, but I do know that it is
possible with rebol.
Get the version of rebol for your operating system from www.rebol.com
Once it runs, these are the instructions to type (or copy and paste):
do %nntp.r
nntp-host: news://your.newsserverhere.dom
np: open nntp-host
result: insert np [capabilities?]
print result
This is the result from the above commands for my ISP's newsreader (change
the 2nd line). At the bottom you'll see that the XPAT command actually is
supported by news.skynet.be:
>> do %nntp.r
Script: "REBOL news Protocol $Revision: 1.1 $" (22-May-1999/0:10:40)
news protocol loaded
>> nntp-host: news://news.skynet.be
== news://news.skynet.be
>> np: open nntp-host
connecting to: news.skynet.be
>> result: insert np [capabilities?]
== [{100 Legal commands
authinfo user Name|pass Password|generic <prog> <args>
article [MessageID|Number]
body [MessageID|Num...
>> print result
100 Legal commands
authinfo user Name|pass Password|generic <prog> <args>
article [MessageID|Number]
body [MessageID|Number]
date
group newsgroup
head [MessageID|Number]
help
ihave
last
list [active|active.times|newsgroups|distributions|distrib.pats|overvi
ew.fmt|subscriptions|motd]
listgroup newsgroup
mode reader
newgroups yymmdd hhmmss ["GMT"] [<distributions>]
newnews newsgroups yymmdd hhmmss ["GMT"] [<distributions>]
next
post
slave
stat [MessageID|Number]
xgtitle [group_pattern]
xhdr header [range|MessageID]
xover [range]
xpat header range|MessageID pat [morepat...]
xpath MessageID
Report problems to <usenet@news1.skynet.be>
>>
Best Regards,
Gunny
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