Article View: news.software.nntp
Article #65698Get newest messages from server
From: Fredrik Jonson
Date: Tue, 10 Jun 2003 13:30
Date: Tue, 10 Jun 2003 13:30
24 lines
1587 bytes
1587 bytes
On a web page I want to present the latest topics on a few newsgroups
from a newsserver. I'll implement it in php, but that doesn't really
matter (although php/nntp pointers are welcome! =) as my question is
what nntp commands to use?
Is the most efficient way this pseudocode:
foreach group {
get the nuber of messages with GROUP
use XOVER to retrieve the latest (last ten) messages
put the result in a list
}
Or is there a more efficient way to get that information?
Does someone have a performance guesstimate on the commands above?
Is the XOVER and GROUP data something that is ready and in-memory
(using INN) or will it require calculations. I'm asking because I'm
considering not to use any cache but make a new request every time
the page is loaded.
--
Fredrik Jonson
Technical Details
Message-ID:
<slrnbebncd.766.pt97fjo@woodcraft.scout.rsn.bth.se>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!scout.rsn.bth.SE!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrnbebncd.766.pt97fjo@woodcraft.scout.rsn.bth.se> Subject: Get newest messages from server Date: Tue, 10 Jun 2003 13:30:53 +0000 From: Fredrik Jonson <pt97fjo@student.bth.se> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!scout.rsn.bth.SE!not-for-mail Newsgroups: news.software.nntp Lines: 23 NNTP-Posting-Host: scout.rsn.bth.se (194.47.142.149) X-Trace: fu-berlin.de 1055251853 14953483 194.47.142.149 (16 [87718]) User-Agent: slrn/0.9.7.4 (Linux)