Social comments integrated with dlang.org

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Dec 29 06:15:06 PST 2012


On 12/28/12 11:56 PM, Walter Bright wrote:
> On 12/28/2012 8:36 PM, Andrei Alexandrescu wrote:
>> All - please take a look at Sönke's integration of Disqus with dlang.org:
>>
>> http://vibed.org/temp/d-programming-language.org/phobos/std/algorithm/balancedParens.html
>>
>>
>>
>> What do you think? Again, I'm very much into the idea of integrating
>> community-provided content but I was hoping a more D-friendly thing,
>> like PHP
>> documentation has PHP-friendly comments.
>>
>> In particular, I'm hoping to allow people to include code runnable
>> on-line in
>> disqus comments. Is that possible?
>>
>> Other thoughts?
>
>
> First off, thanks to Sönke for doing this.
>
> I'm a little concerned (well, more than a little concerned) about it
> becoming a collection of junk posts. How does the PHP one avoid that?

Let's see. I went to http://goo.gl/x0h2O and clicked on the small "add a 
note" link. That took me to http://goo.gl/bWtzF, which is essentially a 
warning/instructions page. That page mentions the added content is 
moderated manually.

So, here's what I see as differences between Sönke's current integration 
of disqus and the PHP docs, along with questions for Sönke:

1. PHP's list is flat, ours is a tree. Flat encourages one-shot 
examples, tree encourages conversations. Not sure which is better. Is it 
possible to limit depth in disqus?

2. PHP has compulsive moderation before posting, we don't seem to have 
any. Is it possible to add moderation before (or at least after) 
posting? I see Sönke has a "mod" tag next to his name.

3. Both allow anonymous comments, but since PHP is compulsively 
moderated that's less of an issue. Can we require registration 
(disqus/facebook/twitter/g+) for posting?

4. PHP's comments with code have it formatted beautifully just like the 
main site. Disqus does support some D apparently but an older version. 
Is it possible to add some styling so we format code snippets just the 
same as our current runnable examples?

5. Both have voting, and PHP sorts comments in decreasing order by 
upvotes. Can we also sort the same? Also, can we add some randomness 
(e.g. randomly push one of the comments in a top position) such that new 
good content has a chance to be upvoted?


Andrei


More information about the Digitalmars-d mailing list