You should never be accessing the validator at simile.mit.edu ; many
years ago it was migrated to http://service.simile-widgets.org/babel .
If your version of exhibit is accessing the old babel, you are probably
using an outdated version of exhibit.
On 1/24/2013 7:54 AM, [email protected] wrote:
Hi K
Excuse my replying to a post that is two years old, but I'm new to
Exhibit and I've had some similar errors to the one you describe in
your post.
Did you sort the error out and if so, how did you do this?
Many thanks
Patrick
On Thursday, February 3, 2011 5:51:49 PM UTC, kumarachi wrote:
Hi
For the past several months, I have been getting intermittant errors
from my (not local, but from simile-widgets.org
<http://simile-widgets.org>) Exhbit API, where it
seems to be using/calling the non-existent Babel Validator
simile.mit.edu <http://simile.mit.edu>.
My exhibit page loads fine sometimes, but at other times, i get a
JSON
Validator error from Babel (with the message 'we will explain the
error later'), and sometimes I get the Service Temporarily
Unavailable
mesage.
If you go to: http://simile.mit.edu/babel/validator --
You get Service Unavailable -- which I also get occasionally when
loading my Exhibit page. More often, though, I just get a spurious-
looking JSON Validation error. I know my JSON is good because it
validates at simile-widgets.org/babel
<http://simile-widgets.org/babel>.
Nowhere in my exhibit HTML/JavaScript do i refer to mit.edu
<http://mit.edu>, so this
is coming from somewhere in this externally referenced URLs from my
HTML HEAD section:
<script type="text/javascript" src="http://api.simile-widgets.org/
exhibit/2.2.0/exhibit-api.js
<http://api.simile-widgets.org/exhibit/2.2.0/exhibit-api.js>"></script>
So, I went digging through firebug/Net panel and trawled all the
calls
to external JS, and there in exhibit-bundle.js, which is posted at:
http://api.simile-widgets.org/exhibit/2.2.0/exhibit-bundle.js,
I found some references to mit.edu/babel <http://mit.edu/babel> --
not sure if these are what
are causing my problems, but I suspect they must be.
Can someone who contributes to this code please make the change in
the
exhibit-bundle.js file?
Or please let me know what I am doing wrong.
Or please let me know how I can override this validation function
in a
local js file, I'd be happy to do that.
I could be all wrong and there may be nothing wrong with this code on
exhibit-bundle.js, but then I cant still explain why the mit.edu
<http://mit.edu>
Validator is being called, or from where!
Here is the suspicous bit:
.......
.......
Exhibit.UI.docRoot="http://simile.mit.edu/wiki/";
Exhibit.UI.validator="http://simile.mit.edu/babel/validator";
<...some validation call happens after this....>
....
....
thanks in advance for any advise and ideas.
regards
-k
--
You received this message because you are subscribed to the Google
Groups "SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/simile-widgets?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "SIMILE
Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/simile-widgets?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.