I have written a short novel's worth of content for my blog

Posted by Tom Moertel Fri, 30 Mar 2007 04:34:00 GMT

How much content have I written for my blog? Let’s find out.

My blog runs on Typo, which is built upon Ruby on Rails. Let’s fire up the Rails console and gather a quick word count:

$ cd ~/blog
$ ruby script/console 
Loading development environment.
>> require 'article'
=> true
>> Article.find(:all).inject(0) { |sum,a| sum +=
       (a.body + a.extended.to_s).split(/\s+/).length }
=> 66665

So I have written about 66 kilo-words, which is entering novel territory. Paperback-wise, it’s about 190 pages.

All I need now is a villain and some cool cover art.

;-)

Posted in , ,
Tags , , , ,
2 comments
no trackbacks
Reddit Delicious

Comments

  1. Chris said 2 days later:

    I think the LectroTest robot could fill both the cover art AND the villain needs :-)

  2. Casey West said 4 days later:

    That’s a great point, Chris. I’m also in favor of that robot.

Trackbacks

Use the following link to trackback from your own site:
http://tea.moertel.com/articles/trackback/426

(leave url/email »)

   Comment Markup Help Preview comment