From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: [wish] pass project plist to preparation and completion function Date: Sun, 28 Feb 2010 21:51:37 +0100 Message-ID: <87ljedulra.wl%maus.david@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============0472861522==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nlq7J-0001N3-2z for emacs-orgmode@gnu.org; Sun, 28 Feb 2010 15:51:57 -0500 Received: from [140.186.70.92] (port=58835 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nlq7F-0001Iq-Ln for emacs-orgmode@gnu.org; Sun, 28 Feb 2010 15:51:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nlq79-0007Gf-S5 for emacs-orgmode@gnu.org; Sun, 28 Feb 2010 15:51:48 -0500 Received: from mail-ew0-f222.google.com ([209.85.219.222]:35918) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nlq79-0007GR-MA for emacs-orgmode@gnu.org; Sun, 28 Feb 2010 15:51:47 -0500 Received: by ewy22 with SMTP id 22so1221127ewy.26 for ; Sun, 28 Feb 2010 12:51:46 -0800 (PST) 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: Org Mode --===============0472861522== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Feb_28_21:51:34_2010-1"; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Sun_Feb_28_21:51:34_2010-1 Content-Type: text/plain; charset=US-ASCII 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.... dmjena@jabber.org Email..... maus.david@gmail.com --pgp-sign-Multipart_Sun_Feb_28_21:51:34_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkuK11kACgkQma24O1pEeOZYeAEA4W1hDn2wr7sUkKhb2X2wgB/9 22rVlAeR3srlcVsvo3oA/1UvBciTnNV+AOP87FYlcfsaqxyzroS3Rf2wJTTOVE5r =jDxS -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Feb_28_21:51:34_2010-1-- --===============0472861522== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0472861522==--