Add missing method to get the zim metadata.

According to https://wiki.openzim.org/wiki/Metadata
This commit is contained in:
Matthieu Gautier committed 2019-09-12 15:33:07 +02:00
1 parent 1245d4e467
commit bd91e89785
2 files changed
+72

No files matched your search

+30
View File
@@ -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