EPrints Technical Mailing List Archive
Message: #03247
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Getting a filename
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Getting a filename
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Date: Fri, 11 Jul 2014 15:33:13 +0000
Hi Lizz, Have you tried asking for field 'main' from the document object? Alan -----Original Message----- From: Lizz Jennings [mailto:e.jennings@bath.ac.uk] Sent: 11 July 2014 16:25 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Getting a filename Hi all, I've been going round in circles with this - I'm trying to get an export plugin to get the main filename for each of the documents associated with it. No matter what combination of ideas I try, I don't seem to be able to get this information and I can't find any examples of this to learn from that are for export rather than display. I've started with: foreach my $doc ( $dataobj->get_all_documents ) which is iterating just fine when I just put in some text, but when I try and get the filename I just draw a blank. Any ideas? Lizz -- Lizz Jennings BA MSc ACLIP MCLIP (Revalidated 2013) Technical Data Officer The Library 4.10, University of Bath, Bath, BA2 7AY UK Ext. 3570 (External 01225 383570) E.Jennings@bath.ac.uk *** 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/ -- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.
- References:
- [EP-tech] Getting a filename
- From: Lizz Jennings <e.jennings@bath.ac.uk>
- [EP-tech] Getting a filename
- Prev by Date: [EP-tech] Getting a filename
- Next by Date: [EP-tech] Re: Getting a filename
- Previous by thread: [EP-tech] Getting a filename
- Next by thread: [EP-tech] Re: Getting a filename
- Index(es):