zwmp / Guides
Project a web listing
Turn a web media listing into projected resources by writing or generating a .wm rule.
guideadapterweb-listing
Goal
Take a page that lists media links and turn it into a browseable resource tree.
Workflow
- Choose a listing page.
- Identify stable link patterns.
- Extract media URLs and human-readable names.
- Resolve optional metadata.
- Expose the result as WebDAV-style resources.
Rule fields to start with
Start with source, candidate_selector, candidate_link_selector, title_selector, and media_type. Add detail_url_selector only when the listing item points to an intermediate page that contains more links or episodes.
Use projection=flat when the final media resources should be directly under the current folder. Use projection=by-item when each card or episode should have its own directory.
Keep projections honest
Do not invent metadata that the page does not provide. Prefer clear placeholders or omitted fields over misleading output.