summaryrefslogtreecommitdiffstats
path: root/2023/talks/one.md
diff options
context:
space:
mode:
Diffstat (limited to '2023/talks/one.md')
-rw-r--r--2023/talks/one.md75
1 files changed, 75 insertions, 0 deletions
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
+ (<https://github.com/tonyaldon/jack/>)
+- 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: <https://codeberg.org/SystemCrafters/systemcrafters-site/src/commit/b9b33910e68c6a9321ee7dcd92015b8a29b260bd/publish.el#L176> - 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 <http://newartisans.com/2016/01/pattern-matching-with-pcase/>
+ - I keep using elisp-demos with great success <https://github.com/xuchunyang/elisp-demos> - 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.. <https://github.com/novoid/lazyblorg> <https://ox-hugo.scripter.co/>
+
+## 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. 
+ (<https://one.tonyaldon.com/> 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
+ <http://elasticlunr.com/>
+- 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"]]