diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2019-10-10 18:43:55 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2019-10-10 18:43:55 +0000 |
| commit | 094b55d11058c0b34ce3bd65d04e4a3e1e31a326 (patch) | |
| tree | c61bcbf54141a8235c756b423438f044c0c6cc34 | |
| parent | add ba_log entry 2019-10-09 (diff) | |
| download | mmm-094b55d11058c0b34ce3bd65d04e4a3e1e31a326.tar.gz mmm-094b55d11058c0b34ce3bd65d04e4a3e1e31a326.zip | |
small addition to ba_log 2019-10-08
| -rw-r--r-- | root/articles/mmmfs/ba_log/2019-10-08/text$markdown.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/root/articles/mmmfs/ba_log/2019-10-08/text$markdown.md b/root/articles/mmmfs/ba_log/2019-10-08/text$markdown.md index 058cc84..c10b75f 100644 --- a/root/articles/mmmfs/ba_log/2019-10-08/text$markdown.md +++ b/root/articles/mmmfs/ba_log/2019-10-08/text$markdown.md @@ -30,9 +30,14 @@ The fileder-index metadata was moved to a `?index` 'pseudofacet' (e.g. `/fileder > [`/meta/mmm.dom/:text/html`](/meta/mmm.dom/:text/html) > > now, instead of asking for the rendered HTML document, we can also ask for the source, which is of the type -> `text/moonscript -> mmm/dom` (a Moonscript-script file that evaluates to a website-fragment): +> `text/moonscript -> mmm/dom` (a Moonscript file that evaluates to a website-fragment): > [`meta/mmm.dom/:text/moonscript -> mmm/dom`](/meta/mmm.dom/:text/moonscript%20-%3E%20mmm/dom) > +> the source code was written in MoonScript, which compiles to Lua before it is executed. +> We can also ask the server to do that for us: +> `text/lua -> mmm/dom` (a Lua file that evaluates to a website-fragment): +> [`meta/mmm.dom/:text/lua -> mmm/dom`](/meta/mmm.dom/:text/lua%20-%3E%20mmm/dom) +> > or, we could ask for the generated html fragment, but without the full HTML layout around it - > that would be the type `text/html+frag`, as mentioned in the last post: > [`meta/mmm.dom/:text/html+frag`](/meta/mmm.dom/:text/html+frag) |
