Repository: incubator-rocketmq-site
Updated Branches:
  refs/heads/asf-site 311098ed9 -> ff01c2755


http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/4b203dc0/content/maven/mastering-component-compatible-dependency/index.html
----------------------------------------------------------------------
diff --git a/content/maven/mastering-component-compatible-dependency/index.html 
b/content/maven/mastering-component-compatible-dependency/index.html
index 4cccb48..e28de31 100644
--- a/content/maven/mastering-component-compatible-dependency/index.html
+++ b/content/maven/mastering-component-compatible-dependency/index.html
@@ -680,57 +680,8 @@ setting checkJars to true or nothing to do with this 
property,it will further an
       <div class="page__comments">
   
   
-    <section id="static-comments">
-      
-        <!-- Start static comments -->
-        <div class="js-comments">
-          
-        </div>
-        <!-- End static comments -->
-
-        <!-- Start new comment form -->
-        <h4 class="page__comments-title">Leave a Comment</h4>
-        <p class="small">Your email address will not be published. Required 
fields are marked <span class="required">*</span></p>
-        <form id="new_comment" class="page__comments-form js-form form" 
method="post" 
action="https://api.staticman.net/v1/entry/apache/incubator-rocketmq/master";>
-          <div class="form__spinner">
-            <i class="fa fa-spinner fa-spin fa-3x fa-fw"></i>
-            <span class="sr-only">Loading...</span>
-          </div>
-
-          <fieldset>
-            <label for="comment-form-message">Comment <small 
class="required">*</small></label>
-            <textarea type="text" rows="3" id="comment-form-message" 
name="fields[message]" tabindex="1"></textarea>
-            <div class="small help-block"><a 
href="https://daringfireball.net/projects/markdown/";>Markdown is 
supported.</a></div>
-          </fieldset>
-          <fieldset>
-            <label for="comment-form-name">Name <small 
class="required">*</small></label>
-            <input type="text" id="comment-form-name" name="fields[name]" 
tabindex="2" />
-          </fieldset>
-          <fieldset>
-            <label for="comment-form-email">Email address <small 
class="required">*</small></label>
-            <input type="email" id="comment-form-email" name="fields[email]" 
tabindex="3" />
-          </fieldset>
-          <fieldset>
-            <label for="comment-form-url">Website (optional)</label>
-            <input type="url" id="comment-form-url" name="fields[url]" 
tabindex="4"/>
-          </fieldset>
-          <fieldset class="hidden" style="display: none;">
-            <input type="hidden" name="options[slug]" 
value="mastering-component-compatible-dependency">
-            <label for="comment-form-location">Not used. Leave blank if you 
are a human.</label>
-            <input type="text" id="comment-form-location" 
name="fields[hidden]" autocomplete="off"/>
-          </fieldset>
-          <!-- Start comment form alert messaging -->
-          <p class="hidden js-notice">
-            <strong class="js-notice-text"></strong>
-          </p>
-          <!-- End comment form alert messaging -->
-          <fieldset>
-            <button type="submit" id="comment-form-submit" tabindex="5" 
class="btn btn--large">Submit Comment</button>
-          </fieldset>
-        </form>
-        <!-- End new comment form -->
-      
-    </section>
+    <h4 class="page__comments-title">Leave a Comment</h4>
+    <section id="disqus_thread"></section>
   
 </div>
     
@@ -773,46 +724,26 @@ setting checkJars to true or nothing to do with this 
property,it will further an
 
 
   
-  <script>
-    (function ($) {
-    var $comments = $('.js-comments');
-
-    $('#new_comment').submit(function () {
-      var form = this;
-
-      $(form).addClass('disabled');
-      $('#comment-form-submit').html('<i class="fa fa-spinner fa-spin 
fa-fw"></i> Loading...');
-
-      $.ajax({
-        type: $(this).attr('method'),
-        url: $(this).attr('action'),
-        data: $(this).serialize(),
-        contentType: 'application/x-www-form-urlencoded',
-        success: function (data) {
-          $('#comment-form-submit').html('Submitted');
-          $('.page__comments-form .js-notice').removeClass('notice--danger');
-          $('.page__comments-form .js-notice').addClass('notice--success');
-          showAlert('Thanks for your comment! It will show on the site once it 
has been approved.');
-        },
-        error: function (err) {
-          console.log(err);
-          $('#comment-form-submit').html('Submit Comment');
-          $('.page__comments-form .js-notice').removeClass('notice--success');
-          $('.page__comments-form .js-notice').addClass('notice--danger');
-          showAlert('Sorry, there was an error with your submission. Please 
make sure all required fields have been completed and try again.');
-          $(form).removeClass('disabled');
-        }
-      });
-
-      return false;
-    });
-
-    function showAlert(message) {
-      $('.page__comments-form .js-notice').removeClass('hidden');
-      $('.page__comments-form .js-notice-text').html(message);
-    }
-  })(jQuery);
+  <script type="text/javascript">
+       /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * 
* */
+       var disqus_shortname = 'rocketmq';
+
+       /* * * DON'T EDIT BELOW THIS LINE * * */
+       (function() {
+               var dsq = document.createElement('script'); dsq.type = 
'text/javascript'; dsq.async = true;
+               dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+               (document.getElementsByTagName('head')[0] || 
document.getElementsByTagName('body')[0]).appendChild(dsq);
+       })();
+
+       /* * * DON'T EDIT BELOW THIS LINE * * */
+       (function () {
+               var s = document.createElement('script'); s.async = true;
+               s.type = 'text/javascript';
+               s.src = '//' + disqus_shortname + '.disqus.com/count.js';
+               (document.getElementsByTagName('HEAD')[0] || 
document.getElementsByTagName('BODY')[0]).appendChild(s);
+       }());
   </script>
+  <noscript>Please enable JavaScript to view the <a 
href="http://disqus.com/?ref_noscript";>comments powered by 
Disqus.</a></noscript>
 
 
 

http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/4b203dc0/content/rocketmq/how-to-support-more-queues-in-rocketmq/index.html
----------------------------------------------------------------------
diff --git a/content/rocketmq/how-to-support-more-queues-in-rocketmq/index.html 
b/content/rocketmq/how-to-support-more-queues-in-rocketmq/index.html
index dce0eeb..29377cf 100644
--- a/content/rocketmq/how-to-support-more-queues-in-rocketmq/index.html
+++ b/content/rocketmq/how-to-support-more-queues-in-rocketmq/index.html
@@ -474,57 +474,8 @@
       <div class="page__comments">
   
   
-    <section id="static-comments">
-      
-        <!-- Start static comments -->
-        <div class="js-comments">
-          
-        </div>
-        <!-- End static comments -->
-
-        <!-- Start new comment form -->
-        <h4 class="page__comments-title">Leave a Comment</h4>
-        <p class="small">Your email address will not be published. Required 
fields are marked <span class="required">*</span></p>
-        <form id="new_comment" class="page__comments-form js-form form" 
method="post" 
action="https://api.staticman.net/v1/entry/apache/incubator-rocketmq/master";>
-          <div class="form__spinner">
-            <i class="fa fa-spinner fa-spin fa-3x fa-fw"></i>
-            <span class="sr-only">Loading...</span>
-          </div>
-
-          <fieldset>
-            <label for="comment-form-message">Comment <small 
class="required">*</small></label>
-            <textarea type="text" rows="3" id="comment-form-message" 
name="fields[message]" tabindex="1"></textarea>
-            <div class="small help-block"><a 
href="https://daringfireball.net/projects/markdown/";>Markdown is 
supported.</a></div>
-          </fieldset>
-          <fieldset>
-            <label for="comment-form-name">Name <small 
class="required">*</small></label>
-            <input type="text" id="comment-form-name" name="fields[name]" 
tabindex="2" />
-          </fieldset>
-          <fieldset>
-            <label for="comment-form-email">Email address <small 
class="required">*</small></label>
-            <input type="email" id="comment-form-email" name="fields[email]" 
tabindex="3" />
-          </fieldset>
-          <fieldset>
-            <label for="comment-form-url">Website (optional)</label>
-            <input type="url" id="comment-form-url" name="fields[url]" 
tabindex="4"/>
-          </fieldset>
-          <fieldset class="hidden" style="display: none;">
-            <input type="hidden" name="options[slug]" 
value="how-to-support-more-queues-in-rocketmq">
-            <label for="comment-form-location">Not used. Leave blank if you 
are a human.</label>
-            <input type="text" id="comment-form-location" 
name="fields[hidden]" autocomplete="off"/>
-          </fieldset>
-          <!-- Start comment form alert messaging -->
-          <p class="hidden js-notice">
-            <strong class="js-notice-text"></strong>
-          </p>
-          <!-- End comment form alert messaging -->
-          <fieldset>
-            <button type="submit" id="comment-form-submit" tabindex="5" 
class="btn btn--large">Submit Comment</button>
-          </fieldset>
-        </form>
-        <!-- End new comment form -->
-      
-    </section>
+    <h4 class="page__comments-title">Leave a Comment</h4>
+    <section id="disqus_thread"></section>
   
 </div>
     
@@ -567,46 +518,26 @@
 
 
   
-  <script>
-    (function ($) {
-    var $comments = $('.js-comments');
-
-    $('#new_comment').submit(function () {
-      var form = this;
-
-      $(form).addClass('disabled');
-      $('#comment-form-submit').html('<i class="fa fa-spinner fa-spin 
fa-fw"></i> Loading...');
-
-      $.ajax({
-        type: $(this).attr('method'),
-        url: $(this).attr('action'),
-        data: $(this).serialize(),
-        contentType: 'application/x-www-form-urlencoded',
-        success: function (data) {
-          $('#comment-form-submit').html('Submitted');
-          $('.page__comments-form .js-notice').removeClass('notice--danger');
-          $('.page__comments-form .js-notice').addClass('notice--success');
-          showAlert('Thanks for your comment! It will show on the site once it 
has been approved.');
-        },
-        error: function (err) {
-          console.log(err);
-          $('#comment-form-submit').html('Submit Comment');
-          $('.page__comments-form .js-notice').removeClass('notice--success');
-          $('.page__comments-form .js-notice').addClass('notice--danger');
-          showAlert('Sorry, there was an error with your submission. Please 
make sure all required fields have been completed and try again.');
-          $(form).removeClass('disabled');
-        }
-      });
-
-      return false;
-    });
-
-    function showAlert(message) {
-      $('.page__comments-form .js-notice').removeClass('hidden');
-      $('.page__comments-form .js-notice-text').html(message);
-    }
-  })(jQuery);
+  <script type="text/javascript">
+       /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * 
* */
+       var disqus_shortname = 'rocketmq';
+
+       /* * * DON'T EDIT BELOW THIS LINE * * */
+       (function() {
+               var dsq = document.createElement('script'); dsq.type = 
'text/javascript'; dsq.async = true;
+               dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
+               (document.getElementsByTagName('head')[0] || 
document.getElementsByTagName('body')[0]).appendChild(dsq);
+       })();
+
+       /* * * DON'T EDIT BELOW THIS LINE * * */
+       (function () {
+               var s = document.createElement('script'); s.async = true;
+               s.type = 'text/javascript';
+               s.src = '//' + disqus_shortname + '.disqus.com/count.js';
+               (document.getElementsByTagName('HEAD')[0] || 
document.getElementsByTagName('BODY')[0]).appendChild(s);
+       }());
   </script>
+  <noscript>Please enable JavaScript to view the <a 
href="http://disqus.com/?ref_noscript";>comments powered by 
Disqus.</a></noscript>
 
 
 

Reply via email to