Last modified: 2013-07-28 13:18:12 UTC
For zimdiff and zimpatch, we need to store new types of entry: * redirects to articles which are not in the ZIM file (article was not modified, but a new redirect was created) * entries to delete
The type is encoded in the mime type field just like redirects. Redirects have the mime type 0xffff, link targets 0xfffe and deleted entries 0xfffd. Methods isLinktarget and isDeleted in zim::Article and zim::Dirent help detecting the types. The zim creator interface zim::writer::Article got 2 new virtual methods isLinktarget and isDeleted with default implementations which return false.
Thx you, also for having updated the specs: http://www.openzim.org/w/index.php?title=ZIM_file_format&diff=2719&oldid=2659