BLAZE-ADD(1)
β¨ BLAZE-ADD(1) β¨
okay bestie, welcome to the BlazeBlogger Documentation glow-up π this is the manual page for blaze-add, and it's literally about to become your new fave command.
π NAME π
blaze-add β adds a blog post or a page to the BlazeBlogger repository. yes, that's the whole vibe. it puts stuff in. slay.
πΈ SYNOPSIS πΈ
blaze-add [-pqCPV] [-b directory] [-E editor] [-a author] [-d date] [-t
title] [-k keywords] [-T tags] [-u url] [file...]
blaze-add -h|-v
π¦ DESCRIPTION π¦
so blaze-add adds a blog post or a page to the BlazeBlogger repository. that's the mission, that's the whole plot π«Ά
if you hand it a file, it adds the content of that file. if you don't, it opens up an external text editor for you instead β like, it's gonna let you write your little heart out β¨
heads up bestie: there are several special forms and placeholders you can drop into the text, and they get swapped out for proper data when the blog is generated. more on those in a sec π
π Special Forms π
<!-- break -->β a mark that delimits a blog post synopsis. it's giving "cut here for the teaser" π
β Placeholders β
these are the little magic words that get replaced with real paths when your blog gets generated:
%root%β a relative path to the root directory of the blog.%home%β a relative path to the index page of the blog.%page[id]%β a relative path to a page with the supplied id.%post[id]%β a relative path to a blog post with the supplied id.%tag[name]%β a relative path to a tag with the supplied name.
iykyk π
π OPTIONS π
-bdirectory,--blogdirdirectory β lets you specify a directory where the BlazeBlogger repository lives. default? the current working directory. classic.-Eeditor,--editoreditor β lets you specify an external text editor. when you supply this, it overrides the relevant configuration option. no cap, it wins.-ttitle,--titletitle β lets you specify the title of a blog post or page.-aauthor,--authorauthor β lets you specify the author of a blog post or page.-ddate,--datedate β lets you specify the date of publishing of a blog post or page.-kkeywords,--keywordskeywords β lets you specify a comma-separated list of keywords attached to a blog post or page.-Ttags,--tagstags β lets you supply a comma-separated list of tags attached to a blog post.-uurl,--urlurl β lets you specify the url of a blog post or page. allowed characters are letters, numbers, hyphens, and underscores. that's it, that's the guest list π«-p,--page,--pagesβ tellsblaze-addto add a page or pages.-P,--post,--postsβ tellsblaze-addto add a blog post or blog posts. this is the default option, so it's the main character fr π-C,--no-processorβ disables processing a blog post or page with an external application. for example, if you use Markdown to convert the lightweight markup language to valid HTML output, this lets you write this particular post in plain HTML directly. lowkey useful.-q,--quietβ disables displaying of unnecessary messages. shhh π€«-V,--verboseβ enables displaying of all messages. this is the default option. it's chatty and we love that for it π¬-h,--helpβ displays usage information and exits.-v,--versionβ displays version information and exits.
π ENVIRONMENT π
EDITORβ unless thecore.editoroption is set, BlazeBlogger tries to use system-wide settings to decide which editor to use.
π EXAMPLE USAGE π
write a new blog post in an external text editor:
~]$ blaze-add
add a new blog post from a file:
~]$ blaze-add new_packages.txt
Successfully added the post with ID 10.
write a new page in an external text editor:
~]$ blaze-add -p
write a new page in nano:
~]$ blaze-add -p -E nano
look at us go π iconic behaviour honestly
π₯ SEE ALSO π₯
blaze-init(1), blaze-config(1), blaze-edit(1), blaze-remove(1), blaze-make(1)
π BUGS π
to report a bug or to send a patch, please, add a new issue to the bug tracker at <http://code.google.com/p/blazeblogger/issues/>, or visit the discussion group at <http://groups.google.com/group/blazeblogger/>.
don't be shy bestie, they wanna hear from you π
π COPYRIGHT π
Copyright (C) 2008-2011 Jaromir Hradilek
This program is free software; see the source for copying conditions. It 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.
and that's the whole page, bestie π this was Version 1.2.0, dated 2019-10-07, brought to you by the BlazeBlogger girlies. go forth and add some posts, periodt π§β¨
π¦ where this page comes from
- debian bookworm: blazeblogger 1.2.0-4 Β· GPL-3.0-only
- debian trixie: blazeblogger 1.2.0-4 Β· GPL-3.0-only
- ubuntu jammy: blazeblogger 1.2.0-4 Β· GPL-3.0-only
- ubuntu noble: blazeblogger 1.2.0-4 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms