@zedtech/zedkit-seo
Serve a Google video sitemap
@zedtech/zedkit-seo — beta
beta
At a glance
- Who: Sites embedding video that should appear in Google video search.
- What: Build a Google video sitemap (page, thumbnail, title, description) from typed entries.
- Use when: When video pages should be discoverable via video search.
- Avoid when: For plain pages — use the regular sitemap instead.
- See also: List localized pages in a sitemap
Install
pnpm add @zedtech/zedkit-seoLatest: 0.1.3 (via changesets).
Example
import { buildVideoSitemap } from "@zedtech/zedkit-seo";
const xml = buildVideoSitemap({ videos: [{ pageUrl, thumbnailUrl, title, description }] });
return new Response(xml, { headers: { "Content-Type": "application/xml" } });Wraps: (none)