Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit ZIM metadata "in-place" #934

Open
benoit74 opened this issue Oct 17, 2024 · 0 comments
Open

Edit ZIM metadata "in-place" #934

benoit74 opened this issue Oct 17, 2024 · 0 comments

Comments

@benoit74
Copy link

While ZIM metadata are supposed to be right from the beginning, we regularly face situations where the ZIM produced is ok in term of content, but we have few metadata to edit.

Currently, the process we use consists in recreating the whole ZIM with one-to-one copy of most content and some modified metadata. This is both not very convenient and not

What are the possibilities to edit metadata in-place? If not possible to directly change them since their length might change, wouldn't it be possible to just leave old blobs as they are, create new blobs with updated metadata and update the pointers (TitlePtr?) to the new blobs? This means few bytes will be wasted, but since metadata are very small this would be only very marginally noticeable.

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

No branches or pull requests

1 participant