The Perl Advent Calendar needs more articles for 2022. Submit your idea today!
Statocles::AppRole::ExtraFeeds

This module is a role that can be applied to any "Statocles::App" in a
"Statocles"'s "Beam::Wire" configuration.

  ...
  blog_app:
    class: 'Statocles::App::Blog'
    with: 'Statocles::AppRole::ExtraFeeds'
    args:
      url_root: '/blog'
      # ... more Statocles::App::Blog args
      extra_feeds:
        fulltext.rss:
          text: "RSS FullText"

This example creates a feed called "/blog/fulltext.rss" containing the
contents of "theme/blog/fulltext.rss.ep" after template application, and
is linked from every "index" listing.

It also creates a feed called "/blog/tag/<%= tagname %>.fulltext.rss"
for each tag, provisioned from the same template.

INSTALLATION

This is a Perl module distribution. It should be installed with whichever
tool you use to manage your installation of Perl, e.g. any of

  cpanm .
  cpan  .
  cpanp -i .

Consult http://www.cpan.org/modules/INSTALL.html for further instruction.
Should you wish to install this module manually, the procedure is

  perl Makefile.PL
  make
  make test
  make install

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Kent Fredric
<kentfredric@gmail.com>.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.