[spam-stopper] another lyceum ?

Andrew Ferguson andrew at fergcorp.com
Tue May 2 21:16:13 UTC 2006


The API key is used for almost all requests made to the Akismet server 
except for the API Key Validity check. Since you won't be checking any 
keys if you key is hard coded, your can ignore that scenario.

In short, you hard code the API key by changing the host because the API 
key is sent as a sub-domain of the host (fourth level domain name, 
actually). So, all requests should be sent to the host
aoeu1aoue.rest.akismet.com, where "aoeu1aoue" is your API key.

Hopefully that makes sense.

Andrew Ferguson

andrew at fergcorp.com
http://www.AndrewFerguson.net
206-948-1701



Shane Bishop wrote:
> I hate to be such a pest, but I was actually hoping for a bit more 
> instruction. I realize that I'll probably have to hardcode the API key 
> in (at least for the near future), but after looking through 
> akismet.php, and several attempts at doing just that, I'm a bit lost 
> as to how exactly it can be done.
>
> Shane
>
> Matt Mullenweg wrote:
>> Shane Bishop wrote:
>>> I'd like to be able to run the whole system on one key (it's for a 
>>> non-profit), so that users don't even have to worry about setting up 
>>> anti-spam capability on their own.
>>
>> Just hardcode the API host in and remove the configuration screen.
>>
>> Even if you're a non-profit, send something to the contact form 
>> before doing this though, as putting too many blogs on a single key 
>> without pinging us will get you blocked.
>>
> _______________________________________________
> spam-stopper mailing list
> spam-stopper at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/spam-stopper



More information about the spam-stopper mailing list