From dos at scarff.id.au Wed Jan 2 04:39:54 2008 From: dos at scarff.id.au (Dean Scarff) Date: Wed, 02 Jan 2008 18:39:54 +0900 Subject: [*] plans for hobix 0.5 References: Message-ID: On Fri, 21 Sep 2007 16:06:13 -0700, MenTaLguY wrote: > - the thing with missing .html extensions on links --- lib/hobix/out/quick.rb (revision 163) +++ lib/hobix/out/quick.rb (working copy) @@ -230,7 +230,7 @@ end def entry_footer_erb %{ posted by <%= weblog.authors[entry.author]['name'] %> | - <%= entry.created.strftime( "%I:%M %p" ) %> } + <%= entry.created.strftime( "%I:%M %p" ) %> } end def head_tags_erb; end def css_erb; %{ @import "<%= weblog.expand_path "site.css" %>"; }; end Am I missing something here? > So, yeah, let's keep this webly perambulator rolling. Let's all say > it together: "hobix. not dead. getting better." Yes, children: "as long as the maintainers believe it's alive, it's SNAFU." -- Dean From mental at rydia.net Wed Jan 2 22:31:57 2008 From: mental at rydia.net (MenTaLguY) Date: Wed, 02 Jan 2008 22:31:57 -0500 Subject: [*] plans for hobix 0.5 In-Reply-To: References: Message-ID: <1199331117.6848.0.camel@localhost.localdomain> On Wed, 2008-01-02 at 18:39 +0900, Dean Scarff wrote: > --- lib/hobix/out/quick.rb (revision 163) > +++ lib/hobix/out/quick.rb (working copy) > @@ -230,7 +230,7 @@ > end > def entry_footer_erb > %{ posted by <%= weblog.authors[entry.author]['name'] %> | > - <%= entry.created.strftime( "%I:%M %p" ) %> } > + <%= entry.created.strftime( "%I:%M %p" ) %> } > end > def head_tags_erb; end > def css_erb; %{ @import "<%= weblog.expand_path "site.css" %>"; }; end > > Am I missing something here? Eh, good enough maybe? I think we were missing some other places too but whatever. I'll probably roll the release in a day or two. (You can tell I'm tired of this codebase :) ) Thanks, -mental From dos at scarff.id.au Sat Jan 5 03:30:07 2008 From: dos at scarff.id.au (Dean Scarff) Date: Sat, 05 Jan 2008 17:30:07 +0900 Subject: [*] plans for hobix 0.5 References: <1199331117.6848.0.camel@localhost.localdomain> Message-ID: On Wed, 02 Jan 2008 22:31:57 -0500, MenTaLguY wrote: > On Wed, 2008-01-02 at 18:39 +0900, Dean Scarff wrote: >> Am I missing something here? > Eh, good enough maybe? I think we were missing some other places > too but whatever. I'll probably roll the release in a day or two. Right you are. --- lib/hobix/out/quick.rb (revision 164) +++ lib/hobix/out/quick.rb (working copy) @@ -278,7 +278,7 @@ %{
<% if entry.respond_to? :summary and entry.summary %> <%= entry.summary.to_html %> -

Continue to full post.

+

Continue to full post.

<% else %> <%= entry.content.to_html %> <% end %> @@ -291,7 +291,7 @@ "quick-archive" end def entry_erb - %{

<%= entry.title %>

} + %{

<%= entry.title %>

} end def entries_erb %{
> (You can tell I'm tired of this codebase :) ) Can't say I blame you. Are there any other blosxom-like blogs running on ruby? -- Dean From thojens at gmx.de Wed Jan 9 07:47:54 2008 From: thojens at gmx.de (Thorsten Jens) Date: Wed, 9 Jan 2008 13:47:54 +0100 Subject: calendar plugin + lib/local Message-ID: Hi, I just got started using hobix (svn, revision 164). Worked pretty well until I wanted to use the calendar plugin, 'hobix regen' complained about /opt/local/lib/ruby/site_ruby/1.8/hobix/out/quick.rb:124:in `load': Error `undefined local variable or method `month' for #' in erb /Users/thodi/Sites/b/skel/monthly.html.quick-archive. (Hobix::Out::QuickError) I searched for this error and foun out I absolutely needed to "'require' plugin/calendar after local". Err, OK. What? It appears there can or must be a file called local.rb in the lib folder of my blog to make stuff work ... but what does it have to contain? I played with this for a while (I'm new to ruby), and when my lib/local.rb contained require 'hobix/out/quick' module Hobix class Out::QuickArchive def month Time.now end end end at least this error was gone. It only made way for more errors similar to this ... days_sym was missing, offset was missing. I' basically looking for documentation on this lib/local.rb thing and how to make plugin/calendar.rb work. Thodi