Adding posts without using `hobix post`

Jason Terk jason.terk at gmail.com
Wed Jul 12 09:42:58 EDT 2006


_why's website at hobix.com, suggests that adding a new post is as
simple as creating a new .yaml file in the entries directory (or a
subdirectory thereof) but, when I do this, I get various errors. From
adding a new yaml file in entries and then running `hobix upgen`:

*** Loading /home/jterk/blog/hobix.out.quick
++ Reloaded foo
/usr/lib/ruby/site_ruby/1.8/hobix/storage/filesys.rb:215:in
`sort_index': undefined method `<=>' for nil:NilClass (NoMethodError)
	from /usr/lib/ruby/site_ruby/1.8/hobix/storage/filesys.rb:215:in `sort_index'
	from /usr/lib/ruby/site_ruby/1.8/hobix/storage/filesys.rb:207:in `load_index'
	from /usr/lib/ruby/site_ruby/1.8/hobix/storage/filesys.rb:265:in `find'
	from /usr/lib/ruby/site_ruby/1.8/hobix/weblog.rb:708:in `skel_yearly'
	from /usr/lib/ruby/site_ruby/1.8/hobix/weblog.rb:431:in `build_pages'
	from /usr/lib/ruby/site_ruby/1.8/hobix/weblog.rb:427:in `build_pages'
	from /usr/lib/ruby/site_ruby/1.8/hobix/weblog.rb:510:in `output_map'
	from /usr/lib/ruby/1.8/find.rb:39:in `find'
	from /usr/lib/ruby/1.8/find.rb:38:in `find'
	from /usr/lib/ruby/site_ruby/1.8/hobix/weblog.rb:497:in `output_map'
	from /usr/lib/ruby/site_ruby/1.8/hobix/weblog.rb:582:in `retouch'
	from /usr/lib/ruby/site_ruby/1.8/hobix/weblog.rb:577:in `regenerate'
	from /usr/lib/ruby/site_ruby/1.8/hobix/commandline.rb:249:in `upgen_action'
	from /usr/bin/hobix:79

What else do I need to do to be able to add posts without using `hobix post`?

Thanks,
-Jason Terk


More information about the Hobix-is-the-way mailing list