[greenstone-devel] Preview button

From Leho@nq
DateThu, 12 May 2005 21:41:30 -0700 (PDT)
Subject [greenstone-devel] Preview button
Hi,
 
I have 2 stupid questions :-), might you please to help me?
 
1. To implement Preview_Collection button, after running server.exe, I can go directly to a specific collection (e.g demo) by calling iexplore.exe with argument is "http://localhost:1027/gsdl?a=q&q=about&c=demo"
 
But what happens if our users use another webbrowser like Opera or Netscape? Do I have to ask my users which webbrowser they're using and  write it to an ini file ? Is it the way that GLI does? I couldn't find it in GLI's source code. Is there another way to pass these CGi arguments ("q=...&c=...") I'm using Local Library.
 
2. In Windows, I can't load a collection that has created in another place rather than GSHomeCollect. It's also impractical to copy that collection directory to GShomecollect (although just with etc and index directory.) Could you help me solve this problem?
 
Thank you so much! And have a nice weekend!
 
Regards,
 
Lehoanq


Do you Yahoo!?
Make Yahoo! your home page