From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Publishing htaccess files with a project Date: Wed, 20 Oct 2010 19:28:11 +0200 Message-ID: <87mxq84vv8.fsf@gmx.de> References: <87pqvam6rv.fsf@gmx.de> <87wrpc4z9b.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=47648 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8cSc-0004fq-Jh for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 13:28:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8cSZ-00023P-50 for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 13:28:22 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:43466 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1P8cSY-00022T-QO for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 13:28:19 -0400 In-Reply-To: (Jeff Horn's message of "Wed, 20 Oct 2010 12:27:48 -0400") 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: Jeff Horn Cc: Org-mode ml Jeff Horn writes: >> The problem is, that `org-publish-get-base-files' seems to put basenames >> into `org-publish-temp-files' instead of absolute paths. > > Ah. Thanks for the info. That makes sense. > >> I'm currently working on it =C2=A0(probably my fault anyway). > > I really appreciate your help, and I don't blame anyone for the > problems I run into using org-mode. It's constantly being developed, > so bugs are annoying but expected. I can tell you org-mode has done > more for me despite the minor annoyances than most highly-polished > commercial software for my Mac. OK. Not to forget the things learned or reading the documentation might have helped...=20 C-h v org-publish-project-alist says: The :include property may be used to include extra files. Its value may be a list of filenames to include. The filenames are considered relative to the base directory. (setq org-publish-project-alist '(("test-htaccess" :base-directory "~/org/" :base-extension "org" :exclude ".org" :include ("subdir/one/.htaccess" "subdir/two/.htaccess") :publishing-directory "~/public_html/" :recursive t :publishing-function org-publish-attachment))) Sebastian