emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Jeff Horn <jrhorn424@gmail.com>
Cc: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Publishing htaccess files with a project
Date: Wed, 20 Oct 2010 19:28:11 +0200	[thread overview]
Message-ID: <87mxq84vv8.fsf@gmx.de> (raw)
In-Reply-To: <AANLkTimnV5wu_COy2J9qH7pECO7yLJSrr34+_eh7OxFb@mail.gmail.com> (Jeff Horn's message of "Wed, 20 Oct 2010 12:27:48 -0400")

Jeff Horn <jrhorn424@gmail.com> 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  (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... 


  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

  reply	other threads:[~2010-10-20 17:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-16  1:01 Publishing htaccess files with a project Jeff Horn
2010-10-16 16:39 ` Sebastian Rose
2010-10-20  4:53   ` Jeff Horn
2010-10-20 16:14     ` Sebastian Rose
2010-10-20 16:27       ` Jeff Horn
2010-10-20 17:28         ` Sebastian Rose [this message]
2010-10-20 20:21           ` Jeff Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxq84vv8.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=jrhorn424@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).