From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manuel Giraud Subject: [PATCH] org-publish: sitemap doc Date: Mon, 14 Feb 2011 13:21:22 +0100 Message-ID: <87hbc6n6wt.fsf@univ-nantes.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from [140.186.70.92] (port=37919 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoxRH-0000D4-G3 for emacs-orgmode@gnu.org; Mon, 14 Feb 2011 07:22:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PoxRG-0007DE-2o for emacs-orgmode@gnu.org; Mon, 14 Feb 2011 07:21:59 -0500 Received: from smtp-tls1.univ-nantes.fr ([193.52.101.145]:50546 helo=smtp-tls.univ-nantes.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PoxRF-0007Ce-TB for emacs-orgmode@gnu.org; Mon, 14 Feb 2011 07:21:58 -0500 Received: from localhost (debian [127.0.0.1]) by smtp-tls.univ-nantes.fr (Postfix) with ESMTP id A69E795418 for ; Mon, 14 Feb 2011 13:21:54 +0100 (CET) Received: from smtp-tls.univ-nantes.fr ([127.0.0.1]) by localhost (smtp-tls1.d101.univ-nantes.fr [127.0.0.1]) (amavisd-new, port 10024) with LMTP id j6YmA7+HkWCI for ; Mon, 14 Feb 2011 13:21:54 +0100 (CET) Received: from K (unknown [172.16.13.134]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-tls.univ-nantes.fr (Postfix) with ESMTPSA id 90F0495405 for ; Mon, 14 Feb 2011 13:21:54 +0100 (CET) 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: emacs-orgmode --=-=-= Hi, Some documentation for new sitemap options. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-org.texi-documentation-of-sitemap-s-entry-options.patch >From 3a846a674a33a5f2a0a2404b88331942e2012779 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Mon, 14 Feb 2011 11:34:04 +0100 Subject: [PATCH] org.texi: documentation of sitemap's entry options --- doc/org.texi | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index 0a5b065..c8e0597 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -10978,7 +10978,7 @@ of links to all files in the project. respectively. Any other value will mix files and folders. @item @code{:sitemap-sort-files} -@tab How the files are sorted in the site map. Set this +@tab How the files are sorted in the site map. Set this to @code{alphabetically} (default), @code{chronologically} or @code{anti-chronologically}. @code{chronologically} sorts the files with older date first while @code{anti-chronologically} sorts the files with newer @@ -10988,6 +10988,19 @@ a file is retrieved with @code{org-publish-find-date}. @item @code{:sitemap-ignore-case} @tab Should sorting be case-sensitive? Default @code{nil}. +@item @code{:sitemap-file-entry-format} +@tab With this option one can tell how a sitemap's entry is formated in the +sitemap. This is a format string with some escape sequences: @code{%t} stands +for the title of the file, @code{%a} stands for the author of the file and +@code{%d} stands for the date of the file. The date is retrieved with the +@code{org-publish-find-date} function and formated with +@code{org-publish-sitemap-date-format}. Default @code{%t}. + +@item @code{:sitemap-date-format} +@tab Format string for the @code{format-time-string} function that tells how +a sitemap entry's date is to be formated. This property bypasses +@code{org-publish-sitemap-date-format} which defaults to @code{%Y-%m-%d}. + @end multitable @node Generating an index, , Sitemap, Configuration -- 1.7.1 --=-=-= -- Manuel Giraud --=-=-= 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 --=-=-=--