🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Lars Erik Bryld Wed, 11 Oct 2006 16:01
NTTP via HTTP - possible?
#74354
Author: Lars Erik Bryld
Date: Wed, 11 Oct 2006 16:01
24 lines
2259 bytes
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.

-- 
Regards

Lars Erik Bryld
Re: NTTP via HTTP - possible?
#74356
Author: Russ Allbery
Date: Wed, 11 Oct 2006 17:10
16 lines
1759 bytes
Lars Erik Bryld <larserik@dadlnet.invalid> writes:

> 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 afraid not; the NNTP protocol is completely different than the HTTP
protocol at a more fundamental level than mod_rewrite could fix up.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: NTTP via HTTP - possible?
#74357
Author: Curt Welch
Date: Wed, 11 Oct 2006 17:53
36 lines
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/
Re: NTTP via HTTP - possible?
#74359
Author: steve
Date: Wed, 11 Oct 2006 17:58
15 lines
1602 bytes
On Wed, 11 Oct 2006 18:01:11 +0200, Lars Erik Bryld
<larserik@dadlnet.invalid> wrote:

>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.

Have a look at http://www.newsgrouphosting.com/ for "the other way
around"

-- 
Steve Wolstenholme     Neural Planner Software

EasyNN-plus. The easy way to build neural networks.
http://www.easynn.com
Re: NTTP via HTTP - possible?
#74358
Author: Tim Skirvin
Date: Wed, 11 Oct 2006 21:15
14 lines
1852 bytes
Lars Erik Bryld <larserik@dadlnet.invalid> writes:

> 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.

        http://news.killfile.org/

		                    - Tim Skirvin (skirv@big-8.org)
-- 
http://www.big-8.org/                           Big-8 Management Board 
http://www.killfile.org/~tskirvin/        Skirv's Homepage <FISH>< <*>
Re: NTTP via HTTP - possible?
#74430
Author: Lars Erik Bryld
Date: Tue, 24 Oct 2006 18:44
18 lines
1774 bytes
Scripsit Russ Allbery:

>> 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 afraid not; the NNTP protocol is completely different than the
> HTTP protocol at a more fundamental level than mod_rewrite could
> fix up.

Bad, but hardly unexpected. Thanks for the info


-- 
Med venlig hilsen
Lars Erik Bryld
Re: NTTP via HTTP - possible?
#74431
Author: Lars Erik Bryld
Date: Tue, 24 Oct 2006 18:48
14 lines
1715 bytes
Scripsit Curt Welch:

> 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.

Yep, but running a standard NNTP server is seldomly offered for normal
private customers and the meagre fees we are prepared to pay. The idea
arose from RSI-injured people regretting our hobby community's drift
from Usenet to a web board with very limited keystroke operations.

-- 
Med venlig hilsen
Lars Erik Bryld
Re: NTTP via HTTP - possible?
#74432
Author: Lars Erik Bryld
Date: Tue, 24 Oct 2006 18:50
12 lines
1596 bytes
Scripsit steve@tropheus.demon.co.uk:

> Have a look at http://www.newsgrouphosting.com/ for "the other way
> around"

Very nice service, possibly applicable in many situations, but in our
case, it mus be integrated within our current solution, which is a
hosted Phorum board .

-- 
Med venlig hilsen
Lars Erik Bryld
Re: NTTP via HTTP - possible?
#74433
Author: Lars Erik Bryld
Date: Tue, 24 Oct 2006 18:52
10 lines
1505 bytes
Scripsit Tim Skirvin:

> http://news.killfile.org/

Hmm - Pearl, but some of the instructions suggest you have fare more
control over your server than the average web space customer.

-- 
Med venlig hilsen
Lars Erik Bryld
Re: NTTP via HTTP - possible?
#74435
Author: Whiskers
Date: Tue, 24 Oct 2006 21:45
20 lines
2039 bytes
On 2006-10-24, Lars Erik Bryld <larserik@dadlnet.invalid> wrote:
> Scripsit Curt Welch:
>
>> 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.
>
> Yep, but running a standard NNTP server is seldomly offered for normal
> private customers and the meagre fees we are prepared to pay. The idea
> arose from RSI-injured people regretting our hobby community's drift
> from Usenet to a web board with very limited keystroke operations.

It isn't clear what you are trying to do.  Provide a web interface to an
existing newsgroup, provide an NNTP interface to an existing web forum, or
what?

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: NTTP via HTTP - possible?
#74440
Author: Frank Slootweg
Date: Wed, 25 Oct 2006 15:25
24 lines
2264 bytes
Lars Erik Bryld <larserik@dadlnet.invalid> wrote:
> Scripsit Curt Welch:
> 
> > 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.
> 
> Yep, but running a standard NNTP server is seldomly offered for normal
> private customers and the meagre fees we are prepared to pay. The idea
> arose from RSI-injured people regretting our hobby community's drift
> from Usenet to a web board with very limited keystroke operations.

  "Usenet" or (private) *News*?
  
  If Usenet, i.e. some Big-8 or alt or whatever *public* group(s), then
does the Usenet group still exist (with or without current traffic)? If
yes, then can your "web board" generate/accept postings by e-mail? If
yes, then do you have at least one 'personal' (MS-)Windows (or Linux/
UNIX) system which is on most of the time? If so, then e-mail postings
from/to the personal system and install Hamster [1] on it to act as a
mail2news gateway which posts/sucks articles to/from the Usenet
group(s).

[1] <http://www.arcorhome.de/newshamster/tgl/misc/hamster_en.html>
Re: NTTP via HTTP - possible?
#74485
Author: Tim Skirvin
Date: Tue, 31 Oct 2006 19:40
14 lines
1830 bytes
Lars Erik Bryld <larserik@dadlnet.invalid> writes:

>> http://news.killfile.org/

> Hmm - Pearl, but some of the instructions suggest you have fare more
> control over your server than the average web space customer.

        That's just how I've got it setup.  You can do everything in
your home directory if you need to; it's just a bit more work.

			   - Tim Skirvin (tskirvin@killfile.org)
-- 
http://www.killfile.org/~tskirvin/  Skirv's Homepage <FISH>< <*>
http://www.killfile.org/~tskirvin/software/     Skirv's Software
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