Giter Club home page Giter Club logo

jekyll-disqus-comments's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jekyll-disqus-comments's Issues

Unable to download comments

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?

Salvageable?

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.