From 99d7320ddafd1c3eb9a64f9d26d5366d2da0ce21 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Thu, 7 Dec 2023 22:26:49 -0500 Subject: processed gen-sat IRC log and pads --- 2023/talks/one.md | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) (limited to '2023/talks/one.md') diff --git a/2023/talks/one.md b/2023/talks/one.md index 1198292b..ec4f575d 100644 --- a/2023/talks/one.md +++ b/2023/talks/one.md @@ -90,6 +90,81 @@ it: design will fit your workflow. +# Discussion + +## Notes + +- Also provides a demo of Jack package + () +- Custom function for rendering by interogating the page-tree + - Of use: grabbing metadata from the document/node +- Easy menu and tab generation would also be great. + +- very cool indeed 👏 +- thx for the nice presentation +- Yeah, definitely a fun project that solves a problem to keep more Emacs and less external services. Static web sites are the best. :-D +- I agree. I currently use Hugo, but I think this looks great! +- I really like that `jack-html` is a separate project, as that looks nifty. +- jack-html feels like a hiccup for elisp, nice + - A very programatically solution! +- I didn't watch the talk, but I use esxml to template pages that I generate from Org files: - Lisp backquotes are the best templating language :) + - To be fair, pcase DSL is not easy to remember. [some discussion on IRC about pcase], recommendation of + - I keep using elisp-demos with great success - adds examples to Help buffer +- This looks like a nice setup. My blog is still using org-page, which was abandoned years ago. +- org-page still works though + - I know, I'm still using it. But it's finicky in a bunch of ways and I'd like a replacement static site generator. I don't really care if the code is elisp or not, as long as I can write in Org Mode and don't have to run Wordpress. + - we have a bunch now.. + +## Questions and answers + +- Q: does the "one" part of one.el refers to one source file? +- Does one.el support #+include: to add from other (org) files? +- Q: What\'s the main motivation for this new package? I used to use + ox-hugo and use github action to build the blog.  (Curious as well, + as I use ox-hugo and have almost 1000 pages) + - A: Mapping from org-mode to Hugo added another system to + understand; wanted Emacs centric approach.  + ( has some rational) + - understand. For me, it\'s just org-mode, ox-hugo take care of + the rest. And I find it is easy for me. Maybe, I am not used it + so much. Full control definiitely requires your package. +- Q: Is it possible to use \#+include to add content from other files? + - A: Not included; the idea was to only have one file. It is + possible to code what you want in elisp. + - Perhaps org-transclusion would play with this? +- Q: Can this generate a single site from different sources like + blog.org (for example.org/blog/), videos.org (for + example.org/videos/), contact.org (for example.org/contact/), etc? + - A: Refer to the previous question\'s answer +- Q:Do you have pre-made templates already along with the one.el + package? + - A:Yes and no. There are quite a few constructs/templates in the + one.el code, you could perhaps use them to customize to get it + to do what you want. +- Q: What additional features are there that you would like to add to + one.el in the future? + - A: A full text search + - (Comment not from presenter:) I\'ve used Lunrjs which is a JS + package that keeps all things local; but your site generator + does need to kick out a JSON representation of the content (e.g. + path, text, tags/keywords).  I\'ve been considering + +- Q:Can you create navbars on a website and fancy things like + carousels (pictures rolling/sliding from one to another) using + one.el? + - A:Sidebars, navbars are already part of the package. one.el also + generates responsive. pages. pages argument used recursively can + manage/mimic the carousel effect. +- Q: Would there be an automated way to convert an existing HTML + document into jack-html form? + - A: + - One challenge is that HTML documents do not need to be + \"precise\" (you don\'t need to close tags).  So finding a + tree-parser for HTML (perhaps treesitter?) to build the + conceptual tree. +- Q: Does this or you use any other Emacs Packages for your + package/website ex org-publish. + [[!inline pages="internal(2023/info/one-after)" raw="yes"]] -- cgit v1.2.3