[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [ox-publish, patch] More flexible sitemaps
From: |
Rasmus |
Subject: |
[O] [ox-publish, patch] More flexible sitemaps |
Date: |
Thu, 19 May 2016 17:39:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Hi,
I've long wanted to use ox to auto-generate something that looks like a
blog index.
This patch makes ox sitemaps a bit more flexible. For instance, it would
allow me to use something like this for ‘:sitemap-file-entry-format’,
:sitemap-file-entry-format "* [[file:%l][%t]]
#+include: \"%f::lead\"
[[file:%l][Read more]]"
Which would come out as;
* [[file:link][Title]]
#+Include: "file.org::lead"
[[File:link][Read more]]
For the tests I did, it matches the "old" sitemap for list and tree.
WDYT?
I would particularly like feedback on simplification for the ordering of
the tree’ed filenames.
Rasmus
--
This space is left intentionally blank
0001-ox-publish-More-flexible-sitemaps.patch
Description: Text Data
- [O] [ox-publish, patch] More flexible sitemaps,
Rasmus <=