Subcategories in 1.2.4

"Rich Trott" <[email protected]> Fri, 17 Feb 2006 11:12:31 -0800
Newsgroups gmane.comp.python.zope.coreblog.english
Message-ID <[email protected]>
It seems to me that in COREBlog 1.2.4, subcategories can be entered and are
stored for entries, but they aren't actually used anywhere.  Am I wrong
about this?

 

I'd like to modify get_entry_in_category in my COREBlog.py such that it
takes an additional argument called consider_subcategories.  It would
default to 0 (for backwards compatibility) if it wasn't present.  If set to
0, then the current behavior (only consider the main category and not the
subcategories when determining whether to return an entry or not) is what
you'd get.  If set to 1, then it would also return entries that had the
category you're looking for as a subcategory.

 

Is there a reason I should not do this?

 

Rich

_______________________________________________
COREblog-en mailing list
COREblog-en-/9qXvnWia/9Wk0Htik3J/[email protected]
http://postaria.com/cgi-bin/mailman/listinfo/coreblog-en
Unsubscription writing to coreblog-en-leave-/9qXvnWia/9Wk0Htik3J/[email protected]