From cc95b1a17c833fc606bba113d95d554d7830ae6a Mon Sep 17 00:00:00 2001 From: Lilian Roller Date: Tue, 9 Jul 2019 10:53:49 +0200 Subject: [PATCH] dynamic length --- content/eisen/he01/contents.lr | 2 ++ models/blog-post.ini | 8 ++++++-- templates/feed_podcast-he.xml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/content/eisen/he01/contents.lr b/content/eisen/he01/contents.lr index 32f36b7..4297144 100644 --- a/content/eisen/he01/contents.lr +++ b/content/eisen/he01/contents.lr @@ -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 diff --git a/models/blog-post.ini b/models/blog-post.ini index ea8df2d..b068073 100644 --- a/models/blog-post.ini +++ b/models/blog-post.ini @@ -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 diff --git a/templates/feed_podcast-he.xml b/templates/feed_podcast-he.xml index 072aa87..58d323e 100644 --- a/templates/feed_podcast-he.xml +++ b/templates/feed_podcast-he.xml @@ -79,7 +79,7 @@ type="text/css"?> {%- endif -%} {# #} {{ page.pub_date|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z -{# #} +{# #} {# #} {{ page._id }} {# #} {{ baseurl }}/{{ search }}/{{ page._id }}/{{ page.podcastmp3 }} {# #} no