2 users online. Create an account or sign in to join them.Users
JIT and the Google chart API
This is an open discussion with 5 replies, filed under General.
Search
Try url encoding the ampersands in the google url. You’re passing a parameter into an existing url string, so definitely the ampersands are the problem. Your url will think that they are another parameter, not part of the url your passing.
Use %26 in place of & in your Gogle URL. I don’t know if it will actually work though ;)
Ah, no it doesn’t work. I get the following when I try this:
Error: Connecting to that external site is not permitted.
Damn.
That error means that you have not allowed the Google chart domain for JIT (under Symphony’s preferences). You will need chart.apis.google.com* there.
I will try %26 and report the results!
It works!!! Thank you very much, designermonkey!
Woohoo! I got something right ;)
Create an account or sign in to comment.
I am trying to load Google charts using JIT (because I need to serve them via https). I have already learned that the trailing slash rule in the
.htaccessfile will add a slash to the URL, thus render the URL useless. So I try the direct URL to the JIT script:where “…” is a Google chart API URL like this:
It works with simpler URLs, but there seems to be a problem with the chart URL, probably the ampersands. Symphony’s log file says:
Looks like most of the URL has been cut off, doesn’t it?
Any ideas?