<div dir="ltr">We do need to figure this one out. There are still some questions to work out:<div><br></div><div style>What does `foo/bar` resolve to? Is it relative to the initial notebook server directory, or is it absolute?</div>
<div style><br></div><div style>We already have <a href="https://github.com/ipython/ipython/pull/3058">redirects</a> for notebook name -> notebook id URLs, perhaps rather than having 'true' paths in the URLs, we have project-ids, just like we have notebook-ids, and a redirect handler for loading a project,</div>
<div style><br></div><div style>i.e:</div><div style><br></div><div style> /project/path/to/notebook-dir redirects to /project-id/</div><div style><br></div><div style>and /project/path/to/notebook-dir/notebook.ipynb redirects to /project-id/notebook-id</div>
<div style><br></div><div style>The reason we have notebook-id URLs is that handling the url rewrites / redirects on notebook renames might be tricky. It could be that redirects are a sensible compromise.</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Apr 11, 2013 at 6:14 PM, Paul Ivanov <span dir="ltr"><<a href="mailto:pi@berkeley.edu" target="_blank">pi@berkeley.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Zachary Sailer, on 2013-04-11 17:34, wrote:<br>
> Hi everyone,<br>
><br>
> Take a look at the new IPEP added to the IPython wiki page,<br>
> IPEP 16: Notebook multi directory dashboard and URL mapping.<br>
><br>
> <a href="https://github.com/ipython/ipython/wiki/IPEP-16%3A-Notebook-multi-directory-dashboard-and-URL-mapping" target="_blank">https://github.com/ipython/ipython/wiki/IPEP-16%3A-Notebook-multi-directory-dashboard-and-URL-mapping</a><br>
<br>
</div>Looks pretty good, Zach - I adjusted some wording to emphasize<br>
just how bad the problem is (you have to restart the server, or<br>
start a new one, not just a new dashboard).<br>
<br>
I'm a bit confused by the wording of 'notebooks' and 'app' -<br>
where you says something about the possibility of having<br>
a folder named 'notebooks' -- what if the user has a folder named<br>
'app'?<br>
<br>
best,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Paul Ivanov<br>
<a href="http://pirsquared.org" target="_blank">http://pirsquared.org</a> | GPG/PGP key id: 0x0F3E28F7<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</font></span></blockquote></div><br></div>