EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #00479
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] EPrints::DataObj::Document - add_archive
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] EPrints::DataObj::Document - add_archive
- From: Ulf Laube <ulf.laube@ontochem.com>
- Date: Thu, 3 May 2012 11:27:40 +0200
Hi,
I'm trying to add an archiv tar.gz to an eprint:
my $archive_format = "application/x-gzip";
$doc = EPrints::DataObj::Document::create( $session, $eprint );
$doc->add_archive( $full_file_path, $archive_format );
$doc->commit
but it doesn't works. I tried
$archive_format "application/x-gtar", ".tar.gz", "tar.gz", "tgz"
How can I add an whole archiv content to an eprint ?
reegards
ulf
--
OntoChem GmbH
Heinrich-Damerow-Str. 4
06120 Halle (Saale)
Germany
Tel. +49-345-478047-4
Fax: +49-345-478047-1
HRB 215461 Amtsgericht Stendal; USt-IdNr.: DE246232735
- Prev by Date: [EP-tech] Re: Garbage indexing some pdf
- Next by Date: [EP-tech] xapian search syntax
- Previous by thread: [EP-tech] Request 3.3.9 Debian
- Next by thread: [EP-tech] xapian search syntax
- Index(es):
