emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?


From: James Harkins
Subject: Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?
Date: Sun, 19 Aug 2012 13:49:47 +0800
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Sun, 19 Aug 2012 02:35:20 +0100,
Adam Spiers wrote:
> 
> On Sun, Aug 19, 2012 at 12:25 AM, Adam Spiers <address@hidden> wrote:
> > Agreed.  If at least one person lets me know that my explanations
> > above make sense, I might find some time to tweak the FAQ accordingly.
> 
> I went ahead and tweaked it anyway:
> 
> http://orgmode.org/worg/org-faq.html#sec-20

Thanks, this is a bit clearer. I would go even further into "for-dummies" 
territory, such as:

~~~
How does synchronization via WebDAV work?

Synchronization involves two avenues of communication:

1. Between Emacs org-mode and the remotely-accessible share. This line of 
communication is used for org-mobile-push (C-c C-x RET p) and org-mobile-pull 
(C-c C-x RET g).

2. Between the remotely-accessible share and the mobile device(s), used when 
synchronizing MobileOrg on a phone or tablet.

#1 is done one way and one way only: org-mode reads or writes files to a 
filesystem path. When using Dropbox or Ubuntu One, it is a local directory. The 
Dropbox or Ubuntu One sync daemon takes care of transferring the data to the 
remote share. In that case, org-mode does not have to concern itself at all 
with the cloud storage.

With WebDAV, there are two possibilities:

- The WebDAV server is running on the same machine where org-mode is being 
used. This can simplify the configuration, but may restrict sync to a local 
wi-fi network. In this scenario, set org-mobile-directory to the physical path 
on the local machine housing the WebDAV share.

- Or, the WebDAV server is located on a different machine that is accessible by 
HTTP from anywhere in the Internet. It may be possible to mount the remote 
directory locally; if so, org-mobile-directory should be the mounted location. 
If this is not possible, you can also use scp (secure-copy) to push data and 
tramp to pull. Both require ssh access to the remote machine. Here, org-mobile 
directory should look like this:

"/scpc:address@hidden:org/webdav/"

... where "user" is the ssh username on the remote machine and "remote.host" is 
the domain name. The physical path to the WebDAV share should follow the colon; 
it may be different from this example.

Org-mode never uses WebDAV to push or pull data. Do not configure 
org-mobile-directory with the HTTP URL of the WebDAV share.

#2, communication between the share and the mobile devices, does use WebDAV. 
Configure MobileOrg with the full URL pointing to the index.org file, e.g., 
http://a.webdav.server.com/webdav/my_user/mobileorg/index.org.
~~~

hjh


--
James Harkins /// dewdrop world
address@hidden
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks



reply via email to

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