summaryrefslogtreecommitdiffstats
path: root/app/classes/Opml.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/classes/Opml.php')
-rw-r--r--app/classes/Opml.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/app/classes/Opml.php b/app/classes/Opml.php
index c5f185f..b91b43e 100644
--- a/app/classes/Opml.php
+++ b/app/classes/Opml.php
@@ -9,6 +9,9 @@ class Opml
public string $ownerEmail = '';
public string $ownerId = '';
+ public string $dateCreated = '';
+ public string $dateModified = '';
+
public string $title = '';
/** @var array<int, string> */
@@ -21,7 +24,7 @@ class Opml
'TITLE' => 'name',
'XMLURL' => 'feed',
'DESCRIPTION' => 'description',
- 'ISDOWN' => 'isDown'
+ 'ISDOWN' => 'isDown',
);
@@ -81,6 +84,12 @@ class Opml
case 'OWNERID':
$this->ownerId = $cdata;
break;
+ case 'DATECREATED':
+ $this->dateCreated = $cdata;
+ break;
+ case 'DATEMODIFIED':
+ $this->dateModified = $cdata;
+ break;
}
}