Skip to content Skip to sidebar Skip to footer
How to find out the number of other people's blog posts and comments

How to find out the number of other people's blog posts and comments

- - Post a Comment


Is there a way to find out the number of other people's blog posts and comments? Hmm, apart from asking the blog owner directly, it turns out that there is an easy script that you can use to see for yourself.

At first glance, knowing the number of other people's posts is a very trivial thing. But it turns out that not a few bloggers want to know the number of articles on other people's blogs.

For example, sometimes we may also be curious when there are blogs that have successfully monetized their blogs. What is the niche? what is the amount of traffic? So how many posts do you have?

With this data, we can make comparisons that will make it easier for us to determine the target of our own blog.

To find out, actually we can just ask the blog owner directly. Unfortunately sometimes we feel uncomfortable asking important things like this. Not to mention it seems that many blog owners might not open sensitive data like this.

Well, for those of you who are curious to see the number of other people's blog posts, it turns out that there is an easy way, you know! Not only the number of articles, we can also know the number of comments on the blog.

To do so, we only need this code,

<script style="text/javascript"> function showpostcount(json) { document.write('Jumlah Artikel : <u><b>' + parseInt(json.feed.openSearch$totalResults.$t,10) + '</b></u><br>');}</script> <script src="https://bisablogdemo.blogspot.com/feeds/posts/default?alt=json-in-script&callback=showpostcount"></script><script style="text/javascript"></script> <script style="text/javascript"> function numberOfComments(json) { document.write('Jumlah Komentar : <u><b>' + json.feed.openSearch$totalResults.$t + '</b></u><br>');}</script> <script src="https://bisablogdemo.blogspot.com/feeds/comments/default?alt=json-in-script&callback=numberOfComments"></script>

Replace bisablogdemo.blogspot.comwith your own website URL.

Then how to use it?

To execute the code, we can use an online HTML editor such as CodePen.io , W3Schools , Jsfiddle.net , or js.do . For example, this time I will use js.do, how,

  • Go to the js.do site
  • Copy the code above (don't forget to change the blog name!)
  • Click the RUN CODE . button
  • If you have, a description of how many articles will appear and the number of comments on the blog will automatically appear. Finished
How to find out the number of articles and the number of comments on other people's blogs

INFO: If you are using Codepen.io or JSfiddle.net, copy the above code into the HTML field.


Well, apart from knowing other people's blog traffic , it turns out that we can also see the number of other people's blog posts as well.

For additional information, this script can only be used on Blogger blogs. So if the website you want to check turns out to be using WordPress, Joomla, Hugo, etc., this script will not work.

Post a Comment for "How to find out the number of other people's blog posts and comments"