EDITOR
Unless the core.editor option is set, BlazeBlogger tries to use system-wide settings to decide which editor to use.
Displays or sets blazeblogger configuration options
blaze-config [-qV]
[-b
directory]
[-E
editor]
option
[value ...]
blaze-config -e
[-b
directory]
blaze-config {-h | -v}
blaze-config either sets BlazeBlogger configuration options, or displays their current value. Additionally, it can also open a configuration file in an external text editor.
-b directory, --blogdir directory
Allows you to specify a directory in which the BlazeBlogger repository is placed. The default option is a current working directory.
-E editor, --editor editor
Allows you to specify an external text editor. When supplied, this option overrides the relevant configuration option.
-e, --edit
Allows you to edit the configuration in a text editor.
-q, --quiet
Disables displaying of unnecessary messages.
-V, --verbose
Enables displaying of all messages. This is the default option.
-h, --help
Displays usage information and exits.
-v, --version
Displays version information and exits.
blog.title=stringA title of your blog.
blog.subtitle=stringA subtitle of your blog.
blog.description=stringA brief description of your blog.
blog.keywords=listA comma-separated list of keywords.
blog.theme=stringA theme for your blog. Note that it must point to an existing file in the ".blaze/theme/" directory. The default option is "default.html".
blog.style=stringA style sheet for your blog. Note that it must point to an existing file in the ".blaze/style/" directory. The default option is "default.css".
blog.lang=stringA translation of your blog. Note that it must point to an existing file in the ".blaze/lang/" directory. The default option is "en_US".
blog.posts=integerA number of blog posts to be listed on a single page. The default option is 10.
color.list=booleanA boolean to enable ("true") or disable ("false") colors in the blaze-list output. The default option is "false".
color.log=booleanA boolean to enable ("true") or disable ("false") colors in the blaze-log output. The default option is "false".
core.doctype=stringA document type. It can be either "html" for HTML, or "xhtml" for the XHTML standard. The default option is "html".
core.extension=stringA file extension. The default option is "html".
core.encoding=stringA character encoding. Note that it has to be in a form that is recognized by W3C standards. The default option is "UTF-8".
core.editor=stringAn external text editor. When supplied, this option overrides the system-wide settings.
core.processor=stringAn external application to be used to process newly added or edited blog posts and pages. Note that you must supply "%in%" and "%out%" in place of an input and output file name respectively. This option is disabled by default.
feed.baseurl=stringA URL of your blog, for example "http://example.com".
feed.posts=integerA number of blog posts to be listed in the feed. The default option is 10.
feed.fullposts=booleanA boolean to enable ("true") or disable ("false") inclusion of the whole content of a blog post in the feed, even though the <!-- break --> form is used. The default option is "false".
post.author=stringA location of a blog post author name. It can be placed above the post ("top"), below it ("bottom"), or nowhere on the page ("none"). The default option is "top".
post.date=stringA location of a date of publishing. It can be placed above the post ("top"), below it ("bottom"), or nowhere on the page ("none"). The default option is top.
post.tags=stringA location of post tags. They can be placed above the post ("top"), below it ("bottom"), or nowhere on the page ("none"). The default option is "top".
user.name=stringYour full name to be used in the copyright notice, and as the default post author. The default option is "admin".
user.nickname=stringYour nickname to be used as the default post author. When supplied, it overrides the user.name setting. This option is disabled by default.
user.email=stringYour email address. The default option is "admin@localhost".
EDITOR
Unless the core.editor option is set, BlazeBlogger tries to use system-wide settings to decide which editor to use.
.blaze/config
A file containing the configuration.
.blaze/theme/
A directory containing blog themes.
.blaze/style/
A directory containing style sheets.
.blaze/lang/
A directory containing language files.
Configure the default text editor:
~]$ blaze-config core.editor nanoThe option has been successfully saved.
Configure the user information:
~]$ blaze-config user.name Jaromir HradilekThe option has been successfully saved.~]$ blaze-config user.email [email protected]The option has been successfully saved.
Configure the blog appearance:
~]$ blaze-config blog.title BlazeBloggerThe option has been successfully saved.~]$ blaze-config blog.subtitle a CMS without boundariesThe option has been successfully saved.~]$ blaze-config blog.theme keepitsimple.htmlThe option has been successfully saved.~]$ blaze-config blog.style keepitsimple.cssThe option has been successfully saved.
Configure the RSS feed:
~]$ blaze-config feed.fullposts trueThe option has been successfully saved.~]$ blaze-config feed.posts 10The option has been successfully saved.~]$ blaze-config feed.baseurl http://blaze.blackened.cz/The option has been successfully saved.
Open the configuration in a text editor:
~]$ blaze-config -e
8 releases since Debian 6.0 (Squeeze); the text changed 2 times.
--editor since Debian 7 (Wheezy);
-E since Debian 7 (Wheezy).