mat-time-string "%Y-%m-%d"
(org-publish-find-date entry project))
entry
filename
Thanks for the help!
Thomas Ingram
>Test#+endexport
On 7/10/19 7:47 PM, Thibault Marin wrote:
You may need to wrap the html part in a `#+begin_export html' block or
similar. I believe the custom sitemap function should generate org
content, not directly HTML.
Hope it helps.
On 2019-07-10T17:44:01-0400, Thomas Ingram
; . "@@html:$1@@")))
`
The only(?) problem is that I get a line return between the title and
the date in the sitemap. I wonder if this can be fixed, maybe by
passing extra options to `org-list-to-generic'.
This may be a starting point.
On 2019-07-10T20:30:42-0400,
inserting HTML into existing documents or for text
boxes that support HTML formatting.
Any help is appreciated, thank you.
--
Thomas Ingram
Kyle Meyer writes:
> Have you tried selecting "Body only" when exporting to an HTML buffer?
> With the default bindings, that'd be 'C-c C-e C-b h H'.
This is close to what I want, but I lose the title etc.. Ideally I'd
like to keep all information usually printed in the HTML body.
Thanks!
ublish-project-alist' settings.
Please let me know your thoughts. I would be happy to try to submit a
patch but I would need some pointers on where in the export process this
change should be added.
Thanks,
--
Thomas Ingram
https://taingram.org
ate functions, but it goes away if you run it
immediate after publishing. I'm still an elisp novice, but it has been
working well enough I can use the package for my own website.
Please let me know if you have any thoughts or suggestions, thanks!
--
Thomas Ingram
https://taingram.org/
.
--
Thomas Ingram
https://taingram.org/
ered adding PROJECT to the `org-publish-cache-set-file-property'
call in `org-publish-find-title.'/`org-publish-find-date'. However,
since `org-publish-cache-get-file-property' is always called first that
should initialized the cache.
Thanks,
--
Thomas Ingram
https://taingram.org
nt-cache nil)
(project-alist '("test-project"
:base-directory "/tmp/test-project/"
:base-extension "org")))
(org-publish-find-date "/tmp/test-project/file.org" project-alist))
#+end_src
--
Thomas Ingram
http
che'. I agree including
the project-name is more robust in case this code gets refactored. I've
updated the patch.
Thanks,
--
Thomas Ingram
https://taingram.org/
>From 074dbbe67a23564c26b878592c592701bf3e2dc7 Mon Sep 17 00:00:00 2001
From: Thomas Ingram
Date: Wed, 23 Apr 2025 17:59:53
ory (file-name-sans-extension file)
(org-publish-cache-set-file-property file :title title)
Thanks,
Thomas Ingram
https://taingram.org
Thank you for the clarification Ihor. I willl try to dig into the cache logic
to better understand this.
> The API in this area is not ideal, unfortunately.
Since the caching requirement is not noted in the docstring, would you be
interested in a patch to allow these functions to work regardle
13 matches
Mail list logo