Skip to content

Conversation

@mekarpeles
Copy link
Member

This pull request enhances the search functionality in the OPDS2 provider by allowing a custom title to be passed through the search process and included in the search response. This improves the flexibility of catalog generation and enables more descriptive search result pages.

Enhancements to search functionality:

  • Added an optional title parameter to the search method in DataProvider, allowing callers to specify a custom title for search results. [1] [2]
  • Updated the SearchResponse class to include a title attribute, ensuring the title is available in the search response.
  • Modified the call to Catalog.create within the search method to pass the new title parameter.

Catalog creation improvements:

  • Updated the Catalog.create method to use the provided response.title as the default catalog title if no metadata is supplied, resulting in more meaningful catalog titles for search results.

@mekarpeles mekarpeles force-pushed the search-with-title branch 2 times, most recently from 56b0754 to b2a66c2 Compare November 22, 2025 20:49
@mekarpeles mekarpeles merged commit 1165bae into main Nov 22, 2025
2 checks passed
@mekarpeles mekarpeles deleted the search-with-title branch November 22, 2025 20:58
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.

2 participants