3 . "$_EXEC/indexmeta.sh"
6 read length width height tags comment short <<-EOF
7 $(meta_info "$_DATA/$ITEM")
10 printf 'Content-Type: text/html;charset=utf-8\r\n\r\n'
14 [html [head [title Listing]
15 [meta name="viewport" content="width=device-width"]
16 [link rel=stylesheet href="/style.css" ]
18 [script type="text/javascript" src="/stereoview.js"\n]
20 [a #t_bookmarks href="#bookmarks" ★]'
23 [a #t_avsearch href="#advsearch" Advanced]
24 [a #t_prefs href="#prefs" ⚙]
31 [a "?a=download" Download]
32 [a "javascript:stereoview(180, document.getElementById("mainvideo"));" View 180° Stereoscopic]
33 [a "javascript:stereoview(360, document.getElementById("mainvideo"));" View 360° Stereoscopic]
34 [video #mainvideo controls="controls" [source src="?a=download" type="video/mp4"]]
35 [span .time %i:%02imin] [span .dim %ix%i] %s
36 ' "$(HTML "${ITEM##*/}" |sed -r "$w_ascii"' s;[^0-9a-zA-Z&#];&[wbr];g')" \
37 "$((length / 60))" "$((length % 60))" "$width" "$height" \
38 "$(printf '%s\n' "${tags#tags=}" |sed -r "$UNSTRING"'
39 s;^;,;; s;,+;,;g; s;,$;;; :X s;,-?([^,]+)(,|$); [span .tag\n \1]\2;; tX;'
43 [form method=POST action="/?a=multitag"
44 [hidden "select" "%s"]' "$(HTML "${ITEM}")"
45 [ -d "$_DATA/${ITEM%/*}/.index/" ] && w_tagging
50 '; } | "$_EXEC/cgilite/html-sh.sed"