From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Wagner Subject: Re: [ANN] org-protocol-httpd Date: Wed, 04 Aug 2010 14:10:53 +0900 Message-ID: <4C58F65D.5090407@gmail.com> References: <8762zr4a8f.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=35479 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgWGO-0007lz-MQ for emacs-orgmode@gnu.org; Wed, 04 Aug 2010 01:11:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgWGM-0003jU-VH for emacs-orgmode@gnu.org; Wed, 04 Aug 2010 01:11:36 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:62033) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgWGM-0003jE-N4 for emacs-orgmode@gnu.org; Wed, 04 Aug 2010 01:11:34 -0400 Received: by pzk33 with SMTP id 33so4274168pzk.0 for ; Tue, 03 Aug 2010 22:11:33 -0700 (PDT) In-Reply-To: <8762zr4a8f.fsf@gmx.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Burtzlaff Cc: emacs-orgmode@gnu.org Hi Andreas, this sounds very interesting and I would like to look further inside. The following idea just came to my mind: Might it be possible to use org-protocol-httpd as a server for mobileorg? Because this would allow to have a light-weight client on a smartphone (only to display the requested results) and to do all the magic within org-mode and emacs on the server side. E.g. I could ask the server to generate dynamically a particular html-export of an agenda and display it in a browser like application on my phone. Sure there need to be something like https and some other security measures if it operates as an public accessible server. However, by using the original export functions of org-mode, there would be no need to parse org-files throw other programs to extract the necessary information. Running a emacs session on a server might be strange for some, but the smartphone application might even provide a way to connect over ssh to the emacs session. With this you would have easy viewing and simple editing of org-mode files and if needed a full featured org-mode session on your smartphone (yep I'm aware some here run emacs natively on there phone). Best regards Torsten On 08/04/2010 07:12 AM, Andreas Burtzlaff wrote: > Hello all, > > org-protocol-httpd is an Http-server running in Emacs that responds to > requests where the path is: > > - an org-protocol action. > In this case the associated handler from org-protocol is executed. > - an org-protocol-httpd action. > In this case the associated handler is executed > and its return value is passed back to the client. > > My reason for writing this is that I needed a proper way to retrieve > information from Emacs for use in Fireforg, but it might be interesting > for those of you having problems configuring protocols in Firefox as > well. For details on how to use it from a Firefox bookmark please refer > to the in-file documentation. > > org-protocol-httpd.el is available in the lisp/ directory from the > 'org-protocol-httpd' branch on: > > git://github.com/atheb/org-mode.git > > (Please note, that the small change to org-protocol.el in that branch is > needed.) > > Although I deem it stable, testing is very appreciated. > > Andreas > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode