Re: [Orgmode] What WebDAV service do you use for syncing org files?

2010-10-21 Thread Greg Troxel

Jeff Horn jrhorn...@gmail.com writes:

 I keep wanting to test out MobileOrg on my Android phone, but I'm
 having a heck of a time figuring out why the SD sync isn't working
 like I expect. I'd like to sync org files with a WebDAV server, if
 possible. I currently use Dropbox, but it doesn't offer WebDAV. I can
 mount a WebDAV server in the file system so it'll work *kind of* like
 Dropbox.

The org mode part just needs to have a directory it can put files into
so that the client can access them.  Then the mobileorg client has to
get at them.  So you have to have someplace where you can make both
work. I think the options are

* dropbox

Use a dropbox client locally, to make dropbox space appear to be part of
local filesystem, and just set org-mobile-directory to be in there.
MobileOrg (iphone) has support for that; not sure about android versoin.

I think it's ridiculous to use a 3rd party server without encrypting
your org files, but of course your privacy views may be different.

* local apache 

I have an org setup where I have org-mobile-directory set to ~/ORG-dav,
which is just a directory on my disk (NetBSD, UFS2, nothing fancy).  I
have apache configured to put that directory into the webspace, and
configure MobileOrg to do webdav there, and set up .htaccess.  I have to
be careful to set up permissions so apache as www/www can access the
files - it's a bit hairy.

* remote apache with ssh

I have another org setup where I have org-mobile-directory set:

(setq org-mobile-directory /ssh:foo.example.com:/usr/home/gdt/ORG)

which causes org-mobile to use tramp to place/fetch the files.  I then
have the same apache setup.

* remote apache with a dav fs

I haven't set this up, but it should be possible to use a webdav fs
(fuse, etc.) on the computer with the org files to be the staging area,
so that emacs will write over dav.  This is pleasing from a permission
point of view, because then the files that apache deals with are
accessed by two webdav clients with the same credentials, and the apache
permission scheme and the unix permission scheme don't have to be
deconflicted.


My apache setup is striaght by the book, with htdigest.


DavLockDB /usr/pkg/var/httpd/DavLock
Alias /org/gdt /home/gdt/ORG-dav
Directory /home/gdt/ORG-dav
Options Indexes

AllowOverride AuthConfig
Order allow,deny
Allow from all

DAV On

AuthType Digest
AuthName special-auth-name
AuthDigestFile someplace

Limit GET PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK
Require valid-user
/Limit
/Directory



pgpN3tbFcxlF3.pgp
Description: PGP signature
___
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


Re: [Orgmode] What WebDAV service do you use for syncing org files?

2010-10-21 Thread Jeff Horn
 Once received on the phone I save it (which goes to the root of the
 SDCard).  Next I use Astro to unzip the files to the directory I've
 configured MobileOrg for.

That is a great idea. I'll try that and see how it works, but I think
I'd like syncing in the long run. I could do something similar by
dropping the zip file in Dropbox and unzipping on the phone.

-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

http://www.failuretorefrain.com/jeff/

___
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