🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Philip Thu, 04 Sep 2003 03:59
any hints to writing a CGI script.....
#66609
Author: Philip
Date: Thu, 04 Sep 2003 03:59
16 lines
1722 bytes
I'm writing a CGI Script to get the article from INN, is there any
hints/Example that I can reference to "Read and Show a Subject in Thread".
now I can show the article by Xref Number, but actually I want to show it in
Thread. Thanks

Regards,
Philip Au


        ~ Let us linux ~


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: any hints to writing a CGI script.....
#66610
Author: Jeffrey M. Vinocur
Date: Thu, 04 Sep 2003 10:20
13 lines
1589 bytes
In article <3f578bae$1@lungfunggdn.org>, Philip <philip@palmfaq.org> wrote:
>I'm writing a CGI Script to get the article from INN, is there any
>hints/Example that I can reference to "Read and Show a Subject in Thread".
>now I can show the article by Xref Number, but actually I want to show it in
>Thread. Thanks

Are you trying to speak to INN via an NNTP connection, or
directly from the machine it's on (using commandline programs)?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: any hints to writing a CGI script.....
#66612
Author: Philip
Date: Fri, 05 Sep 2003 03:34
31 lines
2406 bytes
INN via NNTP Connection, I can now get the post acsending by XRef, but want
to display in Thread

I'm using Perl as CGI script and wanna to display in HTML

"Jeffrey M. Vinocur" <jeff@litech.org> ¦b¶l¥ó
news:bj73m2$lq9$1@puck.litech.org ¤¤¼¶¼g...
> In article <3f578bae$1@lungfunggdn.org>, Philip <philip@palmfaq.org>
wrote:
> >I'm writing a CGI Script to get the article from INN, is there any
> >hints/Example that I can reference to "Read and Show a Subject in
Thread".
> >now I can show the article by Xref Number, but actually I want to show it
in
> >Thread. Thanks
>
> Are you trying to speak to INN via an NNTP connection, or
> directly from the machine it's on (using commandline programs)?
>
>
> -- 
> Jeffrey M. Vinocur
> jeff@litech.org


        ~ Let us linux ~


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 100,000 Newsgroups - 19 Different Servers! =-----
Re: any hints to writing a CGI script.....
#66613
Author: Jeffrey M. Vinocur
Date: Fri, 05 Sep 2003 03:57
21 lines
1873 bytes
In article <3f58d740$1@lungfunggdn.org>, Philip <philip@palmfaq.org> wrote:
>INN via NNTP Connection, I can now get the post acsending by XRef, but want
>to display in Thread

Ok.  You want to retrieve the overview information for the
articles, which you can do with the XOVER command (presumably
you're consulting some sort of reference; it should be covered
there).


>I'm using Perl as CGI script and wanna to display in HTML

Are you writing this from scratch on purpose?  There may be
packages out there already to help you.  I'd start by looking at
http://www.newsreaders.com/unix/servers.html -- a quick glance
shows that "Direct Read News" might be useful for you.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: any hints to writing a CGI script.....
#66620
Author: Bill
Date: Sat, 06 Sep 2003 21:18
20 lines
1905 bytes
On Fri, 05 Sep 2003 03:57:28 +0000, Jeffrey M. Vinocur wrote:

> In article <3f58d740$1@lungfunggdn.org>, Philip <philip@palmfaq.org>
> wrote:

>>I'm using Perl as CGI script and wanna to display in HTML
> 
> Are you writing this from scratch on purpose?  There may be packages out
> there already to help you.  I'd start by looking at
> http://www.newsreaders.com/unix/servers.html -- a quick glance shows
> that "Direct Read News" might be useful for you.

I've seen a package called webnews (or something like that) that uses a
CPAN perl module to access the NNTP port.  All you have to write are the
commands and catch the output.  Don't reinvent the wheel.

I would search CPAN for nntp.

Bill
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