Re: [greenstone-users] Linking to a Greenstone Library fromour web site

From Gavin Spomer
DateThu, 17 May 2007 15:03:19 -0700
Subject Re: [greenstone-users] Linking to a Greenstone Library fromour web site
1) Changing the look (ie-colour) of the collection. I can't understand
the documentation on this issue and I wondered if anyone could give me a
step-by-step guide.

The look of your Greenstone site is controlled mostly by the style.css file and all the macro files. (the files in the macros
directory ending with .dm) There is also an extra.dm file for each collection you have. If you know previous experience
with css, there's a lot you can do with just editing the style.css file. If you don't, look up a tutorial on css with Google or
Yahoo. The macros form bits of the various webpages. If you know html, you can freely experiment with editing the macro
files to see what affect it has. You may want to back them up first if you're concerned with restoring them to their original
form. Start with the style.dm and the nav_css.dm macro files. These will affect a lot of things in your website. If you
don't know html, Google a tutorial on that as well. You will need to know css and html at least a little.

2) Having our library icon display on each page. Ditto the above.

You will have to edit some macro files, depending on where exactly you want the icon. See above. If you have something
very specific in mind, email me.

3) Creating a link to the collection from our departmental web page. I
can't find any documentation about this.

Say your server hostname is "tom", your school is "richard" and your collection name is "harry" then try:

http://tom.richard.edu/cgi-bin/library?site=localhost&a=p&p=about&c=harry&l=en&w=utf-8

Use this pattern, but use your own parameters.

Gavin Spomer