On 2008/09/02, at 00:19, Mohit Sindhwani wrote:
john wrote:
Nevermind, a little patching and it's up and running, now just to
figure out what "To enable spam protection, you will need to set
your Akismet key and url in the Radiant config." is supposed to
mean...
Hi John
Can I urge you to please consider writing out the steps and a bit of
information about the "little patching" that you did into the Summer
Reboot Documentation Wiki? An example of an a page about an
extension is at:
http://wiki.radiantcms.org/Copy_and_Move - don't worry about
screenshots. I need to use comments in the next couple of weeks, so
I can create them for you when I get to it.
The Summer Reboot wiki is at: http://wiki.radiantcms.org/Summer_Reboot
The patching was mostly to radiant 0.6.6 to get it behaving close
enough to what the comments extension expects (i.e. 0.6.7+). I'd
suspect an up to date radiant install would need little or no effort
to get working.
As for the Akismet key, you can read more about akismet at their
website: http://akismet.com/ - if I understand it correctly, it will
help you scan the comments that have just been entered and give you
back information about whether it is likely to be spam. You can get
an Akismet key (free for personal use) by signing up for Wordpress - http://akismet.com/personal/
- a key comprises a key and the URL to which it applies. You'll
get both of these when you sign up.
You need to enter this key into the Radiant configuration so that
the comments extension can use it to probe Akismet if comments are
spam. For changing items in the Radiant config, there's an example
here: http://wiki.radiantcms.org/Customizations_II in the first
section.
I looked at the source of the extension and found this:
def akismet
@akismet ||= Akismet.new(Radiant::Config['comments.akismet_key'],
Radiant::Config['comments.akismet_url'])
end
I'm guessing you need to set:
Radiant::Config['comments.akismet_key'] and
Radiant::Config['comments.akismet_url'] Hope this helps. Also, hope
that you'll seriously consider documenting the steps on Summer
Reboot :) Cheers, Mohit. 9/2/2008 | 2:19 PM.
Thanks, about as soon as I hit send I realized that "Askimet" must be
something external to radiant, so now I've got my key/url pair but no
time to work to that project. I should have some time this week (or
next) to return to this issue and maybe even document the process.
_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant