David Cantrell > Bryar-3.1 > Bryar::Collector

Download:
Bryar-3.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  6
Open  3
View/Report Bugs
Module Version: 1.0   Source   Latest Release: Bryar-4.0

NAME ^

Bryar::Collector - Determine which documents to show

SYNOPSIS ^

        $self->collect(...);
        $self->collect_current(...);

DESCRIPTION ^

This class is called upon to pick out the right number of the relevant blog documents, so that they can be shipped off to the renderer.

METHODS ^

collect

    $self->collect

Return the right number of documents, based on the arguments passed in by the user.

collect_current

    $self->collect_current

Return the latest set of documents.

TODO: make this configurable as well, to return X number or all posts X units of time back.

LICENSE ^

This module is free software, and may be distributed under the same terms as Perl itself.

AUTHOR ^

Copyright (C) 2003, Simon Cozens simon@kasei.com

SEE ALSO ^

syntax highlighting: