views:

12

answers:

0

For Akismet, the first requirement for checking a blog comment for spam is to pass what Akismet calls the blog. This parameter is described as such:

blog (required) The front page or home URL of the instance making the request. For a blog or wiki this would be the front page. Note: Must be a full URI, including http://.

Yet they don't give any examples of what they mean. Take for example the following three blog urls:

  1. blog.domain.com
  2. domain.com
  3. domain.com/blog

1 is a subdomain, but fully qualified and would be the blog url. One could also host the blog at 2 as it is also fully qualified.

3 is a sub URI and it confuses me. If I want to host my blog using 3 and use the Akismet API, what do I submit as the instance making the request? Do I submit domain.com/blog or do I submit domain.com?