Add language in OPDS feed.
This commit is contained in:
parent
481d47027c
commit
5abcb05a90
|
@ -203,6 +203,13 @@ class OPDSRenderer
|
||||||
self::getXmlStream ()->endElement ();
|
self::getXmlStream ()->endElement ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$lang = $entry->book->getLanguages ();
|
||||||
|
if (!is_null ($lang)) {
|
||||||
|
self::getXmlStream ()->startElement ("dcterms:language");
|
||||||
|
self::getXmlStream ()->text ($lang);
|
||||||
|
self::getXmlStream ()->endElement ();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function render ($page) {
|
public function render ($page) {
|
||||||
|
|
Loading…
Reference in a new issue