Implement ZIM reader getTags() and getName()

This commit is contained in:
Kelson 2016-09-04 19:59:22 +02:00
parent 92cdd73268
commit fc9f3a3a25
2 changed files with 14 additions and 0 deletions

View File

@ -273,6 +273,18 @@ namespace kiwix {
return value;
}
string Reader::getName() {
string value;
this->getMetatag("Name", value);
return value;
}
string Reader::getTags() {
string value;
this->getMetatag("Tags", value);
return value;
}
string Reader::getDescription() {
string value;
this->getMetatag("Description", value);

View File

@ -55,6 +55,8 @@ namespace kiwix {
string getTitle();
string getDescription();
string getLanguage();
string getName();
string getTags();
string getDate();
string getCreator();
string getPublisher();