Misc. first impressions

why the lucky stiff why at hobix.com
Tue Sep 28 13:04:31 EDT 2004


Hoorah, shankyou Eric.

Eric Stewart wrote:

> I'm a Textile fan and the embedded Textile within YAML still seems a 
> little awkward to me.  Maybe I just need to play with it some more. 
> Also, the "hobix edit blogName" never seems to work correctly.  I get 
> parse errors when saving the hobix.yaml file for the blog even if I 
> don't change anything.  Manually editing hobix.yaml works like a charm 
> though.

One strange thing about YAML + Textile is just the nature of how blocks 
work.  Line folding is especially odd.

Here's the simple rule to live by: if you're using YAML folding ('>'), 
give each paragraph two empty line breaks.  If you're using YAML 
literals ('|'), give each paragraph one empty line break.

Why two empty line breaks?  Because one empty line break with YAML 
folding represents an HTML break (<br />) tag.  I'm going to write up a 
daily tip soon about formatting your posts in YAML and how to customize 
it for your styles.

>  * Wrote a del.icio.us sidebar plugin. There is simplier code out in 
> the world that uses Ruby's networking classes to pull from 
> del.icio.us, but I wanted a chance to play with the new Rubilicious 
> library (http://raa.ruby-lang.org/project/rubilicious/).  I'll post 
> the code soon.

Very-- yes-- please-- in time!

>   * Decided that my sidebar was too long with the del.icio.us entries 
> on it, so thought I would add another sidebar on the other side.  I 
> was really happy with how easy this was.  Basically all I had to do, 
> for those interested, was:
>    1. Edit my hobix.yaml and customize a few things for the quick 
> template.  Notably, I added the following two entries:
>
>       - hobix/out/quick:
>         sidebar: |
>           <div id="sidebar">
>              <+ sidebar_list +>
>           </div>
>           <div id="sidebarTwo">
>              <+ sidebar_two_list +>
>           </div>
>         sidebar_two_list: |
>           <+ sidebar_delicious +>   <<--------- My new plugin

Shrewd and whoa.

> Altogether, a great start.  It still looks like a blocky generic blog 
> at the moment, but I'm working on it.  If you care, take a look to see 
> what it's shaping up to look like at http://www.eric-stewart.com.

Alright, yes, a great start.  Thanks for the total rundown of your 
progress.  Cannot wait to see what else emerges.

_why


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