From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: Publishing sitemap Date: Wed, 18 Jun 2014 10:02:29 -0400 Message-ID: <11709e4a9a6b92a5c49d2a8e780094d5@mail.rickster.com> 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]:42455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxGRg-0005ev-MM for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 10:02:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxGRZ-0000BK-85 for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 10:02:36 -0400 Received: from mail.rickster.com ([204.62.15.78]:38596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxGRZ-0000BC-5Z for emacs-orgmode@gnu.org; Wed, 18 Jun 2014 10:02:29 -0400 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: vikaslists@agrarianresearch.org Cc: emacs-orgmode@gnu.org Sorry, hit the wrong key... completed response below. 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 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) "sitemap.txt") rick