Re: [greenstone-users] PagedImgPlug and metadata

From Katherine Don
DateFri, 07 Oct 2005 09:40:48 +1300
Subject Re: [greenstone-users] PagedImgPlug and metadata
In-Reply-To (1128595222-4344ff16d90bc-my-ceid-upatras-gr)
Hi

Is the metadata you want to display document level metadata? In that
case you need to specify [parent:Mymetadata].

If you want to have image (i.e. section) level metadata then you need to
use the XML format for item files (detailed in
perllib/plugins/PagedImgPlug.pm) and what you have below should work.

The reason [Source] works is that this is assigned for each section by
the plugin.

Regards,
Katherine

papadimi@ceid.upatras.gr wrote:
> Hi, congratulations for your new release of GSDL. I have a problem with my
> simple collection of magazines built with pagedImagePlug (i use version 2.62
> with winXP but the problem also appears with version 2.60). In fact, i want to
> show the metadata attached to my scanned images under each image so i set
> DocumentText to:
> <table align='center' width=537><tr><td align=center>{If}
> {[screenicon],<a href="javascript:openpopup
> ('/gsdl/collect/emetest/index/assoc/[parent:assocfilepath]/[Source]
> ',500,800);" >[screenicon]</a>,'picture unavailable'}
> </td></tr><tr><td>mymetadata: [MYMETADATA] </td></tr></table>
>
> Unfortunately this doesn't work (nothing appears after mymetadata: ).I also
> tried putting it in the DocumentHeading formatter but still the same. The
> strange thing is that i can show external metadata such as [ex.Source]. Does
> anyone know the answer to my problem? Thanks in advance.
>
>
>
> ----------------------------------------------------
> This mail was sent through http://my.ceid.upatras.gr
>
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>