Newcomen

Description A static content generator.
Newcomen > Perl Modules > Newcomen::Plugin::Blog::Feed::Updated
Source

Index


NAME ^

Newcomen::Plugin::Blog::Feed::Updated - Sets update time for feed entries.

DESCRIPTION ^

This plugin will set modification and publication time information for all sources on feed pages.

All sources on pages with a creator ID starting with 'Blog::Feed::' will be processed. Sources not included on any such page will not be processed. The meta data set is described below.

META DATA ^

Sources

{
   'atom_updated'   => $updated,
   'atom_published' => $published,
}

This is the meta data set for the source items. It will not be overridden if it already exists. The two values will be set from the data provided by the Newcomen::Plugin::Blog::Source::Time plugin. If the modification time can not be determined, this plugin will die() (as this is information is required by the Atom standard). If the publication time can not be determined, atom_published will not be set.

HOOKS ^

This plugin implements the hook_post_build_pages() hook (default priority).

SEE ALSO ^

Newcomen::Page, Newcomen::Plugin::Blog::Source::Time, Newcomen::Source

VERSION ^

This is version 2014052501.

AUTHOR ^

Stefan Goebel - newcomen {at} subtype {dot} de

COPYRIGHT AND LICENSE ^

Copyright 2013-2014 Stefan Goebel.

This file is part of Newcomen.

Newcomen is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the license, or (at your option) any later version.

Newcomen is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Newcomen. If not, see <http://www.gnu.org/licenses/>.