TITLE: muse nanoblogger plugin AUTHOR: timotheus DATE: Tue, 26 Dec 2006 @ 22:26:15 DESC: An Emacs Muse plugin for NanoBlogger. FORMAT: muse ----- BODY: Today I wrote a small plugin to [[http://nanoblogger.sourceforge.net/][NanoBlogger]] for publishing entries written in [[http://www.emacswiki.org/cgi-bin/wiki/EmacsMuse][Emacs Muse]] markup. Personally, I never found writing NanoBlogger entries with [[http://daringfireball.net/projects/markdown/][Markdown]] formatting any quicker that raw HTML; probably due to the lack of an Emacs major mode for Markdown. The plugin is only tested with Emacs 22.0.91 (cvs) and Muse 3.02.93, but should work with all Emacs versions supported by Muse. The Emacs Muse plugin for NanoBlogger is: [[http://tstotts.net/pubvc.co/bash-snippets/muse.sh][.../muse.sh]]. You will need to read the comments and modify the file accordingly. Two scripts must be created within the nanoblogger installation directory, under plugins/. For an example of a Muse-formatted blog entry, you can view the original data file for this page: [[http://tstotts.net/blog/data/2006-12-26T22_26_15.txt][2006-12-26T22_26_15.txt]]. To then default to using the muse plugin in NanoBlogger, you can change your default authoring format in blog.conf: ENTRY_FORMAT="muse" ARTICLE_FORMAT="muse" To configure Emacs to automatically enable muse-mode for editing NB entries, use something similar to the following lisp code: (autoload 'muse-mode "muse-autoloads" nil t) (add-to-list 'auto-mode-alist '("[0-9]*-[0-9]*-[0-9T]*_[0-9]*_[0-9]*\\.txt\\'" . muse-mode)) END-----