Article View: news.software.nntp
Article #74357Re: NTTP via HTTP - possible?
From: Curt Welch
Date: Wed, 11 Oct 2006 17:53
Date: Wed, 11 Oct 2006 17:53
36 lines
3323 bytes
3323 bytes
Lars Erik Bryld <larserik@dadlnet.invalid> wrote: > The application Papercut's idea of synching a web board with a > NNTP-server, and thus allowing offline and threaded views > through a dedicated client is ingenious, but access to Python > is in my experience not generally available, so I was thinking of > alternatives. The obvious answer - if at all possible - would be PHP > or even ASP. > > Therefore, I was wondering, if it would be possible to let a > NNTP-client handshake with a HTTP-server, maybe letting a mod_rewrite > convert the NNTP-input into some sort of URL for the server to parse > through PHP and produce an output, which the client could interpret as > a NNTP-compliant output. > > I'm mainly interested in whether this is a definite impossibility or > whether it would be worth trying to start a project on. My own insight > into network and protocol matters is feeble, and oddly enough, I've > seen little discussion on the subject. Most requests are misunderstood > and results in pointers to various web interfaces for true > NNTP-servers, while my interest is in the other way around. As Russ pointed out, the protocol is so different that you couldn't hack it that easily. You would simply have to write your own NNTP protocol server from the ground up which accessed the web board on the backend instead of a accessing a more conventional NNTP server article database. Most likely, the best way to do it will just to run a standard NNTP server in parallel with your web board and create external systems to copy new articles between the two. Otherwise, you really need to design both the NNTP server and the web board from the ground up to work well with both front ends. It's not something that would be easy to hack on to a system not designed for it to start with. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com http://NewsReader.Com/
Technical Details
Message-ID:
<20061011135639.788$hp@newsreader.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!out04a.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!news-out.readnews.com!postnews3.readnews.com!nr3.newsreader.com.POSTED!not-for-mailReferences:
<cvm9e52olw0j.dlg@lebryld.fqdn>Show Full Headers
Complete Article Headers
Message-ID: <20061011135639.788$hp@newsreader.com>
Subject: Re: NTTP via HTTP - possible?
Date: Wed, 11 Oct 2006 17:53:35 +0000
From: curt@kcwc.com (Curt Welch)
References: <cvm9e52olw0j.dlg@lebryld.fqdn>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!out04a.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!news-out.readnews.com!postnews3.readnews.com!nr3.newsreader.com.POSTED!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-NRC-Trace: NewsReader.Com -SZZc@LnDYaaWrsr-8=vVYo/=tgVfulD367WYgD.TE+BtlsBRD
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,
?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 36
NNTP-Posting-Host: 940e9d85.nr3.newsreader.com
X-Trace: DXC=[84[D6OTDlmCB2jWAdU3GnOA8_@f\K_ibBJR8`^TTgTmoCG`FfVoKGkiJ;
iV2YAoGeEB=Uo^0Eg^hIWN]2; HjRGl
X-Complaints-To: abuse@newsreader.com