From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: Public TODO agendas Date: Tue, 21 Nov 2017 16:36:28 +0800 Message-ID: References: <87lgj2vycc.fsf@gmail.com> <871sktt6z7.fsf@gmail.com> <87h8to3bi7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113b1a18369925055e7a1b07" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eH43G-00088z-O0 for emacs-orgmode@gnu.org; Tue, 21 Nov 2017 03:37:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eH43C-0004z0-7w for emacs-orgmode@gnu.org; Tue, 21 Nov 2017 03:37:06 -0500 In-Reply-To: <87h8to3bi7.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Tim Cross Cc: Eric S Fraga , Colin Baxter , David Arroyo Menendez , Org-mode --001a113b1a18369925055e7a1b07 Content-Type: text/plain; charset="UTF-8" Maybe just use an auto sync solution like Dropbox, WebDAV etc? And add a hook on `after-save-hook` to auto export org file to HTML, then sync HTML files. Somewhere hosting those HTML files can be viewed. and editing those original org files directly. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Tue, Nov 21, 2017 at 5:07 AM, Tim Cross wrote: > > I don't think tramp will work in this way, at least not without some > sort of special client running on the remote http server and > modifications to tramp to work with that client. The HTTP protocol will > not easily fit with tramp - in fact, it is such a big 'disconnect' > between tramp and http, you really would be trying to push a round peg > into a square hole. It would be far easier to use other built-in bits of > Emacs functionality along with some sort of remote http service agent to > satisfy this use case (assuming you want bi-directional updates > i.e. pull down an org file, update and push back up - just pulling down > the file and appending it would be easy enough, but going the other way > adds a lot of additional complexity). > > Perhaps this is more something which could fit in with mobile org > efforts? > > Tim > > > > Eric S Fraga writes: > > > On Monday, 20 Nov 2017 at 21:13, numbchild@gmail.com wrote: > >> I have similar function requirement. Based on your TRAMP method, I think > >> remote file are just can be transported through any protocols like HTTP, > >> for example remote file like http://example.org/test.org can be > downloaded, > >> then append to org-agenda files list. This is just an rough idea. > > > > I am not sure this is possible. If I try http: as the protocol, tramp > > tells me that only localhost is allowed. Maybe I do not have tramp > > configured properly? > > > -- > Tim Cross > --001a113b1a18369925055e7a1b07 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Maybe just use an auto sync solution like Dropbox, WebDAV = etc?
And add a hook on `after-save-hook` to auto export org file to HT= ML, then sync HTML files.
Somewhere hosting those HTML files can be vi= ewed. and editing those original org files directly.

[s= tardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <= ;Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C32433IRC(freeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitt= er:=C2=A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 = CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
<= /div>

On Tue, Nov 21, 2017 at 5:07 AM, Tim Cross <= span dir=3D"ltr"><theophilusx@gmail.com> wrote:

I don't think tramp will work in this way, at least not without some sort of special client running on the remote http server and
modifications to tramp to work with that client. The HTTP protocol will
not easily fit with tramp - in fact, it is such a big 'disconnect'<= br> between tramp and http, you really would be trying to push a round peg
into a square hole. It would be far easier to use other built-in bits of Emacs functionality along with some sort of remote http service agent to satisfy this use case (assuming you want bi-directional updates
i.e. pull down an org file, update and push back up - just pulling down
the file and appending it would be easy enough, but going the other way
adds a lot of additional complexity).

Perhaps this is more something which could fit in with mobile org
efforts?

Tim



Eric S Fraga <esflists@gmail.com> writes:

> On Monday, 20 Nov 2017 at 21:13,
numbchild@gmail.com wrote:
>> I have similar function requirement. Based on your TRAMP method, I= think
>> remote file are just can be transported through any protocols like= HTTP,
>> for example remote file like http://example.org/test.org can= be downloaded,
>> then append to org-agenda files list. This is just an rough idea.<= br> >
> I am not sure this is possible.=C2=A0 If I try http: as the protocol, = tramp
> tells me that only localhost is allowed.=C2=A0 Maybe I do not have tra= mp
> configured properly?


--
Tim Cross

--001a113b1a18369925055e7a1b07--