This page tells you how to install BlogMax in your Emacs and how to set up your first web site.
The file blogmax.el is all the code you need, in addition to Emacs itself. If you byte compile it with byte-compile-file, or use the distributed blogmax.elc, it will load and run faster. Put both of these files in the "lisp" sub-directory of your Emacs directory (or anywhere else that you please). Now, add the following line to your ".emacs" file:
If you put blogmax.el and blogmax.elc in some directory other than the Emacs "lisp" directory, e.g. "~/emacs-extensions/", then use the following instead in your .emacs file:
You can also load it explicitly with "M-x load-file" or by opening the file in a buffer and doing "M-x eval-buffer". Usually, however, you'll want to load it with
To set up your first web site, pick or create a directory, and create a weblog.ini file in that directory. The easiest way to do this is to copy the weblog.ini file from this web site into your directory, and then edit it to describe your site.
Copy the templates files, page-template.tmpl, content-template.tmpl, day-template.tmpl, and story-template.tmpl to your site's root directory. Customize them as you desire. The template files contain nothing specific to this site, so you can use them as they are if you want your site to be similar to this one. Well, almost nothing. The links in the left-hand column are defined by side-links.inc, which is included by page-template.tmpl.
Finally, copy this site's shortcuts.el file to your site's root directory. This file is where the weblog-add-shortcut command (C-x C-a) stores new shortcuts. It is an Emacs lisp file, so be careful when editing it by hand.
|Copyright © 2002 by Bill St. Clair <email@example.com>||source|