[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?
From: |
Rémi Vanicat |
Subject: |
Re: [O] MobileOrg, webdav, correct use of org-mobile-directory? |
Date: |
Mon, 20 Aug 2012 22:03:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
Adam Spiers <address@hidden> writes:
> 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
>
> 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
- [O] MobileOrg, webdav, correct use of org-mobile-directory?, James Harkins, 2012/08/11
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, Nick Dokos, 2012/08/12
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, James Harkins, 2012/08/12
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, Nick Dokos, 2012/08/12
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, Adam Spiers, 2012/08/18
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, Adam Spiers, 2012/08/18
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, James Harkins, 2012/08/19
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?,
Rémi Vanicat <=
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, Nick Dokos, 2012/08/18
Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, James Harkins, 2012/08/12