[greenstone-devel] Bug in macrofiles, macros map, and CSS

From Stephen.DeGabrielle@ntu.edu.au
DateFri, 9 May 2003 14:42:54 +0930
Subject [greenstone-devel] Bug in macrofiles, macros map, and CSS
Hi,
We just found a bug; in document.dm and 'package document' sections of new
classifier definitions the html generated is incorrect; it lacks a closing
angle bracket for the image element:
>>_iconTitlepage_ {<img src="_httpiconhtitle_" width=_widthhtitle_
>> height=_heighthtitle_}
>>> from document.dm

Does GS generate this macro code automatically ('translate.dm'?)
OR do I need to edit this by hand to create valid html?

It still works in IE but I don't know about other browsers.

We are working on the interface and macrofiles; does anyone have 'map' of
marcofiles and their dependencies? we currently make heavy use of searching
the macros folder as a way of finding things.

Stephen & Iwona
NTU Library

Example in document.dm
#######################################################################
# icons
#######################################################################

# title images - there should be one of these for each classification
# supported by this receptionist

_iconTitlepage_ {<img src="_httpiconhtitle_" width=_widthhtitle_
height=_heighthtitle_}
_iconTitlepage_ [v=1] {<h2>_texticonhtitle_</h2>}

_iconListpage_ {<img src="_httpiconhlist_" width=_widthhlist_
height=_heighthlist_}
_iconListpage_ [v=1] {<h2>_texticonhlist_</h2>}

_iconCreatorpage_ {<img src="_httpiconhauth_" width=_widthhauth_
height=_heighthauth_}
_iconCreatorpage_ [v=1] {<h2>_texticonhauth_</h2>}

_iconSubjectpage_ {<img src="_httpiconhsubj_" width=_widthhsubj_
height=_heighthsubj_}

_________________________________________________
Stephen De Gabrielle
Digitisation Officer
AraDA Project

Northern Territory University Library
http://www.ntu.edu.au/library
Tel: (08) 8946 7009 from overseas: 61 8 8946 7009
Postal address: P.O.Box 41246, Casuarina, NT, 0811, Australia
CRICOS Provider No: 00300K