From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benny Simonsen Subject: Re: Using macros in worg Date: Thu, 4 Nov 2010 08:23:13 +0100 Message-ID: References: <87pqum7dwu.fsf@gmx.de> <87pqumhz7o.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=60574 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDuAG-0000Ed-Am for emacs-orgmode@gnu.org; Thu, 04 Nov 2010 03:23:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDuAE-0003GR-Ur for emacs-orgmode@gnu.org; Thu, 04 Nov 2010 03:23:16 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:55265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDuAE-0003GM-SM for emacs-orgmode@gnu.org; Thu, 04 Nov 2010 03:23:14 -0400 Received: by yxm34 with SMTP id 34so1292613yxm.0 for ; Thu, 04 Nov 2010 00:23:14 -0700 (PDT) In-Reply-To: <87pqumhz7o.fsf@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose Cc: emacs-orgmode@gnu.org 2010/11/3 Sebastian Rose : > Benny Simonsen writes: >>> there's no special setup needed. >> >> I had an old org-mode, after upgrade the macros are expanded :) >> >> I would like to auto-publish the web page when I push to the central ser= ver. > > > You might be interested in this document: > > =A0 http://orgmode.org/worg/worg-setup.php Yep - I will look into it. > > and in the scripts in .git/hooks/ =A0(which come with git). There are example scripts comming with git (.git/hooks/*.sample). Just to be sure - Worg don't use the hooks, but publishes the website via a publish cron job (step 2). I would expect that step 2 could be replaced by a .git hook via "mv ~/bin/publish-worg.sh .git/hooks/post-receive". Step one can be omitted if the server with the central git repository can write the files to the webserver. I will try it. Thanks /Benny > > > =A0Sebastian >