Introduction

Disqus is a popular service for comments on your website. This article will talk about integrating Disqus on your website. An example integration is available under the B2C Samplestore Blog.

Integration

The integration with the Nemesis platform is pretty straight-forward. Upon adding the module in the classpath,

<dependency>
    <groupId>io.nemesis.platform.module.comment</groupId>
    <artifactId>nemesis-module-disqus</artifactId>
</dependency>

you will have access to several new properties you can use to customize its behaviour. All of them are located under the nemesis.comments.disqus domain. Please consult the Disqus documentation on what they mean and how to use them. You will also gain access to several new jsp tag files:

  • comments.tag - Displays the comments for this page.

  • count.tag - Displays the number of comments for a given page (like 12 Comments for instance)

  • scripts.tag - Adds the necessary scripts to your page.

Configuration

Name Type Description

nemesis.comments.disqus.category-id

java.lang.String

nemesis.comments.disqus.identifier

java.lang.String

nemesis.comments.disqus.short-name

java.lang.String

nemesis.comments.disqus.title

java.lang.String

nemesis.comments.disqus.url

java.lang.String