From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: MobileOrg, webdav, correct use of org-mobile-directory? Date: Sun, 19 Aug 2012 13:49:47 +0800 Message-ID: <878vdb4eis.wl%jamshark70@dewdrop-world.net> References: <87d32w6cqj.wl%jamshark70@dewdrop-world.net> <29702.1344745760@alphaville> <32411.1344777066@alphaville> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2yOa-00046v-Em for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 01:49:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T2yOZ-0005OA-2U for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 01:49:56 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:63412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T2yOY-0005O5-S2 for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 01:49:54 -0400 Received: by dadi14 with SMTP id i14so1663102dad.0 for ; Sat, 18 Aug 2012 22:49:53 -0700 (PDT) In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Adam Spiers Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org At Sun, 19 Aug 2012 02:35:20 +0100, Adam Spiers wrote: > > On Sun, Aug 19, 2012 at 12:25 AM, Adam Spiers 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:user@remote.host: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 jamshark70@dewdrop-world.net 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