emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [ANN] org-protocol-httpd


From: Andreas Burtzlaff
Subject: [Orgmode] Re: [ANN] org-protocol-httpd
Date: Wed, 04 Aug 2010 15:38:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hello Torsten,

Torsten Wagner <address@hidden> writes:

> 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.

It is technically possible to make Emacs serve html exports of Org files
and Org agendas through http and provide functionality to edit them
through http requests. I thought of that too, but I'm not sure this
has real advantages over using a plain web server or Dropbox and the
likes, as MobileOrg does. After all not everybody has his own server.

The only remotely sensible thing I can think of at the moment is having
javascript code for viewing and sending changes to an Emacs server that
updates the html accordingly. That would be a platform independent port
of MobileOrg, without third-party services for syncing involved and
with an UI that is not really native to the device.

Anyway, I'm interested in your elaborations on this.

Andreas

>
> 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.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]