Re: [greenstone-users] links in the collection

From Qiu
DateThu, 26 Apr 2007 10:12:54 +1200
Subject Re: [greenstone-users] links in the collection
In-Reply-To (BAY143-F77420E7C81C59B9CB81DDBC490-phx-gbl)
Hi

According to my understanding, you want to have a link of each author in
search results. By clicking the link, a list of documents belonging to a
particular author is displayed. If my understanding is correct, you can
use "gwcgi" to achieve it. "gwcgi" is in charge of communicating between
server and client. In GSDL, there are 4 actions in gwcgi, they are "page
action", "query action", "document action" and "external link action"
respectively.

In your case, "query action" can be used here. All arguments of each
action have been displayed on the wiki page.

All you need to do is to change the format of the search Vlist which can
be found from GLI-Format-Format features-SearchVlist.

The default format of SearchVlist is probably like:
<td>[link][icon][/link]</td>
<td>[ex.Title]<br>
[dc.Subject]
</td>

An additional author column can be added, the modified SearchVlist maybe
like:
<td>[link][icon][/link]</td>
<td>[ex.Title]<br>
[dc.Subject]
</td>
<td>
<a href="/gsdlmod?a=q&amp;c=mycollect&amp;q=[author]" >[author]</a>
</td>

<a href="/gsdlmod?a=q&amp;c=mycollect&amp;q=[author]" >[author]</a> means
we want the server returns a list of documents from
collection("mycollect") with metedata author is equal to a specified author.

Is it help? Feel free to contact me if you have any problem.


Regards
Quan


S□bastien uyttenhoef wrote:

> Hi,
>
> I am sorry to insist but I still do not include/understand the order
> to be seized. consulted Wiki but Cit's a little complicated (I am
> initial). Which are the values for A; C; Q if I do want to carry out a
> link (starting from my results of research) towards the classifier of
> navigation of the authors?? I hope that my English is comprehensible
> Thank you
> Sebastien
>
>
> Hi
>
> You can add a query link into the search Vlist like this:
> <a href="/gsdlmod?a=q&amp;c=collect-name&amp;q=[Title]" >[Title]</a>
> a=q action is query
> c=collect-name collect name that you want to search in
> q=[Title] query string is the value of [Title]
>
> More information regarding gwcgi arguments can be found at
> http://greenstone.sourceforge.net/wiki/index.php/Actions_and_Arguments
>
>
> Regards
> Quan
>
> S□bastien uyttenhoef wrote:
>
> Hi,
> I've a question about links. I would like to put a link next to the
> title in the searchVlist.
> e.g. The digital library / Autor <http://qksjhc.com>
> and this link send me on the list of books which are writed by this
> autor in the classifier)...
> Is it possible??
> What's the good feature?
> I have one but there is a mistake:
>
> </strong> &nbsp;&nbsp;(<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-Qiu--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=q&q=[TFE.Auteur]&h=dfr">Recherche par auteur</a>)
>
> Thanks
> Sebastien
>
> _________________________________________________________________
> Qui est-ce qui est tr□s appr□ci□ des Japonais et a toujours quelque
> chose entre les mains? Live Search le sait et vous ?
> http://search.live.com/images/results.aspx?q=Manneken%20pis&FORM=BIRE
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>