Getting started
why the lucky stiff
why at hobix.com
Wed Sep 22 17:27:06 EDT 2004
Ben Giddings wrote:
> Here are some issues I had starting up which are probably ones others
> have seen and should probably be either fixed, or become FAQs:
Whoa. You've done a wonderful thing! I'm going to the Can I??
<http://hobix.com/about/02.cani.html>
> Q: Ok, I did that but when I tried to do "hobix regen blogname" it
> gave me an error. What gives?
> A: Oh, well hobix needs at least one entry. Create one with "hobix
> post blogname entryname"
This is going away. Zero entries is okay.
> Q: Great! Now the only entry is mine. But... hrm... the links all
> try to go to bokononist.hobix.com. That's not my site!
> A: Aha, you're making progress, but now you need to fix hobix.yaml in
> the base of your blog directory. Change the "link: " line so it's
> right for your site.
This is becoming a question that is asked on setup.
> Q: Ok, well I changed apache, but now I get a message "[an error
> occurred while processing this directive]" when I try to use my blog.
> I guess that's where the sidebar should be.
> A: Right, you're probably using a URL with a path on it. Right now
> there's a "lib/local.rb" file that assumes you don't have a path.
> There's no really clean fix for that now.
Good catch, thankyou.
> Q: Ok, I see how that works, or should work. Only for me, ri Hobix
> says "The LinkList class is an entry type for storing links...". and
> ri Hobix::Entry says: "More than one class or module matched your
> request. You can refine your search by asking for information on one of:
>
> Hobix::EntryEnum, Hobix::Entry"
> A: [sound of crickets]
This is a problem with 'ri'. Perhaps I should rename EntryEnum in the
meantime.
> Q: Oh yeah, and if I wanted to use a redrum thing, how would I do that?
> A: [sound of crickets]
A: Well, if you want to create a sidebar using Textile + ERB (rather
than HTML + ERB), you can just add a `sidebar.html.redrum'. Here's the
Redrum template used on Hobix.com:
h2. *about
<% about_entries.each do |about| %>
"<%= about.title.downcase %>":<%= about.link %><% end %>
h2. *learn
<% learn_entries.each do |learn| %>
"<%= learn.title.downcase %>":<%= learn.link %><% end %>
h2. *based<br />*on
"ruby":http://poignantguide.net/ruby/
"yaml":http://yaml.kwiki.org/?YamlInFiveMinutes
"textile":/textile/
h2. *i am
"_why":http://whytheluckystiff.net/
>
> Q: Hmm... Ok, well I'll come back later.
A: Please do. Thanks, Ben!
_why
More information about the Hobix-is-the-way
mailing list