Rollback to disqus.
Project: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/commit/4b203dc0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/tree/4b203dc0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/diff/4b203dc0 Branch: refs/heads/asf-site Commit: 4b203dc03dbe011feff17d819721376c4d7e363c Parents: 414fa48 Author: yukon <[email protected]> Authored: Fri Dec 30 21:37:22 2016 +0800 Committer: yukon <[email protected]> Committed: Fri Dec 30 21:37:22 2016 +0800 ---------------------------------------------------------------------- _config.yml | 9 +- _includes/comments-providers/staticman.html | 2 +- _includes/comments.html | 4 +- content/about/contact/index.html | 2 +- content/about/team/index.html | 2 +- content/docs/best-practice-broker/index.html | 113 ++++--------------- content/docs/best-practice-consumer/index.html | 113 ++++--------------- content/docs/best-practice-namesvr/index.html | 113 ++++--------------- content/docs/best-practice-producer/index.html | 113 ++++--------------- content/docs/cli-admin-tool/index.html | 113 ++++--------------- content/docs/cluster-deployment/index.html | 113 ++++--------------- content/docs/code-guidelines/index.html | 113 ++++--------------- content/docs/core-concept/index.html | 113 ++++--------------- content/docs/faq/index.html | 113 ++++--------------- content/docs/motivation/index.html | 113 ++++--------------- content/docs/pull-request/index.html | 113 ++++--------------- content/docs/quick-start/index.html | 113 ++++--------------- content/feed.xml | 2 +- .../index.html | 111 ++++-------------- .../index.html | 111 ++++-------------- 20 files changed, 317 insertions(+), 1282 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/4b203dc0/_config.yml ---------------------------------------------------------------------- diff --git a/_config.yml b/_config.yml index d78777f..3e3d8ce 100644 --- a/_config.yml +++ b/_config.yml @@ -14,14 +14,15 @@ description : "The homepage of RocketMQ." url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io" baseurl : # the subpath of your site, e.g. "/blog" repository : "apache/incubator-rocketmq" +comment-repository : "zhouxinyu/rocketmq-comments" teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png" destination : content # breadcrumbs : false # true, false (default) words_per_minute : 200 comments: - provider : "staticman" # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "custom" + provider : "disqus" # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "custom" disqus: - shortname : + shortname : "rocketmq" discourse: server : # https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963 , e.g.: meta.discourse.org facebook: @@ -35,8 +36,8 @@ staticman: commitMessage : "New comment." filename : comment-{@timestamp} format : "yml" - moderation : false - path : "_data/comments/{options.slug}" + moderation : true + path : "_comments/{options.slug}" requiredFields : ['name', 'email', 'message'] transforms: email : "md5" http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/4b203dc0/_includes/comments-providers/staticman.html ---------------------------------------------------------------------- diff --git a/_includes/comments-providers/staticman.html b/_includes/comments-providers/staticman.html index 471fa86..2c2ef8a 100644 --- a/_includes/comments-providers/staticman.html +++ b/_includes/comments-providers/staticman.html @@ -1,4 +1,4 @@ -{% if site.repository and site.staticman.branch %} +{% if site.comment-repository and site.staticman.branch %} <script> (function ($) { var $comments = $('.js-comments'); http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/4b203dc0/_includes/comments.html ---------------------------------------------------------------------- diff --git a/_includes/comments.html b/_includes/comments.html index dfd0be7..018390f 100644 --- a/_includes/comments.html +++ b/_includes/comments.html @@ -12,7 +12,7 @@ <section class="g-comments" data-href="{{ page.url | absolute_url }}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</section> {% when "staticman" %} <section id="static-comments"> - {% if site.repository and site.staticman.branch %} + {% if site.comment-repository and site.staticman.branch %} <!-- Start static comments --> <div class="js-comments"> {% if site.data.comments[page.slug] %} @@ -34,7 +34,7 @@ <!-- Start new comment form --> <h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4> <p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "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/{{ site.repository }}/{{ site.staticman.branch }}"> + <form id="new_comment" class="page__comments-form js-form form" method="post" action="https://api.staticman.net/v1/entry/{{ site.comment-repository }}/{{ site.staticman.branch }}"> <div class="form__spinner"> <i class="fa fa-spinner fa-spin fa-3x fa-fw"></i> <span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span> http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/4b203dc0/content/about/contact/index.html ---------------------------------------------------------------------- diff --git a/content/about/contact/index.html b/content/about/contact/index.html index 3fd5c28..659f127 100644 --- a/content/about/contact/index.html +++ b/content/about/contact/index.html @@ -57,7 +57,7 @@ <meta property="og:type" content="article"> - <meta property="article:published_time" content="2016-12-30T19:04:24+08:00"> + <meta property="article:published_time" content="2016-12-30T21:36:48+08:00"> http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/4b203dc0/content/about/team/index.html ---------------------------------------------------------------------- diff --git a/content/about/team/index.html b/content/about/team/index.html index d8c80f3..5773fed 100644 --- a/content/about/team/index.html +++ b/content/about/team/index.html @@ -57,7 +57,7 @@ <meta property="og:type" content="article"> - <meta property="article:published_time" content="2016-12-30T19:04:24+08:00"> + <meta property="article:published_time" content="2016-12-30T21:36:48+08:00"> http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/4b203dc0/content/docs/best-practice-broker/index.html ---------------------------------------------------------------------- diff --git a/content/docs/best-practice-broker/index.html b/content/docs/best-practice-broker/index.html index a3a2491..e496ac7 100644 --- a/content/docs/best-practice-broker/index.html +++ b/content/docs/best-practice-broker/index.html @@ -57,7 +57,7 @@ <meta property="og:type" content="article"> - <meta property="article:published_time" content="2016-12-30T19:04:24+08:00"> + <meta property="article:published_time" content="2016-12-30T21:36:48+08:00"> @@ -395,57 +395,8 @@ If you just want to make it easy, you may only need a ASYNC_MASTER without SLAVE <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="best-practice-broker"> - <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> @@ -488,46 +439,26 @@ If you just want to make it easy, you may only need a ASYNC_MASTER without SLAVE - <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/docs/best-practice-consumer/index.html ---------------------------------------------------------------------- diff --git a/content/docs/best-practice-consumer/index.html b/content/docs/best-practice-consumer/index.html index 1bd3d1d..c4208fc 100644 --- a/content/docs/best-practice-consumer/index.html +++ b/content/docs/best-practice-consumer/index.html @@ -57,7 +57,7 @@ <meta property="og:type" content="article"> - <meta property="article:published_time" content="2016-12-30T19:04:24+08:00"> + <meta property="article:published_time" content="2016-12-30T21:36:48+08:00"> @@ -420,57 +420,8 @@ You can also use CONSUME_FROM_TIMESTAMP to consume messages produced after the s <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="best-practice-consumer"> - <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> @@ -513,46 +464,26 @@ You can also use CONSUME_FROM_TIMESTAMP to consume messages produced after the s - <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/docs/best-practice-namesvr/index.html ---------------------------------------------------------------------- diff --git a/content/docs/best-practice-namesvr/index.html b/content/docs/best-practice-namesvr/index.html index 2d4a357..efba9dc 100644 --- a/content/docs/best-practice-namesvr/index.html +++ b/content/docs/best-practice-namesvr/index.html @@ -57,7 +57,7 @@ <meta property="og:type" content="article"> - <meta property="article:published_time" content="2016-12-30T19:04:24+08:00"> + <meta property="article:published_time" content="2016-12-30T21:36:48+08:00"> @@ -383,57 +383,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="best-practice-namesvr"> - <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> @@ -476,46 +427,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> http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/4b203dc0/content/docs/best-practice-producer/index.html ---------------------------------------------------------------------- diff --git a/content/docs/best-practice-producer/index.html b/content/docs/best-practice-producer/index.html index fffbdb1..165732a 100644 --- a/content/docs/best-practice-producer/index.html +++ b/content/docs/best-practice-producer/index.html @@ -57,7 +57,7 @@ <meta property="og:type" content="article"> - <meta property="article:published_time" content="2016-12-30T19:04:24+08:00"> + <meta property="article:published_time" content="2016-12-30T21:36:48+08:00"> @@ -428,57 +428,8 @@ In default, you can only create only one producer with the same producer group i <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="best-practice-producer"> - <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> @@ -521,46 +472,26 @@ In default, you can only create only one producer with the same producer group i - <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/docs/cli-admin-tool/index.html ---------------------------------------------------------------------- diff --git a/content/docs/cli-admin-tool/index.html b/content/docs/cli-admin-tool/index.html index 1700631..8cd5002 100644 --- a/content/docs/cli-admin-tool/index.html +++ b/content/docs/cli-admin-tool/index.html @@ -57,7 +57,7 @@ <meta property="og:type" content="article"> - <meta property="article:published_time" content="2016-12-30T19:04:24+08:00"> + <meta property="article:published_time" content="2016-12-30T21:36:48+08:00"> @@ -456,57 +456,8 @@ See 'mqadmin help <command>' for more information on a specific command. <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="04-cli-admin-tool"> - <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> @@ -549,46 +500,26 @@ See 'mqadmin help <command>' for more information on a specific command. - <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/docs/cluster-deployment/index.html ---------------------------------------------------------------------- diff --git a/content/docs/cluster-deployment/index.html b/content/docs/cluster-deployment/index.html index b07acf0..782dfdf 100644 --- a/content/docs/cluster-deployment/index.html +++ b/content/docs/cluster-deployment/index.html @@ -57,7 +57,7 @@ <meta property="og:type" content="article"> - <meta property="article:published_time" content="2016-12-30T19:04:24+08:00"> + <meta property="article:published_time" content="2016-12-30T21:36:48+08:00"> @@ -460,57 +460,8 @@ Assuming binary RocketMQ is at <code class="highlighter-rouge">/home/rocketmq/di <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="05-cluster-deployment"> - <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> @@ -553,46 +504,26 @@ Assuming binary RocketMQ is at <code class="highlighter-rouge">/home/rocketmq/di - <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/docs/code-guidelines/index.html ---------------------------------------------------------------------- diff --git a/content/docs/code-guidelines/index.html b/content/docs/code-guidelines/index.html index 8db79cd..cb9991e 100644 --- a/content/docs/code-guidelines/index.html +++ b/content/docs/code-guidelines/index.html @@ -57,7 +57,7 @@ <meta property="og:type" content="article"> - <meta property="article:published_time" content="2016-12-30T19:04:24+08:00"> + <meta property="article:published_time" content="2016-12-30T21:36:48+08:00"> @@ -406,57 +406,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="07-code-guidelines"> - <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> @@ -499,46 +450,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> http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/4b203dc0/content/docs/core-concept/index.html ---------------------------------------------------------------------- diff --git a/content/docs/core-concept/index.html b/content/docs/core-concept/index.html index 7bcc745..cc0e2ef 100644 --- a/content/docs/core-concept/index.html +++ b/content/docs/core-concept/index.html @@ -57,7 +57,7 @@ <meta property="og:type" content="article"> - <meta property="article:published_time" content="2016-12-30T19:04:24+08:00"> + <meta property="article:published_time" content="2016-12-30T21:36:48+08:00"> @@ -495,57 +495,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="03-core-concept"> - <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> @@ -588,46 +539,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> http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/4b203dc0/content/docs/faq/index.html ---------------------------------------------------------------------- diff --git a/content/docs/faq/index.html b/content/docs/faq/index.html index d896580..a534789 100644 --- a/content/docs/faq/index.html +++ b/content/docs/faq/index.html @@ -57,7 +57,7 @@ <meta property="og:type" content="article"> - <meta property="article:published_time" content="2016-12-30T19:04:24+08:00"> + <meta property="article:published_time" content="2016-12-30T21:36:48+08:00"> @@ -469,57 +469,8 @@ The broadcaset consumption still ensures that a message is consumered at least o <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="07-frequently-asked-questions"> - <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> @@ -562,46 +513,26 @@ The broadcaset consumption still ensures that a message is consumered at least o - <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/docs/motivation/index.html ---------------------------------------------------------------------- diff --git a/content/docs/motivation/index.html b/content/docs/motivation/index.html index a37059f..44b3ffd 100644 --- a/content/docs/motivation/index.html +++ b/content/docs/motivation/index.html @@ -57,7 +57,7 @@ <meta property="og:type" content="article"> - <meta property="article:published_time" content="2016-12-30T19:04:24+08:00"> + <meta property="article:published_time" content="2016-12-30T21:36:48+08:00"> @@ -458,57 +458,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="02-motivation"> - <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> @@ -551,46 +502,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> http://git-wip-us.apache.org/repos/asf/incubator-rocketmq-site/blob/4b203dc0/content/docs/pull-request/index.html ---------------------------------------------------------------------- diff --git a/content/docs/pull-request/index.html b/content/docs/pull-request/index.html index bb50860..0314209 100644 --- a/content/docs/pull-request/index.html +++ b/content/docs/pull-request/index.html @@ -57,7 +57,7 @@ <meta property="og:type" content="article"> - <meta property="article:published_time" content="2016-12-30T19:04:24+08:00"> + <meta property="article:published_time" content="2016-12-30T21:36:48+08:00"> @@ -521,57 +521,8 @@ In this case all subsequent comments will automatically be copied to jira withou <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="06-best-practice-pull-request"> - <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> @@ -614,46 +565,26 @@ In this case all subsequent comments will automatically be copied to jira withou - <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/docs/quick-start/index.html ---------------------------------------------------------------------- diff --git a/content/docs/quick-start/index.html b/content/docs/quick-start/index.html index fe8bfee..c9bb13a 100644 --- a/content/docs/quick-start/index.html +++ b/content/docs/quick-start/index.html @@ -57,7 +57,7 @@ <meta property="og:type" content="article"> - <meta property="article:published_time" content="2016-12-30T19:04:24+08:00"> + <meta property="article:published_time" content="2016-12-30T21:36:48+08:00"> @@ -444,57 +444,8 @@ Send shutdown request to mqnamesrv<span class="o">(</span>36664<span class="o">) <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="01-quick-start-guide"> - <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> @@ -537,46 +488,26 @@ Send shutdown request to mqnamesrv<span class="o">(</span>36664<span class="o">) - <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/feed.xml ---------------------------------------------------------------------- diff --git a/content/feed.xml b/content/feed.xml index 4b9886d..ab2b002 100644 --- a/content/feed.xml +++ b/content/feed.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xml" href="/feed.xslt.xml"?><feed xmlns="http://www.w3.org/2005/Atom"><generator uri="http://jekyllrb.com" version="3.3.1">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2016-12-30T19:04:24+08:00</updated><id>//</id><title type="html">Apache RocketMQ</title><subtitle>The homepage of RocketMQ.</subtitle><author><name>{"name"=>nil, "avatar"=>"/assets/images/rmq-logo.png", "bio"=>"A fast, low latency, reliable, scalable, distributed MOM.", "location"=>"Hangzhou, China", "email"=>"[email protected]", "uri"=>"http://incubator.staging.apache.org/projects/rocketmq.html", "bitbucket"=>nil, "codepen"=>nil, "dribbble"=>nil, "flickr"=>nil, &quo t;facebook"=>nil, "foursquare"=>nil, "github"=>"apache/incubator-rocketmq", "google_plus"=>nil, "keybase"=>nil, "instagram"=>nil, "lastfm"=>nil, "linkedin"=>nil, "pinterest"=>nil, "soundcloud"=>nil, "stackoverflow"=>"questions/tagged/rocketmq", "steam"=>nil, "tumblr"=>nil, "twitter"=>"ApacheRocketMQ", "vine"=>nil, "weibo"=>nil, "xing"=>nil, "youtube"=>nil, "quora"=>"topic/RocketMQ"}</name><email>[email protected]</email><uri>http://incubator.staging.apache.org/projects/rocketmq.html</uri></author><entry><title type="html">Mastering Component Compatible Dependency</title><link href="/maven/mastering-component-compatible-dependency/" rel="alternate" type="text/html" title="Mastering Component Compatible Dependency" /><published>2016-12-23T00:00:00+08:00</published><updated>2016-12-23T00:00:00+08:00</updated><id>/maven/mastering-component-compatible-dependency</id><content type="html" xml:base="/maven/mastering-component-compatible-dependency/"><p>This article mainly includes three parts.at first,I will introduce compatibility principle(more details see <a href="http://blog.csdn.net/fengjia10/article/details/7799227">here</a>) briefly.followed by a detailed elaborating about Java component compatible dependency,including the interface-oriented programming,single component signature protection,single component compatibility protection and multi-component compatibility compile time checking.Finally is the review and prospect,especially about <strong>Dependency Mediator</strong> project.</p> +<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xml" href="/feed.xslt.xml"?><feed xmlns="http://www.w3.org/2005/Atom"><generator uri="http://jekyllrb.com" version="3.3.1">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2016-12-30T21:36:48+08:00</updated><id>//</id><title type="html">Apache RocketMQ</title><subtitle>The homepage of RocketMQ.</subtitle><author><name>{"name"=>nil, "avatar"=>"/assets/images/rmq-logo.png", "bio"=>"A fast, low latency, reliable, scalable, distributed MOM.", "location"=>"Hangzhou, China", "email"=>"[email protected]", "uri"=>"http://incubator.staging.apache.org/projects/rocketmq.html", "bitbucket"=>nil, "codepen"=>nil, "dribbble"=>nil, "flickr"=>nil, &quo t;facebook"=>nil, "foursquare"=>nil, "github"=>"apache/incubator-rocketmq", "google_plus"=>nil, "keybase"=>nil, "instagram"=>nil, "lastfm"=>nil, "linkedin"=>nil, "pinterest"=>nil, "soundcloud"=>nil, "stackoverflow"=>"questions/tagged/rocketmq", "steam"=>nil, "tumblr"=>nil, "twitter"=>"ApacheRocketMQ", "vine"=>nil, "weibo"=>nil, "xing"=>nil, "youtube"=>nil, "quora"=>"topic/RocketMQ"}</name><email>[email protected]</email><uri>http://incubator.staging.apache.org/projects/rocketmq.html</uri></author><entry><title type="html">Mastering Component Compatible Dependency</title><link href="/maven/mastering-component-compatible-dependency/" rel="alternate" type="text/html" title="Mastering Component Compatible Dependency" /><published>2016-12-23T00:00:00+08:00</published><updated>2016-12-23T00:00:00+08:00</updated><id>/maven/mastering-component-compatible-dependency</id><content type="html" xml:base="/maven/mastering-component-compatible-dependency/"><p>This article mainly includes three parts.at first,I will introduce compatibility principle(more details see <a href="http://blog.csdn.net/fengjia10/article/details/7799227">here</a>) briefly.followed by a detailed elaborating about Java component compatible dependency,including the interface-oriented programming,single component signature protection,single component compatibility protection and multi-component compatibility compile time checking.Finally is the review and prospect,especially about <strong>Dependency Mediator</strong> project.</p> <aside class="sidebar__right"> <nav class="toc">
