NAME

Perlanet::IronMan

This module extends Perlanet for the specific requirements of the Enlightened Perl Organisation IronMan project.

SYNOPSIS

DESCRIPTION

This module uses an IronMan::Schema database to define feeds, collect the feeds and then store them back into the IronMan::Schema database.

select_entries

The select entries function takes an array of Perlanet::Feed objects and filters it to remove duplicates. The non-duplicated feed entries are then returned to the caller as an array of Perlanet::Entry objects.

my $perlanet_entries = select_entries( @{ $perlanet_feeds });

render

Given a Perlanet::Entry object, store the entry as a post in the Schema::IronMan database

_build_feeds

Feeds are built from the Schema::IronMan database overriding the internal defaults of utilising feeds specified in either the configuration file or as configuration options when creating the Perlanet object.

_build_schema

Build and return a schema object the first time that the schema attribute of this object is accessed.

_build_truncator

Construct a HTML::Truncator object for truncating posts

_filter_entry_for_duplicate

Test to see if the supplied XML::Feed::Entry passes the configured filters.

Return 1 for a good entry and 0 for a bad entry.

_filter_entry_on_keywords

Test to see if the supplied XML::Feed::Entry passes the configured filters.

Return 1 for a good entry and 0 for a bad entry.

THIS FUNCTION IS BROKEN. SEE THE NOTES AT IT'S CALL.

AUTHOR

Oliver Charles (aCiD2) <oliver.g.charles@googlemail.com> Matt Troutt (mst), <mst@shadowcat.co.uk> Ian Norton (idn), <i.d.norton@gmail.com>

SEE ALSO

IronMan::Schema Perlanet

COPYRIGHT AND LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.