mirror of https://github.com/kiwix/libkiwix.git
Rmoved title, favicon, faviconmimetype,description,author, publisher, date, language parameters from library file for diff files.
This commit is contained in:
parent
7fbf20936e
commit
c22b5a1d4c
|
@ -157,6 +157,8 @@ namespace kiwix {
|
|||
bookNode.append_attribute("indexType") = "clucene";
|
||||
}
|
||||
|
||||
if (itr->origID == "")
|
||||
{
|
||||
if (!itr->title.empty())
|
||||
bookNode.append_attribute("title") = itr->title.c_str();
|
||||
|
||||
|
@ -175,6 +177,14 @@ namespace kiwix {
|
|||
if (itr->publisher != "")
|
||||
bookNode.append_attribute("publisher") = itr->publisher.c_str();
|
||||
|
||||
if (itr->favicon != "")
|
||||
bookNode.append_attribute("favicon") = itr->favicon.c_str();
|
||||
|
||||
if (itr->faviconMimeType != "")
|
||||
bookNode.append_attribute("faviconMimeType") = itr->faviconMimeType.c_str();
|
||||
|
||||
}
|
||||
|
||||
if (itr->url != "")
|
||||
bookNode.append_attribute("url") = itr->url.c_str();
|
||||
|
||||
|
@ -189,12 +199,6 @@ namespace kiwix {
|
|||
|
||||
if (itr->size != "")
|
||||
bookNode.append_attribute("size") = itr->size.c_str();
|
||||
|
||||
if (itr->favicon != "")
|
||||
bookNode.append_attribute("favicon") = itr->favicon.c_str();
|
||||
|
||||
if (itr->faviconMimeType != "")
|
||||
bookNode.append_attribute("faviconMimeType") = itr->faviconMimeType.c_str();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue