You can create links between items in different collections. To do this
you need to manually assign metadata to link things.What metadata you
will need will depend on what you want to achieve.
Do you want to link always to the other collection? or maybe link to
something in the same collection as well.
A simple example: doc A in one collection, and doc B in another. They
need to link to each other.
Store for example, my.RelatedDoc metadata, for each document, and set
the value to B for doc A, and A for doc B.
(Usign my. as a metadata namespace for new metadata).
You will need to know the identifiers for each document. the easiest way
to do this is to manually assign an identifier to each document. eg
dc.Identifier. Then when importing, use -OIDtype assigned -OIDtype
dc.Identifier options to import.pl.
In GLI, you can create a new metadata set or modify an existing one to
add the new elements that you need.
Once you have a metadata element containing an id for a document to link
to, then you can add a link in a format statement. I guess you'll want
to link from the document itself, so you can add the link in the
DocumentText format statement. A link might look like:
<a href="/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-about-A%2eVassiliou--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=d&c=collname&d=[my.RelatedDoc]">related document</a>
collname needs to be the name of the collection the related doc is in.
Another example, have a resource A with activities B, C and D.
You could manually add eg my.NumberActivites metadata (set to 3) for A.
Then to link to them, you could maybe use search.
If each activity stored the resource they were made from, then if you
have an index on that resource metadata, you can create a link to a
search of that resource.
Other parameters will depend on what the index name is etc. DocOID is
the id of the current document - if each resource/activity has an
identifier, and that is used as the greenstone identifier, and also to
link between them - then can use the current id to search for all
activities based on this resource.
A useful page:
- format statement elements
There currently isn't full support for what you want, however, you could
probably work around it.
Once the collection is set up, there is an online document submission
system called depositor. This allows authenitcated users to add
documents and metadata to an existing collection. In its default mode,
you set the metadata fields you want to be added using GLI, and these
fields show up in depositor. Users can add a document, add metadata, and
upload it to the collection. It gets built in to the collection.
However, this can be turned off - the document can be added but the
collection not rebuilt.
You could have one collection that users add documents into. Then the
checking people could look at the documents in that collection, add more
metadata, and when the document was fully approved, it could be moved
into an official public collection. or something like that.
I hope this all makes a bit of sense. I'm sorry I haven't tidied up the
content. Please ask for clarification or more details if you need it.
Nicole P□riat wrote:
> Dear members of the list,
> I am a newbie with Greenstone, but I've been trying a few things
> recently and I have two main questions:
> 1) Can we create links between items that are into different
> For example, I'd like to create two collections: 1) learning materials
> with a lot of resources of various kind, and 2) learning activities
> that are based on the learning materials, giving teachers the
> opportunity to create exercises on how to use those resources, and to
> share them with other teachers.
> When creating an activity about a resource (text, video, software,
> etc), I'd like to be able to link that activity to the learning
> material or resource it is based on, of course. I'd like the user to
> search either for resources or for activities. When looking for
> resources or learning materials, if some activities have been created
> related to a specific resource, I'd like to see the number of
> activities that are available about that resource and also to be
> directed to those activities.
> Are those links possible and how can I create them?
> 2) Is it possible to create a workflow into Greenstone?
> I'd like to have different people adding resources into the library,
> with some metadatas, and then every new resource is sent for
> validation to someone else (more metadatas are added), and finally it
> is sent to a third person for the final approbation before publication
> (and even more metadatas are added at this point too). Is is possible
> in Greenstone to create such a worklow, with status given to the
> record and alerts sent to the person next in line? If not, would it be
> easy to integrate a software for that workflow purpose, and wich one?
> Thanks for your help!
> Nicole P□riat
> greenstone-users mailing list