mmisw / mmiorr

Unmaintained old MMI ORR system (v2) -- New development at https://github.com/mmisw/orr
2 stars 1 forks source link

dispatch portal functionality through ont-based URL directly #364

Closed carueda closed 8 years ago

carueda commented 9 years ago

And not as a redirection to the general portal web application.

That is, when the Ont service determines that the resolution is not for the semantic content itself (RDF), then, instead of redirecting to the portal application, display the corresponding Javascript-enabled functionality directly.

This has been envisioned for a long time, but it's becoming higher priority now that we are noting ontologies out there pointing to the portal-based URL for semantic terms!

carueda commented 9 years ago

A possible approach:

A generalization of the above is that the bare URL of the Ont service itself http:/.../ont can also dispatch the ORR Portal.

carueda commented 8 years ago

The general desired behavior is already implemented (but disabled by default; the interim OntServlet._364 flag on the Ont module can be set to true to enable it):

This general behavior is:

This makes the general navigation from main list to individual ontologies and back to the main list consistently expose only "ont" based URLs.

However, here are some observations that make the completion of this task not as straightforward.

Login session

GWT errors

orr -> ont redirection

Other pending aspect is that, for any "bookmarks" out there, it would be good to redirect from the traditional "orr" to the "ont" service, for example:

From To
http://mmisw.org/orr/#http://mmisw.org/ont/cf/parameter http://mmisw.org/ont/cf/parameter
http://mmisw.org/orr/#http://purl.oclc.org/NET/ssnx/ssn http://mmisw.org/ont?uri=http://purl.oclc.org/NET/ssnx/ssn

The idea here would be to define a new application --of course deployed as "orr"-- only for the purposes of the redirection; while deploying the actual Portal application with some other name for purposes of the new dispatch from "ont".

carueda commented 8 years ago

Fixed in v3.