alphapapa / alphapapa/org-ql

Using org-ql as powerfull filtering tool on top of org-roam to generate and publish any website

未关闭
#183 4 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
discussion
主要语言
Emacs Lisp
星标
1.6k
派生
120
PR 合并指标
30 天内没有已合并 PR

描述

Hi,

I re-think about a potential great new application for org-ql,
by using it as a powerfull filter tool standing before any org publishing.

x * ( apply list of org-ql filters on huge .org file folders **----> generate --->** a new hierarchy org folder & files **----> with org-publish ---->** to static website), x = the number of web site you want to generate based on the same org files/folders.

As we discuss in org-roam, one of the difficulties of publishing org-roam galaxy of note (see the [issue](https://github.com/org-roam/org-roam/issues/911) and discourse discussion [here](https://org-roam.discourse.group/t/package-dedicated-to-workflows-publishing-digital-garden-on-web/536) ) was to :
- filtering note by tag
- filtering note by private or public status (possibly tagn but for gpg notes ?)
- decide in a rule if we want to keep or not notes when you have a "private-public backlink" between two notes ?
- how to re-route each tag/query to folder ?
- generate new content (index of files) based on query (see issue [here](https://github.com/alphapapa/org-ql/issues/180) ) ?

Using org-ql and org-mode tangle, all of this seems really possible, by
- creating new org content based on org-ql queries stored on folder/files
- routing content into new hierarchy of folder and files, by coupling org-ql query and weblorg routing ( https://github.com/emacs-love/weblorg perhaps, see issue here https://github.com/emacs-love/weblorg/issues/18 )?
- generate dynamic transclusion block (adding / syncing org-mode block into any other org-mode content dynamically, by using for example https://github.com/nobiot/org-transclusion)

With all of that i suppose that could be very easy to extract/build/publish illimited website on top of any org-mode folder, what do you think ? I'm really interested by this approach because that could help us to build very organic static website.

Exemples :
- generate a blog by creating a folder /blog that contain result of a org-ql query on any headers tagget as "blog"
- generate category index all page (as wikipedia do) by querying/grouping on category
- etc.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。