I bit the bullet and installed
href="http://www.raelity.org/apps/blosxom/download.shtml">blosxom 2.0
beta 2 and love the
href="http://www.raelity.org/apps/blosxom/plugin.shtml">new plugin
ability. So far I’ve added the calendar and categories to the right
side of the page.
Posts Tagged ‘blosxom’
Blosxom 2.0 beta 2
Tuesday, February 25th, 2003man page for blosxom
Tuesday, February 11th, 2003
For debian, I wrote a man page for blosxom. Any comments before I
check it it? Note that it refers to blosxom 0+5i…
Patch for dme:blog.el to add post-find-hook
Monday, February 10th, 2003Here is a patch I sent to
href="http://www.hollytree-house.co.uk/dme">David Edmondson to let
people customize the blog buffer the way they want it.
cd ~/
diff -c /home/marc/dme\:blog.el.orig /home/marc/dme\:blog.el
*** /home/marc/dme:blog.el.orig Mon Feb 10 14:39:09 2003
--- /home/marc/dme:blog.el Mon Feb 10 14:44:11 2003
***************
*** 32,44 ****
;; at:
;; http://www.hollytree-house.co.uk/dme/log/
;; Feedback encouraged !
(require 'easy-mmode)
;;; Customisation:
! (defvar dme:blog-destinations '(("~/var/blog" nil nil t))
"A alist of places where the blog entries should be published. Each
entry in the list has four elements:
dir - the directory,
--- 32,55 ----
;; at:
;; http://www.hollytree-house.co.uk/dme/log/
+ ;; Marc Nozell Mon Feb 10 14:44:04 2003
+ ;; Added dme:blog-post-find-hook so he could clean up the fixup the
+ ;; buffer after html-mode put in its stuff.
+ ;;
+ ;; Example:
+ ;; (add-hook 'dme:blog-post-find-hook '(lambda ()
+ ;; (erase-buffer)
+ ;; (goto-char (point-min))))
+
+
+
;; Feedback encouraged !
(require 'easy-mmode)
;;; Customisation:
! (defvar dme:blog-destinations '(("~/public_html/blog" nil nil t))
"A alist of places where the blog entries should be published. Each
entry in the list has four elements:
dir - the directory,
***************
*** 61,66 ****
--- 72,80 ----
(defvar dme:blog-pre-commit-hook nil
"Hook run just before a blog entry is committed.")
+ (defvar dme:blog-post-find-hook nil
+ "Hook run just after the blog entry is created.")
+
(defvar dme:blog-category nil
"The category of the current blog item. This is simply a directory
below the blog directory (see the Blosxom documentation for more
***************
*** 168,173 ****
--- 182,190 ----
(insert body)))))
(html-mode)
+ ; ready to start editing
+ (run-hooks 'dme:blog-post-find-hook)
+
(dme:blog-mode t))
(defun dme:blog-gnus-pretty-group (group)
Diff finished at Mon Feb 10 14:44:16
emacs mode for faster blogging — dme:blog.el
Monday, February 10th, 2003
While googling on wikis and blogs, I found David Edmondson’s nice
emacs hack:
href="http://www.hollytree-house.co.uk/dme/cgi-bin/blosxom.cgi/emacs">http://ww
w.hollytree-house.co.uk/dme/cgi-bin/blosxom.cgi/emacs.
M-x dme:blog prompts for a blog entry name which
eventually is tied to the final filename. C-c s sets the
blog entry category (read subdirectory, perhaps nested ones) and
finally it uses the cvs check-in keystroke C-s # to ‘commit’
the blog by writing it to your blog directory with the creation time
part of the filename. For example this file is saved as
200302101358_blogging-emacs-mode.txt. The editing buffer is
in HTML major mode, so all the HTML editing binding are set.
I’m not too keen on how html-mode puts all the HTML ‘dressing’ at the
top and bottom of the entry — it is nice for random web pages but a
bit over kill for a
href="http://www.oreillynet.com/~rael/lang/perl/blosxom/">blosxom
entry. Perhaps a hack using html-mode-hook to remove the ‘dressing’
is in order.
Blosxom 0+5i
Thursday, September 19th, 2002
Rael released a new version of
blosxom. While he
didn’t take my suggestion of adding a way to tag entries with icons,
he did rework blosxom to walk down through directories looking for
entries. At least I can keep entries organized a bit more.
Currently my categories are:
top |-- blosxom/ |-- eye-candy/ |-- family/ | |-- kids/ A> | ·-- marc/ |-- geocaching/ |-- linux/ | |-- apps/ | |-- config / | |-- debian / | ·-- t ips/ ·-- us/ ·-- civil-liberties/
A tip of the hat to the Linux command
href="ftp://mama.indstate.edu/linux/tree/">tree which generated
the initial HTML for the above.
Integrating blosxom with Evolution
Sunday, March 17th, 2002Ximian’s Evolution, an Outlook look-alike for Linux, is now my primary email client and can display RSS headlines on its ‘Summary’ page. To have blosxom (version 0+3i) to display, create a newsfeed with a URL like this: http://www.nozell.com/cgi-bin/blosxom/xml. Don’t get it wrong since Evolution 1.0.2+ doesn’t seem to have a way of changing a newsfeed once created. (Hint: edit ~/evolution/RDF-urls.txt)
blosxom-0+2i patch
Thursday, March 7th, 2002blosxom 0+2i incorrectly sorts entries. Sent Rael a patch to use mtime instead of ctime.
First entry
Tuesday, March 5th, 2002
Blosxom looks
nice and simple. Unfortunately I always misspell it.
Write on the laptop, publish on website
Tuesday, March 5th, 2002I typically use my Linux laptop for work and surfing, so I’ve wrote a
one-liner to use rsync to securely update my blog notes. If you use
ssh-agent, you won’t even need to type your ssh password more than
once a day.
#!/bin/bash rsync --exclude '*~' -azv -e ssh ~/public_html/blog/*.txt nozell@www.nozell.com :~/HTML/marc/blog/