From: Rick Frankel <rick@rickster.com>
To: Vikas Rawal <vikaslists@agrarianresearch.org>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Publishing sitemap
Date: Wed, 18 Jun 2014 09:57:52 -0400 [thread overview]
Message-ID: <d6aa66ac98f9c174aaa4800ca864ea3b@mail.rickster.com> (raw)
In-Reply-To: <C53970A1-BBC8-4F4E-B1FB-25F0D34EE4D2@agrarianresearch.org>
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.
>
> 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’t do it unless I publish the whole project.
>
> 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)
where project is the actual properties list from `org-p
next prev parent reply other threads:[~2014-06-18 13:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-18 7:54 Publishing sitemap Vikas Rawal
2014-06-18 13:57 ` Rick Frankel [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-06-27 20:44 John Tait
2014-06-18 14:02 Rick Frankel
2014-06-19 11:32 ` Vikas Rawal
2014-06-18 7:54 Rawal, Vikas (ESD)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d6aa66ac98f9c174aaa4800ca864ea3b@mail.rickster.com \
--to=rick@rickster.com \
--cc=emacs-orgmode@gnu.org \
--cc=vikaslists@agrarianresearch.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).