-
Notifications
You must be signed in to change notification settings - Fork 33
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
Example YAML file in _comments? #11
Comments
Here is a sample YAML comment: https://gist.github.com/IQAndreas/5384357 Note that the |
@pathawks Thanks, exactly what I was thinking about. I'll give it a whirl. @IQAndreas thanks for the example. -- I'm thinking something along the On Sun, Apr 14, 2013 at 2:47 PM, Andreas Renberg
Carl Boettiger |
I can't find the repository you are referring to. Is his fork stored under a different name? Or is his project independent from this one?
It only parses the file.
I'll outline mpalmer's version for ease:
So, the PHP script generates the YAML; the Ruby script parses it into HTML. If you want to generate your own comments, you only need the following fields for each comment: |
My code is not publicly available, but basically works like this:
The only differences between my and @IQAndreas' approach is:
|
Thanks both for the outline of each workflow, this clarifies my confusion On Mon, Apr 15, 2013 at 2:13 AM, Tomas Carnecky notifications@github.comwrote:
Carl Boettiger |
I'm trying out with the plugin part alone. |
Ah, there is the problem. :) There is a known problem with Jekyll 1.1.0 and above: #13 Although it should have given you an error message when you tried to run You can either make the tiny change necessary to fix it yourself, or you can use my fork of the script: https://github.com/IQAndreas/jekyll-static-comments It also adds a few features, such as:
I still haven't updated the documentation with my features, and I'm still tweaking it a bit, but at the moment, it should be completely functional, and reverse-compatible with comments generated in previous versions of the script. |
Thanks for sharing this plugin, this looks like a brilliant solution for Jekyll comments. I'm unclear how you go from the email to the yaml database holding the comments data, is that manual? Can you provide an example file containing a comment such as you would have in
_comments/
so I can get a better idea how the data should be laid out?(Hoping to write a little wrapper that can extract my disqus based comments and put them in the yaml format you describe here).
Cheers,
Carl
The text was updated successfully, but these errors were encountered: