Daizu::Gen::Blog

Daizu::Gen::Blog is a generator for publishing a blog.
Download

Daizu::Gen::Blog Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Geoff Richards
  • Publisher web site:
  • http://search.cpan.org/~geoffr/Daizu-0.3/lib/Daizu/Preview.pm

Daizu::Gen::Blog Tags


Daizu::Gen::Blog Description

Daizu::Gen::Blog is a generator for publishing a blog. Daizu::Gen::Blog is a generator for publishing a blog.To publish a blog using Daizu CMS, create a top-level directory for it and set that directory's generator class to this one.This class is a subclass of Daizu::Gen. The ways in which it differs are described below.Article URLsArticle URLs are partially date-based. Articles can be stored anywhere inside the blog directory (the one with this generator class), providing their generator isn't overridden. You can use an arbitrary directory structure to organise your articles, but the URL will always be of this format: .../YYYY/MM/slug/where the first two parts are based on the 'published' date of the article. 'slug' is either the base part of its filename (everything but the last file extension) or if it is an '_index' file then the name of its parent directory. Any other directories, which don't directly contain an '_index' file, won't affect URLs at all.Apart from having slightly different URLs than normal, blog articles are treated like any other articles.HomepageThe blog directory will generate a homepage listing recent articles. Articles with daizu:fold elements in can be displayed specially, with only the content above the fold shown in the homepage (and date-based archive pages described below), with a 'Read more' link to the full article.FeedsXML feeds of the latest articles will be generated, either in Atom or RSS format. See "CONFIGURATION" below for information about how to set these up. There will always be at least one feed generated for each blog.Archive pagesFor each year and month in which at least one article was published (based on the 'published' date) there will be an archive page generated listing those articles. Requirements: · Perl


Daizu::Gen::Blog Related Software