22 lines
642 B
EmacsLisp
22 lines
642 B
EmacsLisp
(require 'ox-publish)
|
|
(require 'ox-rss)
|
|
|
|
(setq org-export-exclude-tags '("noexport" "draft"))
|
|
|
|
(setq org-publish-project-alist
|
|
'(("ryuslash.org"
|
|
:base-directory "."
|
|
:publishing-directory "public_html"
|
|
:exclude "\\`README.org\\'"
|
|
:base-extension "org"
|
|
:publishing-function org-html-publish-to-html)
|
|
("ryuslash-rss"
|
|
:base-directory "."
|
|
:publishing-directory "public_html"
|
|
:exclude ".*"
|
|
:include ("index.org")
|
|
:base-extension "org"
|
|
:publishing-function org-rss-publish-to-rss)))
|
|
|
|
(defun publish-ryuslash.org ()
|
|
(org-publish-all))
|