Darinka-FINKI / linked-data-api

Automatically exported from code.google.com/p/linked-data-api
0 stars 0 forks source link

HTML Viewer style paths #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've asked Jeni this before, but after a fresh installation of Puelia and the 
HTML viewer - my results page isn't styled correctly.

The paths are:

"/css/"
"/scripts/"

http://danpaulsmith.com/puelia-php-read-only/doc/department

I'm not sure why these relative paths aren't working.

Folder structure:

/puelia-php-read-only
   /css
   /images
   /scripts
   /xslt

Dan

Original issue reported on code.google.com by danpaulsmith on 7 Feb 2011 at 2:15

GoogleCodeExporter commented 9 years ago
The HTML is looking for CSS at:

  http://danpaulsmith.com/css/...

With your folder structure, it's actually at:

  http://danpaulsmith.com/puelia-php-read-only/css/...

You can change the paths in the XSLT that's generating the HTML or (better) you 
can set up a virtual host in your Apache instance for reference.data.gov.uk and 
point it at the puelia-php-read-only directory, then adjust your /etc/hosts so 
reference.data.gov.uk points to that host, and thence serves the CSS at:

  http://reference.data.gov.uk/css/...

Jeni

Original comment by jeni.ten...@gmail.com on 4 Apr 2011 at 8:43