dynamic length

This commit is contained in:
Lilian Roller 2019-07-09 10:53:49 +02:00
parent 075b45e17b
commit cc95b1a17c
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
3 changed files with 9 additions and 3 deletions

View file

@ -37,3 +37,5 @@ beitrag:
body: Die erste folge des Waffelpodcast "Das heisse Eisen" mit Venty und L3D. Das Thema der folge lautet "Allgemeines Waffelwissen".
---
xml: Die erste folge des Waffelpodcast "Das heisse Eisen" mit Venty und L3D. Das Thema der folge lautet "Allgemeines Waffelwissen".
---
mp3leng: 8712712

View file

@ -39,18 +39,22 @@ type = text
width = 2/3
[fields.xml_img]
label = RSS Feed Image
label = Image for XML Feed
type = select
source = record.attachments.images
width = 1/3
[fields.mp3leng]
label = MP3 Size
type = string
width = 1/3
[fields.podcastmp3]
label = Podcast Audio - MP3
type = select
source = record.attachments
width = 1/2
[fields.beitrag]
label = Blogbeitrag
type = markdown

View file

@ -79,7 +79,7 @@ type="text/css"?>
{%- endif -%}
</author>
{# #} <pubDate>{{ page.pub_date|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z</pubDate>
{# #} <enclosure url="{{ baseurl }}/{{ search }}/{{ page._id }}/{{ page.podcastmp3 }}" type="audio/mpeg" length="1024"/>
{# #} <enclosure url="{{ baseurl }}/{{ search }}/{{ page._id }}/{{ page.podcastmp3 }}" type="audio/mpeg" length="{{ page.mp3leng }}"/>
{# #} <guid isPermaLink="false">{{ page._id }}</guid>
{# #} <download>{{ baseurl }}/{{ search }}/{{ page._id }}/{{ page.podcastmp3 }}</download>
{# #} <itunes:explicit class="itunes_explicit">no</itunes:explicit>