I have created a emacs major mode, called lunatech-journal, that I use
for blogging. It is a derived mode from muse-mode, an excellent mode
for writing and publishing.
Currently, it has following functions defined
lunatech-journal-skeleton - loads a skeleton for blogging
lunatech-journal-show-hints - shows a buffer with questions to help me blog about my day
lunatech-journal-make-html - creates a html file from the muse-mode
lunatech-journal-preview - allows me to preview my journal in the browser
I use a php script to post the blog entry to the website. To use it, I have the following in my .emacs file
(defun journal ()
(interactive)
(find-file "~/blog/journal.muse")
)
(require 'lunatech-journal)
(add-to-list 'auto-mode-alist '("journal\\.muse\\'" . lunatech-journal-mode))
When I feel the need to blog, I do M-x journal, I get dropped into my
journal file and I can blog.
Links: