[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] [wish] pass project plist to preparation and completion fu
From: |
Carsten Dominik |
Subject: |
Re: [Orgmode] [wish] pass project plist to preparation and completion function |
Date: |
Mon, 1 Mar 2010 12:02:40 +0100 |
Hi David,
the plist with the settings is dynamically scoped into
these calls as the lisp variable `project-plist'. I guess it would be
nice
to make them a proper argument, but that would likely break quite some
code out there.
Maybe you can just use the dynamically-skoped variable, and I can
guarantee that this remains stable....
- Carsten
That is not documented - but
On Feb 28, 2010, at 9:51 PM, David Maus wrote:
Urgency: Low
A publishing project can define a preparation and a completion
function to prepare and finalize the export. Currently both functions
that can be supplied in `org-publish-project-alist' are called without
any arguments.
I'm currently trying to write exporter functions that create an atom
or rss feed based on org files. To create /one/ feed for /multiple/
input files it is necessary to open and close the feed in a
preparation and finalizing function.
The :preparation-function should write the feed's header (xml
declaration, information on the feed itself) and the finalizing
function should close the xml. To achive this both functions have to
"know" which output file they have to operate on.
For me it seems best if both functions get the property list of the
publishing project in question passed as argument.
The urgency for this is low because my personal milestone is the basic
function of publishing one feed for one input file.
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
- Carsten
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Orgmode] [wish] pass project plist to preparation and completion function,
Carsten Dominik <=