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;
|
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 Reader::getDescription() {
|
||||||
string value;
|
string value;
|
||||||
this->getMetatag("Description", value);
|
this->getMetatag("Description", value);
|
||||||
|
|
|
@ -55,6 +55,8 @@ namespace kiwix {
|
||||||
string getTitle();
|
string getTitle();
|
||||||
string getDescription();
|
string getDescription();
|
||||||
string getLanguage();
|
string getLanguage();
|
||||||
|
string getName();
|
||||||
|
string getTags();
|
||||||
string getDate();
|
string getDate();
|
||||||
string getCreator();
|
string getCreator();
|
||||||
string getPublisher();
|
string getPublisher();
|
||||||
|
|
Loading…
Reference in New Issue