#7441: notebook: make it possible to upload from the url of a published 
worksheet
---------------------------+------------------------------------------------
   Reporter:  was          |       Owner:  boothby 
       Type:  enhancement  |      Status:  new     
   Priority:  minor        |   Milestone:  sage-4.4
  Component:  notebook     |    Keywords:          
     Author:               |    Upstream:  N/A     
   Reviewer:               |      Merged:          
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by ddrake):

 I think we can implement the "magic incantation" with something very
 simple, just like RSS autodiscovery. In the {{{<head>}}} of any HTML
 document that wishes to advertise a link to a related Sage worksheet, just
 put:
 {{{
 <link rel="alternate" type="application/sage" title="the title of the
 worksheet"
       href="http://url.to.worksheet.sws";>
 }}}
 The "application/sage" mimics what the notebook server gives when
 downloading a worksheet from the "Download" link on a published worksheet.
 I don't know if that's a proper MIME type.

 More info: http://www.rssboard.org/rss-autodiscovery and
 http://www.w3schools.com/tags/tag_link.asp. The rel="alternate" specifies
 that the link is to an alternate version of the content, which is exactly
 what we want.

 We just need to put that link into published worksheets, and then get the
 "upload worksheet from URL" stuff to look for that link.

 RSS autodiscovery is well-established and works very well, so using the
 same mechanism for our own purposes seems like a good idea, and is very
 easy for anyone to use on any web page.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7441#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to