From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: =?UTF-8?B?R2VuZXJhdGluZyBzaXRlbWFwOiDigJhvcmctcHVibGlzaC1jYWNo?= =?UTF-8?B?ZS1nZXTigJkgY2FsbGVkLCBidXQgbm8gY2FjaGUgcHJlc2VudA==?= Date: Mon, 15 Jan 2018 09:01:36 +0530 Message-ID: <4692B909-86A5-4209-8EBE-3EDCCEC5E5A6@agrarianresearch.org> Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_80858061-A9F1-4959-97B4-2A84EFE3FC3D" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eavV1-00040R-E7 for emacs-orgmode@gnu.org; Sun, 14 Jan 2018 22:31:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eavUw-0001Fo-Tt for emacs-orgmode@gnu.org; Sun, 14 Jan 2018 22:31:51 -0500 Received: from mail-pl0-x235.google.com ([2607:f8b0:400e:c01::235]:35121) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eavUw-0001Ev-IV for emacs-orgmode@gnu.org; Sun, 14 Jan 2018 22:31:46 -0500 Received: by mail-pl0-x235.google.com with SMTP id b96so2728480pli.2 for ; Sun, 14 Jan 2018 19:31:46 -0800 (PST) Received: from [192.168.1.40] ([59.176.42.82]) by smtp.gmail.com with ESMTPSA id c184sm2955578pfg.57.2018.01.14.19.31.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Jan 2018 19:31:44 -0800 (PST) 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" To: org-mode mailing list --Apple-Mail=_80858061-A9F1-4959-97B4-2A84EFE3FC3D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I have been using the following code block to generate a sitemap for my = org-jkyll based blog. #+begin_src emacs-lisp :results output silent :exports none :cache yes (org-publish-sitemap (assoc "indblog" org-publish-project-alist) "sitemap.org") #+end_src I had not generated the sitemap for a while, and now I find that it ends = with the following message, and sitemap.org is not = recreated. ---- Generating sitemap for Sitemap for www.indianstatistics.org org-publish-cache-get: =E2=80=98org-publish-cache-get=E2=80=99 called, = but no cache present =E2=80=94=E2=80=94 Any pointers? Vikas Org version: Org mode version 9.1.4 (release_9.1.4-218-g993f76 @ = /Users/vikas/.emacs.d/personal/org-mode/lisp/) Emacs: GNU Emacs 25.3.1 (x86_64-apple-darwin16.3.0, Carbon Version 157 = AppKit 1504.76) of 2017-09-30= --Apple-Mail=_80858061-A9F1-4959-97B4-2A84EFE3FC3D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
I have been using the following code block to generate a = sitemap for my org-jkyll based blog.

#+begin_src emacs-lisp = :results output silent :exports none :cache yes
  (org-publish-sitemap
  =  (assoc "indblog" org-publish-project-alist)
   "sitemap.org")
#+end_src

I had not generated the sitemap for a while, and now I find = that it ends with the following message, and sitemap.org is not = recreated.

----
Generating sitemap for Sitemap for = www.indianstatistics.org
org-publish-cache-get: =E2=80=98org-publish-cache-get=E2=80=99 = called, but no cache present
=E2=80=94=E2=80=94
=

Any = pointers?

Vikas

Org version: Org mode version 9.1.4 = (release_9.1.4-218-g993f76 @ = /Users/vikas/.emacs.d/personal/org-mode/lisp/)
Emacs: GNU Emacs 25.3.1 (x86_64-apple-darwin16.3.0, = Carbon Version 157 AppKit 1504.76) of 2017-09-30
= --Apple-Mail=_80858061-A9F1-4959-97B4-2A84EFE3FC3D-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: =?UTF-8?B?UmU6IEdlbmVyYXRpbmcgc2l0ZW1hcDog4oCYb3JnLXB1Ymxpc2gt?= =?UTF-8?B?Y2FjaGUtZ2V04oCZIGNhbGxlZCwgYnV0IG5vIGNhY2hlIHByZXNlbnQ=?= Date: Mon, 15 Jan 2018 14:35:16 +0100 Message-ID: <87shb79re3.fsf@nicolasgoaziou.fr> References: <4692B909-86A5-4209-8EBE-3EDCCEC5E5A6@agrarianresearch.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eb4v4-0002pC-NX for emacs-orgmode@gnu.org; Mon, 15 Jan 2018 08:35:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eb4v3-0006BH-IY for emacs-orgmode@gnu.org; Mon, 15 Jan 2018 08:35:22 -0500 Received: from relay2-d.mail.gandi.net ([2001:4b98:c:538::194]:37765) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eb4v3-0006Ah-Bm for emacs-orgmode@gnu.org; Mon, 15 Jan 2018 08:35:21 -0500 In-Reply-To: <4692B909-86A5-4209-8EBE-3EDCCEC5E5A6@agrarianresearch.org> (Vikas Rawal's message of "Mon, 15 Jan 2018 09:01:36 +0530") 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" To: Vikas Rawal Cc: org-mode mailing list Hello, Vikas Rawal writes: > I have been using the following code block to generate a sitemap for my org-jkyll based blog. > > #+begin_src emacs-lisp :results output silent :exports none :cache yes > (org-publish-sitemap > (assoc "indblog" org-publish-project-alist) > "sitemap.org") > #+end_src > > I had not generated the sitemap for a while, and now I find that it > ends with the following message, and sitemap.org > is not recreated. `org-publish-sitemap' is not meant to be called directly. It assumes project is properly set-up, which is done in its caller, `org-publish-projects'. So, why don't you simply publish "indblog" project? Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: =?UTF-8?B?UmU6IEdlbmVyYXRpbmcgc2l0ZW1hcDog4oCYb3JnLXB1Ymxpc2gt?= =?UTF-8?B?Y2FjaGUtZ2V04oCZIGNhbGxlZCwgYnV0IG5vIGNhY2hlIHByZXNlbnQ=?= Date: Thu, 18 Jan 2018 17:34:21 +0530 Message-ID: References: <4692B909-86A5-4209-8EBE-3EDCCEC5E5A6@agrarianresearch.org> <87shb79re3.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ec8w3-0000uI-JN for emacs-orgmode@gnu.org; Thu, 18 Jan 2018 07:04:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ec8w0-0000o3-GD for emacs-orgmode@gnu.org; Thu, 18 Jan 2018 07:04:45 -0500 Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]:33999) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ec8w0-0000n0-24 for emacs-orgmode@gnu.org; Thu, 18 Jan 2018 07:04:44 -0500 Received: by mail-pf0-x22a.google.com with SMTP id e76so14358412pfk.1 for ; Thu, 18 Jan 2018 04:04:43 -0800 (PST) In-Reply-To: <87shb79re3.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: org-mode mailing list >=20 >> I have been using the following code block to generate a sitemap for = my org-jkyll based blog. >>=20 >> #+begin_src emacs-lisp :results output silent :exports none :cache = yes >> (org-publish-sitemap >> (assoc "indblog" org-publish-project-alist) >> "sitemap.org") >> #+end_src >>=20 >> I had not generated the sitemap for a while, and now I find that it >> ends with the following message, and sitemap.org = >> is not recreated. >=20 > `org-publish-sitemap' is not meant to be called directly. It assumes > project is properly set-up, which is done in its caller, > `org-publish-projects'. >=20 > So, why don't you simply publish "indblog" project? I use this to avoid having to publish the whole project each time I add = a post. I would like to just publish the current file, and update the = sitemap by running the above code block. Is that not okay? Vikas From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: =?UTF-8?B?UmU6IEdlbmVyYXRpbmcgc2l0ZW1hcDog4oCYb3JnLXB1Ymxpc2gt?= =?UTF-8?B?Y2FjaGUtZ2V04oCZIGNhbGxlZCwgYnV0IG5vIGNhY2hlIHByZXNlbnQ=?= Date: Thu, 18 Jan 2018 14:47:14 +0100 Message-ID: <87wp0fqnx9.fsf@nicolasgoaziou.fr> References: <4692B909-86A5-4209-8EBE-3EDCCEC5E5A6@agrarianresearch.org> <87shb79re3.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecAXH-0006kR-6D for emacs-orgmode@gnu.org; Thu, 18 Jan 2018 08:47:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecAXG-0005o6-DP for emacs-orgmode@gnu.org; Thu, 18 Jan 2018 08:47:19 -0500 Received: from relay2-d.mail.gandi.net ([2001:4b98:c:538::194]:36152) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ecAXG-0005l3-77 for emacs-orgmode@gnu.org; Thu, 18 Jan 2018 08:47:18 -0500 In-Reply-To: (Vikas Rawal's message of "Thu, 18 Jan 2018 17:34:21 +0530") 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" To: Vikas Rawal Cc: org-mode mailing list Hello, Vikas Rawal writes: > I use this to avoid having to publish the whole project each time > I add a post. This is the default behaviour when publishing a project: it only re-publishes modified files and the sitemap/index. > I would like to just publish the current file, and > update the sitemap by running the above code block. Is that not okay? Does the suggestion above solve fulfill your need? Regards, -- Nicolas Goaziou