From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?R=C3=A9mi_Vanicat?= Subject: Re: MobileOrg, webdav, correct use of org-mobile-directory? Date: Mon, 20 Aug 2012 22:03:01 +0200 Message-ID: <877gstl4ay.fsf@debian.org> References: <87d32w6cqj.wl%jamshark70@dewdrop-world.net> <29702.1344745760@alphaville> <32411.1344777066@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3YC8-0003K0-2i for emacs-orgmode@gnu.org; Mon, 20 Aug 2012 16:03:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3YC6-0003MM-9z for emacs-orgmode@gnu.org; Mon, 20 Aug 2012 16:03:28 -0400 Received: from plane.gmane.org ([80.91.229.3]:49451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3YC6-0003MG-31 for emacs-orgmode@gnu.org; Mon, 20 Aug 2012 16:03:26 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T3YC5-0004yd-5u for emacs-orgmode@gnu.org; Mon, 20 Aug 2012 22:03:25 +0200 Received: from 185.109.22.109.rev.sfr.net ([109.22.109.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Aug 2012 22:03:25 +0200 Received: from vanicat by 185.109.22.109.rev.sfr.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Aug 2012 22:03:25 +0200 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: emacs-orgmode@gnu.org Adam Spiers writes: > 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 > > However, I can't figure out how to avoid the broken image, or how > to activate ditaa rendering. Can someone help please? > I personally use webdav for both synchronization using the staging method and the following[1] makefile then you have to run make pull before pulling, and make push after pushing to really pull and push file to webdav. #+begin_src makefile ORG_FILES = $(shell ls *.org) CHECKSUMS = checksums.dat STMP_FILES = $(ORG_FILES:.org=.stmp) checksums.stmp # replace with the webdav host: HOST=example.org # Put full url of the webdav directory URL=http://$(HOST)/mobileorg/ # put your username there: USER=itsme # put your password there PASSWD=secret # you could also use # PASSWD=$(shell gpg --use-agent --no-tty < $(HOME)/.authinfo.gpg | grep $(HOST) | sed "/$(USER)/s/.*password //") # if your .authinfo.gpg file contain a line like # # machine example login user password secret default: push push: stamp-sync all: default pull: curl -u $(USER):$(PASSWD) $(URL)mobileorg.org -o mobileorg.org stamp-sync: $(STMP_FILES) touch stamp-sync .SUFFIXES: .dat .org .stmp .org.stmp: curl -u $(USER):$(PASSWD) -T $< $(URL) touch $@ .dat.stmp: curl -u $(USER):$(PASSWD) -T $< $(URL) touch $@ clean: rm *.stmp #+end_src -- RĂ©mi Vanicat