loreese / sherlock

Orientalism in Sherlock Holmes
http://sherlock-orient.obdurodon.org/
1 stars 0 forks source link

update: SVG on analysis page #25

Open loreese opened 5 years ago

loreese commented 5 years ago

@zme1 I tried adding the new SVG file to our analysis page and apparently undid the rendering of both charts. I'm sure it is just a silly mistake somewhere, but I can't figure it out for the life of me. Anyways, I have pushed it up to the repo and am leaving it as is for now. If you have time tomorrow to look it over, I would appreciate it. I don't want to continue messing with the file until I see how it appears on our site.

zme1 commented 5 years ago

@loreese Would you mind elaborating a bit more, if you can? When I copy and paste your SVG output into a local copy of the analysis file, it renders just fine. Is the graph not rendering at all on the server? Is it only outputting the axes? Are you getting an error message?

loreese commented 5 years ago

@zme1 on the analysis page, neither graph is rendering despite the SSI for both being included on the page. I haven't uploaded it to the server yet, so this just occurs when I open it in the browser. The only thing displaying on that page now is the image.

zme1 commented 5 years ago

@loreese The SSI comment can’t be processed until the file that contains it is actually live on a server. When you are just working with a local copy of your web files, the SSI comments won’t actually do anything. When developing a file I know I’ll want to put inside an SSI, I usually copy and paste the raw output code until I have finished styling it.

loreese commented 5 years ago

@zme1 okay I didn't realize that was the case. When I copy the raw output into the analysis page, do I copy just the template at hand? I get an error that my xsl element is not bound.

loreese commented 5 years ago

@zme1 nevermind, I realized what you meant by output was not what I was doing. It is rendering now.