From f815380b3b51b1709eef10d3b70e62f893c5771e Mon Sep 17 00:00:00 2001 From: Edmon Date: Thu, 20 Aug 2020 23:21:06 -0300 Subject: [PATCH 1/7] Add image to RSS --- lib/domain/rss_item.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/domain/rss_item.dart b/lib/domain/rss_item.dart index 15fa909..851bda3 100644 --- a/lib/domain/rss_item.dart +++ b/lib/domain/rss_item.dart @@ -22,6 +22,7 @@ class RssItem { final RssSource source; final RssContent content; final Media media; + final String image; final RssEnclosure enclosure; final DublinCore dc; final Itunes itunes; @@ -38,6 +39,7 @@ class RssItem { this.source, this.content, this.media, + this.image, this.enclosure, this.dc, this.itunes, From ee108e061f39b609c284dfe28e0831da56bcafa7 Mon Sep 17 00:00:00 2001 From: Edmon Date: Sun, 10 Jan 2021 13:54:39 -0500 Subject: [PATCH 2/7] Ignore vscode configs --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index e284d7a..7b0a8c3 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ doc/api/ .idea .dart_tool +.vscode \ No newline at end of file From cf8f3784f9552804ec9aaca5fccc20e96b2434f8 Mon Sep 17 00:00:00 2001 From: Edmon Date: Sun, 10 Jan 2021 13:55:30 -0500 Subject: [PATCH 3/7] Accept "." as divider --- lib/domain/itunes/itunes.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/domain/itunes/itunes.dart b/lib/domain/itunes/itunes.dart index a6cc682..0d9458e 100644 --- a/lib/domain/itunes/itunes.dart +++ b/lib/domain/itunes/itunes.dart @@ -85,7 +85,7 @@ class Itunes { var hours = 0; var minutes = 0; var seconds = 0; - var parts = s.split(':'); + var parts = s.split(s.contains(':') ? ':' : '.'); if (parts.length > 2) { hours = int.parse(parts[parts.length - 3]); } From 3a4c9eed24ac2b858fe8ef131d15683773291bd5 Mon Sep 17 00:00:00 2001 From: Edmon Date: Tue, 30 Mar 2021 00:30:22 -0400 Subject: [PATCH 4/7] Fix --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 78ec0ad..0063193 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -6,7 +6,7 @@ environment: sdk: ">=2.0.0 <3.0.0" dependencies: xml: "^4.2.0" - intl: "^0.16.0" + intl: "^0.17.0-nullsafety.2" dev_dependencies: test: ^1.3.0 http: "^0.11.3+16" From f73733403aa247fe9ac0bce054a66d711a5d8e3a Mon Sep 17 00:00:00 2001 From: Edmon Date: Tue, 30 Mar 2021 00:48:36 -0400 Subject: [PATCH 5/7] Bump XML version --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 0063193..04afe50 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,7 +5,7 @@ homepage: https://github.com/witochandra/webfeed environment: sdk: ">=2.0.0 <3.0.0" dependencies: - xml: "^4.2.0" + xml: "^5.0.2" intl: "^0.17.0-nullsafety.2" dev_dependencies: test: ^1.3.0 From f38b5f3c4b80967feb3f95cd5ce4edc87dd88423 Mon Sep 17 00:00:00 2001 From: Edmon Date: Sun, 17 Oct 2021 01:58:24 -0400 Subject: [PATCH 6/7] Gitignore Gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 15cb367..85c64b1 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,5 @@ doc/api/ .idea .dart_tool -.vscode + +.vscode/ From 8ae400649657cb01e5a8ce3fa084e38410eb1f60 Mon Sep 17 00:00:00 2001 From: Edmon Date: Sun, 8 Jan 2023 21:55:06 -0500 Subject: [PATCH 7/7] Udpate XML --- pubspec.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index a094f2e..56b0b1f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,8 +5,8 @@ homepage: https://github.com/witochandra/webfeed environment: sdk: '>=2.12.0 <3.0.0' dependencies: - xml: "^5.0.2" - intl: "^0.17.0" + xml: ^6.2.2 + intl: ^0.18.0 dev_dependencies: test: ^1.3.0 - http: "^0.13.0" + http: ^0.13.0