Skip to content

Replace Episodes.fm with Podlink branding and functionality #473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions server/assets/episodesfm.svg

This file was deleted.

4 changes: 4 additions & 0 deletions server/assets/podlink.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 10 additions & 5 deletions server/data/apps.json
Original file line number Diff line number Diff line change
Expand Up @@ -2827,24 +2827,29 @@
]
},
{
"appName": "Episodes.fm",
"appName": "Podlink",
"appType": [
"directory",
"podcast player",
"website"
],
"appUrl": "https://episodes.fm",
"appIconUrl": "episodesfm.svg",
"appUrl": "https://pod.link",
"appIconUrl": "podlink.svg",
"platforms": [
"Web"
],
"supportedElements": [
{
"elementName": "OP3",
"elementURL": "https://nathangathright.com/introducing-episodesfm/"
"elementURL": "https://help.podlink.com/article/9-sorting"
},
{
"elementName": "Search",
"elementURL": "https://help.podlink.com/article/4-searching"
},
{
"elementName": "Live Item",
"elementURL": "https://nathangathright.com/introducing-episodesfm/"
"elementURL": "https://help.podlink.com/article/14-live"
}
]
},
Expand Down
5 changes: 0 additions & 5 deletions ui/images/episodesfm.svg

This file was deleted.

3 changes: 3 additions & 0 deletions ui/images/podlink.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions ui/src/components/PodcastHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Value from '../Value'
import NoImage from '../../../images/no-cover-art.png'
import { encodeURLSafeBase64, truncateString } from '../../utils'
import RSSLogo from "../../../images/feed.svg";
import EpisodesFMLogo from "../../../images/episodesfm.svg";
import PodlinkLogo from "../../../images/podlink.svg";
import DonationPage from "../../../images/donation-page.svg";
import EarthLogo from "../../../images/earth.svg";
import LightningLogo from "../../../images/lightning.svg"
Expand Down Expand Up @@ -156,14 +156,14 @@ export default class PodcastHeader extends React.PureComponent<IProps, PodState>
{itunesId || feedURL ?
<a
href={
`https://episodes.fm/${
`https://pod.link/${
itunesId ? itunesId : encodeURLSafeBase64(feedURL)
}`
}
title="Follow in your podcast app"
target="_blank"
>
<img src={EpisodesFMLogo} />
<img src={PodlinkLogo} />
</a>
: ''
}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ export const encodeURLSafeBase64 = (text: string): string => {
const binString = Array.from(new TextEncoder().encode(text), (byte) =>
String.fromCodePoint(byte),
).join('')
// since episodes.fm doesn't need trailing =, remove them
// since Podlink doesn't need trailing =, remove them
return btoa(binString).replace(/=+$/, '');
}
Loading