From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: Publishing sitemap Date: Wed, 18 Jun 2014 09:57:52 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxGNU-0003tG-FU for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 09:58:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxGNM-0006X0-Ll for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 09:58:16 -0400 Received: from mail.rickster.com ([204.62.15.78]:38538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxGNM-0006Tu-Ig for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 09:58:08 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Vikas Rawal Cc: org-mode mailing list On 2014-06-18 03:54, Vikas Rawal wrote: > When I publish my web-site using org-mode, with suitable options in my > org-publish-projects-alist, I can get org-publish to create a sitemap. >=20 > Is it possible to just create the sitemap without publishing the whole > project? I sometimes update a single file, and just publish it using > org-publish-current-file. I would like the changes (for example, date) > or if a new file is being published, the file itself, reflected in the > sitemap. But I can=E2=80=99t do it unless I publish the whole project. >=20 > Is there a way to deal with this? Looking at the source for `org-publish-projects' (grep for sitemamp in=20 ox-publish) it looks like the sitemap is generated in this line: (if sitemap-p (funcall sitemap-function project sitemap-filename)) where `sitemap-function' defaults to `org-publish-org-sitemap'. So (untested), you could try: (org-publish-org-sitemap (assoc "my-project-name" org-publish-project-alist) where project is the actual properties list from `org-p