Closed kelson42 closed 5 months ago
I propose to do like following:
Name
.name
as well to allow the reconciliation, even if the original ZIM file is not available anymore (custom app scenario)reconciliateBookmarks(source UUID, target UUID)
. Both arguments are optional. If none given, then apply to all dead bookmarks. If "source" specified, then apply to all bookmarks. If both "source" and "target" are available then migrate only between the two ZIM files.@veloman-yunkan @mgautierfr Do you agree with the proposal, do you want to patch it?
This is a Book/Title/Book reconciliation proposal, not a bookmark one. If it only re-conciliates ZIM files, then the API should not mention bookmark.
Doing more bookmark-related operations (such as checking whether the bookmark path still exists and what not) would require ZIM file access so a very differently scoped API.
This is a Book/Title/Book reconciliation proposal, not a bookmark one. If it only re-conciliates ZIM files, then the API should not mention bookmark.
Kind of agree! reconciliateBookmarks(source UUID, target UUID)
still makes sense, but might be based on a reconciliateBooks(...)
which would handle the smart part based on metadata. Would that be a better?
Exactly
Bookmarks apply to a book: a specific ZIM file identified via its UUID. The problem is:
We need a way for the user to easily re-apply its bookmarks to the latest version of the title. This operation will be called the "bookmark reconciliation".
Reconciliation requirements: