[IPython-dev] nbviewer and dropbox
Bradley M. Froehle
brad.froehle at gmail.com
Fri Jan 4 10:55:51 EST 2013
Also you can get the behavior your are looking for by encoding the url:
http://nbviewer.ipython.org/urls/dl.dropbox.com/s/6jdpfaa4oek3v6u/testdwiconvert.ipynb%3Fdl%3D1
So there does seems to be a bug here in that we aren't url encoding the query string for urls entered on the main nbviewer page.
-Brad
On Friday, January 4, 2013 at 7:53 AM, Bradley M. Froehle wrote:
> Hi satra:
>
> You should know that in this case the nbviewer works if you just remove the ?dl=1. See
> http://nbviewer.ipython.org/urls/dl.dropbox.com/s/6jdpfaa4oek3v6u/testdwiconvert.ipynb
>
> -Brad
>
>
> On Friday, January 4, 2013 at 5:16 AM, Satrajit Ghosh wrote:
>
> > hi matthias,
> >
> > here is a more appropriate link. that one was just an example from dropbox.
> >
> > https://www.dropbox.com/s/6jdpfaa4oek3v6u/testdwiconvert.ipynb?dl=1
> >
> > cheers,
> >
> > satra
> >
> > On Fri, Jan 4, 2013 at 6:59 AM, Matthias BUSSONNIER <bussonniermatthias at gmail.com (mailto:bussonniermatthias at gmail.com)> wrote:
> > > Hi Satra.
> > >
> > > Happy new year also.
> > >
> > > >
> > > > is there a way for nbviewer to be augmented to accept shared links from dropbox of the follow form (note the ?dl=1 at the end).
> > > > https://dl.dropbox.com/s/xttkmuvu7hh72vu/MyFile.pdf?dl=1
> > >
> > >
> > >
> > >
> > > Yes, it would be doable.
> > > With the current state of nbviewer it would be a little complicated I would prefer to wait for a clean way of having special logic for different
> > > website through regexp and configurability.
> > >
> > > But you are welcome to open a feature request on nbviewer issue page.
> > >
> > > As for the link you provided I have a 404. If it needs a authentication, there is no way for nbviewer to access it (yet ?).
> > >
> > > Cheers
> > > --
> > > Matthias
> > > _______________________________________________
> > > IPython-dev mailing list
> > > IPython-dev at scipy.org (mailto:IPython-dev at scipy.org)
> > > http://mail.scipy.org/mailman/listinfo/ipython-dev
> >
> >
> >
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org (mailto:IPython-dev at scipy.org)
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>
More information about the IPython-dev
mailing list