Blog finder – find people and blogs

Blog finder

A tool to find people on blogs

Blog Finder is live here!

But, what is BlogFinder?

When reading a blog, you find comments and also, on WordPress.com, likes, i.e. someone is telling she/he likes a post.

Usually you see one post at a time, but maybe you are interested in seeing all the users that commented or put a like. Blog Finder solves this problem: it scans all the posts in the time period specified and shows a list of users that commented or liked a post.

You can select last week, last month or last six months as periods of time.

The list of commenters is sorted by the number of comments made, the list of posts can be sorted by creation date or  by number of comments

Blog Finder finds other blogs too

Blog Finder lets you find other blogs too because when listing the users that commented a blog, it shows also the user URL which is usually the user’s site or blog, and often the user’s blog for users that leave comments on blog sites like WordPress.com

What blogs Blog Finder works with

Currently Blog Finder works with WordPress.com blogs and with every WordPress privately owned blog, and there are millions of these blogs out there! 🙂

If I see interest in the product I may extend Blog Finder data fetching to Blogger too.

How Blog Finder works

Blog Finder uses the WordPress REST API and the WordPress.com REST API to fetch data about blogs, comments and likes (they are quite similar, but not equal).

The WordPress REST API

The WordPress REST API lets a developer query a WordPress site just by issuing some REST calls like

asite.com/wp-json/wp/v2/posts?=search[keyword]

which searches for posts containing a specific keyword.

This way you don’t have to interact with WordPress using PHP or querying the database, you can also use pure JavaScript only.

The WordPress REST API was introduced into WordPress in the 4.7 release.

To use the WordPress REST API, you can issue direct “low level” HTTP calls, but you can also use the Node WP API (it is called Node WP API but works even without Node).

The same is true with the WordPress.com REST API: there is a JavaScript client, WP COM JS

You can find a list of WordPress REST API applications here.

Blog Finder autodetect

Some blogs show a private domain name (I mean not a WordPress.com subdomain name), but are actually hosted on WordPress.com, so one should access them using the WordPress.com REST API. Blog Finder tries first using the right call analyzing the domain name, but if it gets an error, it tries then to check if the blog is hosted on WordPress.com. In this way the app is able to work both with WordPress.com blogs ending in .wordpress.com, and with privately held blogs and with blogs with an own domain name but hosted on WordPress.com

Blog Finder source code

Blog Finder source code is released under the MIT License and can be found here

Tools used

  • React is used to build the user interface
  • MobX is used to maintain the app state
  • Webpack is used to bundle modules
  • Blog finder uses the promise queue package to be polite and make only two request at a time when fetching data.

Blog finder interface

GO TO THE APP

 

There are other ways to search blogs. I wrote about them in the article  How to find new and interesting blogs. The italian version of the article can be found at Come trovare nuovi e interessanti blog

Leave a Reply

Your email address will not be published. Required fields are marked *