Feature #5939
closedCreate view service that can render metadata documents at REST URL
0%
Description
We need a 'landing page' for metadata views that can be referenced as REST URLs and that show an HTML'ised version of an object using its PID. A service might have a REST url of the form:
https://metacat.someplace.org/knb/d1/mn/v1/view/{pid}
https://data.somplace.org/metacat/d1/mn/v1/views/{format}/{pid}
where {pid} is the permenant identifier for the metadata document. Such a URL landing page would prbably deliver an HTML version of the metadata. An optional ?format=knb parameter might be used to control which CSS file is linked into the page, or maybe we just omit the CSS altogether and assume we are delivering just an HTML fragment to a client? Needs more discussion.
This service would be used in several places, including the landing page URL for the new backbone based UI, and as the URL that is written into sitemaps that are published to google and elsewhere for search engines to index.
Related issues
Updated by ben leinfelder over 11 years ago
- Status changed from New to Closed
This is done now - both the backend service and the front end JS that ties it all together at #view/{pid}