Ivan,
Thank you for the encouragement to take a look at the java code. I think I
found a simple solution which I will submit as a pull request.
The XSLT code changes that take advantage of this data are a bit messy, and
I am not certain that they would be applicable for others.
1, Set
Hi,
we have taken a different approach. In our case, we only wanted this kind of
functionality in one theme (of the three we use), so editing the original Java
code was not an option.
Instead, I wrote a little utility that is called from within that one theme. It
uses the ResourcePolicy class
Marina's advice solves the same goal, but does most of the processing
in Java rather than XSLT. Which approach you'll take depends only on
which technology you're more comfortable with. But as I said,
time-based resource policies are currently missing from METS and
should be added anyway, so you
Hi Terry,
you're right, that information is not there. Arguably, it should, since we
have all the other permissions information there. The reason it isn't is
that simple embargo (embargo expressed as time-based resource policies) was
a new feature in 3.0. One more similar omission is that this
In XMLUI, is there a way to detect that a thumbnail is restricted when
generating an item reference?
Currently, when a user views a list of items, the thumbnail references are
returned.
If a thumbnail is restricted, the image is not returned because the request
is redirected to the login screen.
Hi Terry,
thumbnails in XMLUI are not put in by Java code. There's XSL which
processes the METS file's (METS example [1], called here [2], actual
template here [3]) fileSec section and links to the thumbnail bitstream. As
you can see, there's not access rights information in that section, though.
6 matches
Mail list logo