WWW::Topica::Index(3pm)

WWW::Topica::Index3pm

Parse a single topic mailing list index

Usage

    my $index = WWW::Topic::Index->new($index_html);
    
    foreach my $mess_id ($index->message_ids) {
        # the mail has some information and also provides a link to the reply ...
        my $mail  = WWW::Topica::Mail->new($topica->fetch_mail($mess_id), $mess_id);
        # which has other information (like the un-htmled mail and the email address) ...            
        my $reply = WWW::Topica::Reply->new($topica->fetch_reply($mail->id, $mail->eto), $mail->id, $mail->eto);
    }
    
    print "Next offset is ".$index->next."\n";
    print "Previous offset is ".$index->prev."\n";

Overview

Used to parse a single index page from Topica.com's mailing list indexes.

Methods

new <page html>

parse <html>

Parse the html to get message ids and next & prev offsets.

message_ids

Return all the messge ids found on the page

prev

Return the offset of the previous page or undef if there is none.

next

Return the offset of the next page or undef if there is none.

Releases

5 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0–6.0
  3. 7
  4. 8

Author

Simon Wistow <[email protected]>

From libwww-topica-perl 0.6-5 in Debian 8 (Jessie). Parsed by carta from the page's man source.