-
Notifications
You must be signed in to change notification settings - Fork 544
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
Add Disqus? #80
Comments
1 for that... |
I would be minus one for adding discussion / comments to nbviewer. |
because... |
Because I wouldn't want comments on my notebooks, and there is no logical mechanism for disabling them, because nbviewer has no notion of a 'post' - it is a weakref render of things that actually exist elsewhere on the internet. For instance, a gist already has comments, so it would be silly to have additional comments on nbviewer. |
I think we should think about this - I can see that there might be a value On Wed, May 8, 2013 at 12:43 PM, Min RK [email protected] wrote:
Brian E. Granger |
I would think a criterion for adding comments is adding the notion of authors and posts with control over these things (i.e. turning it into a complete blogging platform). That would be a totally different application than what we have now. |
I can understand that... but I think some people like it very much...
thinking on the fly: a metadata flag (ie, no-comments) that could be read by nbviewer to , finally, not add the disqus machinery trough jinja templating.
but can not be read it in gist form... you actually need to pass it over nbviewer to make comments... going out and going back to gist seems not straightforward to me... |
I think, in general, for comments to make sense nbviewer needs to be a fundamentally different entity, with authors, ownership, and control of each notebook. |
Just to add to the discussion, disqus provides a platform to moderate the post and you have to login (and then, have an ID) to make comments, so the author of the ipynb can get control over the comment on their notebooks. I understand you thoughts in general, but I think comments it would be very valuable even in a some permissive and primary form. |
Personally, I'm 👎 on this one for several reasons:
This isn't to say that I'm not a fan of discussion. Quite the contrary. What I'm thinking is that this project should be pluggable enough that it does one thing really well and is extensible enough that people could run their own site with these types of features very easily. |
And probably, a lot of people will add this feature... because the people loves the discussion. So, making "extensible enough" makes me wonders if it would not be interesting to develop a platform inside nbviewer to add a sort of |
I was thinking more like you use the handlers yourself and a lot of the machinery. Adding disqus would be the simple addition of a template and a configurable environment variable (or other way to configure it). |
OK...
Yep |
Or, notebook authors could just go ahead and do it, as @tonyfast has here. Wrapped in a small magic, this would not actually be that bad for daily use. Nbviewer as blog engine :) There's a list of XSS exploits for other platforms as long as my arm, but our no-auth stance makes this actually not that bad. |
Nice. I like that it can be done in the notebook, without being on by default. We could even shorthand that with a metadata key for simpler opt-in. |
As long as we stick with a no-auth stance, I'm happy to leave nbviewer as a free-for-all anything-goes JS |
And it is a natural response...
If I have to choose, I will setup disqus in nbviewer itself (in our own templates) and ask people for the meta key for activation and a meta key with maybe the disqus user)... BTW, eventually we need to provide a better way to include metadata in the notebook (the current mini-editor is very prone to input errors). Maybe a magic to write in the notebook metadata could be an option. |
Let's put this on the agenda for the week... On Sat, Jun 6, 2015 at 4:24 AM, Damián Avila [email protected]
Brian E. Granger |
I always hoped the notebook metadata could be edited with YAML. It is great for configurations. |
Hi guys, I have made a python package to add Disqus to your Jupyter Notebook. Check out https://github.com/vwxyzjn/jupyter_disqus |
What about adding disqus at the end of page of each nbviewer post ?
The text was updated successfully, but these errors were encountered: