<div dir="ltr">Extensions do not have that level of access - you would need to subclass the application, extend it, and add your own entry point.<div>Unless we add a notion of notebook server plugins, adding handlers won't be possible without subclassing.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 23, 2013 at 3:33 PM, David Wolever <span dir="ltr"><<a href="mailto:david@wolever.net" target="_blank">david@wolever.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey,<br>
I'd like to turn BrowserCast into a "real" extension… but to do that, I need to extend NotebookWebApplication's list of URL handlers to include a handler which will serve the relevant static files (ex, a handler so that requests for "/browsercast/static/(.*)" will be served from "…/site-packages/ipython_browsercast/static/").<br>
<br>
How can I do that?<br>
<br>
Thanks,<br>
David<br>
<br>
--<br>
phone: <a href="tel:%28416%29%20906-0403" value="+14169060403">(416) 906-0403</a><br>
pgp: B230230D<br>
<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>
</blockquote></div><br></div>