diff --git a/assets/css/xml.css b/assets/css/xml.css new file mode 100644 index 0000000..d3c7c74 --- /dev/null +++ b/assets/css/xml.css @@ -0,0 +1,87 @@ +/* This CSS stylesheet is an example of how we can style XML with CSS */ + +/* Group behavior */ +channel { + display:block; + border: 1px solid gray; + margin:0.5em; + padding:0.5em; + background-color:whitesmoke; + list-style: none; + color: black; +} +item { + display:block; + border: 1px solid silver; + margin:0.5em; + padding:0.5em; + background-color:whitesmoke; +} + +/* single items */ +title { + display:block; + color: #ee7402; + font-size: 120%; +} +title:before, +link:after, +.itunes_subtitle:after, +.itunes_subtitle:before, +content:before{ + content: '\a'; + white-space: pre; +} +title:after, +content:after { + content: '\a\a'; + white-space: pre; +} +link{ + color: navy; + text-decoration: underline; +} +link:before{ content: "Link: "; } +description{ + color: #f94f22; +} +language:before{ content:" (In "; } +language:after{ content:"utscher Sprache)"; } +description:before{ content: "Beschreibung: "; } +id, +copyright, +generator, +updated, +pubDate, +.itunes_summary, +.itunes_keywords, +.itunes_explicit, +.itunes_owner, +.itunes_new-feed-url, +.itunes_author, +guid, +lastBuildDate{ display: none; } +name {color:red; text-decoration: underline;} +price {color:green;} +stock {color:brown;} +country {color:blue;} +content { + color: #424242; + background-color: #ccc; + display:block; + border: 1px solid gray; + margin:1em; + margin-right: 12em; + padding:0.5em; + background-color: #ccc; + list-style: none; +} +.itunes_block{ + content: '\a\a\a\a\a\a\a\a\a\a'; + padding: 64px; + float: right; + margin: 4px; + background: url("/images/podcast.min.png") no-repeat; + color: rgba(0,0,0,0); +} +.itunes_subtitle{ font-size: 70%;} diff --git a/assets/images/podcast.jpg b/assets/images/podcast.jpg deleted file mode 100644 index 5d15c48..0000000 Binary files a/assets/images/podcast.jpg and /dev/null differ diff --git a/assets/images/podcast.min.png b/assets/images/podcast.min.png new file mode 100644 index 0000000..e689b53 --- /dev/null +++ b/assets/images/podcast.min.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34f789d06dea82bb6733b5997b723875d3f03abc5a709e41a46d4a4a96d1db67 +size 11383 diff --git a/assets/images/podcast.min.svg b/assets/images/podcast.min.svg new file mode 100644 index 0000000..525f356 --- /dev/null +++ b/assets/images/podcast.min.svg @@ -0,0 +1,1039 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DAS HEISSE EISEN + diff --git a/assets/images/podcast.png b/assets/images/podcast.png index 8b00cc3..585163c 100644 Binary files a/assets/images/podcast.png and b/assets/images/podcast.png differ diff --git a/assets/images/podcast.svg b/assets/images/podcast.svg deleted file mode 100644 index dd349d9..0000000 --- a/assets/images/podcast.svg +++ /dev/null @@ -1,833 +0,0 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DAS HEISSE EISEN - - diff --git a/content/eisen/he01/c3woc-podcastlogo.svg b/content/eisen/he01/c3woc-podcastlogo.svg deleted file mode 100644 index dd349d9..0000000 --- a/content/eisen/he01/c3woc-podcastlogo.svg +++ /dev/null @@ -1,833 +0,0 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DAS HEISSE EISEN - - diff --git a/templates/feed_podcast-he.xml b/templates/feed_podcast-he.xml index a8b4814..dc5cb68 100644 --- a/templates/feed_podcast-he.xml +++ b/templates/feed_podcast-he.xml @@ -1,6 +1,17 @@ {%- set baseurl = "https://podcast.c3woc.de" -%} {%- set search = "eisen" -%} + @@ -27,42 +38,42 @@ {%- for page in pages -%} {%- if not page._hidden %} {%- if firstrun == true %} -{# #} <pubDate>2019-06-14T00:42:23Z</pubDate> -{# #} <lastBuildDate>{{ none|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z</lastBuildDate> -{# #} <itunes:author>L3D</itunes:author> -{# #} <itunes:subtitle>Der Podcast des CCC Waffel Operation Center</itunes:subtitle> -{# #} <itunes:summary> - {%- if bag('translate', this.alt, 'hefeed_description') -%} - {{ bag('translate', this.alt, 'hefeed_description') }} - {%- else -%} - Der Waffelpodcast: 'Das heisse Eisen'. Mit Venty und L3D. - {%- endif -%} - </itunes:summary> -{# #} <itunes:keywords> - {%- if bag('translate', this.alt, 'hefeed_keywords') -%} - {{ bag('translate', this.alt, 'hefeed_keywords') }} - {%- else -%} - Waffel, C3WOC, CCC, Chaos, Waffle, Waffles, Waffeln, VOC, WOC, Operation, Center - {%- endif -%} - </itunes:keywords> -{# #} <itunes:explicit>no</itunes:explicit> -{# #} <itunes:owner> -{# #} <itunes:name>L3D</itunes:name> -{# #} <itunes:email>l3d@c3woc.de</itunes:email> -{# #} </itunes:owner> -{# #} <itunes:image href="{{ baseurl }}/eisen/c3woc-podcastlogo.svg" /> -{# #} <itunes:new-feed-url>{{ baseurl }}/podcast-he.xml</itunes:new-feed-url> -{# #} <itunes:block>no</itunes:block> -{# #} <itunes:category text="Waffel"> -{# #} <itunes:category text="Chaos"/> -{# #} <itunes:category text="CCC"/> -{# #} </itunes:category> - {%- endif %} - {%- set firstrun = false %} +{# #} <pubDate>2019-06-14T00:42:23Z</pubDate> +{# #} <lastBuildDate>{{ none|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z</lastBuildDate> +{# #} <itunes:author class="itunes_author">L3D</itunes:author> +{# #} <itunes:subtitle class="itunes_subtitle">Der Podcast des CCC Waffel Operation Center</itunes:subtitle> +{# #} <itunes:summary class="itunes_summary"> + {%- if bag('translate', this.alt, 'hefeed_description') -%} + {{ bag('translate', this.alt, 'hefeed_description') }} + {%- else -%} + Der Waffelpodcast: 'Das heisse Eisen'. Mit Venty und L3D. + {%- endif -%} + </itunes:summary> +{# #} <itunes:keywords class="itunes_keywords"> + {%- if bag('translate', this.alt, 'hefeed_keywords') -%} + {{ bag('translate', this.alt, 'hefeed_keywords') }} + {%- else -%} + Waffel, C3WOC, CCC, Chaos, Waffle, Waffles, Waffeln, VOC, WOC, Operation, Center + {%- endif -%} + </itunes:keywords> +{# #} <itunes:explicit class="itunes_explicit">no</itunes:explicit> +{# #} <itunes:owner class="itunes_owner"> +{# #} <itunes:name>L3D</itunes:name> +{# #} <itunes:email>l3d@c3woc.de</itunes:email> +{# #} </itunes:owner> +{# #} <itunes:image href="{{ baseurl }}/images/podcastlogo.png" class="itunes_feed_image"></itunes:image> +{# #} <itunes:new-feed-url class="itunes_new-feed-url">{{ baseurl }}/podcast-he.xml</itunes:new-feed-url> +{# #} <itunes:block class="itunes_block">no</itunes:block> +{# #} <itunes:category text="Waffel"> +{# #} <itunes:category text="Chaos"/> +{# #} <itunes:category text="CCC"/> +{# #} </itunes:category> + {%- endif %} + {%- set firstrun = false %} {# #} <item> {# #} <title>{{ page.title }} {# #} {{ baseurl }}/{{ search }}/{{ page._id }}/ -{# #} +{# #} {%- if page.author -%} {{ page.author }} {%- else -%} @@ -72,7 +83,7 @@ {# #} {{ page.pub_date|datetimeformat('YYYY-MM-ddThh:mm:ss') }}Z {# #} {# #} {{ page._id }} -{# #} no +{# #} no {# #} {{ page.xml }} {%- if page.xml_img -%} diff --git a/templates/layout.html b/templates/layout.html index ed7b809..4e8dbfc 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -18,13 +18,17 @@ {% endif %} - +