Because this code uses the Model View Template software architecture to isolate visual design from view logic. This code is made from multiple files:
- Perl module, DocumentList.pm
- an XSlate2 template file DocumentList.kolon
NOTE: Multiple files mean that they are contained in an application/zip
The Perl module "View" iterates through an eprint list "Model" pulling interesting information about the eprint and then about the documents in each eprint. This data is formatted into an array and sent to the Xslate template renderer.
This code depends on Text::Xslate from CPAN
Links to example exports:
Some screenshots showing the output: