File: nb.1

package info (click to toggle)
nanoblogger 3.1-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 480 kB
  • ctags: 96
  • sloc: sh: 1,585; xml: 104; makefile: 44
file content (88 lines) | stat: -rw-r--r-- 3,597 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
.\" with GNOME Manpages Editor Wizard
.\" 
.\" Rua <srua@gpul.org>
.\" 
.\" 
.TH "nanoblogger" "1" "March 13, 2005" "NanoBlogger User's Manual" ""
.SH "NAME"
NanoBlogger \- small weblog engine for the UNIX command line

.SH "SYPNOSIS"
.B nb
.RI "[\-b blog_dir]" 
.RI [options]
.br 
.SH "DESCRIPTION"
\fBNanoBlogger\fB User's manual.
.PP 
\fBNanoBlogger\fP 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.

.SH "OPTIONS"
.IP "\fB\-\-blogdir [myblog_dir] \--add\fP" 10
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.
.IP "\fB\-\-blogdir [myblog_dir] \-\-configure \-u all\fP" 10
This opens blog.conf from the weblog directory for editing and updates the entire weblog.
.IP "\fB[\-b blog_dir] \-a\fP" 10
Add a new entry
.IP "\fB[\-b blog_dir] \-c 1 \-a\fP" 10
Add a new entry to a category
.IP "\fB [\-b blog_dir] \-t \*(lqNew Entry\*(rq \-n [entry_author] \-a\fP"
Set title and author for new entry
.IP "\fB[\-b blog_dir] \-t \*(lqNew Entry\*(rq \-n [entry_author] \-M \*(lqMy message.\*(rq \-a\fP" 10
Set title, author, and body for new entry
.IP "\fB[\-b blog_dir] \-l\fP" 10
List current entries
.IP "\fB[\-b blog_dir] \-l all\fP" 10
List all entries
.IP "\fB[\-b blog_dir] \-c 1 \-l\fP" 10
List entries for a category
.IP "\fB[\-b blog_dir] \-e 1\fP" 10
Edit the last entry created
.IP "\fB[\-b blog_dir] \-c 1 \-e 1\fP" 10
Edit an entry from a category
.IP "\fB[\-b blog_dir] \-e 1,2,3\fP" 10
Edit multiple entries
.IP "\fB[\-b blog_dir] \-c 1 \-m 1\fP" 10
Move an entry to a category
.IP "\fB[\-b blog_dir] \-c 1,2,3 \-m 1\fP" 10
Move an entry to multiple categories
.IP "\fB[\-b blog_dir] \-c 1 \-m 1,2,3\fP" 10
Move multiple entries to a category
.IP "\fB[\-b blog_dir] \-d 1\fP" 10
Permanently delete an entry
.IP "\fB[\-b blog_dir] \-d 1,2,3\fP" 10
Permanently delete multiple entries
.IP "\fB[\-b blog_dir] \-c 1 \-d 1\fP" 10
Delete an entry from a category
.IP "\fB[\-b blog_dir] \-c new \-a\fP" 10
Create a new category
.IP "\fB[\-b blog_dir] \-t \*(lqNew Category\*(rq \-c new \-a\fP"	10
Set the title for a new category
.IP "\fB[\-b blog_dir] \-l cat\fP" 10
List available categories
.IP "\fB[\-b blog_dir] \-c 1 \-t \*(lqNews\*(rq \-e cat\fP" 10
Edit a category's title
.IP "\fB[\-b blog_dir] \-c 1 \-d cat\fP" 10
Delete a category
.IP "\fB[\-b blog_dir] \-u all\fP" 10
Update the Weblog's Data Directory
.SH "NOTES"
.PP
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 \fBarticles\fP 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.
.PP
Edit \fBtemplates/main_links.htm\fP to add new links.
.SH "FILES"
.IR /etc/nanoblogger/nb.conf
.SH "AUTHOR"
.PP 
NanoBlogger written by Kevin Wood (n1xt3r) <un1xt3r@fastmail.fm>
.br
This manual page was written by William Vera <billy@billy.com.mx> for
the \fBDebian\fP system (but may be used by others).
.br
Permission is granted to copy, distribute and/or modify this document under
the terms of the GNU Free Documentation
.SH "SEE ALSO"
.IR /usr/share/doc/nanoblogger/nanoblogger.html
.IR http://nanoblogger.sourceforge.net/