Re: [greenstone-users] Query string format

From Chaitra Rao
DateTue, 5 Jul 2005 12:37:13 +0530 (IST)
Subject Re: [greenstone-users] Query string format
In-Reply-To (42B8D015-6030004-cs-waikato-ac-nz)
Hi Katherine,
Thanks for the response. There's still a small problem. The html page
from where I'm passing args seems to pass 2 extra values x and y along
with the other parameters(c,a,q). However, such a parameter is not set
anywhere in the page, nor do we have any hidden variable with that name.
I don't know where exactly these parameters are getting added. Is ther any
way I can filter them at the server side or better, at the client side
itself?

Regards,
Chaitra

On Wed, 22 Jun 2005, Katherine Don wrote:

> Hi Chaitra
>
> This means that you have an empty c argument - you need to make sure
> that you get c=<collname> into the arguments.
>
> Regards,
> Katherine
>
> Chaitra Rao wrote:
> > Hi,
> > There was a small problem with the fix mentioned in this e-mail. The
> > search page does not resemble the main page of the collection and when I
> > click on the collection name, it gives the following error message:
> > "This collection (called "") is not installed on this Greenstone digital
> > library system."
> >
> > How do I fix this problem? Please help.
> >
> >
> > Regards,
> > Chaitra
> >
> > On Fri, 27 May 2005, Chaitra Rao wrote:
> >
> >
> >>Thanx John. I tried this code. It works!
> >>
> >>Thanx again! :)
> >>
> >>
> >>Regards,
> >>Chaitra
> >>
> >>On Fri, 27 May 2005, John R. McPherson wrote:
> >>
> >>
> >>>On Fri, May 27, 2005 at 11:58:24AM +0530, Chaitra Rao wrote:
> >>>
> >>>>Hi Katherine,
> >>>> Thank you for the response. I am able to get to the search page using
> >>>>the following URL format:
> >>>>http://web_address/library?a=q&c=coll_name&ct=l&qt=0&q=searchterm.
> >>>>
> >>>>Now, I want to be able to send a form request to this page from another
> >>>>page. This doesn't work. I have written a javascript that does something
> >>>>like:
> >>>>
> >>>>script{
> >>>>document.form.action=http://web_address/library?a=q&c=coll_name&ct=l&qt=0&q=searchterm;
> >>>>}
> >>>>
> >>>>When I do this the home page opens, instead ofthe search page. Can you
> >>>>tell me if something's missing?
> >>>
> >>>I do this on another site, although not using javascript to submit:
> >>>
> >>><form action="http://www.wlug.org.nz/gsdl/cgi-bin/library" method="GET"
> >>> accept-charset="UTF-8">
> >>><div>
> >>><input type="text" value="" name="q" size="30" title="Search terms">
> >>><input type="hidden" name="c" value="wiki">
> >>><input type="hidden" name="a" value="q">
> >>><input type="submit" class="button" value="Fulltext Search">
> >>></div>
> >>></form>
> >>>
> >>>
> >>>John
> >>>
> >>
> >>
> >
> >
> > _______________________________________________
> > greenstone-users mailing list
> > greenstone-users@list.scms.waikato.ac.nz
> > https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >
>