added Podtrac Stats Prefix

This commit is contained in:
Jason Tian 2022-05-22 14:44:42 +08:00
parent d6b2901b29
commit 71aec9a01c
5 changed files with 8 additions and 7 deletions

View file

@ -20,6 +20,7 @@ Params:
- posts
- blog
# PODCAST
statsPrefix: https://dts.podtrac.com/redirect.mp3/
baseURL: https://shufang.org
logo: https://shufang.org/images/podcast-logo.jpg
author: 一个人的书房

View file

@ -11,9 +11,9 @@ url = "/li-ao-reading.html"
duration = "00:22:32"
length = 22649242
external_mp3 = "yes"
mp3 = "https://talks.shufang.org/li-ao-reading/li-ao-reading.mp3"
mp3 = "talks.shufang.org/li-ao-reading/li-ao-reading.mp3"
+++
📺<https://youtu.be/yBXATCSzioc>
音频:[link](https://talks.shufang.org/li-ao-reading/li-ao-reading.mp3)
音频:[link](https://talks.shufang.org/li-ao-reading/li-ao-reading.mp3)

View file

@ -11,11 +11,11 @@ url = "/wangxiaobo-1995.html"
duration = "00:37:18"
length = 37539021
external_mp3 = "yes"
mp3 = "https://talks.shufang.org/wangxiaobo-1995/wangxiaobo-1995.mp3"
mp3 = "talks.shufang.org/wangxiaobo-1995/wangxiaobo-1995.mp3"
+++
“做广播读书节目《孤岛访谈》,采访的第三位嘉宾便是王小波,时间大概是在 1995 年的秋天。此前,我对王小波所知不多。我的采访预案,除去那个广播读书节目的一些技术性规定外,主要来自我阅读《黄金时代》后留下的印象:一个少见的、高智商的作家。”
文字对话https://zhuanlan.zhihu.com/p/65127832
音频:[link](https://talks.shufang.org/wangxiaobo-1995/wangxiaobo-1995.mp3)
音频:[link](https://talks.shufang.org/wangxiaobo-1995/wangxiaobo-1995.mp3)

View file

@ -11,9 +11,9 @@ url = "/yuhua-2018-cctv.html"
duration = "00:15:59"
length = 17813504
external_mp3 = "yes"
mp3 = "https://talks.shufang.org/20180804-yuhua-xiyu-cctv/yuhua.mp3"
mp3 = "talks.shufang.org/20180804-yuhua-xiyu-cctv/yuhua.mp3"
+++
<https://tv.cctv.com/v/v1/VIDE6JP2zzP2ahaNsS5A2OeX180804.html>
音频:[link](https://talks.shufang.org/20180804-yuhua-xiyu-cctv/yuhua.mp3)
音频:[link](https://talks.shufang.org/20180804-yuhua-xiyu-cctv/yuhua.mp3)

View file

@ -43,7 +43,7 @@
<link>{{ .Site.Params.baseURL }}{{ .Permalink | relURL }}</link>
<pubDate>{{ .Date.Format "Mon, Jan 2, 2006 15:04:05 UTC" }}</pubDate>
<guid isPermaLink="true">{{- if or (not (isset .Params "external_mp3")) (ne .Params.external_mp3 "yes") -}}{{ .Site.Params.baseURL | string }}{{- end -}}{{ .Params.mp3 | string }}</guid>
<enclosure length="{{ .Params.length | string }}" url="{{- if or (not (isset .Params "external_mp3")) (ne .Params.external_mp3 "yes") -}}{{ .Site.Params.baseURL | string }}{{- end -}}{{ .Params.mp3 | string }}" type="audio/mpeg"/>
<enclosure length="{{ .Params.length | string }}" url="{{ .site.Params.statsPrefix }}{{- if or (not (isset .Params "external_mp3")) (ne .Params.external_mp3 "yes") -}}{{ .Site.Params.baseURL | string }}{{- end -}}{{ .Params.mp3 | string }}" type="audio/mpeg"/>
<description><![CDATA[{{ .Params.description }}<br /><br />{{ i18n "via" }}<a href="{{ .Site.Params.baseURL }}{{ .Permalink | relURL }}">{{ .Title }}</a>]]></description>
<content:encoded><![CDATA[{{ .Params.description }}<br /><br />{{ i18n "via" }}<a href="{{ .Site.Params.baseURL }}{{ .Permalink | relURL }}">{{ .Title }}</a>]]></content:encoded>
<itunes:explicit>No</itunes:explicit>