silvanews refactoring project update
Andy Altepeter <[email protected]> Wed, 1 Aug 2007 10:10:42 -0500
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Organization | Bethel University |
| Message-ID | <[email protected]> |
Greetings!
As some of you may know, I've been working on a branch of SilvaNews lately.
In this branch I have a few goals:
1) get it working in Silva 2.0, using the new silva 2.0 extension registration
2) Standardize the code...there is much duplication between agenda and news
viewers, filters, items, etc.
3) Implement category filtering (based on SilvaUCLSubjectAudienceFilter),
which provides a means to restrict the categories displayed in Filters, and
in kupu
4) Implemented a few bug fixes I had made in a local branch of SilvaNews
5) rewrite the filtering system such that multiple calls to result.getObject
are not necessary, with the goal of reducing the getObject calls
when rendering Viewers to at most 1 per result item. This involves adding
metadata columns to the catalog
6) As an aside, Viewers and aggregators will now use the Silva-2.0 view
framework for rss and atom (yes!) views, e.g. news_viewer/rss.xml
This is phase 1, and I think it's done!
I'd like ya'll to test it out, see if there are any bugs, etc.
You can pull this from svn, here:
https://svn.infrae.com/SilvaNews/branch/SilvaNews_for_Silva2.0_aaltepet
Please specifically checkout revision 25287, as I'll probably be making more
commits to this branch soon.
svn co -r 25287
https://svn.infrae.com/SilvaNews/branch/SilvaNews_for_Silva2.0_aaltepet
SilvaNews
(all on one line)
You'll also need to checkout the Silva trunk, as some adjustments to Silva's
kupu needed to be made.
svn co https://svn.infrae.com/Silva/trunk Silva
I have one more phase of this project, which is to implement some additional
features into SilvaNews. I'll be sending a separate email about this later.
So, let me know what you think.
Cheers,
Andy