Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

We want to show related annotations and forum posts in the first tab of the object (Object Details). Related annotations/posts for an object are the ones that mention it or its fields.

Annotation's content is stored as text and we need to parse it and find out if any links to objects are present. We will do that when saving annotation/post.

If any linked objects are present in text, we need to refresh a list of related objects for the annotation/post in OWLIM. That is, each time annotation/post is edited we need to parse and recreate the list per annotation/post.

Annotations are identified by their URIs. Forum posts have numeric IDs. Forum posts are not currently stored in OWLIM. We need to generate URIs for them, for example: where '123' isthe post's ID.

Storing related objects

1. When annotation or forum post are saved, we need to parse the text. We search for links like:

<a class="rslink linkMO" href="">RFI41407 Chromolithograph pictorial label used for...</a>


<a class="rslink linkStatement" href="">amulet YCA70788 Glass two-finger amulet: this moulded funerary...: dimension</a>

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.