Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 249964cd66
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (12 sloc) 0.641 kb
p_comment_disqus adds DISQUS comments to each paragraph of an HTML document.
Demo: http://arthurkoziel.com/p_comment_disqus/
Installation
------------
1. Copy the p_comment_disqus.js and comment.html files to the same directory as the HTML file.
2. Add the following code at the end of your HTML file:
<script type="text/javascript">
var disqus_shortname = 'YOUR_WEBSITE_SHORTNAME';
</script>
<script type="text/javascript" src="p_comment_disqus.js"></script>
3. Replace 'YOUR_WEBSITE_SHORTNAME' with your DISQUS website shortname.
Note: To test the script locally, set "var disqus_developer = 1;" in comment.html.
Jump to Line
Something went wrong with that request. Please try again.