* Generating sitemap: ‘org-publish-cache-get’ called, but no cache present
@ 2018-01-15 3:31 Vikas Rawal
2018-01-15 13:35 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: Vikas Rawal @ 2018-01-15 3:31 UTC (permalink / raw)
To: org-mode mailing list
[-- Attachment #1: Type: text/plain, Size: 830 bytes --]
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.
----
Generating sitemap for Sitemap for www.indianstatistics.org
org-publish-cache-get: ‘org-publish-cache-get’ called, but no cache present
——
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
[-- Attachment #2: Type: text/html, Size: 1663 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Generating sitemap: ‘org-publish-cache-get’ called, but no cache present
2018-01-15 3:31 Generating sitemap: ‘org-publish-cache-get’ called, but no cache present Vikas Rawal
@ 2018-01-15 13:35 ` Nicolas Goaziou
2018-01-18 12:04 ` Vikas Rawal
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2018-01-15 13:35 UTC (permalink / raw)
To: Vikas Rawal; +Cc: org-mode mailing list
Hello,
Vikas Rawal <vikaslists@agrarianresearch.org> 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 <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?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Generating sitemap: ‘org-publish-cache-get’ called, but no cache present
2018-01-15 13:35 ` Nicolas Goaziou
@ 2018-01-18 12:04 ` Vikas Rawal
2018-01-18 13:47 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: Vikas Rawal @ 2018-01-18 12:04 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: org-mode mailing list
>
>> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Generating sitemap: ‘org-publish-cache-get’ called, but no cache present
2018-01-18 12:04 ` Vikas Rawal
@ 2018-01-18 13:47 ` Nicolas Goaziou
0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2018-01-18 13:47 UTC (permalink / raw)
To: Vikas Rawal; +Cc: org-mode mailing list
Hello,
Vikas Rawal <vikaslists@agrarianresearch.org> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-01-18 13:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-15 3:31 Generating sitemap: ‘org-publish-cache-get’ called, but no cache present Vikas Rawal
2018-01-15 13:35 ` Nicolas Goaziou
2018-01-18 12:04 ` Vikas Rawal
2018-01-18 13:47 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.