Scott--

Can you say a little more about this backend service in particular? Does it 
feature any means by which to adjust or prefix the URLs that it produces?

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library



On Feb 4, 2010, at 10:20 AM, Scott Prater wrote:

> Has anyone had any experience creating disseminators that send redirects 
> to the browser?
> 
> Here's what we want to do:  create a disseminator that redirects the 
> user's browser to an external web application, passing along to the 
> external application an object PID or datastream url.
> 
> The problem we're having is that disseminators serve the output of the 
> external web application as if it were coming from Fedora, serving, in 
> effect, as a reverse proxy to the external webapp.  This breaks all the 
> links and mappings in the external application's javascripts.
> 
> I know we could do a workaround by creating Redirect datastreams with 
> the URL to the external application, but I want to avoid doing that for 
> two reasons:
> 
>   -- I don't want to have to update all the objects if my web service 
> changes;  and
>   -- I want to keep clean the distinction between content (datastreams) 
> and behaviors (disseminations) (or, to put it RESTfully, between a 
> resource and its representations).  By mapping a behavior to a 
> datastream, I'm conflating the resource (the content) and the viewer 
> (the web application).
> 
> Another approach I've used before is to have the disseminator point to a 
> webservice that constructs a redirect header to send back to the 
> browser, but that also strikes me as a hack.
> 
> Has anyone had this problem before?  How do others approach this?
> 
> thanks,
> 
> -- Scott
> 
> -- 
> Scott Prater
> Library, Instructional, and Research Applications (LIRA)
> Division of Information Technology (DoIT)
> University of Wisconsin - Madison
> [email protected]
> 
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to