New function added - org-publish-blog-sync-include-files - that properly handles #+INCLUDE directives in org-mode. This means that separate files can be used rather than one monolithic org file.
The function works with a temp buffer and, as such, no appropriate file exists. This meant changing the usage of org-map-entries from file-with-archive to nil. Given this change, I didn't hook this up to the main org-publish-blog function, or seek to include a use case in sample.org.
Wouldn't be more elegant to copy the published file into a temp buffer and perform all inclusions at this point instead of duplicating the whole publication code?
New function added - org-publish-blog-sync-include-files - that properly handles #+INCLUDE directives in org-mode. This means that separate files can be used rather than one monolithic org file. The function works with a temp buffer and, as such, no appropriate file exists. This meant changing the usage of org-map-entries from file-with-archive to nil. Given this change, I didn't hook this up to the main org-publish-blog function, or seek to include a use case in sample.org.
Tony