From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.help Subject: Re: Gnus + emacs.stackexchange Date: Fri, 8 May 2015 10:50:37 +0100 Message-ID: References: <87fv7hoxnd.fsf@debian.uxu> <87mw1luz3o.fsf_-_@debian.uxu> <87a8xjpxdh.fsf@gmail.com> <87ioc61r9c.fsf@debian.uxu> <87twvq82ou.fsf@lifelogs.com> <87pp6d7bb4.fsf@debian.uxu> <87vbg4hrds.fsf@debian.uxu> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1431078697 4808 80.91.229.3 (8 May 2015 09:51:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 May 2015 09:51:37 +0000 (UTC) Cc: help-gnu-emacs To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 08 11:51:36 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YqewS-0003GO-5G for geh-help-gnu-emacs@m.gmane.org; Fri, 08 May 2015 11:51:36 +0200 Original-Received: from localhost ([::1]:54447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqewR-0007VG-KD for geh-help-gnu-emacs@m.gmane.org; Fri, 08 May 2015 05:51:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqevY-0006cR-Dt for help-gnu-emacs@gnu.org; Fri, 08 May 2015 05:50:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqevW-0005to-T6 for help-gnu-emacs@gnu.org; Fri, 08 May 2015 05:50:40 -0400 Original-Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:33520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqevW-0005tY-DY for help-gnu-emacs@gnu.org; Fri, 08 May 2015 05:50:38 -0400 Original-Received: by layy10 with SMTP id y10so49026526lay.0 for ; Fri, 08 May 2015 02:50:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=jh3r5hX6GibW4qDe2M+bD8HF4RZbkg/PvDTA75FjUfg=; b=06uN2XyDG/6ZF+3rZWeelXPkF+i1au19ktlk6XOHSO78lq5MZ5nps5ZB1cTKoTp8lS +/+5HT9f7k8iZQSvpC/FaYc2CVR/h/mm5bNzoBB4KnN7KDcJQ/TknTN6e4Mq55QlhJOb md0ch0tyuLJnEuW3SqtXpXHBMZhvBgxQz37RKnjV8W8Z4XsekJH3HVBzVZBhmXjpxvZi uPpAFWNLz3bMZETH7dhICNH9L1EePqhc1VKVHjWCANCyUTQ00klyq922d9q/YQK+Do8w qCLA/zWDXQKTypKo+zdhfQ3jRTLOyox9qNeWa0J/yEsBh0xxXU8WmZxLZ2i0Zzaolpvz 4HZA== X-Received: by 10.112.182.4 with SMTP id ea4mr2303942lbc.35.1431078637582; Fri, 08 May 2015 02:50:37 -0700 (PDT) Original-Received: by 10.25.150.1 with HTTP; Fri, 8 May 2015 02:50:37 -0700 (PDT) In-Reply-To: <87vbg4hrds.fsf@debian.uxu> X-Google-Sender-Auth: vcbpXtJSUVsE2JGALl1SZxPoKH8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22c X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104289 Archived-At: 2015-05-08 0:58 GMT+01:00 Emanuel Berg : > Artur Malabarba writes: > >>> Indeed, the participation would be needed. So start >>> with the Emacs SX! But the sx.el people already did >>> it (tho I didn't got it to work myself). >>> But because they already did it (not NNTP perhaps >>> but something to the extent of what we discuss) >> >> It's the Stackexchange API. > > Well, yeah :) A solution with Gnus would be a gateway > from/to the NNTP protocol and the SX interface (or > API). Actually Gnus can do and does other things than > that (NNTP) but I don't see why anyone would choose > the small shop when there is a big. Anyway if there > already is considerable work on sx.el as it seems it > might not be a real need to have it in Gnus as well. > It would be nice tho, and it would make sense in terms > of technology. Yeah, it's something I'll keep on the back of my mind. The important thing is that it's all in Emacs :) > You don't need to worry about all that. It would only > be a new *interface* to the SX sites (perhaps only the > Emacs site as a pilot case). So you don't have to > worry about doing everything SX does. You have only to > make sure hooking to SX is done in the same way it > happens when something is posted the ordinary way > (i.e. with their web GUI). If you do that then SX will > handle material the same way - how it originated (i.e. > what interface was used) will not be considered - > it'll be transparent to whatever checks and balances > that kicks in at that point. > > Check out these extentions [1] to Emacs-w3m to see > what I mean. Notice they mention Google, YouTube, > different search sites like Wikipedia, > the Urban Dictionary, and so on. Notice I don't do > anything to replicate what functionality is on those > sites - I only care about hooking to them the same way > their web GUIs are. If you do that spotlessly they > have no choice but to give ou what you want. If they > don't, that means their own services are down. > > [1] http://user.it.uu.se/~embe8573/conf/emacs-init/w3m/w3m-unisearch.el > http://user.it.uu.se/~embe8573/conf/emacs-init/isbn.el I took a quick glance. Are you referring to things like this snippet? (w3m-web-search "https://www.google.com/search?hl=en&site=imghp&tbm=isch&source=hp&q=%s" (get-search-string "image")) I think this sort of thing would work for browsing and searching on the stack exchange network, but posting isn't done like that in the web GUI (though I haven't investigated into how it's done, it's probably javascript).