EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #02349
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: last additions rather than latest
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: last additions rather than latest
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- Date: Wed, 30 Oct 2013 11:16:22 +0000
Hi Derek,
No need for SSI (but feel free to use that trick), a simple Ajax request will do: <script type="text/_javascript_"> new Ajax.Updater( 'fplatest', '/cgi/latest_tool', { parameters: { "mode":"fplatest", "mainonly":"yes" } } ); </script> This would insert the latest additions to the element whose ID is "fplatest" (the 1st param of Ajax.Updater). Just adapt the code above just note the use of "mainonly = yes" to ask the cgi to return only the page fragment/content rather than the entire html document. Seb. On 30/10/13 11:11, Derek Lawrie wrote:
|
- References:
- [EP-tech] Re: last additions rather than latest
- From: Derek Lawrie <d.lawrie@nua.ac.uk>
- [EP-tech] Re: last additions rather than latest
- Prev by Date: [EP-tech] Re: last additions rather than latest
- Next by Date: [EP-tech] Re: last additions rather than latest
- Previous by thread: [EP-tech] Re: last additions rather than latest
- Next by thread: [EP-tech] Re: last additions rather than latest
- Index(es):