Skip to content

feat(core,web): add sequential-next-link parser with manual parser selection UI#11

Merged
audemed44 merged 1 commit into
mainfrom
feat/twig-next-chapter-discovery
Mar 3, 2026
Merged

feat(core,web): add sequential-next-link parser with manual parser selection UI#11
audemed44 merged 1 commit into
mainfrom
feat/twig-next-chapter-discovery

Conversation

@audemed44

@audemed44 audemed44 commented Mar 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a generic SequentialNextLinkParser that discovers chapters by following next-page links, suitable for blog-serial style fiction sites
  • Registers the new parser in parserRegistry.ts as a broad fallback after more specific parsers
  • Adds a parser selector dropdown in the builder UI, allowing users to override auto-detection; fetches available parsers from /api/health

Test plan

  • Preview a chapter-style URL (e.g. a path containing /chapter/, /arc/, or a date segment) and verify the sequential-next-link parser is auto-selected
  • Use the parser dropdown to manually select a parser and confirm it is passed through to the preview request
  • Verify "Auto detect" option correctly defers to server-side parser selection
  • Typecheck passes: npm run typecheck

…lection UI

Adds a generic parser that discovers chapters by following next-page links,
suitable for blog-serial style fiction sites. Exposes a parser dropdown in
the builder UI so users can override auto-detection.
@audemed44 audemed44 merged commit e58d947 into main Mar 3, 2026
1 check passed
@audemed44 audemed44 deleted the feat/twig-next-chapter-discovery branch March 3, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant