Hi Leon,

I'm just getting a chance to play around with this now, so I'm sorry for
the delay in responding.

Excerpts from leon breedt's mail of 26 Jul 2005 (EDT):
> Sure, I've attached a modified version of my patch.

Thanks! This looks good. I'm eager to commit this---I want trackbacks
too---but you've brought up such very excellent points below.

> I'm playing around with the idea of making comments/trackbacks their
> own type, comments (pardon the redundancy)?

I think that's a good idea. It's easy to customize comment and trackback
types at the user level, but for trackbacks in particular, Hobix::Entry
really doesn't make that much sense.

How about sticking something like this right in trackbacks.rb:

class Trackback
    include BaseProperties

    _! 'Trackback Information'
    _ :blog_name
    _ :url
    _ :title
    _ :excerpt
end

(This would also eliminate the FieldMap thing, which is nice.)

Sen~or _why? Others? Comments?

> Why would I want to do such a thing? I don't see a comment as a
> full-fledged entry, more like an "entry-lite". One thing that a
> comment often has is an origin url field ("link" is not persisted to
> YAML because its a generated field and doesn't quite match in meaning
> anyway). I'd also like to store the IP of the comment/trackback
> source.

If we're doing it for trackbacks, I say make a type for comments too. I
can't think of a reason for either to be Hobix::Entry objects, or even
the same object, except the absence of anything better.

Thoughts?

-- 
William <[EMAIL PROTECTED]>
_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way

Reply via email to