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 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236
|
.TH charmrc 5 "November 2004"
.SH NAME
charmrc \- Configuration file for Charm
.SH DESCRIPTION
A charmrc file is a configuration file for Charm, a client for LiveJournal
and other blogging sites which support the LiveJournal protocol. It is
a text file.
A charmrc file can include other charmrc files, with the following:
.PP
include FILENAME
.PP
Files are read in the order that they are specified. When that directive
is used, processing of the current configuration file is stopped, the
included configuration file is read and processed, and then processing
on the current configuration file is resumed.
An active line in a charmrc file will have the format:
.PP
name = value
.PP
Blank lines are ignored. Lines that begin with a pound-sign (#) are
comments, and are ignored. Leading spaces and tabs are ignored.
All boolean options can be on ("on", "yes", "y", "true", "t", "1" all work)
or off ("off", "no", "n", "false", "f", "0").
Almost all options can be overridden interactively. Most things set in
the configuration file are merely treated as a default.
.SH LOGIN CONFIGURATION
.TP
.B login = username password [ site ]
Specifies a journal user for a LiveJournal-based site. The site is an
optional hostname, such as
.I www.livejournal.com
.TP
.B hlogin = username MD5password [ site ]
Like
.B login
except the password specified is an MD5 hash digest of the actual password.
.TP
.B atomblog = username password [ URIpath ]
Specifies a journal user for an Atom API-based site. The URIpath is an
optional URL for feed discovery, such as
.I https://www.blogger.com/atom/
.TP
.B hatomblog = username MD5password [ URIpath ]
Like
.B atomblog
except the password specified is an MD5 hash digest of the actual password.
.TP
.B metaweb = username password URIpath
Specifies a journal user for a MetaWeb API-based site. The URIpath is the
URL for the site's XML-RPC MetaWeb interface, such as
.I http://testuser.wordpress.com/xmlrpc.php
.TP
.B default_user = username
Because
.B login
and
.B hlogin
and
.B atomblog
and
.B hatomblog
and
.B metaweb
may be specified multiple times, this parameter allows the user to specify
which identity to use by default.
.TP
.B journal = journalname
By default, Charm uses the journal of the current user. However, some people
post to a community or a shared journal more frequently than they do to their
own journal. This option allows the user to specify that journal by default,
rather than their own.
.TP
.B url = interface_url
By default, Charm posts to LiveJournal. This parameter can be used to
specify a different default, rather than specifying the site in
.B login
or
.B hlogin
(but this must be a full URL, not just the hostname).
.SH FRIENDS-CHECKING CONFIGURATION
.TP
.B checkdelay = minutes
Specifies the number of minutes to wait between each attempt to check
whether friends have posted journal updates.
.TP
.B checkgroups = groups
Specifies the friend groups to check. This is a comma-delimited list,
such as "Group1,Group2,Group3".
.SH GENERAL ARCHIVAL CONFIGURATION
.TP
.B archive_dir = directory
Specifies the directory to save completed posts in.
.TP
.B organize = type
Specifies how to organize the archive directory.
.I type
can be
.B none
(no subdirectories),
.B year
(subdirectories by year), or
.B month
(subdirectories by month within subdirectories by year).
.SH POSTING CONFIGURATION
.TP
.B editor = program
Use this program as the editor for posts.
.TP
.B pager = program
Use this program as the pager when previewing posts.
.TP
.B spellchecker = program
Use this program as the spellchecker for posts.
.TP
.B default_filter = program
Use this program as the default when you choose to text-filter a post.
.TP
.B default_template = templatefile
Load this template file as the default content for posts.
.TP
.B draft_dir = directory
Use this directory as the place to save drafts in progress.
.TP
.TP
.B autodetect = boolean
Use XMMS music detection to automatically determine what music to use for
a post?
.TP
.B autoformat = boolean
Let the server HTML format our post, or do it ourselves?
.TP
.B backdate = boolean
Backdate our post so it does not appear on friends pages?
.TP
.B comments = boolean
Allow comments on this post?
.TP
.B noemail = boolean
Do not email us when we receive comments on this post?
.TP
.B security = level
Sets the security level, where
.I level
can be
.B public
(everyone),
.B private
(just the poster),
.B friends
(friends of the poster),
or a list of friend group names separated by commas.
.TP
.B show_permissions = boolean
Automatically add a header to the entry, stating the security level?
.TP
.B groupheader = group,text
When adding permission headers, use
.I text
instead of the friend group name
.I group
.TP
.B commpic = journal,userpic
Sets the default userpic used when posting to a community or shared journal.
.SH POSTING AND EDITING ARCHIVAL OPTIONS
.TP
.B archive = boolean
Archive an entry automatically after it has been posted?
.TP
.B archive_edits = boolean
Archive an entry automatically after it has been edited (modified on
the server)?
.TP
.B archive_overwrite = boolean
When archiving an edited entry, overwrite the original, or save the
edit as a separate file?
.TP
.B archive_subdirs = boolean
Use a separate subdirectory for each username, community, and shared
journal, or put all archived posts under a single directory?
.SH EXAMPLES
There is an example charmrc file. It can usually be found in
.B /usr/share/doc/charm/sample.charmrc
.SH MANUAL
There is a full manual for Charm. It can usually be found in
.B /usr/share/doc/charm/charm.html
.SH SEE ALSO
charm(1)
.SH AUTHOR
Lydia Leong (evilhat@livejournal.com)
|