5
edits
(Added details of the proposed zimdiff tool.) |
|||
Line 8: | Line 8: | ||
==diff_file format== | ==diff_file format== | ||
A diff_file will be | A diff_file will be a normal ZIM file, with some additional data. The ZIM diff file must contain the necessary data to allow to make: | ||
start_file + diff_file = end_file | start_file + diff_file = end_file | ||
Line 46: | Line 46: | ||
</source> | </source> | ||
==Additional metadata entries== | |||
===file_details=== | |||
Article Name: 'file_details'<br> | |||
This article will contain the UIDs of both the start_file and the end_file, to prevent wrong updates. | |||
===add_list=== | |||
Article Name: 'add_list'<br> | |||
This article will contain the list of articles to be added to start_file. The articles themselves can then be obtained from the contents of the diff_file.<br> | |||
The Namespace and Title of the articles will be stored. | |||
===delete_list=== | |||
Article Name: 'delete_list'<br> | |||
A list of articles to be deleted from the start_file. Namespace and Title provided.<br> | |||
===update_list=== | |||
A List of articles to be updated. The new version of the articles can be found in the contents of the diff_file.<br> | |||
Namespace and Title stored. |
edits