mirror of
https://github.com/Chouchen/ShikiryuRSS.git
synced 2024-12-22 04:41:37 +01:00
🚑️ Corrects last review
This commit is contained in:
parent
4eac721473
commit
59b6027819
@ -5,8 +5,10 @@
|
|||||||
"license": "proprietary",
|
"license": "proprietary",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "clement",
|
"name": "Shikiryu",
|
||||||
"email": "email@example.com"
|
"email": "projets@shiki.fr",
|
||||||
|
"homepage": "https://shikiryu.com",
|
||||||
|
"role": "Developer"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -17,23 +17,6 @@ use Shikiryu\SRSS\SRSSTools;
|
|||||||
class MediaContentParser extends DomDocument
|
class MediaContentParser extends DomDocument
|
||||||
{
|
{
|
||||||
protected DOMNode $node; // item node
|
protected DOMNode $node; // item node
|
||||||
protected $attr; // item's properties
|
|
||||||
|
|
||||||
// possible properties' names
|
|
||||||
protected static $possibilities = [
|
|
||||||
'title' => 'nohtml',
|
|
||||||
'link' => 'link',
|
|
||||||
'description' => 'html',
|
|
||||||
'author' => 'email',
|
|
||||||
'category' => 'nohtml',
|
|
||||||
'comments' => 'link',
|
|
||||||
'enclosure' => '',
|
|
||||||
'guid' => 'nohtml',
|
|
||||||
'pubDate' => 'date',
|
|
||||||
'source' => 'link',
|
|
||||||
'media:group' => 'folder',
|
|
||||||
'media:content' => '',
|
|
||||||
];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
Loading…
Reference in New Issue
Block a user