RE: [greenstone-users] several libraries-same installation

From Toro, Gloria I
DateFri, 22 Jun 2007 16:37:41 -0500
Subject RE: [greenstone-users] several libraries-same installation
In-Reply-To (467B03ED-90009-dlconsulting-co-nz)
Dear Richard,
Thanks for your advise. Actually, I have already thought on the first method with static external html front pages. The second one is more integrated to Greenstone environment. I'll try.
Thanks, Gloria


From: on behalf of Richard Managh
Sent: Thu 6/21/2007 6:04 PM
To: greenstone user list
Subject: Re: [greenstone-users] several libraries-same installation

Hi Gloria,

Here are two possible ways to achieve what you want:

Method one:
Probably one of the easiest ways to achieve what you want would be to create two static web pages to use as front pages for each set of collections. You may already know this, but just in case: a static page is generally a page served (by your web server) directly from an html file, whereas a dynamic page, is a page served from some kind of server side script, such as PHP, or ASP, or from some kind of server side software, such as Greenstone.

You could:

1. Add the two collections to your greenstone installation just as you added the last ones.

2. Create two static html (I mean 2 html files served from your web server, rather than dynamic html generated by the greenstone software) pages, by simply saving your current front page as an html file from your browser twice, as separate files. These html pages would look like your current front page, but you could edit the html and remove some of the links from each one, so that one file would include just the links to your first set of collections, and the other file would include links to the other set of collections. In addition, you could further edit each page, so that they each have a different look and feel, specific to your different set of collections.

3. You would need to make these static html files available on your web server somewhere. You could in addition set up different domains(something like <> ) to point to your static html pages on your web server, although this last sentence is optional.

Method two:
Another way to achieve what you want would be to create as you suggest, additional "home" packages. In your existing, you could create something like:

package home2

_header_ { your header html and macros}

_content_ { your content html and macros}

_footer_ { your footer html and macros}

To get to this page you would create a link that would appear something like


which is in the macro language something like::


You could put your desired html and macros in the afore mentioned macro package to make up your new front page. In fact you might need to create two new macro packages, something like home1 and home2 for each of your new front pages, because the default page would contain all of your collections, and not each subset of the collections, which is what you want I think.

Good luck,


DL Consulting
Greenstone Digital Library and Digitisation Specialists <>

Toro, Gloria I wrote:

Dear all

I created a library with 6 collections. Its is working ok. Now I want to create another different library with 2 collections and a different front page. So the questions is: Is it possible under the same installation of Greenstone to have more than one library, each one with its own front page and set of collections? Can I have more than one ""?
Thanks for your assistance, Gloria Toro


greenstone-users mailing list

Type: application/ms-tnef
Filename: winmail.dat