Hello,
Thibault Marin <[email protected]> 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