Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.14 KB | None | 0 0
  1. <!-- header.php -->
  2. <html>
  3.     <head>
  4.         <?php if(is_frontpage()): ?>
  5.             <script class="podlove-subscribe-button" src="http://cdn.podlove.org/subscribe-button/javascripts/app.js" data-language="de" data-size="small" data-json-data="podcastData"></script>
  6.         <script>
  7.               window.podcastData = {
  8.                 "title": "Newz of the World",
  9.                 "subtitle": "Tim and Mark talk about the Newz™",
  10.                 "description": "Newz of the World is a weekly...",
  11.                 "cover": "http://meta.metaebene.me/media/newz/newz-logo-600x600.jpg",
  12.                 "feeds": [
  13.                   {
  14.                     "type": "audio",
  15.                     "format": "mp3",
  16.                     "url": "http://newz-of-the-world.com/feed/mp3",
  17.                     "variant": "high"
  18.                   },
  19.                   {
  20.                     "type": "audio",
  21.                     "format": "aac",
  22.                     "url": "http://newz-of-the-world.com/feed/mp4",
  23.                     "variant": "high"
  24.                   },
  25.                   {
  26.                     "type": "audio",
  27.                     "format": "ogg",
  28.                     "url": "http://newz-of-the-world.com/feed/ogg",
  29.                     "variant": "high"
  30.                   },
  31.                   {
  32.                     "type": "audio",
  33.                     "format": "opus",
  34.                     "url": "http://newz-of-the-world.com/feed/opus",
  35.                     "variant": "high"
  36.                   }
  37.                 ]
  38.               }
  39.             </script>
  40.         <?php endif;?>
  41.     </head>
  42. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement