Ask Your Question
0

notebook api: new worksheet

asked 12 years ago

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

Preview: (hide)

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 ( 12 years ago )

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

Jason Grout gravatar imageJason Grout ( 12 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 12 years ago

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...

Preview: (hide)
link

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: 12 years ago

Seen: 908 times

Last updated: Aug 11 '12