Well, you can't do AJAX calls directly to SFX, because of the cross-domain AJAX restrictions. (Unless your SFX server is on the same domain as your Xerxes). You could do the JSONP script tag hack... if SFX supported it, which I believe it doesn't. You could write a component in Xerxes to proxy the SFX api request to avoid the cross domain restrictions. It gets complicated. But I couldn't speak for why David didn't like it.
However, i'll point out that if you use Umlaut over your SFX, support for what you're talking about is actually built into Xerxes already, using Umlaut's functionalities (it's only like 10 lines in Xerxes, because Umlaut does all the work). Using javascript to load actual full text links from SFX (or any other place your Umlaut is configured to look for em) once the page is loaded, on the page. Also loads other functions than full text from Umlaut too.
http://bibwild.wordpress.com/2009/09/15/umlaut-in-xerxe/
http://code.google.com/p/xerxes-portal/wiki/Configuration#umlaut_base
https://github.com/team-umlaut/umlaut
________________________________________
From: xerxes...@googlegroups.com [xerxes...@googlegroups.com] on behalf of helix84 [hel...@centrum.sk]
Sent: Friday, July 27, 2012 7:34 AM
To: xerxes...@googlegroups.com
Cc: a.t....@swansea.ac.uk
Subject: Re: [xerxes-portal] Xerxes & SFX
Hi Luke,
Regards,
~~helix84
--
You received this message because you are subscribed to the Google Groups "xerxes-portal" group.
To post to this group, send email to xerxes...@googlegroups.com.
To unsubscribe from this group, send email to xerxes-porta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xerxes-portal?hl=en.
Everyone else pretty much laid out the options here.
If the database has native full-text, Xerxes is set-up to provide a direct link, so long as the database makes that available.
Xerxes can (and should) be set-up to grab the SFX institutional holdings (Google Scholar) export on a regular basis – as often as you produce that on SFX. That will alert the user that full-text is available, although the link itself goes to SFX.
But there is no real-time look-up of SFX availability from within Xerxes. SFX is simply too slow for that.
--Dave
-------------------------
David Walker
Interim Director, Systemwide Digital Library Services
California State University
From: xerxes...@googlegroups.com [mailto:xerxes...@googlegroups.com] On Behalf Of Luke O'Sullivan
Sent: Monday, July 30, 2012 1:48 AM
To: xerxes...@googlegroups.com
Cc: a.t....@swansea.ac.uk
Subject: [xerxes-portal] Re: Xerxes & SFX
Thanks folks - this is all very useful :)
--
You received this message because you are subscribed to the Google Groups "xerxes-portal" group.
To view this discussion on the web visit https://groups.google.com/d/msg/xerxes-portal/-/uQsthPavaYoJ.