Closed rpappu closed 10 years ago
It turns out that the link obtained through "Share Dropbox Link" simply brings us to a download page...and what GraphGist needs is the actual content of the file, so you need to replace www.dropbox.com from the share URL with dl.dropboxusercontent.com to make it work. Closing this pull request.
@rpappu Thanks for the input, I finally made it work. Now the dropbox share URL you provided can be used in the file box: https://www.dropbox.com/s/n4d8cqbh933nkrd/privatetest.adoc And it will render.
Awesome…thank you!
Ravi
ravipappu@gmail.com
On 27Jun, 2014, at 7:47 PM, Anders Nawroth notifications@github.com wrote:
@rpappu Thanks for the input, I finally made it work. Now the dropbox share URL you provided can be used in the file box: https://www.dropbox.com/s/n4d8cqbh933nkrd/privatetest.adoc And it will render.
— Reply to this email directly or view it on GitHub.
I couldn't get links to AsciiDoc files in Dropbox to work. For example, this GraphGist failed https://www.dropbox.com/s/edrw7kbhetwyzza/gistcheck.adoc failed with the error message
This appears to be because the
DROPBOX_BASE_URL
in gists.js ishttps://dl.dropboxusercontent.com/u/
but the URLs I'm getting from Dropbox these days are prefixed withhttps://www.dropbox.com/s/