Apache-NNTPGateway
view release on metacpan or search on metacpan
NNTPGateway.pm view on Meta::CPAN
if ( $n_arts > 0 ) {
# Some articles to display...
&print_html_list_menu( $r, $n_arts );
$r->print( "\n<hr noshade>\n" );
my $i = $first_art;
for ( ; $i <= $last_art; $i++ ) {
# All articles are got now one by one from the newsserver,
# remember this is not a real newsreader we will not build
# threads trees here we've no time for that. But a powerful
# patch to do that will be welcome anyway ;-)
my $Article = &nntp_get_article( $i, 1 );
if ( $Article ) {
&print_html_article( $r, $Article, 1, &is_true( $Args->{long} ));
} else {
$r->print( "<span id=\"bad_id\"><strong>", &message('no_id', $i ), "</strong></span><br>\n" );
}
}
# Print the list menu
$r->print( "\n<hr noshade>\n" );
NNTPGateway.pm view on Meta::CPAN
=item *
Improving the LANG selection stuff (maybe adding a new configuration directive?)
=item *
Improving the C<check_user()> stuff for more security.
=item *
Integrating Jie Gao threaded view of articles list.
=item *
more stuff ...
=back
=head1 THANKS
( run in 0.764 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )