epimorphics / elda

Epimorphics implementation of the Linked Data API
Other
53 stars 27 forks source link

Velocity Renderer: enable generation of relative links on HTML pages #196

Open bwmcbride opened 7 years ago

bwmcbride commented 7 years ago

Rendered HTML pages contain links to RDF resources. These links are rendered as an element with an href attribute containing the absolute URL of the resource.

This works fine on production servers, but on staging and development servers we want these hrefs to refer to local dev or staging machine.

Consider adding support for configuring one or more patterns of URL rewrites so the URLs matching a particular pattern could be rewritten. This would enable the absolute URLs normally generated to be rewritten to / relative urls which would link to the local server.