code wiki / _hdl_build / nx_sitegen_video.nx
nx_sitegen_video.nx
buildroot/runtime/_hdl_build/nx_sitegen_video.nx
about
nx_sitegen_video.nx -- AUTO-BUILDER, VIDEO-GALLERY page type (operator's "sites like YouTube showing pets to
others"). Builds a complete responsive video-gallery page FROM DATA: page title + heading + a list of videos
(title / thumbnail / source per video) -> a grid of inline players + an onsite search. Like the game page
type, it is its OWN page profile (not the marketing block-walk), emitted bits-up + responsive by construction;
every data field is injection-ESCAPED (hs_escape). Data-driven => the same builder ships any video site by
swapping the list. license_tier: ORIGINAL
dependencies 2 imports · 2 importers
imports: nx_html_sanitize.nxnx_syscalls.nx
imported by: nx_site_compose.nxnx_sitegen_video_gate.nx
structs
| none |
consts
| none |
functions
| 10 | func vid_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 } |
| 12 | func vid_esc(fd: i64, src: *u8) -> i64 |
| 23 | func vid_build(fd: i64, title: *u8, heading: *u8, titles: *i64, thumbs: *i64, urls: *i64, n: i64) -> i64 |