disqus

Retrieve comments from website using disqus

女生的网名这么多〃 提交于 2019-12-09 13:03:11
问题 I would like to write a scraping script to retrieve comments from cnn articles. For example, this article: http://www.cnn.com/2012/01/19/politics/gop-debate/index.html?hpt=hp_t1 I realize that cnn uses disqus for their comment discussion. As the comment loading is not webpage-based (ie, prev page, next page) and is dynamic (ie, need to click "load next 25"), I have no idea how to retrieve all the 5000+ comments for this article. Any idea or suggestion? Thanks so much! 回答1: The option for

How to remove Disqus reaction from the counter?

拈花ヽ惹草 提交于 2019-12-09 02:31:10
问题 Two questions for Stackoverflow ninjas: I have a blog using Disqus. However, the theme I'm using do not have space to have the 'Reactions' (# of Twitters), just have the space for the numbers of the Comments. OK, Basically I do not have space enough to stay with this 'Reactions' provided for Disqus. Does anyone knows how could I remove just the 'Reactions" counts from Disqus? The new Disqus put a box with "Your site is using the new Disqus. Check the Disqus 2012 F.A.Q. or visit our support

Using Disqus / reCaptcha in a Meteor Application

时光毁灭记忆、已成空白 提交于 2019-12-08 01:38:54
问题 I'm working on an application using Meteor. I am trying to use reCaptcha on one of my forms, and also the Disqus comments system on some of my pages. But the problem is, none of these are being rendered when I run the meteor server. Here's the sample Disqus code I'm adding to my template: <script type="text/javascript"> /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ var disqus_shortname = 'HIDDENfromstackoverflow'; // required: replace example with your forum

how can i limit showing comments in disqus comment box

♀尐吖头ヾ 提交于 2019-12-07 05:28:29
问题 I put a disqus comment box in my website, but that shows all comments at once. I want to configure the limit of showing comments. How can I do this? 回答1: On this page: disqus, the missing manual disqus_per_page Number of comments per page. 0 for no limit. Default: 25. 回答2: With Disqus 2012, there's no supported way to limit the number of comments shown on a page. By default the pagination begins after 50 comments, however. 来源: https://stackoverflow.com/questions/14102939/how-can-i-limit

Disqus API - Post -> What does highlight do?

杀马特。学长 韩版系。学妹 提交于 2019-12-06 12:56:31
I'm currently comparing commenting systems and try to find out which comment system allows anything close to "editors picks" - that is admins can flag a post/comment as valuable and once a discussion is closed the valuable posts can be fetched via API. So far the only system that seems to do it is disqus though it seems to be not clear because I find no explanations for the following method: http://disqus.com/api/docs/posts/highlight/ Does anybody know what exactly highlighting in disqus means? Highlighting was a feature a sort order in the embed; it allowed moderators to highlight certain

Implementing disqus within a mobile app

混江龙づ霸主 提交于 2019-12-06 12:43:26
问题 I have a problem implementing Disqus in an app created with sencha touch and phonegap. The web app developed by Sencha Touch Disqus is working fine, however when I make a build through phonegap to Android or iOS, the disqus comment doesn't show. I implement the script in a Sencha x-Panel with HTML properties. 回答1: In order for the Disqus embed to load, it must come from a valid referrer - typically this referrer when on the phone is something like the file system path. The ideal way to handle

disqus— change 'comment' word

寵の児 提交于 2019-12-06 11:10:51
问题 how i can change 'comment' word to 'review' from total number of comment [ 6 comment ] -> [ 6 review ] 回答1: You do this on the Disqus website, in "Settings" > "Appearance" ( http://your-site-slug.disqus.com/admin/settings/appearance/ ). Almost at the bottom of that page, you have the "Comment count link" setting, where you can change the text for zero, one or more comments. 回答2: This is updated GUI you can find it "Settings" > "General" and if you need to remove 'comment' word you can't so

Disqus: change captions after success with jQuery

徘徊边缘 提交于 2019-12-06 11:04:38
问题 Disqus automatically places defined captions upon request. For example: Add new Comment I've tried to change its value with jquery on ready(): $('#dsq-new-post h3').text('Paticipa con tu cuenta favorita'); No success :( ... how can i know when disqus script is finished parsing the data so i can change the caption value of h3? BTW, this is Disqus' call: (function(){ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = 'http://xxxxxxxx.disqus.com

Reload the comment count of Disqus

喜夏-厌秋 提交于 2019-12-06 08:22:53
问题 I am loading articles with AJAX. When I want to show their comment counts I use: DISQUSWIDGETS.getCount(); This works. But when I load more articles and call the function again it does not show the comment counts of the articles. It also does not give any error. Is there a way to solve this problem in Javascript? 回答1: It might be something of a hack, but this works: # Undefine disquswidgets to force a refresh also on ajax reload window.DISQUSWIDGETS = undefined; $.getScript("http://" + disqus

How do I get most commented posts in disqus?

梦想与她 提交于 2019-12-06 04:53:20
I was looking into disqus api for most commented posts but it leads me to nowhere. Can somebody share with me how to get thread/posts ordered comment count? Something like this: listPosts.json?orderby=comment_count&order=desc The Disqus API seems not to support this directly. But threads/list has a posts element for each response . jpmayoral I was dealing with the same issue and the answer is on: http://disqus.com/api/docs/threads/listPopular/ You can set these parameters...and more... $api_key = 'your_public_key'; $interval = '90d'; $forum = 'your_website_shortname'; $limit = 5; $url_call =