forked from witochandra/webfeed
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Podcasting 2.0 GUID tag. Update http library to 1.1.0…
… Dart 3 version.
- Loading branch information
1 parent
e98fa56
commit 8cc0114
Showing
6 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,7 +97,7 @@ void main() { | |
|
||
expect( | ||
feed.items.first.content!.value, | ||
'<img width=\"1000\" height=\"690\" src=\"https://test.com/image_link\"/> Test content<br />', | ||
'<img alt="unit test image" width=\"1000\" height=\"690\" src=\"https://test.com/image_link\"/> Test content<br />', | ||
); | ||
expect( | ||
feed.items.first.content!.images.first, | ||
|
@@ -421,6 +421,7 @@ void main() { | |
expect(feed.generator, 'Freedom Controller'); | ||
expect(feed.webMaster, '[email protected] (Tech Support)'); | ||
|
||
expect(feed.podcastIndex!.guid, '20a14457-0993-49b8-a37a-18384e7f91f8'); | ||
expect(feed.podcastIndex!.locked!.locked, true); | ||
expect(feed.podcastIndex!.locked!.owner, '[email protected]'); | ||
expect(feed.podcastIndex!.funding![0]!.url, 'https://example.com/donate'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
<link>https://example.com/show</link> | ||
</image> | ||
|
||
<podcast:guid>20a14457-0993-49b8-a37a-18384e7f91f8</podcast:guid> | ||
<podcast:locked owner="[email protected]">yes</podcast:locked> | ||
<podcast:funding url="https://example.com/donate">Support the show!</podcast:funding> | ||
<podcast:funding url="https://example.com/member">Become a member!</podcast:funding> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ | |
<author>[email protected]</author> | ||
<source url="https://foo.bar.news/1?source">Foo Bar</source> | ||
<comments>https://foo.bar.news/1/comments</comments> | ||
<content:encoded><![CDATA[<img width="1000" height="690" src="https://test.com/image_link"/> Test content<br />]]></content:encoded> | ||
<content:encoded><![CDATA[<img alt="unit test image" width="1000" height="690" src="https://test.com/image_link"/> Test content<br />]]></content:encoded> | ||
<enclosure url="http://www.scripting.com/mp3s/weatherReportSuite.mp3" length="12216320" type="audio/mpeg" /> | ||
</item> | ||
<item> | ||
|