🚑️ Corrects last review

This commit is contained in:
Shikiryu 2023-04-13 21:14:13 +02:00
parent 4eac721473
commit 59b6027819
2 changed files with 4 additions and 19 deletions

View File

@ -5,8 +5,10 @@
"license": "proprietary",
"authors": [
{
"name": "clement",
"email": "email@example.com"
"name": "Shikiryu",
"email": "projets@shiki.fr",
"homepage": "https://shikiryu.com",
"role": "Developer"
}
],
"autoload": {

View File

@ -17,23 +17,6 @@ use Shikiryu\SRSS\SRSSTools;
class MediaContentParser extends DomDocument
{
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