code wiki / _hdl_build / nx_sitegen_video.nx

nx_sitegen_video.nx

buildroot/runtime/_hdl_build/nx_sitegen_video.nx

3848 B51 linesdepth 3pulls 3 transitivereach 11 importersview sourcekind librarytopic sitegen
docsdependenciesstructsconstsfunctions

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

nx_html_sanitize.nx nx_syscalls.nx nx_sitegen_video.nx nx_site_compose.nx nx_sitegen_video_gate.nx

imports: nx_html_sanitize.nxnx_syscalls.nx

imported by: nx_site_compose.nxnx_sitegen_video_gate.nx

structs

none

consts

none

functions

10func 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 }
called by 1: vid_build calls 1: sys_write
12func vid_esc(fd: i64, src: *u8) -> i64
23func vid_build(fd: i64, title: *u8, heading: *u8, titles: *i64, thumbs: *i64, urls: *i64, n: i64) -> i64