code wiki / _hdl_build / nx_cms_visual_preview.nx
nx_cms_visual_preview.nx
buildroot/runtime/_hdl_build/nx_cms_visual_preview.nx
about
nx_cms_visual_preview.nx -- emit a STANDALONE, PUBLISHABLE preview of the visual site editor (R-CANVAS v1)
so the operator can SEE the field-level editor on nishifamily.com via the content API without deploying the
daemon. Reads a .site blueprint, renders it through the same nx_cms_visual_builder form (prefilled), inside a
full HTML doc with a clear read-only banner (the functional Save/Preview/Publish lives in nx_siteedit_daemon).
usage: nx_cms_visual_preview <config.site> -> full HTML page on stdout
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_cms_visual_builder.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 9 | const K_MAGIC_600000: i64 = 600000 |
functions
| 11 | func vp_w(fd: i64, s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(fd,s,n); return 0 } |
| 13 | func main(argc: i64, argv: *i64) -> i64 |
| 30 | func vp_wcat(buf: *u8, off: i64, s: *u8) -> i64 { var o: i64=off; var i: i64=0; while s[i]!=(0 as u8){buf[o]=s[i]; o=o+1; i=i+1} return o } |