NAME

HiD::Generator::AtomFeed - Atom feed generator

DESCRIPTION

This Generator produces an Atom feed of your posts.

Enable it by setting the 'atom_feed.generate' key in your config to 1. Also set an 'atom_feed.destination' key indicating where the feed should be generated.

You may also set optional 'atom_feed.base' and 'atom_feed.link' keys to set the 'rel=alternate' base link and the 'rel=self' link to the atom feed, respectively.

The 'atom.title' config key can be used to give the feed a title. Otherwise the site title will be used.

The 'atom.posts' config key can be used to control the number of posts in the feed. It defaults to 20.

DEPRECATED CONFIG

This module formerly used different config keys. If this older configuration is detected, a warning will be emitted and the configuration will be internally upgraded to the new format. If you wish to silence this warning, convert your config to use these new keys:

OLD                   NEW
atom_feed ----------> atom_feed.generate
                *AND* atom_feed.destination
atom_feed_base  ----> atom_feed.base
atom_feed_link  ----> atom_feed.link
atom_feed_posts ----> atom_feed.posts
atom_feed_title ----> atom_feed.title

See the documentation above to understand what each key controls.

METHODS

generate

VERSION

version 1.95_90

AUTHOR

John SJ Anderson <genehack@genehack.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by John SJ Anderson.

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