Newcomen

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

Index


NAME ^

Newcomen::Plugin::Blog::Feed::UUID - Sets UUIDs for feed entries.

DESCRIPTION ^

This plugin will set UUIDs 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_uuid' => $uuid,
}

This is the meta data set for the source items. It will not be overridden if it already exists. If it does not exist, the configuration option blog/feed/defaults/uuid_ns has to be set to a valid UUID. This will be used as UUID namespace to generate per-source UUIDs. A source's UUID will be derived from its path (the value of the meta data path/source/root, as set by the plugin Newcomen::Plugin::Blog::Crawler). If this value does not exist, this plugin will die().

HOOKS ^

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

SEE ALSO ^

Newcomen::Page, Newcomen::Plugin::Blog::Crawler, Newcomen::Plugin::Blog::Feed::Defaults, 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/>.