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

Replace Disqus with something open source and more robustly archival #83

Open
cboettig opened this issue Apr 5, 2013 · 12 comments
Open

Comments

@cboettig
Copy link
Owner

cboettig commented Apr 5, 2013

Features I want in a commenting system:

  • Mathjax Anything displaying natively on the site should render mathjax no problem. Disqus doesn't.
  • Markdown input for users
  • Ability to maintain a local archive of comments in the notebook repository. (Archiving Disqus comments requires downloading a separate XML file, not easily preserved in archival versions of the notebook).
  • Open source solution

** Other issues / features **

I don't particularly care for threading and sorting disqus does. Referencing commenters by handle or name seems satisfactory and respects the provenance of the discussion better. Others have already expressed this critique far more eloquently...

Possible alternatives to disqus

Static comments

  • Several Jekyll sites have proposed static or semi-static commenting systems. (See my exploration below).

A fully static system essentially uses a templated email link, and the comment is composed in the reader's email client. The email is then (semi?) automatically imported into the post using a Jekyll plugin and some liquid code.

While this simply and elegantly addresses all the problems above, I worry that the a-typical workflow, moving a user off the site and into their email client, might discourage conversation?

Open-source Disqus clones

Juvia might be an option?

Not convenient that I've never deployed a rails app, but the documentation looks passable...

  • Looks like a simple mysql database setup within the config file.

Unfortunately I am having issues executing the setup commands:

> bundle exec rake db:schema:load RAILS_ENV=production
Could not load sequel gem, so WordPress import will not work.
rake aborted!
No such file or directory - /home/cboettig/Documents/code/thirdparty/juvia/config/application.yml
/home/cboettig/Documents/code/thirdparty/juvia/lib/app_config.rb:76:in `block in <class:Railtie>'

Not sure what to try next, suppose I should file an issue?

@cboettig
Copy link
Owner Author

cboettig commented Apr 5, 2013

Well that was silly. phusion/juvia#26 (comment)

Other issues may be harder to overcome. ruby 0.9.3 doesn't seem to be on the dreamhost server, perhaps I can request that? Or install without root privileges, e.g. rvm? All this is seeming a bit complicated for an open source commenting solution. Might stick with exporting disqus comments for now.

@cboettig
Copy link
Owner Author

cboettig commented Apr 8, 2013

Alternative route: https://github.com/mpalmer/jekyll-static-comments

Would need some adapting. Simplest thing would be to replace comments button with an email link, and manually add comments to the _comments YAML database used by the plugin.

cboettig added a commit that referenced this issue Apr 8, 2013
Should add mechansim to extract comments from disqus exported xml and move into yaml database
@cboettig
Copy link
Owner Author

Troubleshooting Pat's disqus to jekyll plugin, not working yet. see pathawks/jekyll-disqus-comments#1 (comment)

Tried this but am hitting errors on empty strings. Continued tweaking on static-comments branch.

@sckott
Copy link

sckott commented Jun 13, 2013

Not sure if you have seen this yet, but what about using github issues for comments? http://ivanzuzak.info/2011/02/18/github-hosted-comments-for-github-hosted-blogs.html

@sckott
Copy link

sckott commented Jun 13, 2013

Also, this seems more far fetched, but what about using app.net as a commenting system. They have free accounts now, so low barrier to entry, and I think you could build a plugin that supports markdown easily. just a thought

@cboettig
Copy link
Owner Author

thanks for the ideas. @noamross talked me out of anything that requires
having a particular account or introduces delays though... May just try and
get that rake script working to pull an archival copy from the Disqus API...

Also, this seems more far fetched, but what about using app.net as a
commenting system. They have free accounts now, so low barrier to entry,
and I think you could build a plugin that supports markdown easily. just a
thought


Reply to this email directly or view it on
GitHubhttps://github.com//issues/83#issuecomment-19432372
.

@sckott
Copy link

sckott commented Jun 14, 2013

agree, low barrier to entry is key

@opattison
Copy link

Not that I'm a fan of Disqus (in fact, I didn't have an account before I posted a reply on your blog yesterday), but in some important ways it is no less accessible than something like app.net (future-friendly issues aside for a moment). You could argue that app.net has a low barrier for entry, but so do Twitter/Facebook/Google authorization Disqus in some ways. Your most-used account or email address ends up being your authentication passport, giving the illusion of a de-siloed web for a brief moment. Or providing yet another reminder of the problem, in other cases!

Comments are a really tough problem to solve. I'm interested to see how you settle it. I've pretty much ruled out comments entirely for a couple of projects that I'm working on, both because of the permanence and authentication issues, and also because it is usually quite difficult to cultivate an active and productive community in The Comments.

One propriety solution I've recommended is simply saying "talk to me on Twitter/your network of choice" which is about as impermanent and fractured a solution as one could come up with. The only way I can justify it is by taking the problem to a larger scale and framing it as "is the purpose of comments to have comments or to connect individuals and carry on some conversation beyond an article or note?" I realize that's a bit of a cop-out, ultimately, but it does save me from having to hack Disqus or come up with some other sub-optimal solution.

I'm looking out for innovative solutions for comments/collaboration, like Jeremy Keith's machine tag illustrations, but more open and distributed.

@cboettig
Copy link
Owner Author

@opattison Interesting ideas, particularly the machine tagging. Not clear to me what is actually identifying the tags - e.g. does Jeremy's site need to query the Flickr API to identify if any photos have been tagged (obvious limitation of having to know where to look for the tags e.g. Flickr).

I've been convinced that there is a need for a real time commenting system. Leaning towards just pulling my disqus comments in XML from their API...)

@opattison
Copy link

Yes – Jeremy Keith's idea is more of a hacky proof-of-concept that there are still innovative ideas in commenting, at least as I see it. I barely know how it works, but it is a neat concept. It's actually pretty surprising that the feature survived since 2007 on his site.

And as far as Disqus API, go for it.

@FooBarWidget
Copy link

If you're looking for a hosting option that supports Juvia, maybe Heroku or RailsMachine is an option for you?

@cboettig
Copy link
Owner Author

Currently opting for keeping an archive of the exported disqus XML so at least comment data can be independently preserved. Crude but simple. Archive in assets/comments

cboettig added a commit that referenced this issue Aug 14, 2017
Should add mechansim to extract comments from disqus exported xml and move into yaml database
cboettig added a commit that referenced this issue Aug 20, 2017
Should add mechansim to extract comments from disqus exported xml and move into yaml database
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

No branches or pull requests

4 participants