[API Change] Convert tags to the new convention.

Use the new convention describe here : https://wiki.openzim.org/wiki/Tags
This commit is contained in:
Matthieu Gautier
2019-09-16 10:45:41 +02:00
parent 660d5d7fb7
commit 2a6772b76d
4 changed files with 119 additions and 5 deletions

View File

@ -229,9 +229,11 @@ class Reader
/**
* Get the tags of the zim file.
*
* @return The tags of the zim file as specified in the zim metadata.
* @param original If true, return the original tags as specified in the zim metadata.
* Else, try to convert it to the new 'normalized' format.
* @return The tags of the zim file.
*/
string getTags() const;
string getTags(bool original=false) const;
/**
* Get the relations of the zim file.