Re: Re: excluding day pages from publishing, and other questions
David O'Toole <[email protected]>
| Newsgroups | gmane.emacs.wiki.general |
|---|---|
| Message-ID | <[email protected]> |
Actually this is working now. I had to tweak your regexp (wrapped it
in forward slashes.)
Here's my muse-project-alist setting line, for those who want to
exclude day pages and particular plan pages:
Thanks mwolson!
(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:[email protected]:~/html/wiki/"
:exclude "/\\([1-9][0-9][0-9][0-9]\\.[0-9]+\\.[0-9]+\\|HealthCare\\)/"
)))
Michael Olson <[email protected]> writes:
> David O'Toole <[email protected]> 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
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss
--
Dave O'Toole
[email protected]