Tuesday, December 1, 2009

Need your idea!

I believe I can claim that BRPS is a relative stable app now. So I think I have to move on, find my next target to work on.

So, here, I am asking for your idea. It can be anything to help you blog, another widget perhaps? Or you can jump out of this Blogger thing, anything could help you on anything as long as it is programmable. Hey, I do coding, remember?

Please do not be shy to respond with this! Shout out your ideas, I will do the rest for you!

And it will be free and open source!

Monday, November 30, 2009

The first donation to BRPS

Be honest, I didn't expect to receive any donation at the time I put on the donation button. I silently put it on website and blog without writing about it in any place. About 8 hours ago, I received the first donation to BRPS.

I am very thankful for the support from this donor, Deborah Swain, go check out her blog, Living in Rome.

If you also want to donate, please go to this newly created donation page and please read the notice before you donating.

Thank you for reading this!

PS. this would be the only post about donation and donor. I posted it because it's the first.

Friday, November 27, 2009

About Loading...

I think I must address this issue because of newly added change. When you see "Loading..." and it takes a lifetime to stay in your way. It does not mean anything but the server encounter the problem, it simply replies 500 Internal Server Error to client-side JavaScript (brps.js).

In plain English, there might be a bug in BRPS and it couldn't resolve it, it couldn't fail gracefully, so you never get a nice error message.

The client-side JS does have a code to deal with it, to catch the error, but I do not know why it does not work. I will be investigating it when I want to .

Again, "Loading..." do not mean your blog is blocked, is accepted, is unaccepted, it simply says BRPS goes wrong with something.

Why Enforce Using The Key?

(Last updated on 2009-11-27)

The reasons are simple,
  1. I want to prevent some people keep duplicate blogs with same template.
  2. I want to prevent pre-installed template, not every blog owner wants Related Posts.
  3. I want to make sure you have the chance to read the Blocking Policy.
The new key is easier to install, you only put ?key=[YOURKEY] into the previous code. You can get the key and the instruction here.

One key can only be used for one specific blog and this is the point to stop those badass bloggers (They don't deserve that title). They have to manually get the key for each blog. If you are a normal blog, this will not take you much effort because you should only have one or a few blogs.

This change will only affect unaccepted blogs. If you do not see a message to ask you to add this new key, then it means your blog is accepted.

If you have more questions, please post at discussion group.

Updated on 2009-11-27 11:15 pm UTC

I made few change to the code and without checking. So you may have see "Loading..." and no more on your blog. It should be resolved and "Loading..." has nothing to do with being blocked or being (un)accepted. It's just a code getting stuck, it's an error on server side.

And you have not updated your installation code and saw "Could not find the key...," please use your browser refresh button to make sure you get the latest client-side JavaScript. If your blog is accepted, it should load the related list without the key specified, or you will be asked to go to obtain a key.

The problem should be gone as you read this update, sorry for the inconvenience.

And this is for record, the completed requests:

Chart of completed requests in last 24 hours

I have no idea why 8pm UTC could still have those request completed. Anyway BRPS would be having very light server load for a long time. :-)

Tuesday, November 10, 2009

Yeah! BRPS is one year old!

One year ago (11/11/2008), I announced that BRPS had been bringing online. It reached 1000 requests/day in less a month. A month old, it ran of free quota because more than 200,000 requests a day. Therefore, I started to tweak the code to make it run faster and use less resources. I also implemented a reviewing system to allow me easily to block some bad blogs.

The results are great. I doubled the capacity with same amount of resource. Currently it has 160,000+ requests a day (1.85+ completed requests/second) and 350+ active blogs every hour. More than 2,000 blogs and 50,000 posts are stored in datastore.

Currently, it has 2177 blogs registered, only 140 blogs are accepted (6.43 %) and 831 blogs are blocked (38.17 %). You may think blocking rate is quite high. In deed, there are a lot of bad blogs on Blogger. I have to honey to say after I started to review blogs, I have tagged people from certain country who using Blogger (Only those use blogs, they still have good and talent people, a lot!) with very low value. 95% of their blogs are involving copyright infringement. All posts were copied from here and there, they don't even have rights to claim fair use. Some of them are suspicious to using automatically method to create mass blogs and posts. They are just awful and without moral and honor.


Statistics Page

I had thought about to expand to BRPS' features, but the resources didn't allow me to do that. I want to keep free. The incoming bandwidth (750 MB out of 1000 MB) is the current one would probably to exceed the quota. If BRPS have more bloggers use it, soon, it will blow and I have no way to avoid it.


Dashboard of BRPS in GAE


Quota Details

Anyway, Happy Birthday to BRPS!

Friday, October 23, 2009

Blogger down, BRPS knows

Hours ago, I tried to get into Blogger dashboard but I got bX-kn2493
 then I thought it would be fixed soon. After a while, I went to do reviewing, then I found out requests count had a big drop. I checked one of my blogs, I got bX-59cppw, I realized it's whole Blogger down.

Here are two charts, the first one was taken from App Engine, it shows Requests/Second versus Last 24-hour time:


Second one is the Completed Requests over Last 24-hour time:


Last one is the Active Blogs over Last 24-hour time:



I wonder what Blogger did, maybe it's just a hardware failure?

Wednesday, October 7, 2009

About Reviewing

I review every blog, usually it only takes me five to thirty second to decide if this blog should be marked as
  • Reviewed — I think it's okay and BRPS will notice me this blog again 90 days after this reviewing.
  • Accepted — I gives it green light, it's a good blog, I don't need to review it anymore.
  • Blocked — It violates Blocking Policy.
Here is a quick screenshot of reviewing interface:

Generally, if your blog is quite unique—you customize your layout quite good and don't have crap Flash or images, then your blog should be marked as accepted. If you use those awful-professional template, it could be marked as reviewed.

Note that you could only know if your blog is blocked or not, you wouldn't know if it's reviewed or accepted. If your blog is blocked, you will get a warning message instead of a list of related posts.

Blocking Policy

(Last updated on 1/6/2010)

BRPS is a free service, it uses free quota of what Google App Engine provided. It wasn't planned to charge, however the quota is limited and lots of blog using BRPS, therefore some blogs may not be using BRPS.

Any blog is having the following
  • Copyright infringement (If your blogs have links to any illegal downloads, directly or indirectly, upload by youself or not, please DO NOT use BRPS. Otherwise, your blogs will be BLOCKED for sure),
  • Hate against a protected group,
  • Adult or pornographic images,
  • Promotion of dangerous and illegal activity,
  • Content facilitating phishing or account hijacking,
  • Impersonated user identity, or
  • Abuse this service.
will definitely be blocked.

There are more could be used as blocking reasons:
  • Similar contents — There are few blogger (useless content creator) creating lots of blogs with very similar content in each of their blogs. Those contents are useless, the primary purpose is to expose their blogs and get revenues.
  • Referral contents ­— Almost all posts have link to Amazon or some online stores with their referral code. Those blogs are just created to make money.
  • Few posts — BRPS automatically block blogs only have less than 20 posts. There is no much benefit of using BRPS. Please don't waste server resources. If you got blocked, request a unblocking review once your blog post count reaches 20. (Added on 10/18/2009, updated on 11/17/2009)
  • Test blog—If you are testing BRPS on your sandbox blog, that blog will be blocked. (Added on 10/18/2009)
  • Failed installation/script removed blogs — Script installed without key or incomplete installation. Blogs have removed the script. (Added on 1/6/2010)
The reasons above are not the only ones, your blogs could be blocked for any reason.

If your blogs are blocked and you believe your blogs shouldn't be deserved for that, please report with your blog URL.

You can still host your own BRPS on Google App Engine, you can grab the code and run on your own. Please DO NOT ask for help about self hosting!

Special note to template developer: Please DO NOT activate BRPS if you add it into your template creations. Comment out the script! And write a instruction to guide your user to activate it.Not everyone needs Related Posts in their blog. (Added on 10/18/2009) (Removed on 1/6/2010)

Wednesday, July 8, 2009

Explanation of “No related posts found.”

The blogger of As the crow flies (this blog has good photos, go check it out) asked a question about why is one of her post gets no results. I have seen many blog posts seem to have same problem from server logs, but this is the first time I got asked. Probably a good time to address the issue for you.

Here is a short answer:

When BRPS inquires about
  • same label posts, or
  • specific post's labels
to Google Blogger, sometimes, Blogger replies with 404 NOT FOUND. Which might mean there is
  • no posts under such label, or
  • no such post,
but there is actually some posts are filed under such label or there indeed has that post. The cause is unknown to me, and I am not able to resolve this. When this happens, it may result “No related posts found.” to your blog posts.

Fortunately, the problem is not permanent. If BRPS inquires again later, it may get the correct result if Blogger no long respond 404. But, since BRPS has 24 hours cache time for each post's labels and same label posts list, the result will have to wait at least 24 hours (up to 48 hours) to get updated.

Please bear with this issue if this badly happens on your blogger.

Saturday, April 11, 2009

Moved here

All new blog posts will be posted here, you can read old posts here.