openzim / youtube

Create a ZIM file from a Youtube channel/username/playlist
GNU General Public License v3.0
46 stars 26 forks source link

New UI: HTML page title should be the ZIM title #227

Closed benoit74 closed 3 months ago

benoit74 commented 3 months ago

The HTML page title is currently a constant "YouTube in a ZIM". This is displayed for instance in browser tabs.

This title should be "dynamically" aligned with the ZIM title (passed to the scraper CLI or computed dynamically).

The way the title is set is important, because ideally it should be available in the HTML when page loads because most (all?) readers use this HTML page title to render it somewhere in the UI but most (all?) do not respond to dynamic modification of the page title via JS code. But maybe this is just too complex and we should rather open issues in readers to support dynamic updates of the page titles. TbC.