Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding google drive rewrite provider #482

Closed
wants to merge 2 commits into from
Closed

Conversation

bollwyvl
Copy link
Contributor

A dropbox-style provider based on #427.

Can take the two kinds of links i found in drive (the "share" UI and the "get link" UI).

Tests passing currently blocked by #481, as it uses ? params.

@bollwyvl
Copy link
Contributor Author

Turns out there is a way to publicly host a whole directory, which enables relative links:

  1. This publicly-shared folder:
  2. Can be dereferenced to this link:
  3. Which contains a link to Untitled.ipynb:
  4. The first part of the domain can be stripped to yield this valid nbviewer link:

On my local branch with #481 applied, this actually shows the kitty.

So while that is an awful link, it is actually pretty viable for near-term integration, though it would probably require some documentation/screecasting/bookmarkleting, as it requires URL hacking... or index parsing, which I don't think is worth it. However, given that http://github.com/jupyter/jupyter-drive is a thing, this could be a very powerful way indeed to work on notebooks for publication with a team.

@bollwyvl
Copy link
Contributor Author

bollwyvl commented Sep 2, 2015

@bollwyvl bollwyvl closed this Sep 2, 2015
@rgbkrk
Copy link
Member

rgbkrk commented Sep 2, 2015

Of course...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants