Channel Resource

Resource URI

https://mediahub.unl.edu/channels/{id}

Resource Properties

Property Description JSON XML
id int: A numerical id for the media. 1
link URL: The url to the media file on Media Hub. 1 1
title Text: The title of the media. 1 1
description Text: The descripton of the media. 1 1
image URL: A url to the image of the midea. 1
uidcreated Text: The UID of the user who created the channel 1
language Text: The name of the language used in the channel. 1
pubDate Date: The date the media was published. YYYY-MM-DD HH:MM:SS. 1 1
dateupdated Date: The date the media was last updated. YYYY-MM-DD HH:MM:SS. 1
lastBuildDate Date: The date and time that the feed was last built. 1
docs URL: Link to RSS specification 1
generator Text: Name and version of the generator used to generate the channel. 1
managingEditor Text: Details about the managing Editor. 1
webMaster Text: Details about the webmaster. 1
ttl Int: The maximum number of minutes the chanel has to live before referesing from the source. 1
{media} A list of the media instances in the channel. 1 1

Examples

Request

GET https://mediahub.unl.edu/channels/1?format=json

Response

                            {
    "channel": {
        "id": 1,
        "title": "UNL Department of Chemistry",
        "description": "UNL Department of Chemistry",
        "image": "https:\/\/mediahub.unl.edu\/channels\/1\/image",
        "link": "https:\/\/mediahub.unl.edu\/channels\/1",
        "pubDate": "2009-01-05 10:46:16",
        "uidcreated": "bbieber2",
        "media_count": 0
    },
    "media": {}
}
                        

Request

GET https://mediahub.unl.edu/channels/1?format=xml

Response

                            <?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:itunesu='http://www.itunesu.com/feed' xmlns:itunes='http://www.itunes.com/dtds/podcast-1.0.dtd' xmlns:media='http://search.yahoo.com/mrss/' xmlns:boxee='http://boxee.tv/spec/rss/' xmlns:geo='http://www.w3.org/2003/01/geo/wgs84_pos#' xmlns:mediahub='https://mediahub.unl.edu/schema/mediahub.xsd' >
  <channel>
    <title>UNL Department of Chemistry</title>
    <link>https://mediahub.unl.edu/channels/1</link>
    <description>UNL Department of Chemistry</description>
    <language>en-us</language>
    <pubDate>Sat, 21 Dec 2024 07:24:45 -0600</pubDate>
    <lastBuildDate>Sat, 21 Dec 2024 07:24:45 -0600</lastBuildDate>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>UNL_MediaHub 0.1.0</generator>
        <managingEditor>brett.bieber@nebraska.edu</managingEditor>
    <webMaster>wdn@unl.edu</webMaster>
    <ttl>5</ttl>
    <itunes:image>http://www.unl.edu/unlpub/podcasts/chemistry_podcast.png</itunes:image>
<media:keywords>chemistry</media:keywords>
<media:thumbnail>http://www.unl.edu/unlpub/podcasts/chemistry_podcast.png</media:thumbnail>
    </channel>
</rss>


                        

Request

GET https://mediahub.unl.edu/channels/1?format=partial

Response

                            <div class="dcf-bleed dcf-pt-6 dcf-pb-6 unl-bg-lightest-gray mh-feed-info">
    <div class="dcf-wrapper">

      <div class="dcf-float-right mh-rss"><a href="?format=xml" title="RSS feed for this channel"><svg class="dcf-h-4 dcf-w-4 dcf-fill-current" focusable="false" height="16" width="16" viewBox="0 0 24 24" aria-labelledby="icon-rss-box-6766c19db2f9d"><title id="icon-rss-box-6766c19db2f9d">icon rss box</title><path d="M20.512,0h-17c-1.931,0-3.5,1.57-3.5,3.5v17c0,1.931,1.569,3.5,3.5,3.5h17c1.93,0,3.5-1.569,3.5-3.5v-17 C24.012,1.57,22.441,0,20.512,0z M7.012,19c-1.104,0-2-0.897-2-2s0.896-2,2-2c1.103,0,2,0.898,2,2S8.114,19,7.012,19z M13.012,19 c0-4.411-3.59-8-8-8v-1c4.963,0,9,4.037,9,9H13.012z M18.012,19c0-7.168-5.832-13-13-13V5c7.719,0,14,6.28,14,14H18.012z"></path><g><path fill="none" d="M0 0H24V24H0z"></path></g></svg></a></div>
      <h2>UNL Department of Chemistry</h2>
      
      <div class="dcf-grid dcf-col-gap-vw dcf-pt-6">
        <div class="dcf-col-100% dcf-col-25%-start@sm">
          <div class="dcf-ratio dcf-ratio-16x9 mh-channel-thumb">
                                            <div class="dcf-ratio-child dcf-d-flex dcf-ai-center dcf-jc-center">
                    <img
                        class="dcf-h-8 dcf-w-8"
                        src="https://mediahub.unl.edu//templates/html/css/images/channel-icon.svg"
                        height="51"
                        width="51"
                        aria-hidden="true"
                        alt="">
                </div>
                        </div>
          <div class="mh-feed-stats">
              <div class="dcf-grid-full dcf-grid-thirds@md dcf-col-gap-vw">
</div>
          </div>
        </div>
        <div class="dcf-col-100% dcf-col-75%-end@sm">
          <p>UNL Department of Chemistry</p>
        </div>
      </div>
    </div>
</div>



<div class="dcf-bleed dcf-pt-6">
    <div class="dcf-wrapper dcf-pb-0">
        <div class="mh-list-header">
            <div class="dcf-grid">
                <div class="dcf-col-100% dcf-col-75%-start@sm">
                                            <h2>Recent Media</h2>
                                                        </div>
                <div class="dcf-col-100% dcf-col-25%-end@sm">
                                    </div>
            </div>
        </div>
    </div>
</div>

<div class="dcf-bleed">
    <div class="dcf-wrapper dcf-pt-0 dcf-pb-8">

        <nav class="mh-sort-filter" aria-labelledby="mh-sort-filter-orderby">
    <span id="mh-sort-filter-orderby" class="sort-filter-title">Order by:</span>
    <ul class="dcf-list-bare mh-btn-group">

                                <li>
                <a href="https://mediahub.unl.edu/channels/1?orderby=datecreated&amp;order=DESC" class="dcf-btn dcf-btn-primary dcf-txt-3xs active">
                                            <span aria-hidden="true" class="mh-sort-filter-active"></span>
                                        Recent                                            <span class="dcf-sr-only">(currently selected)</span>
                                    </a>
            </li>
                                <li>
                <a href="https://mediahub.unl.edu/channels/1?orderby=title_a_z&amp;order=ASC" class="dcf-btn dcf-btn-primary dcf-txt-3xs ">
                                        A-Z                                    </a>
            </li>
                                <li>
                <a href="https://mediahub.unl.edu/channels/1?orderby=title_z_a&amp;order=DESC" class="dcf-btn dcf-btn-primary dcf-txt-3xs ">
                                        Z-A                                    </a>
            </li>
                                <li>
                <a href="https://mediahub.unl.edu/channels/1?orderby=popular_play_count&amp;order=DESC" class="dcf-btn dcf-btn-primary dcf-txt-3xs ">
                                        Popular                                    </a>
            </li>
            </ul>
</nav>

        <nav class="mh-sort-filter" aria-labelledby="mh-sort-filter-filter">
    <span id="mh-sort-filter-filter" class="sort-filter-title">Filter by:</span>
    <ul class="dcf-list-bare mh-btn-group">

                                <li>
                <a href="https://mediahub.unl.edu/channels/1?orderby=datecreated&amp;order=DESC" class="dcf-btn dcf-btn-primary dcf-txt-3xs active">
                                            <span aria-hidden="true" class="mh-sort-filter-active"></span>
                                        All                                            <span class="dcf-sr-only">(currently selected)</span>
                                    </a>
            </li>
                                <li>
                <a href="https://mediahub.unl.edu/channels/1?f=audio&amp;orderby=datecreated&amp;order=DESC" class="dcf-btn dcf-btn-primary dcf-txt-3xs ">
                                        Audio                                    </a>
            </li>
                                <li>
                <a href="https://mediahub.unl.edu/channels/1?f=video&amp;orderby=datecreated&amp;order=DESC" class="dcf-btn dcf-btn-primary dcf-txt-3xs ">
                                        Video                                    </a>
            </li>
            </ul>
</nav>
    </div>
</div>

    <div class="dcf-bleed mh-media">
        <div class="dcf-wrapper dcf-pt-8 dcf-pb-8">
            <p>Sorry, no media could be found</p>
        </div>
    </div>


<div class="dcf-bleed dcf-pt-6 unl-bg-lightest-gray mh-channel-maintainers-list">
    <div class="dcf-wrapper dcf-pt-8 dcf-pb-8">
        <em>This channel is maintained by: <a href="http://directory.unl.edu/people/bbieber2">bbieber2</a>, <a href="http://directory.unl.edu/people/smeranda2">smeranda2</a>, <a href="http://directory.unl.edu/people/tjanovec3">tjanovec3</a>, <a href="http://directory.unl.edu/people/tjensen2">tjensen2</a></em>
    </div>
</div>

                        

Format Information

The following is a list of formats used in MediaHub.