pathawks / jekyll-disqus-comments Goto Github PK
View Code? Open in Web Editor NEWA system for syncing Disqus comments to Jekyll
License: GNU General Public License v3.0
A system for syncing Disqus comments to Jekyll
License: GNU General Public License v3.0
Thanks for sharing this project, was just thinking about trying to write something like this. Looks very promising.
I just tried giving this a whirl to download my the disqus comments that currently appear on my Jekyll blog into a _comments/
directory (hoping to use this to save my old comments while I transition to a static-email comments system).
I register an application with Disqus to get a public API key as you indicate. Then I clone this repo, add a _config.yml
with the data indicated, create a _comments
dir, and run rake disquscomments
as indicated.
This executes without error (the only message is jekyll loading the config file), but nothing seems to happen, and _comments
is still empty. What did I miss?
Many thanks for the help!
-- Carl (@cboettig)
p.s. I'm a bit confused about the workflow you envision here. I imagine a one-time run that will extract all my disqus comments into local yaml files inside _comments
that I can then embed into posts with liquid, following your example template in the _includes
directory. It seems like you imagine a more continuous synchronizing between disqus and the local yaml? Can you clarify this?
Got this error trying to run the rake command with Jekyll 3.x. Any thoughts?
It seems to stem from the Jekyll site generation portion. Maybe an alternate route would be to compose the URL lists from the generated site and the _config.yml
file?
Is this code salvageable?
This was some of the first Ruby code I had ever written, and I didn't really bother to learn anything about the language or ecosystem before diving in; I just wanted to get my comments on my blog.
If I were to write this today, it would be written as a Gem, and the template would not rely on a plugin but would instead use Jekyll's new where_exp
filter. There would be some clear tests to make sure that the dang thing works.
Is it worth trying to update this code? Should I just start over and try to reimplement this as a part of jekyll-import?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.