-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
123 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<rss xmlns:podcast="https://github.com/Podcastindex-org/podcast-namespace/blob/main/docs/1.0.md" version="2.0"> | ||
<channel> | ||
<title>AgileSet Media</title> | ||
<link>https://agilesetmedia.com</link> | ||
<description>AgileSet Media is an unincorporated, unregistered, and unpapered entity of AgileSet LLC for producing and publishing stuff by Mike Neumann. It is based in Texas, USA.</description> | ||
<image> | ||
<url>https://agilesetmedia.com/assets/static/AgileSet-logo-square-sm-144.png</url> | ||
<title>AgileSet Media</title> | ||
<link>https://agilesetmedia.com</link> | ||
<width>144</width> | ||
<height>144</height> | ||
</image> | ||
<podcast:person href="https://mikeneumann.net" group="Creative Direction" role="Director" img="https://itsamood.org/assets/static/MikeNeumann_202310.jpg">Mike Neumann</podcast:person> | ||
<podcast:guid>003af0a0-6a45-55bf-b765-68e3d349551a</podcast:guid> | ||
<podcast:medium>publisher</podcast:medium> | ||
<podcast:remoteItem medium="podcast" feedGuid="469b403f-db2d-574c-9db9-96dbb3f6561c" feedUrl="https://itsamood.org/itsamoodrss.xml"/> | ||
<podcast:remoteItem medium="podcast" feedGuid="72816866-317e-5e48-8895-8193d58e5b57" feedUrl="https://mikesmixtape.com/mikesmixtaperss.xml"/> | ||
<podcast:remoteItem medium="podcast" feedGuid="7a2d292c-8656-5fcf-88d2-31b10e54d7c7" feedUrl="https://mikeneumann.show/themnshowrss.xml"/> | ||
</channel> | ||
</rss> |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { parseFeed } from ".."; | ||
|
||
import * as helpers from "./helpers"; | ||
|
||
describe("publisher feed", () => { | ||
it("parses sample publisher feed", async () => { | ||
const xml = await helpers.loadFixture(`publisher.xml`); | ||
const result = parseFeed(xml); | ||
|
||
expect(result).toHaveProperty("title", "AgileSet Media"); | ||
expect(result).toHaveProperty("medium", "publisher"); | ||
expect(result).toHaveProperty("podcastRemoteItems"); | ||
expect(result?.podcastRemoteItems).toHaveLength(3); | ||
}); | ||
}); |
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