NAME

DDG::Publisher::SiteRole - The role for a site in the publisher

VERSION

version 1042

ATTRIBUTES

publisher

DDG::Publisher object, must be given on construction.

key

This is the key used for the directory and general identification of the site inside the publisher system.

hostname

This is the hostname, which should get used for the final files, so far this option isn't used and has no effect. TODO

dirs

This attribute contains the objects of the DDG::Publisher::DirRole objects of this site.

default_locale

Default locale to use on this site. Defaults to en_US and should never be changed on a site of DuckDuckGo, as many other parts of the system are also thinking that en_US is the default.

fullpath

Migrated fullpath file references for all dirs of the site

save_data

This data is used in the end of the publishing process to generate the data file. It will be filled up on the process of executing all files of the site.

template_engine

This function holds the Text::Xslate engine for the specific site.

AUTHOR

Torsten Raudssus <torsten@raudss.us>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2012 by DuckDuckGo, Inc. http://duckduckgo.com/.

This is free software, licensed under:

The Apache License, Version 2.0, January 2004