vti / bootylicious

LIghtweight blog engine on Mojo steroids!
84 stars 13 forks source link

Comments plugin (moderated) #2

Closed Bzek closed 14 years ago

Bzek commented 14 years ago

Comments plugin (moderated), yeah, neeed.

memowe commented 14 years ago

IMO not needed, since DISQUS can add (moderated) comments to your blog via JS.

Bzek commented 14 years ago

I want google can index comments too... Can google index DISQUS (or over JS comment system) comments for blog?

vti commented 14 years ago

Google can index some js i think.

Bzek commented 14 years ago

I think vti has a good idea on comment system. /comments/20091117-topic/20091117T22:05:07-1.txt for first comment

/comments/20091117-topic/20091117T22:25:12-2.txt for second comment

And -r mode for file for not approved comments.

May be +x mode for new comments will be usefull (cause author of a blog should know about new comments; script + sendmail + crontab)

tardisx commented 14 years ago

Nice if they can be approved via web interface as well.

So author gets an encoded URL to click to approve it, then bootylicious changes the filename/mode/whatever so that the comment appears.

And another link as well to delete the comment as spam of course.

Definitely preferable to build it in rather than use DISQUS.

I think for platform compatibility it would be better to use parts of the filename, or the directory to determine moderated status.

tardisx commented 14 years ago

I have a comments plugin under development. Really hacky still, wouldn't recommend using it, but I welcome all to take a look.

http://github.com/tardisx/bootylicious-plugin-comments

Code starting point was the gallery plugin, I need to acknowledge that fact in the docs still.

vti commented 14 years ago

@tardisx This looks very promising, but more tests are needed :)

tardisx commented 14 years ago

@vti there are now some tests and a lot more sanity checking.

advice on better testing is appreciated, I'm not sure how to test form submissions since they are wrapped in the bootylicious layout which is unavailable during the test.

I've made lots of general cleanup and sanity checks and I'd love for you to take a look!