$creator = $author->getFullName(true);
$affiliation = $author->getAffiliation($this->journal->getPrimaryLocale());
if (!empty($affiliation)) $creator .= "; $affiliation";
asmecher wrote:Hi Anna,
Thanks -- the typo is corrected (and an additional patch uploaded to the Bugzilla entry).
Those additional elements aren't currently supported by the swordapp library that we use to create the deposit packages. I'd suggest contacting someone at http://swordapp.org/ to suggest the additional support for the PHP Sword library for these elements; they've been quite receptive in the past, though of course I'm not sure how well this suits their priorities. (In fact, adding support for those elements to the swordapp-php library is a relatively straightforward modification to the packager_mets_swap.php file -- they would probably love to receive a contributed patch.)
Public Knowledge Project Team
Users browsing this forum: Baidu [Spider] and 2 guests