New blog design

Well, it’s still really the Networker-10 theme underneath, but I’ve stripped away a lot of the CSS that made my site look heavy, moved things around, added some quick links along the top, and finally got around to making sure wp-cache worked. The site should be nice and zippy again. Check it out at sachachua.com!

Changed to excerpts on the main page - What do you think?

Following the advice in Debbie Weil’s “The Corporate Blogging Book”, I’ve changed the main page of my blog to show excerpts instead of full posts. That way, you won’t get intimidated by huge blocks of text. What do you think about it? Good idea? Bad idea? Should I go back to full posts?

The Corporate Blogging Book: Absolutely Everything You Need to Know to Get It Right
by Debbie WeilRead more about this book…

10 Terrific Wordpress Plugins

Here are ten of my favorite Wordpress plugins:

Discover old posts and make random connections.

  1. On this day
  2. Random Posts widget
  3. Similar Posts

Make it easier for people to comment and keep track of the conversation. Make it easier to respond to those comments, too!

  1. Brian’s Threaded Comments
  2. Subscribe To Comments
  3. Better Comments Manager

Check out these other plugins.

  1. Flexo Archives - if you’ve been blogging since 2002, you need one of these.
  2. FeedWordPress - I used this to import all of my old blog posts from my Planner-based blog. Great if you keep more than one blog.
  3. Google XML Sitemaps - Because it doesn’t matter what you write if Google can’t find it.
  4. TD Word Count - Nice to see how many words you’ve written. Tweak this a little to share your stats with the rest of the world.

Publishing my Org agenda to my blog

Some people like reading my task list.

No, I don't know why, either. =)

But it's up again, just in case you want to see it. This one is based on Org-mode for Emacs, so it's not the same task list that used to show up on my Planner wiki.

Expect this to change a lot as I figure out how I want it to fit in. The downside of using Wordpress as my front-end is that it looks like it's going to be difficult to get the kind of day view I have with my Planner version. How do I get it to display future pages?

I may end up writing yet another layer on top of this... =(

Anyway, here's my highly idiosyncratic config, just in case you want to get started hacking this onto your system:

(defvar sacha/org-publish-agenda-directory "~/notebook/org/" "*Directory to save the published agenda to.")
(org-defkey org-agenda-mode-map  "p" 'sacha/org-publish-agenda)
(defun sacha/org-publish-agenda ()
  "Copy the agenda buffer to a file in `sacha/org-publish-agenda-directory'."
  (interactive)
  ;; Take the entire contents of the agenda and dump it into a text file labeled with the date.
  (let ((agenda (with-current-buffer org-agenda-buffer-name
                  (unless org-agenda-show-log (org-agenda-log-mode))
                  (buffer-string)))
        (filename (format-time-string "%Y-%m-%d.txt" (if org-starting-day (calendar-time-from-absolute (1+ org-starting-day) 0)
                                                       (current-time)))))
    (with-temp-buffer
      (insert agenda)
      (write-file (expand-file-name filename
                                    sacha/org-publish-agenda-directory)))))

(defun sacha/org-publish-agenda-today (interactive)
  "Publish today's agenda. Suitable for ~/.emacs, we hope."
  (let ((entry (assoc "a" org-agenda-custom-commands)))
    (if entry
        (org-run-agenda-series (nth 1 entry) (cddr entry))
      (call-interactively 'org-agenda-list))
  (sacha/org-publish-agenda)))

On Technorati: , ,

Random Emacs symbol: hack-local-variables - Function: Parse and put into effect this buffer's local variables spec.

So close!

071216-01.04.40.png