Re: [greenstone-users] New User Questions

From Michael Dewsnip
DateTue, 09 Sep 2003 16:31:34 +1200
Subject Re: [greenstone-users] New User Questions
In-Reply-To (3F5D56CF-2B196827-cs-waikato-ac-nz)
Hello again,

Just a small addition - you will need to escape the backslash:

format SearchVList "<td valign=top>[link][icon][/link]</td><td>Original document: <a href="file://Z:\[Source]">[Title]</a></td>"



Michael Dewsnip wrote:


Thanks for downloading Greenstone, and we hope you have a lot of success with it. You mention building collections using the web interface and the command-line -- we also have a new graphical tool for building collections called the "Greenstone Librarian Interface" that you might like to try. If you have version 2.40a of Greenstone, it is located in the "gli" folder of your Greenstone folder. You will need version 1.4.0 (or higher) of the Java Runtime Environment to run the GLI (you will be told if you don't have this installed).

In response to your questions:

1. Greenstone automatically adds some metadata to the files it indexes. One of these is "Source", which contains the filename of the original file (deerwester95.pdf, in your example). Therefore, you can use format statements (see Section 2.3 of the Greenstone Developer's Guide) to get the effect you are after - something like: <a href="file://Z:[Source]"> would give you what you want.

Try changing your collection configuration file to include:

format SearchVList "<td valign=top>[link][icon][/link]</td><td>Original document: <a href="file://Z:[Source]">[Title]</a></td>"

2. Greenstone does this automatically, with "metadata.xml" files (see an example in the demoimport folder). These allow you to specify the metadata to assign to your files. The Greenstone Librarian Interface tool (mentioned above) provides a graphical way of adding metadata to files, which is easier than doing it by hand. I suggest you use this to assign metadata to your files.



I56 wrote:

Hello everyone, I'm a new user of Greenstone and will be using it for a personal collection of PDF's and PostScript files.  I have a couple of questions.  I've successfully created the collection using the web interface and am pretty confident I could do it using the command line (I'm using Windows).  I've begun reading the developer's manual and am getting a feel for what will be required to do what I want but I could use some more specific direction: 1. Rather than having the link back to the original PDF or PS file be to a cached version, I'd like the link to be Z:[original filename].  So if the original file was c:cool beans directorymy files1995deerwester95.pdf, I'd like the link displayed in Greenstone to be Z:deerwester95.pdf.  I bet I can get this just by changing some configuration file, but I don't know exactly which one, or what change to make. 2. When I generate/regenerate the collection, I'd like to have a meta-data file containing extra information about the document read and included for display.  I'd like to be able to manually specify the title, authors, subject, and some free text notes about the paper.  These should be displayed on the search results page.  I think I need to have a custom plugin and an altered configuration file to do this, but I'm not sure just where to begin. If I can get these two things working, then this software would be perfect for my uses. I have subscribed to the mailing list, but have not received confirmation that I was actually added, so please CC me personally in your reply. Thanks,I56

_______________________________________________ greenstone-users mailing list

_______________________________________________ greenstone-users mailing list