Category Archives: wordpress

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.

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.

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…

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!

Notes from WordCamp

wordcamptoronto on Twitter
#wpto08, #wcto08, which one?
Joseph Thornley
search.twitter.com
sociology + technology
RSS changed it from pastime to productivity tool
Magazine analogy – doesn’t make sense to keep physically checking newstand
Asked audience who has developed plugins, nice interaction
Check out category enhancements
wpdiso? profile plugin
live-conference.ca
phug.ca

Matt Mullenweg
If it takes you more than five minutes [to upgrade], you’re doing it wrong, as the lolcats would say (good idea for another presentation: bring in lolcats picture)
2 Wikipedias a month posted on wordpres.com
5 billion spam comments caught, 99.925% accuracy
camp vs conference, open source vs closed source
kudos to Davao WordCamp for being awesomest, mentioned karaoke sound system, pool, lumpia, super-passionate people, awesome shirt
Release cycles, time-based, 2 months dev 1 month cool-down, 1 month testing – reminds me of what Mark Shuttleworth said re cadence
Top 10 WordPress plugins
Looking into better multimodal support

Other notes
Wordpress help desk
Role scoper
Flashpress
Wordpress developer’s toolbox, Drupal version also
Flutter
Comicpress
Theme test drive
Wordpress e-commerce
Contact manager

Conversations
Himy – misses Emacs Planner PIM bliki
Brian Anderson, Mireille Massue, Elena Yunusov – storytelling
Mireille -SecondLife, presentations, storytelling, visual thinking – introduced by Tania Samsonova
Stuart Dykstra – SecondLife, virtual culture

WordPress and lifestreaming – check out my draft firehose interface

Inspired by WordCamp Toronto (and the Flutter plugin in particular), I decided to spend some time figuring out if I could use WordPress as a tumblelog/lifestream without overwhelming people and while still making my regular blog posts easy to find. I also wanted to bring in some of the weekly and daily planning that I do. Here’s what I have so far:

Draft firehose interface

It’s currently running off categories of posts that are excluded from the default RSS feed and from index.php. I’m half-tempted to make it run off files instead, because I can very easily rsync those from my computer… and that will probably end up involving Emacs. ;) That would be pretty sweet, wouldn’t it?

… or a blosxom instance that feeds RSS into WordPress…

… or an Org/Planner export that feeds RSS into WordPress…

Oh, the possibilities.

What do you think? I’m planning to offer several interfaces to my blog. Firehose might become the default interface (there’ll be a mainpost-summary version for people who like scanning and a main-post full version for people who hate clicking). There could be a traditional reverse-chronological everything view and an almost-everything view (excludes tidbits). There could also be an explore view full of random posts and “On This Day” goodness. And maybe another view for people coming in from search engines…

What do you think? What would make it easier for you to browse?