avocadotoastlive / avocadotoast.live Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://avocadotoast.live/
License: MIT License
Home Page: https://avocadotoast.live/
License: MIT License
Timestamp with hours in the description isn't supported: https://avocadotoast.live/episodes/41
Typlog supports it in the same episode: https://avocadotoast.typlog.io/episodes/findinfo
If show note has [3:14], turn it into a link and clicking it should move the audio player to 3 minutes and 14 seconds mark.
Based on current data, the failure rate in reverse order is Typlog > Ximalaya > Anchor.
We need to at least support all existing platforms we publish to.
These 2 tags:
<meta property="og:description" content="{{ item.contentSnippet }}" />
<meta name="twitter:description" content="{{ item.contentSnippet }}" />
Source: https://avocadotoast.typlog.io/guide
Destination: https://avocadotoast.live/listening/
Markdown:
## 【推荐】在各大泛用性播客平台中都可以订阅和收听:
* Apple Podcast: https://podcasts.apple.com/podcast/id1479918340
* Pocket Cast: https://pca.st/xvtd6yu4
* Castro: https://castro.fm/itunes/1479918340
* Overcast: https://overcast.fm/itunes1479918340/avocado-toast
* Google Podcast: https://www.google.com/podcasts…
* Breaker: https://www.breaker.audio/niu-you-guo-kao-mian-bao-avocado-…
* CastBox: https://castbox.fm/channel/id2366086
* Stitcher: https://www.stitcher.com/podcast/avocado-toast
* RadioPublic: https://radiopublic.com/https%3A%2F%2Fanchor.fm%2Fs%2Fe3e1f…
* PodBean: https://www.podbean.com/…/%E7%89%9B%E6%B2%B9%E6%9E%9C%E7%83…
* Apple Podcast(来自喜马拉雅的播放源): https://podcasts.apple.com/us/podcast/%E7%89%9B%E6%B2%B9%E6%9E%9C%E7%83%A4%E9%9D%A2%E5%8C%85%E4%B8%AD%E5%9B%BD%E7%89%88/id1520154407
## 直接RSS订阅:
https://avocadotoast.typlog.io/episodes/feed.xml
## 半泛用播客平台:
* 小宇宙: https://www.xiaoyuzhoufm.com/podcast/5e7c8b2b418a84a046e3ecbc
## 其他播客平台:
* Spotify: https://open.spotify.com/show/3royq81yR8oRcdC0KxXBhY
* 喜马拉雅: https://www.ximalaya.com/keji/29161862/
* QQ音乐: https://y.qq.com/n/yqq/singer/001G2mFW47nPJr.html
Audience: How to suggest content? How to become a guest?
Guest: How to prepare for recording? What is it like in the recording process?
It's been broken for a while.
> const Parser = require('rss-parser');
> let parser = new Parser();
> let feed = await parser.parseURL('https://www.ximalaya.com/album/29161862.xml')
Uncaught Error: Status code 406
Not sure why Ximalaya responds with 406. The feed URL can be opened in browser or curl.
It doesn't work on Windows. path.join
sees /...
and treats it as C:\...
. The output won't be valid URL. Use the URL
class's new URL(path, base)
instead.
Read the following MDN document to learn about how to use new URL(path, base)
as a way to concatenate path: https://developer.mozilla.org/en-US/docs/Web/API/URL/URL
Look into this file and find all the path.join
and path.resolve
calls: https://github.com/avocadotoastlive/avocadotoast.live/blob/master/_data/data.js. Not all of them need to be corrected. Only those dealing with "virtual path" need to be updated. (Virtual path means a path used in URL instead of local file system.)
url.resolve
could be a good replacement here, but it's deprecated. Here's how to use URL
class to implement the url.resolve
function: https://nodejs.org/api/url.html#url_url_resolve_from_to
Right now, on mobile, there is only one RSS icon on the top-right of the page. We should make it easier for users to find such a link, and even encourage them to find it. Consider to change it to a Chinese work. Also, in the description, after summary of the podcast, consider to add one sentence to guide users to the subscribe.
希望主页上可以找到TG群链接、email、推特和微博的地址。
Avoid mixed content.
Right now timestamp link covers the whole bullet point. Sometimes we put a different link in the bullet point's text. That works on Typlog but not our own site. We should change our own site to be like Typlog. See the following example:
https://avocadotoast.live/episodes/97/
https://avocadotoast.typlog.io/episodes/standup_comedy
The function that's actually responsible for adding a link to the bullet point is here:
Lines 28 to 54 in b1d80f4
It should still display the full list.
It’s better not to hide them on mobile. Users can’t discover all the platform they can use to listen.
Facebook share debugger shows this warning:
The provided 'og:image' properties are not yet available because new images are processed asynchronously. To ensure shares of new URLs include an image, specify the dimensions using 'og:image:width' and 'og:image:height' tags. https://developers.facebook.com/docs/sharing/best-practices/#precaching
Without width and height, the first time the link is shared there's no image in link preview because it takes time for Facebook to fetch the image.
Help people playing with the codebase locally.
Image resizing takes most of the build time.
Tell people those are other episodes.
Episodes use the following URL paths (item.itunes.episode
is always an integer):
avocadotoast.live/episodes.liquid
Line 6 in b1d80f4
avocadotoast.live/cn_episodes.liquid
Line 6 in b1d80f4
They should be crawlable. The following URL paths are for embedded player (for Twitter card):
They should not be crawlable. Please use robots.txt
to prevent crawling of them.
Learn more about robots.txt
here: https://developers.google.com/search/docs/advanced/robots/intro
Since it's impossible to use robots.txt
to block /episode/{number}/player
it's necessary to list all episodes inside robot.txt
. Use the same approach of sitemap.xml
to generate robots.txt
with Liquid template:
https://github.com/avocadotoastlive/avocadotoast.live/blob/master/sitemap.liquid
Navbar was deleted in #134.
An episode without a specific cover photo will always have the same cover photo URL.
Share to Twitter and Facebook.
Tell people they can listen on any of those platforms.
现在主页上没有明确的订阅标识。建议采取以下之一或二:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.