From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: publishing, and :auto-index Date: Thu, 18 Mar 2010 12:25:36 +0100 Message-ID: <87zl25kh1r.wl%dmaus@ictsoc.de> References: <10996750-3DF0-42AA-B0B0-45A75998067D@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============0649969035==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsDrD-0007g1-Ul for emacs-orgmode@gnu.org; Thu, 18 Mar 2010 07:25:43 -0400 Received: from [140.186.70.92] (port=35905 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsDrC-0007er-20 for emacs-orgmode@gnu.org; Thu, 18 Mar 2010 07:25:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NsDrA-0007Iv-D6 for emacs-orgmode@gnu.org; Thu, 18 Mar 2010 07:25:41 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:42591) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsDrA-0007IC-7S for emacs-orgmode@gnu.org; Thu, 18 Mar 2010 07:25:40 -0400 In-Reply-To: <10996750-3DF0-42AA-B0B0-45A75998067D@gmail.com> 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: Carsten Dominik Cc: emacs org-mode mailing list --===============0649969035== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Thu_Mar_18_12:25:34_2010-1"; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Thu_Mar_18_12:25:34_2010-1 Content-Type: text/plain; charset=US-ASCII Hi Carsten, Carsten Dominik wrote: >Hi, >I am wondering is anyone is using the :auto-index functionality with >Org publishing. I'm not using it on my publishing projects but intend to use it as the place I can hook in to publish an atom feed for multiple input files of a project. For this "index" fits as good or bad as "sitemap" would do. >The fact that this is called "index" is driving me crazy, and I would >like to rename this and all related properties to "sitemap. >Thus :auto-sitemap, :sitemap-style, :sitemap-title etc etc IMO the problem with the /function's/ name is that even "sitemap" is to specific or, in other words, creating a sitemap for a project is a special use case of a preparation function. Compared with current functionality of :preparation-function, :index-function is a better implementation of a preparation function because the project is passed to it as an argument. So a correct implementation could look like: ,---- | :sitemap-style 'tree | :sitemap-title "Sitemap" | :sitemap-filename "sitemap.org" | :preparation-function 'org-publish-org-sitemap `---- Reducing :index-function to a :preparation-function while keeping the benefits of :index-function (i.e. project as argument) would introduce a backward incompatible change. But a least with a good argument, I think. -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Thu_Mar_18_12:25:34_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkuiDa4ACgkQma24O1pEeOZpLAD+Lz8oLq5Yz6FdWi3VJ0cnTnq3 hHSV6wxE/6e4y/RzUMAA/0Xl+LnRnp8FS0uWzoMy8sb8p22wGdGxMk+WatUz+7tr =N7C4 -----END PGP SIGNATURE----- --pgp-sign-Multipart_Thu_Mar_18_12:25:34_2010-1-- --===============0649969035== 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 --===============0649969035==--