How different is the stock 0.5 theme from 0.4? IE has a rendering bug
that shifts the blog area down past the end of the sidebar (its
horizontal size/position are correct; it's just the vertical position
that's off).
The problem seems to be an argument between dayHeader and entry; when
I get rid of entry's padding-left space, the issue goes away (but
then, of course, the dayHeader and entry don't line up as prettily,
which I'm willing to live with foisting on my IE viewers for now).
From paul at luon.net Mon Oct 9 11:34:55 2006
From: paul at luon.net (Paul van Tilburg)
Date: Mon, 9 Oct 2006 17:34:55 +0200
Subject: 0.5 release nears -- last call
In-Reply-To: <20061008170613.GA21422@mazirian.com>
References: <1159566125.31624.5.camel@localhost.localdomain>
<20060930071202.GA11226@power.luon.net>
<1159734683.13812.37.camel@localhost.localdomain>
<20061002174726.GD15122@mazirian.com>
<1160101328.5766.57.camel@phandaal>
<20061006211956.GA4995@power.luon.net>
<20061008170613.GA21422@mazirian.com>
Message-ID: <20061009153455.GD4477@power.luon.net>
On Sun, Oct 08, 2006 at 01:06:13PM -0400, Bradford R. Bowman wrote:
> On Fri, Oct 06, 2006 at 11:19:56PM +0200, Paul van Tilburg wrote:
> > > On Mon, 2006-10-02 at 13:47 -0400, Bradford R. Bowman wrote:
> > > [...] I put together a super quick hack to test
> > > akismet's comment spam checking.
>
> > I'm interested... :)
>
> Ok, here is a diff for hobix/facets/comments.rb:
> [...]
> And I have attached my test plugin (hobix/plugin/akismet.rb)
>
> I have no idea how effective akismet is, but I see that it's used by
> wordpress, typo and now mephisto and others. Also, I'm not sure how
> this should really be implemented in hobix.
Well, I added it to my Hobix almost as-is and it works fine. Bounced all
6 spam comments already. Maybe some parts are a bit 'unhobixish', but I
can work it out.
Mental, what do you think, include it for 0.5 or wait for post 0.(>= 5) ?
Paul
--
Student @ Eindhoven | email: paul at luon.net
University of Technology, The Netherlands | JID: paul at luon.net
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20061009/d4d43f3e/attachment.bin
From why at hobix.com Mon Oct 9 14:44:39 2006
From: why at hobix.com (why the lucky stiff)
Date: Mon, 9 Oct 2006 13:44:39 -0500
Subject: Rebooting Hobix (with Ferret and Camping)
Message-ID: <20061009184439.GG13218@lstsv-3264.layeredtech.com>
Friends of Hobix, assorted coders in distant lands and species: come out, come
out wherever you are! [...] You who?
Hobix is way too big and wrong for what it does. So, here's the plan:
* Start over from scratch. I'm not very far, yet. But:
http://code.whytheluckystiff.net/svn/hobix/branches/proto-bix/
* Your old entries are fine, they will be preserved.
* Skel, hobix.yaml, and plugins will be completely different.
* The indexing is now done with Ferret, which is much, much faster
and better. (Yeah: Ferret+YAML is awesome and what Hobix should have
always been!)
* All dynamic web stuff will be done with Camping rather than
WebApp.
Quick templates are cool, but Markaby is great, too. I'm thinking of making a
hybrid. Like you can setup blocks that override sections of the template.
For example, this YAML file:
entries: |
<% entries.each_day do |day, day_entries| %>
<+ day_header +>
<% day_entries.each do |entry| %>
<+ entry +>
<% end %>
<% end %>
entry: |
<+ entry_title +>
<+ entry_content +>
Becomes:
page.entries do
entries.each_day do |day, day_entries|
page.day_header
day_entries.each do |entry|
page.entry
end
end
end
page.entry do
div.entry do
page.entry_title
page.entry_content
end
div.entry_footer { page.entry_footer }
end
Obviously lots to do, but if we keep it small we can get this kicked out quick.
Any things that you found essential in the original Hobix?
_why
From splaestro at gmail.com Mon Oct 9 21:27:00 2006
From: splaestro at gmail.com (Brian C Young)
Date: Mon, 09 Oct 2006 21:27:00 -0400
Subject: Rebooting Hobix (with Ferret and Camping)
In-Reply-To: <20061009184439.GG13218@lstsv-3264.layeredtech.com>
References: <20061009184439.GG13218@lstsv-3264.layeredtech.com>
Message-ID: <452AF6E4.2070100@gmail.com>
why the lucky stiff wrote:
> Friends of Hobix, assorted coders in distant lands and species: come out, come
> out wherever you are! [...] You who?
>
> Hobix is way too big and wrong for what it does.
The tailor himself emerges to propose not so much an altered white
pantsuit, but rather a completely new set of clothes for all of us to
wear! Will it be a frilly fuchsia tuxedo? Or rhinestone-studded
coveralls? Regardless, it's likely to be shiny...
> So, here's the plan:
>
> * Start over from scratch.
>
> * Your old entries are fine, they will be preserved.
>
> * Skel, hobix.yaml, and plugins will be completely different.
>
> * All dynamic web stuff will be done with Camping rather than
> WebApp.
>
So... very good to know old entries can be regen'd; how old? Most of my
blogs were created using v0.3b.
Will it still be possible to override skel templates in hobix.yaml, or
will there be some other way?
Re: Camping, how dynamic is dynamic? Will the model still involve
generating static output which can be transferred to a server where Ruby
does not live?
> Quick templates are cool, but Markaby is great, too. I'm thinking of making a
> hybrid. Like you can setup blocks that override sections of the template.
>
This looks very cool.
> Obviously lots to do, but if we keep it small we can get this kicked out quick.
> Any things that you found essential in the original Hobix?
As long as there's a clear migration path for old entries (and other
stuff as above), I say go.
Others would likely nominate measures to defeat comment spam (see the
recent exchange
re: using akismet).
So, folks, do we abandon the alterations to the pantsuit known as 0.5,
or do we still need something to ward off autumn's chill for the time being?
------------------------------------------------------------------------
Brian C. Young
?...the depth of human sinfulness is expressed in the way in which human
beings deceive themselves into believing that the defense of, or
commitment to, their own people requires the harm of other people.?
--Duane K. Friesen
From mental at rydia.net Tue Oct 10 19:32:32 2006
From: mental at rydia.net (MenTaLguY)
Date: Tue, 10 Oct 2006 19:32:32 -0400
Subject: 0.5 release nears -- last call
In-Reply-To: <20061009153455.GD4477@power.luon.net>
References: <1159566125.31624.5.camel@localhost.localdomain>
<20060930071202.GA11226@power.luon.net>
<1159734683.13812.37.camel@localhost.localdomain>
<20061002174726.GD15122@mazirian.com>
<1160101328.5766.57.camel@phandaal>
<20061006211956.GA4995@power.luon.net>
<20061008170613.GA21422@mazirian.com>
<20061009153455.GD4477@power.luon.net>
Message-ID: <1160523152.5602.0.camel@localhost.localdomain>
On Mon, 2006-10-09 at 17:34 +0200, Paul van Tilburg wrote:
> Well, I added it to my Hobix almost as-is and it works fine. Bounced all
> 6 spam comments already. Maybe some parts are a bit 'unhobixish', but I
> can work it out.
> Mental, what do you think, include it for 0.5 or wait for post 0.(>= 5) ?
I say go for it. I'm still busy getting ready for Small Press Expo.
-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20061010/68cdfab3/attachment.bin
From mental at rydia.net Tue Oct 10 19:39:02 2006
From: mental at rydia.net (MenTaLguY)
Date: Tue, 10 Oct 2006 19:39:02 -0400
Subject: Themes and pending 0.5 release
In-Reply-To:
References:
Message-ID: <1160523542.5602.5.camel@localhost.localdomain>
On Sun, 2006-10-08 at 19:55 -0700, Ian Dees wrote:
> How different is the stock 0.5 theme from 0.4? IE has a rendering bug
> that shifts the blog area down past the end of the sidebar (its
> horizontal size/position are correct; it's just the vertical position
> that's off).
>
> The problem seems to be an argument between dayHeader and entry; when
> I get rid of entry's padding-left space, the issue goes away (but
> then, of course, the dayHeader and entry don't line up as prettily,
> which I'm willing to live with foisting on my IE viewers for now).
The problem is still present in trunk, unfortunately removing the
padding from the .entry rule didn't fix it for me.
Any other suggestions? I've got a live web site where this is kind of a
major issue actually, and no time to redo the template majorly.
-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20061010/4b7f478a/attachment.bin
From mental at rydia.net Tue Oct 10 19:48:59 2006
From: mental at rydia.net (MenTaLguY)
Date: Tue, 10 Oct 2006 19:48:59 -0400
Subject: Rebooting Hobix (with Ferret and Camping)
In-Reply-To: <452AF6E4.2070100@gmail.com>
References: <20061009184439.GG13218@lstsv-3264.layeredtech.com>
<452AF6E4.2070100@gmail.com>
Message-ID: <1160524139.5602.11.camel@localhost.localdomain>
On Mon, 2006-10-09 at 21:27 -0400, Brian C Young wrote:
> So, folks, do we abandon the alterations to the pantsuit known as 0.5,
> or do we still need something to ward off autumn's chill for the time being?
I say let's go ahead with an 0.5 release, just so we have an actual
release to tide people (i.e. me) over until neu-bix is ready. Just
let's not do any real heavy work on trunk anymore.
-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20061010/08cefa48/attachment.bin
From mental at rydia.net Tue Oct 10 19:56:14 2006
From: mental at rydia.net (MenTaLguY)
Date: Tue, 10 Oct 2006 19:56:14 -0400
Subject: Rebooting Hobix (with Ferret and Camping)
In-Reply-To: <20061009184439.GG13218@lstsv-3264.layeredtech.com>
References: <20061009184439.GG13218@lstsv-3264.layeredtech.com>
Message-ID: <1160524575.5602.17.camel@localhost.localdomain>
On Mon, 2006-10-09 at 13:44 -0500, why the lucky stiff wrote:
> Becomes:
>
> page.entries do
> entries.each_day do |day, day_entries|
> page.day_header
> day_entries.each do |entry|
> page.entry
> end
> end
> end
So, calling the method with a block actually defines it (via
method_missing, I guess)? Clever.
Using Markaby should also help to address the difficulties we've had
with HTML escaping.
-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20061010/a63fcb6f/attachment.bin
From why at hobix.com Tue Oct 10 20:07:36 2006
From: why at hobix.com (why the lucky stiff)
Date: Tue, 10 Oct 2006 19:07:36 -0500
Subject: Rebooting Hobix (with Ferret and Camping)
In-Reply-To: <1160524139.5602.11.camel@localhost.localdomain>
References: <20061009184439.GG13218@lstsv-3264.layeredtech.com>
<452AF6E4.2070100@gmail.com>
<1160524139.5602.11.camel@localhost.localdomain>
Message-ID: <20061011000736.GO13218@lstsv-3264.layeredtech.com>
On Tue, Oct 10, 2006 at 07:48:59PM -0400, MenTaLguY wrote:
> I say let's go ahead with an 0.5 release, just so we have an actual
> release to tide people (i.e. me) over until neu-bix is ready. Just
> let's not do any real heavy work on trunk anymore.
Yeah, do it, don't stop the commotion. I have missed the last several months of email
since Mailman had me marked as BOUNCING. And if you and Paul and anyone else
end up preferring 0.5, then I can call mine a branch and give it a different
name.
_why
From paul at luon.net Wed Oct 11 02:30:05 2006
From: paul at luon.net (Paul van Tilburg)
Date: Wed, 11 Oct 2006 08:30:05 +0200
Subject: Rebooting Hobix (with Ferret and Camping)
In-Reply-To: <20061011000736.GO13218@lstsv-3264.layeredtech.com>
References: <20061009184439.GG13218@lstsv-3264.layeredtech.com>
<452AF6E4.2070100@gmail.com>
<1160524139.5602.11.camel@localhost.localdomain>
<20061011000736.GO13218@lstsv-3264.layeredtech.com>
Message-ID: <20061011063004.GM14493@power.luon.net>
On Tue, Oct 10, 2006 at 07:07:36PM -0500, why the lucky stiff wrote:
> On Tue, Oct 10, 2006 at 07:48:59PM -0400, MenTaLguY wrote:
> > I say let's go ahead with an 0.5 release, just so we have an actual
> > release to tide people (i.e. me) over until neu-bix is ready. Just
> > let's not do any real heavy work on trunk anymore.
>
> Yeah, do it, don't stop the commotion. I have missed the last several
> months of email since Mailman had me marked as BOUNCING.
Heh, that may explain your silence. I thought you had abandoned your child :)
Welcome back!
> And if you and Paul and anyone else
> end up preferring 0.5, then I can call mine a branch and give it a
> different name.
Well, I think that up until 0.5 has clearly shown what is possible, and how it
can be done differently than all the other blog software out there. But a few
things, like the small dynamic part, and some user-friendliness issues have been
bugging me, so a rewrite could do Hobix justice.
Regards,
Paul
--
Student @ Eindhoven | email: paul at luon.net
University of Technology, The Netherlands | JID: paul at luon.net
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181
From undees at gmail.com Wed Oct 11 14:29:11 2006
From: undees at gmail.com (Ian Dees)
Date: Wed, 11 Oct 2006 11:29:11 -0700
Subject: Themes and pending 0.5 release
Message-ID:
Hi, MenTaL.
> The problem is still present in trunk, unfortunately removing the
> padding from the .entry rule didn't fix it for me.
Whoops, sorry about that. I took kind of a circuitous route to
getting my blog working in IE. I had kind of smooshed together the
Hobix theme and another one, and _after that_ is when changing the
entry padding worked for me. I had assumed it would work on a stock
site.css as well. But as you correctly point out, it doesn't.
Fortunately, I was able to get the stock one to work after a bit of
fiddling. In the rule for #blog, changing the padding rule to
"padding:20px 2px 20px 2px;" worked for me. (If we're going to use
this in the real thing, I'd recommend hiding it behind some kind of
browser hack, so we don't change anything for Firefox/Safari/Opera.)
If anyone is morbidly curious about the wrong-headed, complicated way
involving smooshing two themes together and removing stuff until IE
stops breaking, see here: http://www.ian.dees.name/site.css.
--Ian
From csimonut at gmail.com Sat Oct 21 06:03:48 2006
From: csimonut at gmail.com (Christian Simonutti)
Date: Sat, 21 Oct 2006 12:03:48 +0200 (CEST)
Subject: patch for get_months() - return only months with an entry
Message-ID: <50851.62.178.208.147.1161425028.squirrel@localdomain.at>
Hi,
get_months should return only months which contain an entry:
# Returns an Array of Arrays representing the months which contain
# +entries+
but it returns all months between the first and the last entry.
I modified it to return only months which contain an entry.
Simon
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_filesys.rb.txt
Url: http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20061021/2c63c5b7/attachment.txt
From mental at rydia.net Sun Oct 22 19:27:04 2006
From: mental at rydia.net (MenTaLguY)
Date: Sun, 22 Oct 2006 19:27:04 -0400
Subject: patch for get_months() - return only months with an entry
In-Reply-To: <50851.62.178.208.147.1161425028.squirrel@localdomain.at>
References: <50851.62.178.208.147.1161425028.squirrel@localdomain.at>
Message-ID: <1161559624.32463.4.camel@localhost.localdomain>
On Sat, 2006-10-21 at 12:03 +0200, Christian Simonutti wrote:
> I modified it to return only months which contain an entry.
Thankyou! Your patch has been applied!
-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20061022/1396b8d3/attachment.bin