🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by tommy Tue, 26 Oct 2004 16:56
search -syntax for NNTP
#70184
Author: tommy
Date: Tue, 26 Oct 2004 16:56
60 lines
2370 bytes
hello,

i want to build a newsreader/writer using vb.net

its not a problem to list all newsgroup, list all articles or post a
new message--or answer to a message

but how is searching????

i have build a test-newsserver using windows2000 -- if i type "help" i
get the follwing:


help
100 Legal commands are :
article [MessageID|Number]
authinfo [user|pass|generic|transact] <data>
body [MessageID|Number]
check <message-id>
date
group newsgroup
head [MessageID|Number]
help
ihave <message-id>
last
list [active|newsgroups[wildmat]|srchfields|searchable|prettynames[wildmat]]
listgroup [newsgroup]
mode stream|reader
newgroups yymmdd hhmmss ["GMT"] [<distributions>]
newnews wildmat yymmdd hhmmss ["GMT"] [<distributions>]
next
post
quit
search
stat [MessageID|number]
xhdr header [range|MessageID]
xover [range]
xpat header range|MessageID pat [morepat ...]
xreplic newsgroup/message-number[,newsgroup/message-number...]
takethis <message-id>


the command "search" is not running...

how is the right syntax to search an article???

in my articles-- i want to include a personal-information on my
posting

with the "search"-command, i want to search only for my articles and
display it in my vb.net-programm

okay?? how is the right syntax to search an article??? and what is
searchable???

pls help me

best regards

tommy
Re: search -syntax for NNTP
#70183
Author: DanS
Date: Tue, 26 Oct 2004 23:15
73 lines
3029 bytes
thomas.hauser@hannover-leasing.de (tommy) wrote in
news:8f22f566.0410260856.19c17ce0@posting.google.com: 

> hello,
> 
> i want to build a newsreader/writer using vb.net
> 
> its not a problem to list all newsgroup, list all articles or post a
> new message--or answer to a message
> 
> but how is searching????
> 
> i have build a test-newsserver using windows2000 -- if i type "help" i
> get the follwing:
> 
> 
> help
> 100 Legal commands are :
> article [MessageID|Number]
> authinfo [user|pass|generic|transact] <data>
> body [MessageID|Number]
> check <message-id>
> date
> group newsgroup
> head [MessageID|Number]
> help
> ihave <message-id>
> last
> list
> [active|newsgroups[wildmat]|srchfields|searchable|prettynames[wildmat]]
> listgroup [newsgroup]
> mode stream|reader
> newgroups yymmdd hhmmss ["GMT"] [<distributions>]
> newnews wildmat yymmdd hhmmss ["GMT"] [<distributions>]
> next
> post
> quit
> search
> stat [MessageID|number]
> xhdr header [range|MessageID]
> xover [range]
> xpat header range|MessageID pat [morepat ...]
> xreplic newsgroup/message-number[,newsgroup/message-number...]
> takethis <message-id>
> 
> 
> the command "search" is not running...
> 
> how is the right syntax to search an article???
> 
> in my articles-- i want to include a personal-information on my
> posting
> 
> with the "search"-command, i want to search only for my articles and
> display it in my vb.net-programm
> 
> okay?? how is the right syntax to search an article??? and what is
> searchable???
> 
> pls help me
> 
> best regards
> 
> tommy

tommy,

the search function is the xpat command. a quickie google found this page 
with explanations of the nntp protocol:

http://www.mibsoftware.com/userkt/0099.htm

DanS
Re: search -syntax for NNTP
#70186
Author: tommy
Date: Wed, 27 Oct 2004 08:10
89 lines
3401 bytes
hello danS,

thanks for answering. why -- the base-question is from you?

i know your link allready -- i am dumb ,

i need a exact-example, how is the syntax of the "xpat" command

can you help me, please?

best regards

tommy


DanS <t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t> wrote in message news:<Xns958EC478631EEidispcom@216.196.97.142>...
> thomas.hauser@hannover-leasing.de (tommy) wrote in
> news:8f22f566.0410260856.19c17ce0@posting.google.com: 
> 
> > hello,
> > 
> > i want to build a newsreader/writer using vb.net
> > 
> > its not a problem to list all newsgroup, list all articles or post a
> > new message--or answer to a message
> > 
> > but how is searching????
> > 
> > i have build a test-newsserver using windows2000 -- if i type "help" i
> > get the follwing:
> > 
> > 
> > help
> > 100 Legal commands are :
> > article [MessageID|Number]
> > authinfo [user|pass|generic|transact] <data>
> > body [MessageID|Number]
> > check <message-id>
> > date
> > group newsgroup
> > head [MessageID|Number]
> > help
> > ihave <message-id>
> > last
> > list
> > [active|newsgroups[wildmat]|srchfields|searchable|prettynames[wildmat]]
> > listgroup [newsgroup]
> > mode stream|reader
> > newgroups yymmdd hhmmss ["GMT"] [<distributions>]
> > newnews wildmat yymmdd hhmmss ["GMT"] [<distributions>]
> > next
> > post
> > quit
> > search
> > stat [MessageID|number]
> > xhdr header [range|MessageID]
> > xover [range]
> > xpat header range|MessageID pat [morepat ...]
> > xreplic newsgroup/message-number[,newsgroup/message-number...]
> > takethis <message-id>
> > 
> > 
> > the command "search" is not running...
> > 
> > how is the right syntax to search an article???
> > 
> > in my articles-- i want to include a personal-information on my
> > posting
> > 
> > with the "search"-command, i want to search only for my articles and
> > display it in my vb.net-programm
> > 
> > okay?? how is the right syntax to search an article??? and what is
> > searchable???
> > 
> > pls help me
> > 
> > best regards
> > 
> > tommy
> 
> tommy,
> 
> the search function is the xpat command. a quickie google found this page 
> with explanations of the nntp protocol:
> 
> http://www.mibsoftware.com/userkt/0099.htm
> 
> DanS
Re: search -syntax for NNTP
#70192
Author: B H
Date: Wed, 27 Oct 2004 12:45
8 lines
1511 bytes
tommy skrev:

> i need a exact-example, how is the syntax of the "xpat" command

xpat header range|MessageID pat [morepat ...]

Do NOT toppost!
Following threds is virtualy impossible!
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