Re: [greenstone-users] about DocumentID

From John Thompson
DateThu, 10 May 2007 14:08:27 +1200
Subject Re: [greenstone-users] about DocumentID
In-Reply-To (8ace54810705091824u3e77bd61lf67ef857bd267dae-mail-gmail-com)
Hi Paing Thu,

You're on the right track. The metadata you want is called [DocOID].

Also, rather than hardcoding some of the other arguments, like e and c,
you should make use of the "_cgiarg*_" macros to populate these
dynamically, i.e.

<a
href="/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-about-Vincent Dubuc--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&amp;c=gsarch&amp;cl=CL1.1.12&amp;a=d&amp;d=[DocOID]">Title</a>

Cheers,
Joh

DL Consulting
Greenstone Digital Library and Digitisation Specialists
contact@dlconsulting.com
www.dlconsulting.com

PaingThu Chit wrote:
> Hello all,
> I have some questions to ask.
> 1. which metadata field store documentID
> 2. how to get that documentID
> 3. I want to do something like
> /<a
> href="gsdl?e=q-010-00-poi--00-1--0--0prompt-10-PO--4-------0-1l--11-en-50---20-about---00-3-1-00-0011-1-0utfZz-8-00&amp;a=d&amp;c=poi&amp;srp=0&amp;srn=0&amp;cl=search&amp;d=[DocID]"
> > /
> instead of
> */[link]Title[/link]/*
> but its not working ..I think I need to use the correct documentID but
> I dun know how to do that. it is possible?
>
> With regards,
>
> Paing Thu
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>