Some weeks ago I spent half a Sunday on writing the beginnings of a web based newsreader. One of the things I am missing is threading. I was planning to implement jwz's threading stuff from http://www.jwz.org/doc/threading.html in Perl, but I haven't had time. Does anyone have suggestions for other algoritms?

I am making it to work with the perl.org nntp server. If you didn't know, then the "newsserver" I use is colobus (http://trainedmonkey.com/colobus/) which serves directly from the ezmlm archives. It's supposed to replace the MHonArc archives at http://archive.perl.org/.

I have put the current Mason components up at http://develooper.com/~ask/tmp/mason-nntp.tar.gz. If anyone wants to hack new features into it, then I'd be most grateful and be happy to put it up on http://nntp.perl.org/, of course with proper credits.

To make the threading more efficient I've been considering letting the web interface access colobus' BerkeleyDB databases directly, or export separate BerkeleyDBs with the relevant data for use in the web interface.

 - ask

-- 
ask bjoern hansen, http://ask.netcetera.dk/   !try; do();

In reply to newsreader threading by ask

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.