Re adding metadata:
you can also add metadata using an xml file: metadata.xml
This goes into the import directory along with your documents. Have a
look at the demo collection that comes with greenstone - this uses
metadata.xml files. Also, the developers guide "assigning metadata from
a file" section in section 2.1 talks about this.
Are you trying to generate greenstone links in your html? if not, ignore
what exactly do you want your link to do?
Here is an example:
the will do a search for cat in the current collection, using the last
You may want to add &h=xxx for a specific index. if you are using mgpp
the links will be different again.
If you can't get it to work, please send me the links you are
generating, your collection config file (collect.cfg), and what you are
trying to achieve, and I'll try to help.
Tod Olson wrote:
>>>>>>"FH" == Fred A Hillbruner <email@example.com> writes:
> FH> I am working with a small group of records to learn how to use
> FH> Greenstone so that I can, relatively soon I hope, create a site
> FH> with records for about 4000 artists' books. The data was
> FH> originally in MARC format. It was imported into Visual Fox Pro
> FH> and processed. HTML records have been generated from this
> FH> database.
> Partial responses to two issues:
> FH> Re: metadata
> FH> I can generate appropriate metadata bu I cannot seem to find
> FH> information on how to import the metadata, dc and dls, without
> FH> manually entering it at the Enrich interface. Where could I find
> FH> detailed information on this.
> Aside from entering the data by hand, Greenstone is happy to pull
> metadata from the source documents Since you're generating the HTML
> files, can you embed the desired metadata in the HTML as <META>
> FH> Re: links
> FH> The HTML records have author and subject links in them. The links
> FH> are designed to do a search of the records within the collection.
> FH> My original links were processed by Greenstone but I get
> FH> ineffective results. Links to my old interface are picked up and
> FH> included in the URL.
> FH> Internal Link not Found
> FH> For reasons beyond our control, the internal link you have
> FH> selected does not exist. This is probably due to an error in the
> FH> source collection. Use your browsers "back" button to return to
> FH> the previous document.
> FH> Where would I find information on how to properly construct my
> FH> links.
> Try re-importing with the HTMLPlug "-nolinks" option:
> Don't make any attempt to trap links (setting this flag may improve
> speed of building/importing but any relative links within documents
> will be broken).
> Once your environment is set up for running Greenstone, you can type
> "pluginfo.pl HTMLPlug" to see all of the options.
> Tod A. Olson <firstname.lastname@example.org> "How do you know I'm mad?" said Alice.
> Sr. Programmer / Analyst "If you weren't mad, you wouldn't have
> The University of Chicago Library come here," said the Cat.
> greenstone-users mailing list