# A sort-of org-mode reader for Haunt, in Emacs-Lisp

**URL:** <https://forum.systemcrafters.net/t/a-sort-of-org-mode-reader-for-haunt-in-emacs-lisp/1165>\
**Category:** General\
**Tags:** guile, emacs-lisp\
**Created:** [November 26, 2024, 11:12pm UTC](https://forum.systemcrafters.net/t/a-sort-of-org-mode-reader-for-haunt-in-emacs-lisp/1165 "2024-11-26T23:12:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cow\_2001](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.systemcrafters.net/cow_2001/32/598_2.png) [@cow\_2001](https://forum.systemcrafters.net/u/cow_2001)\
**Post date:** [November 26, 2024, 11:12pm UTC](https://forum.systemcrafters.net/t/a-sort-of-org-mode-reader-for-haunt-in-emacs-lisp/1165/1 "2024-11-26T23:12:51Z")

</div>

Yesterday I wanted to write a blog post written in org-mode, with a few org-babel code blocks, but my site lives mostly in Haunt. Haunt does not have a way of reading org-mode, so I wrote an Emacs-Lisp script that takes a list of org-mode files, and for each computes all org-babel code blocks, exports a Markdown file, and prepends the `title`, `date` and `tags` metadata at the top of the Markdown file using the org-mode `#+properties:` thingamajig put at the top of the org-mode file.

> **[kaka.farm/export-org-files.el at master](https://codeberg.org/kakafarm/kaka.farm/src/branch/master/export-org-files.el)**
>
> kaka.farm - My personal https://kaka.farm/ site.

Nothing very interesting, but here it is. Thought maybe there could be an extension for Haunt with this ability… and I just looked it up. There already is… of course…

> **[emacs-ox-haunt — Packages — GNU Guix](https://packages.guix.gnu.org/packages/emacs-ox-haunt)**
>
> Export Org files to HTML appropriate for Haunt

---

<div class="post-metadata">

**Author:** ![migalmoreno](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@migalmoreno](https://forum.systemcrafters.net/u/migalmoreno)\
**Post date:** [December 4, 2024, 11:17am UTC](https://forum.systemcrafters.net/t/a-sort-of-org-mode-reader-for-haunt-in-emacs-lisp/1165/2 "2024-12-04T11:17:22Z")

</div>

I posted about this exact issue recently [here](https://forum.systemcrafters.net/t/showing-my-portfolio-in-haunt/1124) which basically amounts to using Jakob’s org-mode-reader and Nix to build the site in a reproducible and self-contained way.

---

<div class="post-metadata">

**Author:** ![Glenneth](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.systemcrafters.net/glenneth/32/11_2.png) [@Glenneth](https://forum.systemcrafters.net/u/Glenneth)\
**Post date:** [December 15, 2024, 7:34pm UTC](https://forum.systemcrafters.net/t/a-sort-of-org-mode-reader-for-haunt-in-emacs-lisp/1165/3 "2024-12-15T19:34:20Z")

</div>

is there aky plans anyone is aware of to implement an org builder for haunt?

---

<div class="post-metadata">

**Author:** ![Glenneth](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.systemcrafters.net/glenneth/32/11_2.png) [@Glenneth](https://forum.systemcrafters.net/u/Glenneth)\
**Post date:** [January 3, 2025, 9:20am UTC](https://forum.systemcrafters.net/t/a-sort-of-org-mode-reader-for-haunt-in-emacs-lisp/1165/4 "2025-01-03T09:20:32Z")

</div>

Any update on this project? I am very interested if this could be patched in to Haunt
