Small API change in SilvaNews
Guido Wesdorp <[email protected]>
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi! The latest release of SilvaNews (SilvaNews-1.2 for Silva 1.2, currently only available in the Silva-1_2-extra-2.tar.gz package) contains a small API change that will break custom public views: the 'lead' and 'subheader' methods of News items (PlainArticle, PlainAgendaItem) are replaced by a single method called 'get_intro'. This method shows the first bit of a News item rather than the first subheader and the first lead paragraph, so it no longer enforces a structure of the news items. Due to an error on my side (it was a bit of a rush job to get that on-line) the API change isn't mentioned in the HISTORY.txt, so that's why I thought it would be good to mention it here. Note that this is only interesting for people that wrote custom public views for News items, so if you didn't do anything special with your News instance everything will work fine. Cheers, Guido