[Zope] A product for news
J Cameron Cooper
jccooper@jcameroncooper.com
Mon, 14 Apr 2003 14:44:38 -0500
> I am developing a higly customized publishing service without using
> any CMS. I need to let the administrators of my service (using ZMI) to
> insert and publish some news that would then be automatically be
> published in web pages and removed depending on the date. I do know
> about CMS that offer such a functionality but they also come with
> whole bunch of things that I don' t need in this context. Can anybody
> be so kind to point me to a some products that might help me for this.
CMF (and Plone, as a CMF implementation) does this as a matter of
course. It's true that it has a lot of features not directly related to
the news item bit, but that's easy enough to remove: just make your own
skin that does nothing but.
If you don't care to do that, it doesn't seem like a tough thing to do
"naked". Make a product that holds your news item and has an expiration
date, and make a method (DTML/ZPT) that looks through all "news items"
in a folder (or catalog query) and only displays those which are
unexpired. The catalog query will probably make your housekeeping less
onerous (you can uncatalog items instead of deleting them to keep the
interations of your loop down.)
--jcc