[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] Re: excluding day pages from publishing, and ot
From: |
David O'Toole |
Subject: |
Re: [emacs-wiki-discuss] Re: excluding day pages from publishing, and other questions |
Date: |
Tue, 18 Apr 2006 18:36:10 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Unfortunately the :exclude rule had no effect.
Here is my muse-project-alist:
--------
(add-hook 'muse-project-alist
(list planner-project
(list planner-directory
:default planner-default-page
:major-mode 'planner-mode
:visit-link 'planner-visit-link
:force-publish '("WikiIndex"))
(list :base "planner-xhtml"
:path "/ssh:address@hidden:~/html/wiki/"
:exclude
"/\\([1-9][0-9][0-9][0-9]\\.[0-9]+\\.[0-9]+\\|HealthCare/\\)"
)))
--------
Hmm. Should the forward slash after HealthCare be at the end of the
string instead? Perhaps it needs the filename extension *.muse?
Michael Olson <address@hidden> writes:
> David O'Toole <address@hidden> writes:
>
>> I'd like to exclude certain Planner files in a project from being
>> published to html. In particular, I would like to make a website out
>> of just the plan pages, not the day pages. I also want to exclude
>> certain private day pages (for example, HealthCare.muse).
>
> Change your publishing rule for the particular entry of
> `muse-project-alist' to be something like the following. I should
> document this.
>
> (:base "planner-html"
> :path "~/publishing-path/.../"
> :exclude "/\\([1-9][0-9][0-9][0-9]\\.[0-9]+\\.[0-9]+\\|private/\\)")
>
>> Also, I can't seem to get it to publish a WikiIndex anymore. It used
>> to do this automatically.
>
> Make sure you have the following in the first part of the
> muse-project-alist entry.
>
> :force-publish ("WikiIndex")
>
> The WikiIndex.muse page also needs to exist, and have
> <lisp>(muse-index-as-string t t)</lisp> in it.
>
> --
> Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
> Interests: Emacs Lisp, text markup, protocols -- Muse, Planner, ERC, EMMS
> /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
> |_] | \| |_| Jabber: mwolson_at_hcoop.net
> _______________________________________________
> emacs-wiki-discuss mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss
--
Dave O'Toole
address@hidden