alternateEnclosure: mirror
This commit is contained in:
parent
4d2754bbfa
commit
4a6a52f726
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,11 @@
|
|||
<link>http://www.ondarossa.info{{node.path.0.alias}}</link>
|
||||
|
||||
<enclosure url="{{ audiourl | replace({"https://": "http://"}) | escape('html_attr') }}" type="audio/{{ext}}" length="1024"></enclosure>
|
||||
<podcast:alternateEnclosure default="true" type="audio/{{ext}}" rel="default" >
|
||||
<podcast:source uri="{{ audiourl | escape('html_attr') }}" />
|
||||
<podcast:source
|
||||
uri="{{ audiourl | replace({"https://archive.org/": "https://archive.degenerazione.xyz/"}) | escape('html_attr') }}" />
|
||||
</podcast:alternateEnclosure>
|
||||
{% if img != "" %}
|
||||
{% set img_ext = img|split('.')|last|lower|replace({jpg: 'jpeg'}) %}
|
||||
<itunes:image href="{{node.img.0.uri}}" type="image/{{img_ext}}" />
|
||||
|
|
Loading…
Reference in a new issue