update readme
This commit is contained in:
parent
598604daba
commit
531789d3cb
|
@ -53,6 +53,7 @@ Version|Date|Comments
|
||||||
-------|----|--------
|
-------|----|--------
|
||||||
1.0.0 | Jan 21, 2019 | Initial release
|
1.0.0 | Jan 21, 2019 | Initial release
|
||||||
1.0.1 | Nov 22, 2020 | Upgraded to SPFx 1.11
|
1.0.1 | Nov 22, 2020 | Upgraded to SPFx 1.11
|
||||||
|
1.0.2 | April 6, 2023 | Fix bug in Direct request retrieval service
|
||||||
|
|
||||||
## Minimal Path to Awesome
|
## Minimal Path to Awesome
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"solution": {
|
"solution": {
|
||||||
"name": "react-rssreader-client-side-solution",
|
"name": "react-rssreader-client-side-solution",
|
||||||
"id": "fcb53167-e0d5-4ed1-9648-149146649aa1",
|
"id": "fcb53167-e0d5-4ed1-9648-149146649aa1",
|
||||||
"version": "1.0.1.0",
|
"version": "1.0.2.0",
|
||||||
"developer": {
|
"developer": {
|
||||||
"name": "Eric Overfield",
|
"name": "Eric Overfield",
|
||||||
"privacyUrl": "https://contoso.com/privacy",
|
"privacyUrl": "https://contoso.com/privacy",
|
||||||
|
|
|
@ -198,8 +198,12 @@ export class RssXmlParserService {
|
||||||
let item: any = {};
|
let item: any = {};
|
||||||
Utils.copyFromXML(xmlItem, item, itemFields);
|
Utils.copyFromXML(xmlItem, item, itemFields);
|
||||||
if (xmlItem.enclosure) {
|
if (xmlItem.enclosure) {
|
||||||
//item.enclosure = xmlItem.enclosure[0].$;
|
if (Array.isArray(xmlItem.enclosure)) {
|
||||||
item.enclosure = xmlItem.enclosure.$;
|
item.enclosure = xmlItem.enclosure[0].$;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
item.enclosure = xmlItem.enclosure.$;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (xmlItem.description) {
|
if (xmlItem.description) {
|
||||||
if (Array.isArray(xmlItem.description)) {
|
if (Array.isArray(xmlItem.description)) {
|
||||||
|
|
Loading…
Reference in New Issue