* Thomas Hurst wrote: > * Dr Balwinder S Dheeman (bsd.SANSPAM / cto.homelinux.net) wrote: Nice initials ;-) >> Home: http://nntp.rubyforge.org/ >> Download: http://rubyforge.org/projects/nntp/ > > I wrote a small NNTP class a couple of years ago, as part of the first > generation backend to newzbin.com; for XOVER, it built a custom Struct > from the "LIST OVERVIEW.FMT" command so you actually got a useful data > structure from the XOVER, with field names etc according to the exact > format the server used. Also, since XOVERs can get very, very big (on > the order of hundreds of MB), it took a block and acted as an iterator > rather than returning a big array of structs. > > I never bothered documenting it very well, nor did I ever release it, > but it worked quite nicely while we used it, even if it was written when > I was a n00b :) If I had more time, I would already be working on something like that - get back a useful data structure for every NNTP call. As it is, I only patched the one on RAA to be much, much faster. BSD, I'll test your version, also for speed. -- Oliver C. 45n31, 73w34 Temperatur: 14.7 (16 May 2005 11:00 AM EDT)