🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70183

Re: search -syntax for NNTP

#70183
From: 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
Technical Details
Message-ID: <Xns958EC478631EEidispcom@216.196.97.142>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!local1.nntp.dca.giganews.com!nntp.adelphia.com!news.adelphia.com.POSTED!not-for-mail
References: <8f22f566.0410260856.19c17ce0@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns958EC478631EEidispcom@216.196.97.142>
Subject: Re: search -syntax for NNTP
Date: Tue, 26 Oct 2004 18:15:38 -0500
From: DanS <t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t>
References: <8f22f566.0410260856.19c17ce0@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!local1.nntp.dca.giganews.com!nntp.adelphia.com!news.adelphia.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 26 Oct 2004 18:15:38 -0500
Newsgroups: news.software.nntp
Organization: Home
User-Agent: Xnews/5.04.25
Lines: 73
NNTP-Posting-Host: 68.71.138.65
X-Trace: sv3-MoxoV2g/DTP74DX/ZSlYuN8LRFln0mvLeCo0olSdtM6R/bOUOmFLbxkUuquvCZB3cW77Exflyx/2w2x!A43ZLmRJ7vXlbh8cACo6aVUdRXNeKgk3tUaktHWRumAtrxiOXXuTWtDw3nLJn3RgubxUUKsJ6jB9!PcVIVUQLm/OnPoIIUnXg
X-Complaints-To: abuse@adelphia.net
X-DMCA-Complaints-To: copyright@adelphia.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.20