Java has a mechanism for defining protocol handlers, and that alone
should get you past the MalformedURLException for redirected streams.
Getting Fedora to retrieve the datastream would be a problem, but you
could always write an ExternalContentManager.

On 12/2/10, Steve Bayliss <stephen.bayl...@acuityunlimited.net> wrote:
> Hi Jörg
>
> I can see a use-case for having an extensible mechanism for resolution of
> different identifier schemes.
>
> So rather than write a separate ExternalContentManager, it would be useful
> to configure a chain of ProtocolResolvers, each one responsible for a
> particular protocol/scheme.  So people could add whichever ProtocolResolvers
> were appropriate to their needs (so, http, file, irods, doi, etc etc).
>
> Regards
> steve
>
>
> -----Original Message-----
> From: Jörg Panzer [mailto:pan...@sub.uni-goettingen.de]
> Sent: 02 December 2010 11:39
> To: Support and info exchange list for Fedora users.
> Subject: Re: [fcrepo-user] Control Group - supported URL schemes
>
>
> Hello Steve,
>
>
> we plan to use fedora as frontend for iRODS. So, we will allow direct ingest
> in iRODS. The ingested files are subsequently registered in fedora by an
> callback mechanism.
>
>
> The idea was, to do this with an "external referenced" datastream.
>
>
> <foxml:datastream ID="DS5" STATE="A" CONTROL_GROUP="E" VERSIONABLE="true">
> <foxml:datastreamVersion ID="DS5.0" LABEL="ds5 label"
> CREATED="2010-12-02T10:45:17.785Z" MIMETYPE="application/pdf">
> <foxml:contentLocation TYPE="URL"
> REF="irods://zone/home/user/datastreams/info:fedora/test:1/DS5/DS5.0"/>
> </foxml:datastreamVersion>
> </foxml:datastream>
>
>
> So i take a look at ExternalContentManager and
> DefaultExternalContentManager.
>
>
> Thanks,
> Jörg
>
> --
>
>
> Am 02.12.2010 um 10:31 schrieb Steve Bayliss:
>
>
> Hi Jörg
>
> Currently only http and file protocols are supported.
>
> External content is managed by an ExternalContentManager - the only one
> implemented currently is the DefaultExternalContentManager.  This is
> specified in fedora.fcfg so theoretically it's possible to provide an
> alternative to manage other URI schemes (or indeed extend the existing
> content manager to do this; perhaps some configuration information to
> specify how different protocols should be resolved).
>
> For "R" datastreams Fedora simply issues a temporary redirect with the URI
> to redirect to, so it would be the browser (or client) responsibility to
> handle the resolution for non-http schemes.
>
>
>
> This sounds to me like, it is possible for "R" to use other schemes, but we
> get a Malformed URL Exception on ingest.
>
>
> For "E" datastreams the resolution is via the ExternalContentManager, so
> implementation of additional URL schemes would be an option for these.
>
> What URL schemes would you like to see supported?
>
> Regards
> Steve
>
>
>
> -----Original Message-----
> From: Jörg Panzer [mailto:pan...@sub.uni-goettingen.de]
> Sent: 02 December 2010 09:17
> To: Support and info exchange list for Fedora users.
> Subject: [fcrepo-user] Control Group - supported URL schemes
>
>
> Hello,
>
> can someone tell me, if there are other URL schemes supported for the
> control groups "Redirect" and "External Referenced" in addition to "http"?
>
> Regards,
> Jörg
>
> ---
> Jörg-H. Panzer
>
> Georg-August-Universitaet Goettingen
> State and University Library
> ----------------------------------------------------------------------------
> --
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
>
> ----------------------------------------------------------------------------
> --
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
>
>
> ---
> Jörg-H. Panzer
>
> Georg-August-Universitaet Goettingen
> State and University Library
>
>

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to