From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1990 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Announcing ewontfix.com Date: Sun, 23 Sep 2012 20:08:58 +0200 Message-ID: <20120923180858.GZ9428@port70.net> References: <20120923012158.GA27626@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1348423755 9815 80.91.229.3 (23 Sep 2012 18:09:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Sep 2012 18:09:15 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1991-gllmg-musl=m.gmane.org@lists.openwall.com Sun Sep 23 20:09:19 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TFqcF-0006bs-Rl for gllmg-musl@plane.gmane.org; Sun, 23 Sep 2012 20:09:16 +0200 Original-Received: (qmail 15751 invoked by uid 550); 23 Sep 2012 18:09:11 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 15740 invoked from network); 23 Sep 2012 18:09:10 -0000 Content-Disposition: inline In-Reply-To: <20120923012158.GA27626@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:1990 Archived-At: * Rich Felker [2012-09-22 21:21:58 -0400]: > Comments work via Disqus, which I'm afraid some members of our > community won't be big fans of, but it's a lot safer and less bloated > than running message board software locally on the server. I'm looking > for help setting up a way for non-JS browsers to use the comments, so > let me know if you have any ideas. > they don't provide any static plain text or html summary of most recent comments other than the rss feed: http://ewontfix.disqus.com/$ID/latest.rss so the only possibility is to register for an app key (PK) on disqus.com and use their "rest api" (==broken, undocumented api returning a huge redundant json response): http://disqus.com/api/3.0/threads/listPosts.json?api_key=$PK&thread:ident=$ID&forum=ewontfix with such http(s) queries one can get the comments and with some pain render them into simple html but to have it on the site this should run from a cgi script (with caching) or cron job on some server it's hard to parse json with unix tools so the html rendering must be done with a script language available on the server or in c anonymous posting through html forms can be done as well (the referer must match so it cannot be anywhere) registered users may post replys and subscribe to comment threads via email but non-registered users can't