Re: [greenstone-users] macro for search link please....

From sw64@cs.waikato.ac.nz
DateThu, 9 Nov 2006 13:57:22 +1300 (NZDT)
Subject Re: [greenstone-users] macro for search link please....
In-Reply-To (455069A0-5040003-inwind-it)
Hello Ruben,

Probally you could try appending &qt=1 to the value of /gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-help-Anupama+of+Greenstone+Team--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=q which
normally defined in base.dm. In my case, it is defined as
{/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-help-Anupama+of+Greenstone+Team--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=q}.
Make it read
{/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-help-Anupama+of+Greenstone+Team--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=q&qt=1}
And put the modified /gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-help-Anupama+of+Greenstone+Team--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=q in extra.dm

Sorry, I don't have time to test it, so let me know whether it works.

Regards
Shaoqun
>
> Hi,
>
> In my collection we use /gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-help-Anupama+of+Greenstone+Team--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=q and IFL to make internal links, such
> as:
>
> {If}{[dc.DctermsIsPartOf^a], <tr><td valign=top><b>_Ip_:</b></td><td
> valign=top><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-help-Anupama+of+Greenstone+Team--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=q&q=[dc.DctermsIsPartOf^z]&fqf=DI&t=0&qt=0&ifl=1\">[dc.DctermsIsPartOf^a]</td></tr>}
>
> It is great and it is working OK, though when I return on main search
> page GSDL keeps arguments and I have a simple query form instead advance
> form query form.
>
> For some reason if a remove &qt=0 from the link string some records are
> not found, therefore I'm askig you if you can tell me where is the
> search link macro, I will set that to &qt=1 in my extra.dm file.
>
> Of course if there is a better way to do that I will be glad hearing
> from you :-)
>
> thank you as always,
>
> Ruben
>
>
>
> --
>
> ..................
> ..................
>
> Ruben Pandolfi
>
> -------------------------------------------------------------
> "...I Think This is the Beginning of a Beautiful Friendship."
> -------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>