absolute path for files
This commit is contained in:
parent
478f7d33d2
commit
bbbb4e191e
12
publish.sh
12
publish.sh
|
@ -70,8 +70,8 @@ function generate_html() {
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>${ESCAPED_PODCAST_NAME}</title>
|
<title>${ESCAPED_PODCAST_NAME}</title>
|
||||||
<link rel="alternate" type="application/rss+xml" title="Audio Podcast" href="/mp3.rss.xml"/>
|
<link rel="alternate" type="application/rss+xml" title="Audio Podcast" href="${PODCAST_WEBROOT}mp3.rss.xml"/>
|
||||||
<link rel="alternate" type="application/rss+xml" title="Video Podcast" href="/mp4.rss.xml"/>
|
<link rel="alternate" type="application/rss+xml" title="Video Podcast" href="${PODCAST_WEBROOT}mp4.rss.xml"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>${ESCAPED_PODCAST_NAME}</h1>
|
<h1>${ESCAPED_PODCAST_NAME}</h1>
|
||||||
|
@ -79,8 +79,8 @@ function generate_html() {
|
||||||
${ESCAPED_PODCAST_DESCRIPTION}
|
${ESCAPED_PODCAST_DESCRIPTION}
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/mp3.rss.xml">Direct link to audio podcast feed</a></li>
|
<li><a href="mp3.rss.xml">Direct link to audio podcast feed</a></li>
|
||||||
<li><a href="/mp4.rss.xml">Direct link to video podcast feed</a></li>
|
<li><a href="mp4.rss.xml">Direct link to video podcast feed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -98,10 +98,10 @@ EOF
|
||||||
<p class="item-description">${DESCRIPTION}</p>
|
<p class="item-description">${DESCRIPTION}</p>
|
||||||
<ul class="item-files">
|
<ul class="item-files">
|
||||||
<li>
|
<li>
|
||||||
<a href="/${MP3_FILE}" target="_blank">Audio</a>
|
<a href="${PODCAST_WEBROOT}${MP3_FILE}" target="_blank">Audio</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="/${MP4_FILE}" target="_blank">Video</a>
|
<a href="${PODCAST_WEBROOT}${MP4_FILE}" target="_blank">Video</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue