-
-
15 Jan 2021 15:14:32 UTC
- Distribution: Perlanet
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers
- Kwalitee
Bus factor: 1- License: perl_5
- Perl: v5.6.0
- Activity
24 month- Tools
- Download (68.39KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Perlanet::Simple - a DWIM Perlanet
SYNOPSIS
use Perlanet::Simple; my $perlanet = Perlanet::Simple->new_with_config( configfile => 'perlanet.yaml' ); $perlanet->run;
DESCRIPTION
Perlanet provides the driving force behind all Perlanet applications, but it doesn't do a whole lot, which means you would normally have to write the functionality you require. However, in the motive of simplicity, Perlanet::Simple glues enough stuff together to allow you to get a very quick planet working out of the box.
Perlanet::Simple takes the standard Perlanet module, and adds support for caching, OPML feed generation, and Template rendering support. It will also attempt to clean each post using both HTML::Scrubber and HTML::Tidy.
Configuration
Perlanet::Simple uses Perlanet::Trait::YAMLConfig to allow you to specify configuration through a file.
clean_html
Some custom cleaning code to remove a nasty piece of BlogSpot HTML (and still running all other cleaning traits)
Module Install Instructions
To install Perlanet, copy and paste the appropriate command in to your terminal.
cpanm Perlanet
perl -MCPAN -e shell install Perlanet
For more information on module installation, please visit the detailed CPAN module installation guide.