On Wed, Aug 02, 2006 at 02:03:35PM +0200, Paul POULAIN wrote:
A new feature that could (should ?) be implemented in Koha 3 : biblios have the "ISBD" system preference, that contains a personnalised version of the biblio. My libraries reported that it would be nice (better) to have : 1- 1 specific "template" for each itemtype 2- a specific "template" to show the summary of the biblio in the result list (= having a different template for monographies & serials for example) 3- the same thing for authorities. (I must admit that authorities details are really awful, it's almost the raw MARC record)
Unless someone declares he is already working on this, I'll do it (me or hdl or antoine, depends on who get some time to do this. I think 2 days are needed to do something working well) What would you use as the 'template'? Might I suggest XSLT? You can do some pretty amazing transformations with it and if you stored the XSLT markup in the db (like in a syspref) the librarian could edit it to change the way the MARC was displayed. So you would have:
MARCXML from system -> XSLT Stylesheet (from sypref) -> HTML Markup inserted on detail page (or even on original results page, since we already have the full MARC with zebra).
PS : Other ideas in the same area : - rewrite the "normal" (=detail.pl), to get rid of non MARC database - add a systempreference to enable MARC view or disable it in OPAC. IMO the old MARC db must be completely removed or else seriously overhauled. One major problem is we can't add arbitrary MARC fields for display in detail.pl; another is we can't have repeatable fields display properly without writing a new subroutine (even current additional authors stuff doesn't preserve order properly).
(there is already a syspref for enabling MARC view by default, right?)
Warning : "template" don't mean "HTML::Template", it means something the library can modify Right ...
Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE President, Technology migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS