[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Generating sitemap: ‘org-publish-cache-get’ called, but no cach
From: |
Vikas Rawal |
Subject: |
Re: [O] Generating sitemap: ‘org-publish-cache-get’ called, but no cache present |
Date: |
Thu, 18 Jan 2018 17:34:21 +0530 |
>
>> 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 <http://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?
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