man nb (Commandes) - small weblog engine for the UNIX command line
NAME
NanoBlogger - small weblog engine for the UNIX command line
SYPNOSIS
nb
[-b blog_dir]
[options]
DESCRIPTION
NanoBlogger User's manual.
NanoBlogger is a small weblog engine written in Bash for the command line. It uses common unix tools, such as cat, grep and sed. It's free to use and modify under the GNU General Public License.
OPTIONS
- --blogdir [myblog_dir] --add
- Where myblog_dir is a nonexistent directory. This will create a new directory, copy the default files over, and then let you edit the weblog's configuration. Multiple weblogs can be created this way. Running the same command again on an existing weblog directory will add a new entry.
- --blogdir [myblog_dir] --configure -u all
- This opens blog.conf from the weblog directory for editing and updates the entire weblog.
- [-b blog_dir] -a
- Add a new entry
- [-b blog_dir] -c 1 -a
- Add a new entry to a category
- [-b blog_dir] -t “New Entry†-n [entry_author] -a
- Set title and author for new entry
- [-b blog_dir] -t “New Entry†-n [entry_author] -M “My message.†-a
- Set title, author, and body for new entry
- [-b blog_dir] -l
- List current entries
- [-b blog_dir] -l all
- List all entries
- [-b blog_dir] -c 1 -l
- List entries for a category
- [-b blog_dir] -e 1
- Edit the last entry created
- [-b blog_dir] -c 1 -e 1
- Edit an entry from a category
- [-b blog_dir] -e 1,2,3
- Edit multiple entries
- [-b blog_dir] -c 1 -m 1
- Move an entry to a category
- [-b blog_dir] -c 1,2,3 -m 1
- Move an entry to multiple categories
- [-b blog_dir] -c 1 -m 1,2,3
- Move multiple entries to a category
- [-b blog_dir] -d 1
- Permanently delete an entry
- [-b blog_dir] -d 1,2,3
- Permanently delete multiple entries
- [-b blog_dir] -c 1 -d 1
- Delete an entry from a category
- [-b blog_dir] -c new -a
- Create a new category
- [-b blog_dir] -t “New Category†-c new -a
- Set the title for a new category
- [-b blog_dir] -l cat
- List available categories
- [-b blog_dir] -c 1 -t “News†-e cat
- Edit a category's title
- [-b blog_dir] -c 1 -d cat
- Delete a category
- [-b blog_dir] -u all
- Update the Weblog's Data Directory
NOTES
The articles plugin provides a simple way for NanoBlogger to automatically generate and update articles for your weblog. Creating a new article is easy, create a new file in the articles directory and save it with the suffix, "txt". To remove an article simply rename it's suffix to something other than "txt" or remove it from the articles directory.
Edit templates/main_links.htm to add new links.
FILES
/etc/nanoblogger/nb.conf
AUTHOR
NanoBlogger written by Kevin Wood (n1xt3r) <un1xt3r@fastmail.fm>
This manual page was written by William Vera <billy@billy.com.mx> for
the Debian system (but may be used by others).
Permission is granted to copy, distribute and/or modify this document under
the terms of the GNU Free Documentation
SEE ALSO
/usr/share/doc/nanoblogger/nanoblogger.html http://nanoblogger.sourceforge.net/