EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #01177


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: AJAX end point


On 11/10/12 11:14, Robert Berry wrote:
Hi everyone,

Does anybody have an opinion as to what is the best way to make an AJAX
(JSON) end-point available? Should I be creating a view plug in for this
or a new CGI script?

The general way of making any script output available is to put the script in ..../archives/<archive_id>/cgi/

Thereafter, the JSON or ajaxiness is up to the script.
(but also see http://wiki.eprints.org/w/Adding_an_Auto-Completer_to_a_non-workflow_page)


--

Ian Stuart.
Developer: ORI, RJ-Broker, and OpenDepot.org
Bibliographics and Multimedia Service Delivery team,
EDINA,
The University of Edinburgh.

http://edina.ac.uk/

This email was sent via the University of Edinburgh.

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.