change enclosure line
This commit is contained in:
parent
53e8f094b9
commit
0216d73bef
|
@ -198,7 +198,8 @@ export class RssXmlParserService {
|
|||
let item: any = {};
|
||||
Utils.copyFromXML(xmlItem, item, itemFields);
|
||||
if (xmlItem.enclosure) {
|
||||
item.enclosure = xmlItem.enclosure[0].$;
|
||||
//item.enclosure = xmlItem.enclosure[0].$;
|
||||
item.enclosure = xmlItem.enclosure.$;
|
||||
}
|
||||
if (xmlItem.description) {
|
||||
if (Array.isArray(xmlItem.description)) {
|
||||
|
|
Loading…
Reference in New Issue