On Mon, Jan 19, 2009 at 5:05 PM, Robert Bradshaw <rober...@math.washington.edu> wrote: > > On Jan 19, 2009, at 4:39 PM, Skylar wrote: > >> I was rather hoping to keep all of the great js/css and everything >> having to do with the cell like the tab completion and the way that >> the input and output are handled - all are fantastic in the notebook. >> I was just hoping that I could send a single cell the way that it is >> displayed and functioning in the full notebook to an address/port. I >> am not sure that using the simple server would be the best way to >> accomplish this. > > You're right--it would probably would be easier to try and modify the > notebook to get this effect. The simple API was more designed to be a > "back end" interface.
You will probably have to copy out a bunch of javascript from SAGE_ROOT/devel/sage/sage/server/notebook/js.py in some clever way into your webpage. Then probably use the simple API as the backend to actually do the work. To do this right would probably require some serious refactoring of js.py, and at least understanding that javascript code. I'm sure it could be done and that I could do it. I would estimate it would take me a week of fulltime work to do this right. (I'm probably not going to do this; I'm just sharing some thoughts.) -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---