EPrints Technical Mailing List Archive
Message: #02293
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: making SWORD 2 importers visible
- To: eprints <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: making SWORD 2 importers visible
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- Date: Mon, 14 Oct 2013 10:03:38 +0100
Interestingly, if I copy Compressed.pm from perl_lib across to lib, and edit the name & accepts fields, it *does* appear.
**VERY** confused!! On 11/10/13 12:27, Ian Stuart wrote:
I'm trying to write a SWORD 2 importer for EP 3.3 The [trimmed] code reads: ----- start --------- package EPrints::Plugin::Import::RJ_Broker_3; use strict; use EPrints::Plugin::Import::Archive; our @ISA = qw/ EPrints::Plugin::Import::Archive /; sub new { my( $class, %params ) = @_; my $self = $class->SUPER::new( %params ); warn "Foo"; # The name to display $self->{name} = "SWORD 2 importer for an RJ_Broker package"; # Who can see it, and whether we show it $self->{visible} = "all"; $self->{advertise} = 1; # What the importer produces $self->{produce} = [qw( dataobj/eprint )]; # What mime-types can trigger this importer $self->{accept} = [qw( application/vnd.rjbroker.1 ) ]; # what actions to take with the data supplied $self->{actions} = [qw( metadata media )]; return $self; } 1; ----- end ---------
-- Ian Stuart. Developer: ORI, RJ-Broker, and OpenDepot.org Bibliographics and Multimedia Service Delivery team, EDINA, The University of Edinburgh. http://edina.ac.uk/ This email was sent via the University of Edinburgh. The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
- Follow-Ups:
- [EP-tech] Re: making SWORD 2 importers visible
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Re: making SWORD 2 importers visible
- References:
- [EP-tech] making SWORD 2 importers visible
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] making SWORD 2 importers visible
- Prev by Date: [EP-tech] making SWORD 2 importers visible
- Next by Date: [EP-tech] Re: making SWORD 2 importers visible
- Previous by thread: [EP-tech] making SWORD 2 importers visible
- Next by thread: [EP-tech] Re: making SWORD 2 importers visible
- Index(es):