December 29, 2012
On 29/12/2012 05:36, 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?
>
>
> Thanks,
>
> Andrei

Good experience with this in PHP and jQuery.
I think it is a great way to help people coming to the language who do not yet know all the gripes and grumbles.

About the cloud aspect: Does Disqus have a backup feature?
December 29, 2012
Am 29.12.2012 10:01, schrieb Faux Amis:
> 
> Good experience with this in PHP and jQuery.
> I think it is a great way to help people coming to the language who do not yet know all the gripes
> and grumbles.
> 
> About the cloud aspect: Does Disqus have a backup feature?

It has an "export" feature which uses an XML based format: http://help.disqus.com/customer/portal/articles/472149-comments-export

They state that it cannot be imported again, but a WordPress based format can: http://help.disqus.com/customer/portal/articles/472150

Anyway, backup is possible, but the (unlikely I'd guess) case that it is really needed will make some additional conversion work necessary. Doesn't seem to be a big deal, though.
December 29, 2012
On 12/28/2012 11:30 PM, Sönke Ludwig wrote:
> Am 29.12.2012 07:08, schrieb Walter Bright:
>> On 12/28/2012 8:56 PM, Walter Bright wrote:
>>> 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?
>>
>> Further perusal of the PHP ones show quite a bit of junk posts. Is there a way to enable a single
>> button delete for the moderator?
>
> As a moderator you have quick access to "Mark as spam", "Blacklist" and "Delete" for each message
> and there is a separate moderation page, where all messages can be filtered and handled in batches.
>
> Also there is voting for ordinary users, which at least should quickly move them to the bottom (not
> sure if they get collapsed as on reddit at some point).
>

I know there are ways to cheat using the voting system, and reddit has a way to deal with that, too.

Essentially, none of these systems are foolproof, and may wind up requiring constant attention to keep the spam out.
December 29, 2012
Am 29.12.2012 10:48, schrieb Walter Bright:
> Essentially, none of these systems are foolproof, and may wind up requiring constant attention to keep the spam out.

Regarding spam, it also supports the following:

 - Allow only registered users to post or require pre-moderation for unregistered users or users
without validated email address
 - Black/whitelists for users, e-mail addresses, IPs and keywords
 - A list of restricted words that will cause a message to require pre-moderation
 - Automated spam filtering using Akismet

Together I think these should be very effective at dealing with both, spam and troll comments

December 29, 2012
On Saturday, 29 December 2012 at 07:56:15 UTC, F i L wrote:
> I don't think it should be collapsed by default (it's less googlable that way).. just throwing that out there.

Disqus comments cannot be indexed by Google either way, as Disqus is a purely JavaScript-based comment system.
December 29, 2012
AFAIK, Google Bot can do some basic JavaScript.

On Saturday, 29 December 2012 at 12:40:13 UTC, Vladimir Panteleev wrote:
> On Saturday, 29 December 2012 at 07:56:15 UTC, F i L wrote:
>> I don't think it should be collapsed by default (it's less googlable that way).. just throwing that out there.
>
> Disqus comments cannot be indexed by Google either way, as Disqus is a purely JavaScript-based comment system.

December 29, 2012
Am 29.12.2012 13:40, schrieb Vladimir Panteleev:
> On Saturday, 29 December 2012 at 07:56:15 UTC, F i L wrote:
>> I don't think it should be collapsed by default (it's less googlable that way).. just throwing that out there.
> 
> Disqus comments cannot be indexed by Google either way, as Disqus is a purely JavaScript-based comment system.

They claim otherwise: http://disqus.com/for-websites/control-and-seo

"Disqus is fully indexable for search engines out- of-the-box. We have been approved by the Google Search Quality team to be organically crawled unlike any other comment platform."
December 29, 2012
On Saturday, 29 December 2012 at 06:08:30 UTC, Walter Bright wrote:
> Further perusal of the PHP ones show quite a bit of junk posts. Is there a way to enable a single button delete for the moderator?

As regards PHP I have to admit that I hardly ever use the code examples in the comment section - too basic and too messy. The best real world PHP code is still either on Stackoverflow or on webprogrammers' homepages, articles etc. But that is because PHP is used by amateurs and professionals alike, I think, (cf. http://w3techs.com/technologies/details/pl-php/all/all). In the case of D, I trust that the code samples will be of high quality given that the D community consists mainly of programming and computer science experts (and I exclude myself here!) or at least people with a keen interest in the subject. D could definitely do with more code samples especially those showing clever and optimal ways of doing things (commenting on the pros and cons like on Stackoverflow).
December 29, 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
December 29, 2012
On 12/29/12 12:54 AM, Maxim Fomin wrote:
> It is easy to open discussion here and make a pull request to dpl.org,
> so I see no reason in allowing user comments in official spec site.

I wouldn't say it's that easy. Also, integration of user provided content has been a huge success for PHP.

Andrei
1 2 3 4 5 6
Top | Discussion index | About this forum | D home