commit
949239ec57
@ -36,6 +36,8 @@ class RssParser
|
|||||||
*/
|
*/
|
||||||
public $error = '';
|
public $error = '';
|
||||||
|
|
||||||
|
public $feed_version;
|
||||||
|
|
||||||
private $_format = '';
|
private $_format = '';
|
||||||
private $_urlRSS;
|
private $_urlRSS;
|
||||||
private $_language;
|
private $_language;
|
||||||
@ -446,7 +448,7 @@ class RssParser
|
|||||||
$itemDescription = sanitizeVal((string) $item['description']);
|
$itemDescription = sanitizeVal((string) $item['description']);
|
||||||
$itemPubDate = sanitizeVal((string) $item['pubdate']);
|
$itemPubDate = sanitizeVal((string) $item['pubdate']);
|
||||||
$itemId = sanitizeVal((string) $item['guid']);
|
$itemId = sanitizeVal((string) $item['guid']);
|
||||||
$itemAuthor = sanitizeVal((string) $item['author']);
|
$itemAuthor = sanitizeVal((string) ($item['author'] ?? ''));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Loop on each category
|
// Loop on each category
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user