[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Use headings in sitemap
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Use headings in sitemap |
Date: |
Mon, 31 Oct 2016 09:04:40 +0100 |
Hello,
Thibault Marin <address@hidden> writes:
> I don't have the `directory-name-p' function (I am still on emacs 24),
> so I made a simplistic one: (string= file (file-name-sans-extension
> file)), it seems to be sufficient for my test-case. I don't know if not
> being on 25 will cause other issues.
Fixed.
> I also had to add a call to `expand-file-name' around the definition of
> the `root' variable (in `org-publish-sitemap') to account for the fact
> that my :base-directory is defined with "~/" instead of "/home/...".
Fixed, too.
> Another thing I had to modify was the :exclude pattern which was
> mis-formed earlier ("setup.org\\|website.org\\|rss.org" changed to
> "setup\\.org\\|website\\.org\\|rss\\.org"). The earlier version of the
> pattern results in an empty file list but was not a problem on the older
> version of the sitemap tools.
I'm not sure to understand. Why resulting in an empty file list is
a problem? Is there an error in the new "ox-publish.el"?
> (let ((date
> (org-element-interpret-data
> (org-publish-find-property entry :date))))
There is also `org-publish-find-date', which is sligthly different.
Thanks for the feedback.
Regards,
--
Nicolas Goaziou
- Re: [O] Use headings in sitemap, Nicolas Goaziou, 2016/10/11
- Re: [O] Use headings in sitemap, Thibault Marin, 2016/10/12
- Re: [O] Use headings in sitemap, Rasmus Pank Roulund, 2016/10/12
- Re: [O] Use headings in sitemap, Nicolas Goaziou, 2016/10/12
- Re: [O] Use headings in sitemap, Nicolas Goaziou, 2016/10/30
- Re: [O] Use headings in sitemap, Thibault Marin, 2016/10/30
- Re: [O] Use headings in sitemap,
Nicolas Goaziou <=
- Re: [O] Use headings in sitemap, Thibault Marin, 2016/10/31
- Re: [O] Use headings in sitemap, Nicolas Goaziou, 2016/10/31
- Re: [O] Use headings in sitemap, Thibault Marin, 2016/10/31