[EP-tech] Re: Summary page - available metadata
anbeeken at lincoln.ac.uk
Fri Mar 14 09:19:15 GMT 2014
In principle I see how this should work, however all I¹m getting when I
try to do anything here is an [error in script] output.
For example, in <archive>/cfg/citations/eprint/summary_page.xml, the
documents appear to be iterated through in a set (line 31) with the
outputs handled as $doc.some_function(). This does not seem to correlate
with being able to simply use database names in the output and when I try
$doc.some_database_field() the error is generated. I¹ve also tried simply
using the field as is but to no avail.
On 13/03/2014 18:47, "Tommy Ingulfsen" <tommy at library.caltech.edu> wrote:
>I assume you're using the EPrints Control Format (summary.xml)?
>If so, look at perl_lib/EPrints/Script.pm to see the various functions you
>can call on your object. For the metadata available for a document (as
>opposed to an eprint) I would take a look at
>archives/<archivename>/cfg/citations/document/*.xml. That should show that
>you can just use the field names from the 'document' database table like
>Does that help at all?
>On 3/12/14 5:37 AM, "Andrew Beeken" <anbeeken at lincoln.ac.uk> wrote:
>>Currently trying to make some alterations to our summary pages; is there
>>any kind of documentation available as to what metadata can be used here,
>>specifically (in this instance) for documents. For example, I want to be
>>able to show the File Description and Title for a given document; I can
>>see WHERE to do this, but not the variables within the document object to
>>The University of Lincoln, located in the heart of the city of Lincoln,
>>has established an international reputation based on high student
>>satisfaction, excellent graduate employment and world-class research.
>>The information in this e-mail and any attachments may be confidential.
>>If you have received this email in error please notify the sender
>>immediately and remove it from your system. Do not disclose the contents
>>to another person or take copies.
>>Email is not secure and may contain viruses. The University of Lincoln
>>makes every effort to ensure email is sent without viruses, but cannot
>>guarantee this and recommends recipients take appropriate precautions.
>>The University may monitor email traffic data and content in accordance
>>with its policies and English law. Further information can be found at:
>>*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>>*** Archive: http://www.eprints.org/tech.php/
>>*** EPrints community wiki: http://wiki.eprints.org/
>>*** EPrints developers Forum: http://forum.eprints.org/
>*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>*** Archive: http://www.eprints.org/tech.php/
>*** EPrints community wiki: http://wiki.eprints.org/
>*** EPrints developers Forum: http://forum.eprints.org/
More information about the Eprints-tech