Mercurial > hg > digitalobjects
diff digitalobjects-item-xml.tpl.php @ 0:6f6e07baad80 default tip
initial
author | Dirk Wintergruen <dwinter@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 02 Jun 2015 08:57:48 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/digitalobjects-item-xml.tpl.php Tue Jun 02 08:57:48 2015 +0200 @@ -0,0 +1,10 @@ + +<object xmlns:xlink="www.w3.org/1999/xlink" xmlns:art="http://simile.mit.edu/2003/10/ontologies/artstor#" xmlns:DC="http://purl.org/dc/terms/" xlink:href="<?php print $objdata['viewerurl']; ?>"> +<DC:identifier><?php print $objid ?></DC:identifier> +<?php if($access): ?> +<art:thumburl xlink:href="<?php print $objdata['thumburl']; ?>"/> +<?php print $objdata['bibdata']; ?> +<?php else: ?> +<error> <?php print $objid ?>: restricted - due to copyright reasons </error> +<?php endif; ?> +</object>