GithubHelp home page GithubHelp logo

npokitresources's Introduction

NPOKit Extra Resources

This repository contains a curated list of additional resources for programs broadcasted by the Dutch Public Broadcaster (NPO).

Contributing

In order to contribute new resources, fork this repository and add the addition resource(s) to the JSON document. When done, make sure to validate the updated JSON document before submitting a pull request.

Format

A recource consist of a program mid (which you can lookup here), its name and a description of that resource. Currently only youtube channels are users are supported.

An example of a YouTube channel resource

Zondag met Lubach has a URL in the following format:

https://www.youtube.com/channel/UCdH_8mNJ9vzpHwMNwlz88Zw

The Channel Identifier for this YouTube channel is UCdH_8mNJ9vzpHwMNwlz88Zw, which you can use to add a new element to the JSON file:

{
	 "mid": "VPWON_1250334",
     "name": "Zondag met Lubach",
     "youtube_channel": "UCdH_8mNJ9vzpHwMNwlz88Zw"
}

Finding the right channel identifier

The channel identifier looks like a random string. Whenever you see something readable it generally is not the channel identifier.

Sometimes the channel identifier is conveniently in the URL, but more often it is not. Sometimes you will see it when you subscribe to a channel, but the best way is to view the source of the channel page and search for an entry like this:

<link rel="alternate" type="application/rss+xml" title="RSS" href="https://www.youtube.com/feeds/videos.xml?channel_id=UC6gpEAIMMzVQZU4G86G7wVQ">

In this case the channel identifier is UC6gpEAIMMzVQZU4G86G7wVQ (De Wereld Draait Door).

Testing the channel identifier

When you have found the channel identifier, test if it works by opening the following url and replacing channel_identifier with the found identifier:

https://www.youtube.com/channel/channel_identifier

An example of a YouTube playlist resource

   {
     "mid": "VPWON_1260826",
     "name": "Freek in het wild",
     "youtube_playlist": "PLe5xp19huiuEt6_2KCl7KTULnPTWL8uGp"
   }

npokitresources's People

Contributors

4np avatar technimad avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

technimad

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.