switched to disqus, intensedebate didn't worked
This commit is contained in:
parent
eed8ea27f8
commit
0cb17aa4ee
5 changed files with 688 additions and 704 deletions
|
@ -93,25 +93,25 @@
|
||||||
<%= tradOf(:subscribe) %>
|
<%= tradOf(:subscribe) %>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
|
||||||
$(document).ready(function(){
|
|
||||||
$('#comment').hide();
|
|
||||||
$('#clickcomment').click(showComments);
|
|
||||||
});
|
|
||||||
function showComments() {
|
|
||||||
$('#comment').show();
|
|
||||||
$('#clickcomment').fadeOut();
|
|
||||||
}
|
|
||||||
document.write('<div id="clickcomment"><%= tradOf(:clickForComment) %></div>');
|
|
||||||
</script>
|
|
||||||
<div class="flush"></div>
|
<div class="flush"></div>
|
||||||
|
|
||||||
<div class="corps" id="comment">
|
<div class="corps" id="comment">
|
||||||
<h2 class="first"><%= tradOf(:comment) %></h2>
|
<h2 class="first"><%= tradOf(:comment) %></h2>
|
||||||
<noscript>
|
|
||||||
<%= tradOf(:enableJavascriptToComment) %>
|
<div id="disqus_thread"></div>
|
||||||
</noscript>
|
<script type="text/javascript">
|
||||||
<%= generateIntenseDebateThread %>
|
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
||||||
|
var disqus_shortname = 'yannesposito'; // required: replace example with your forum shortname
|
||||||
|
|
||||||
|
/* * * DON'T EDIT BELOW THIS LINE * * */
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||||
|
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="entete" class="corps_spaced">
|
<div id="entete" class="corps_spaced">
|
||||||
|
|
|
@ -18,6 +18,6 @@ def generateIntenseDebateThread
|
||||||
var idcomments_post_url = 'http://yannesposito.com#{protectedPath}';
|
var idcomments_post_url = 'http://yannesposito.com#{protectedPath}';
|
||||||
</script>
|
</script>
|
||||||
<span id="IDCommentsPostTitle" style="display:none"></span>
|
<span id="IDCommentsPostTitle" style="display:none"></span>
|
||||||
<script type='text/javascript' src='#{@config[:webprefix]}/js/genericCommentWrapperV2.js'></script>
|
<script type=”text/javascript” src=”http://www.intensedebate.com/js/genericCommentWrapperV2.js”></script>
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
|
@ -1956,33 +1956,25 @@ O(n².log(n)) to O(n³).</p>
|
||||||
Subscribe
|
Subscribe
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
|
||||||
$(document).ready(function(){
|
|
||||||
$('#comment').hide();
|
|
||||||
$('#clickcomment').click(showComments);
|
|
||||||
});
|
|
||||||
function showComments() {
|
|
||||||
$('#comment').show();
|
|
||||||
$('#clickcomment').fadeOut();
|
|
||||||
}
|
|
||||||
document.write('<div id="clickcomment">Comments & Share</div>');
|
|
||||||
</script>
|
|
||||||
<div class="flush"></div>
|
<div class="flush"></div>
|
||||||
|
|
||||||
<div class="corps" id="comment">
|
<div class="corps" id="comment">
|
||||||
<h2 class="first">comments</h2>
|
<h2 class="first">comments</h2>
|
||||||
<noscript>
|
|
||||||
You must enable javascript to comment.
|
|
||||||
</noscript>
|
|
||||||
|
|
||||||
|
<div id="disqus_thread"></div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var idcomments_acct = 'a307f0044511ff1b5cfca573fc0a52e7';
|
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
||||||
var idcomments_post_id = '/Scratch/en/blog/Haskell-OpenGL-Mandelbrot/';
|
var disqus_shortname = 'yannesposito'; // required: replace example with your forum shortname
|
||||||
var idcomments_post_url = 'http://yannesposito.com/Scratch/en/blog/Haskell-OpenGL-Mandelbrot/';
|
|
||||||
</script>
|
|
||||||
<span id="IDCommentsPostTitle" style="display:none"></span>
|
|
||||||
<script type='text/javascript' src='/Scratch/js/genericCommentWrapperV2.js'></script>
|
|
||||||
|
|
||||||
|
/* * * DON'T EDIT BELOW THIS LINE * * */
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||||
|
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="entete" class="corps_spaced">
|
<div id="entete" class="corps_spaced">
|
||||||
|
|
|
@ -1956,33 +1956,25 @@ O(n².log(n)) to O(n³).</p>
|
||||||
s'abonner
|
s'abonner
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
|
||||||
$(document).ready(function(){
|
|
||||||
$('#comment').hide();
|
|
||||||
$('#clickcomment').click(showComments);
|
|
||||||
});
|
|
||||||
function showComments() {
|
|
||||||
$('#comment').show();
|
|
||||||
$('#clickcomment').fadeOut();
|
|
||||||
}
|
|
||||||
document.write('<div id="clickcomment">Commentaires & Partage</div>');
|
|
||||||
</script>
|
|
||||||
<div class="flush"></div>
|
<div class="flush"></div>
|
||||||
|
|
||||||
<div class="corps" id="comment">
|
<div class="corps" id="comment">
|
||||||
<h2 class="first">commentaires</h2>
|
<h2 class="first">commentaires</h2>
|
||||||
<noscript>
|
|
||||||
Vous devez activer javascript pour commenter.
|
|
||||||
</noscript>
|
|
||||||
|
|
||||||
|
<div id="disqus_thread"></div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var idcomments_acct = 'a307f0044511ff1b5cfca573fc0a52e7';
|
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
|
||||||
var idcomments_post_id = '/Scratch/fr/blog/Haskell-OpenGL-Mandelbrot/';
|
var disqus_shortname = 'yannesposito'; // required: replace example with your forum shortname
|
||||||
var idcomments_post_url = 'http://yannesposito.com/Scratch/fr/blog/Haskell-OpenGL-Mandelbrot/';
|
|
||||||
</script>
|
|
||||||
<span id="IDCommentsPostTitle" style="display:none"></span>
|
|
||||||
<script type='text/javascript' src='/Scratch/js/genericCommentWrapperV2.js'></script>
|
|
||||||
|
|
||||||
|
/* * * DON'T EDIT BELOW THIS LINE * * */
|
||||||
|
(function() {
|
||||||
|
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
||||||
|
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
|
||||||
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
||||||
|
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="entete" class="corps_spaced">
|
<div id="entete" class="corps_spaced">
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue