Created
September 9, 2015 09:48
-
-
Save eazyliving/5b6e6cb976ff9bd24e79 to your computer and use it in GitHub Desktop.
Diesen Snippet am Fuß der Seite nach allem Inhalt einfügen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--podlove-sub-button--> | |
<script type="text/javascript"> | |
window.podcastData = { | |
"title": {{json_encode(@feedattr.title) | raw}}, | |
"subtitle": {{json_encode(@feedattr.description) | raw}}, | |
"description": {{json_encode(@feedattr.summary) | raw}}, | |
"cover": "{{@feedattr.image}}", | |
"feeds": [ | |
<repeat group="@feedattr.audioformats" value="{{@format}}"> | |
{ | |
"type":"{{explode('/',@mimetypes[@format])[0]}}", | |
"format": "{{@format}}", | |
"url": "{{@feedattr.baserel}}{{@format}}{{@extxml}}", | |
}, | |
</repeat> | |
] | |
} | |
</script> | |
<script class="podlove-subscribe-button" src="https://cdn.podlove.org/subscribe-button/javascripts/app.js" data-language="de" data-size="small" data-json-data="podcastData" data-colors="{{@templatevars.color}};{{@templatevars.dark}};{{@templatevars.color}};;;;#fff;{{@templatevars.color}};; " data-buttonid="{{@feedattr.slug}}" data-hide="true"></script> | |
<!--//podlove-sub-button--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment