About/Usage

...

Setup

To setup this widget, follow these steps:

  1. Populate parameters

    For this widget to function properly, the following parameters are required:

    • $webq_podcast_feed_url - JSON feed URL
    #set($webq_podcast_feed_url = "https://fakeurl.com/feed.json")
  2. dotParse widget's code

    #dotParse("//web-q-hospital.prod.ehc.com/global/hut/widgets/podcast/v1/podcast.vtl")

JSON Feed format


{
  "feed": {
    "title": "WSRQ - Health Check with Heidi Godman",
    "link": "http://doctorsofsarasota.com/util/feed/wsrq-podcast.xml"
  },
  "podcasts": [
  {
    "id": "health-check-12092016",
    "pubDate": "December 9, 2016",
    "title": "Health Check with Heidi Godman",
    "author": "Heidi Godman",
    "description": "",
    "image": "http://core.secure.ehc.com/src/apps/physician/images/no-physician-photo-160x226.png",
    "profile": "",
    "episodes": [
      {
        "id": "volunteers-doctors-hospital",
        "title": "The Volunteers of Doctors Hospital of Sarasota",
        "guid": "http://doctorsofsarasota.com/util/podcast/health-check-12092016-volunteers-doctors-hospital.mp3",
        "duration": "26:01"
      }, 
      {
        "id": "health-to-you",
        "title": "All About Health to You",
        "guid": "http://doctorsofsarasota.com/util/podcast/health-check-12092016-health-to-you.mp3",
        "duration": "24:37"
      },
      ...
    ]    
  }, 
  ...
 ]
}

Styles - Is this still needed?

The widget styles are in the https://web-q-hospital.secure.ehc.com/global/hut/widgets/css/webq-widgets.css and https://web-q-hospital.secure.ehc.com/global/hut/widgets/css/webq-widgets-eb.css stylesheet. Make sure this is included in /util/custom/start.vtl.