mirror of https://github.com/kiwix/libkiwix.git
Implement ZIM reader getTags() and getName()
This commit is contained in:
parent
92cdd73268
commit
fc9f3a3a25
|
@ -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);
|
||||
|
|
|
@ -55,6 +55,8 @@ namespace kiwix {
|
|||
string getTitle();
|
||||
string getDescription();
|
||||
string getLanguage();
|
||||
string getName();
|
||||
string getTags();
|
||||
string getDate();
|
||||
string getCreator();
|
||||
string getPublisher();
|
||||
|
|
Loading…
Reference in New Issue