Bryar
view release on metacpan or search on metacpan
variables. They are undocumented, not used in the example template and
cost two extra runs of the collector.
- HTML-escape errors reported by Template::Toolkit.
- Added support for the If-Modified-Since HTTP validator.
- Instantiate the renderer/source/collector/frontend classes if they have
a constructor.
- Ignore commented and empty lines in the configuration file.
- Made the FlatFile data source not automatically replace a double \n
with a <p> tag. This is an incompatible change.
- Replaced some uses of die with report_error().
- Optimization: cut two stat(2) calls from each call to make_document().
- Optimization: cache getpwuid(3) calls because they parse /etc/passwd
every time.
- Example: render new posts as text and post them to a newsgroup.
- Example: fastcgi daemon with a lighttpd configuration.
- Example: a simple WYSIWYG editor for posts, based on fckeditor.
3.1 - 2009-05-28
- remote execution bug fixed
3.0 - 2007-01-20
lib/Bryar/Renderer/SiteMap.pm view on Meta::CPAN
changefreq => 'daily',
priority => 1.0,
));
# static files
foreach my $file (@{$bryar->config->{sitemap_static_files}}) {
-e $bryar->config->{sitemap_static_basedir} . $file || next;
$map->add(WWW::Google::SiteMap::URL->new(
loc => $bryar->config->baseurl . '/' . $file,
lastmod => (stat(_))[9],
changefreq => 'monthly',
priority => 0.8,
));
}
# articles
$map->add(map {
WWW::Google::SiteMap::URL->new(
loc => $bryar->config->baseurl . $_->url,
lastmod => $_->epoch,
( run in 0.739 second using v1.01-cache-2.11-cpan-49f99fa48dc )