|Thanks for the suggestions. It has pointed me in the right direction.
I'm doing things a bit different, and should point that out when
elaborating and seeking clarification.
I now have what I need as far as one of the classifiers, which allows me
to use an IP and see which Title's contain that. Now what I need is to
see all the IP's under a title.
An example of the metadata I'm using is;
<Metadata mode="override" name="dc.Title">Test1</Metadata>
Any ideas on how I could do this? Whenever I try various things, I just
get a listing of the Title's and then when I go to the second level, I
get the title and the source again.
Thanks, I really appreciate your input on this.
From: Katherine Don [mailto:firstname.lastname@example.org]
Sent: Monday, April 25, 2005 11:55 PM
To: Nathan Einwechter
Subject: Re: [greenstone-users] Browsing Classifiers Help - Special Case
Without knowing what your data looks like, here are a couple of
suggestions. I am assuming that in order to get your metadata into
Greenstone, you will either create metadata.xml files or write a plugin
to process your log files. This means that you have some leeway to
create metadata that is useful for greenstone.
Note that I haven't tried these suggestions, but hopefully they will
work enough to get you started.
1. Create an IP metadata that looks like
Each document will have multiple values for IP: the Title part will be
the same within a document, but the addresses will be different.
Then use Hierarchy classifier:
classify Hierarchy -metadata IP
Hierarchy splits a metadata value on the | symbol to create a hierarchy.
2. Assuming you have metadata Title, UnauthIP, AuthIP
AZList -metadata UnauthIP -sort Title -buttonname "Unauthorized
Then in the format statement use eg. [Title]<br>[sibling:UnauthIP]
And the same for authorised IPs.
This gives you one entry per document, with all the IPs displayed.
Alternatively you could try Michael's GenericList classifier.
Unzip this into your Greenstone perllib/classify directory, then delete
the C:\Documents and Settings\<Username>\Application
Data\Greenstone\GLI\classifiers.dat file (windows) or
<homedir>/.gli/classifiers.dat file (linux). )
classify GenericList -metadata Title/UnauthIP -buttonname "Unauthorized
and in the format statement, display
this gives you one entry per IP.
for more formatting details.