mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-10-23 09:29:25 -04:00
Add missing method to get the zim metadata.
According to https://wiki.openzim.org/wiki/Metadata
This commit is contained in:
1 parent
1245d4e467
commit
bd91e89785
2 files changed
+72
No files matched your search
@@ -337,15 +337,45 @@ string Reader::getDescription() const
|
||||
return value;
|
||||
}
|
||||
|
||||
string Reader::getLongDescription() const
|
||||
{
|
||||
METATAG("LongDescription")
|
||||
}
|
||||
|
||||
string Reader::getLanguage() const
|
||||
{
|
||||
METATAG("Language")
|
||||
}
|
||||
|
||||
string Reader::getLicense() const
|
||||
{
|
||||
METATAG("License")
|
||||
}
|
||||
|
||||
string Reader::getTags() const
|
||||
{
|
||||
METATAG("Tags")
|
||||
}
|
||||
|
||||
string Reader::getRelation() const
|
||||
{
|
||||
METATAG("Relation")
|
||||
}
|
||||
|
||||
string Reader::getFlavour() const
|
||||
{
|
||||
METATAG("Flavour")
|
||||
}
|
||||
|
||||
string Reader::getSource() const
|
||||
{
|
||||
METATAG("Source")
|
||||
}
|
||||
|
||||
string Reader::getScraper() const
|
||||
{
|
||||
METATAG("Scraper")
|
||||
}
|
||||
#undef METATAG
|
||||
|
||||
string Reader::getOrigId() const
|
||||
|
||||
Reference in new issue
Block a user