1
0
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:
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", "license": "proprietary",
"authors": [ "authors": [
{ {
"name": "clement", "name": "Shikiryu",
"email": "email@example.com" "email": "projets@shiki.fr",
"homepage": "https://shikiryu.com",
"role": "Developer"
} }
], ],
"autoload": { "autoload": {

View File

@ -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