Ask Your Question
0

notebook api: new worksheet

asked 2012-07-21 21:59:08 -0500

fero gravatar image

Hello I am here again for a second question:

I proxy connections to SAGE notebook, because I tried the API documented at

http://www.sagemath.org/doc/reference/sagenb/simple/twist.html

but I didn't succeed.

To my needing in this stage of early development is ok to proxy connections to notebook worksheet pages, hijacking the session cookie, but I'd like to be able to create new worksheets on the fly. I know it is a bit weird, but is it feasible in your opinion?

TIA Luca

edit retag flag offensive close merge delete

Comments

As far as I know, that API is deprecated. You may be interested in the probably successor to this, https://github.com/sagemath/sagecell

kcrisman gravatar imagekcrisman ( 2012-07-23 03:56:08 -0500 )edit

More than deprecated---it doesn't work on the new notebook (like sagenb.org, etc.)

Jason Grout gravatar imageJason Grout ( 2012-07-23 22:34:23 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-08-10 18:00:31 -0500

fero gravatar image

I finally have decided to come back to the notebook interface. I proxy the notebook interface in an iframe, adjusted some css, and call some worksheet function with javascript.

I have not used sagecell version 1 because I have to present the user a cell with different interpreters from the %sage one.

I have not used sagecell > version 1 because I can't manage to install it.

For my needings now, it's enough this implementation, spent too much time on this activity for a "proof of concept", maybe we have the opportunity to improve sagecell in some future days...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-07-21 21:59:08 -0500

Seen: 127 times

Last updated: Aug 10 '12